Lines Matching full:caller
80 /// forwardResume - Forward the 'resume' instruction to the caller's landing
140 /// forwardResume - Forward the 'resume' instruction to the caller's landing pad
241 Function *Caller = FirstNewBlock->getParent();
250 for (Function::iterator I = FirstNewBlock, E = Caller->end(); I != E; ++I)
254 for (Function::iterator BB = FirstNewBlock, E = Caller->end(); BB != E; ++BB){
275 /// into the caller, update the specified callgraph to reflect the changes we
283 const Function *Caller = CS.getInstruction()->getParent()->getParent();
286 CallGraphNode *CallerNode = CG[Caller];
288 // Since we inlined some uninlined call sites in the callee into the caller,
289 // add edges from the caller to all of the callees of the callee.
320 // destination. This can also happen if the call graph node of the caller
333 // Update the call graph by deleting the edge from Callee to Caller. We must
334 // do this after the loop above in case Caller and Callee are the same.
346 // If the called function is readonly, then it could not mutate the caller's
380 Function *Caller = TheCall->getParent()->getParent();
383 &*Caller->begin()->begin());
386 Function *MemCpyFn = Intrinsic::getDeclaration(Caller->getParent(),
491 /// block of the caller. This returns false if it is not possible to inline
523 Function *Caller = OrigBB->getParent();
526 // 1. If the caller has no GC, then the callee's GC must be propagated to the
527 // caller.
528 // 2. If the caller has a differing GC, it is invalid to inline.
530 if (!Caller->hasGC())
531 Caller->setGC(CalledFunc->getGC());
532 else if (CalledFunc->getGC() != Caller->getGC())
547 // Find the personality function used by the landing pads of the caller. If it
551 for (Function::const_iterator I = Caller->begin(), E = Caller->end();
570 Function::iterator LastBlock = &Caller->back();
613 CloneAndPruneFunctionInto(Caller, CalledFunc, VMap,
625 fixupLineNumbers(Caller, FirstNewBlock, TheCall);
629 // block for the callee, move them to the entry block of the caller. First
633 BasicBlock::iterator InsertPoint = Caller->begin()->begin();
649 // Keep track of the static allocas that we inline into the caller.
663 Caller->getEntryBlock().getInstList().splice(InsertPoint,
711 Module *M = Caller->getParent();
733 for (Function::iterator BB = FirstNewBlock, E = Caller->end();
752 if (Returns.size() == 1 && std::distance(FirstNewBlock, Caller->end()) == 1) {
757 Caller->getBasicBlockList().pop_back();
824 Caller->getBasicBlockList().splice(AfterCallBB, Caller->getBasicBlockList(),
825 FirstNewBlock, Caller->end());
918 Caller->getBasicBlockList().erase(CalleeEntry);