Home | History | Annotate | Download | only in Utils

Lines Matching defs:Caller

81     /// forwardResume - Forward the 'resume' instruction to the caller's landing
141 /// forwardResume - Forward the 'resume' instruction to the caller's landing pad
220 Function *Caller = FirstNewBlock->getParent();
229 for (Function::iterator I = FirstNewBlock, E = Caller->end(); I != E; ++I)
247 for (Function::iterator BB = FirstNewBlock, E = Caller->end(); BB != E; ++BB){
264 /// into the caller, update the specified callgraph to reflect the changes we
272 const Function *Caller = CS.getInstruction()->getParent()->getParent();
275 CallGraphNode *CallerNode = CG[Caller];
277 // Since we inlined some uninlined call sites in the callee into the caller,
278 // add edges from the caller to all of the callees of the callee.
309 // destination. This can also happen if the call graph node of the caller
322 // Update the call graph by deleting the edge from Callee to Caller. We must
323 // do this after the loop above in case Caller and Callee are the same.
366 // If the called function is readonly, then it could not mutate the caller's
396 Function *Caller = TheCall->getParent()->getParent();
399 &*Caller->begin()->begin());
473 // ((__always_inline__, __nodebug__)) functions which must use caller
517 /// block of the caller. This returns false if it is not possible to inline
544 Function *Caller = OrigBB->getParent();
547 // 1. If the caller has no GC, then the callee's GC must be propagated to the
548 // caller.
549 // 2. If the caller has a differing GC, it is invalid to inline.
551 if (!Caller->hasGC())
552 Caller->setGC(CalledFunc->getGC());
553 else if (CalledFunc->getGC() != Caller->getGC())
568 // Find the personality function used by the landing pads of the caller. If it
572 for (Function::const_iterator I = Caller->begin(), E = Caller->end();
591 Function::iterator LastBlock = &Caller->back();
633 CloneAndPruneFunctionInto(Caller, CalledFunc, VMap,
642 HandleByValArgumentInit(Init.first, Init.second, Caller->getParent(),
650 fixupLineNumbers(Caller, FirstNewBlock, TheCall);
654 // block for the callee, move them to the entry block of the caller. First
658 BasicBlock::iterator InsertPoint = Caller->begin()->begin();
674 // Keep track of the static allocas that we inline into the caller.
688 Caller->getEntryBlock().getInstList().splice(InsertPoint,
700 for (Function::iterator BB = FirstNewBlock, E = Caller->end(); BB != E;
778 Module *M = Caller->getParent();
809 Type *NewRetTy = Caller->getReturnType();
842 if (Returns.size() == 1 && std::distance(FirstNewBlock, Caller->end()) == 1) {
847 Caller->getBasicBlockList().pop_back();
914 Caller->getBasicBlockList().splice(AfterCallBB, Caller->getBasicBlockList(),
915 FirstNewBlock, Caller->end());
1013 Caller->getBasicBlockList().erase(CalleeEntry);