Home | History | Annotate | Download | only in Utils

Lines Matching defs:Caller

520   Function *Caller = FirstNewBlock->getParent();
537 for (Function::iterator BB = FirstNewBlock, E = Caller->end(); BB != E; ++BB){
570 /// into the caller, update the specified callgraph to reflect the changes we
578 const Function *Caller = CS.getInstruction()->getParent()->getParent();
581 CallGraphNode *CallerNode = CG[Caller];
583 // Since we inlined some uninlined call sites in the callee into the caller,
584 // add edges from the caller to all of the callees of the callee.
615 // destination. This can also happen if the call graph node of the caller
628 // Update the call graph by deleting the edge from Callee to Caller. We must
629 // do this after the loop above in case Caller and Callee are the same.
641 // If the called function is readonly, then it could not mutate the caller's
675 Function *Caller = TheCall->getParent()->getParent();
678 &*Caller->begin()->begin());
681 Function *MemCpyFn = Intrinsic::getDeclaration(Caller->getParent(),
787 // block of the caller. This returns false if it is not possible to inline this
819 Function *Caller = OrigBB->getParent();
822 // 1. If the caller has no GC, then the callee's GC must be propagated to the
823 // caller.
824 // 2. If the caller has a differing GC, it is invalid to inline.
826 if (!Caller->hasGC())
827 Caller
828 else if (CalledFunc->getGC() != Caller->getGC())
835 Function::iterator LastBlock = &Caller->back();
878 CloneAndPruneFunctionInto(Caller, CalledFunc, VMap,
890 fixupLineNumbers(Caller, FirstNewBlock, TheCall);
894 // block for the callee, move them to the entry block of the caller. First
899 BasicBlock::iterator InsertPoint = Caller->begin()->begin();
915 // Keep track of the static allocas that we inline into the caller.
929 Caller->getEntryBlock().getInstList().splice(InsertPoint,
958 Module *M = Caller->getParent();
979 for (Function::iterator BB = FirstNewBlock, E = Caller->end();
994 for (Function::iterator BB = FirstNewBlock, E = Caller->end();
1008 for (Function::iterator BB = FirstNewBlock, E = Caller->end();
1026 if (Returns.size() == 1 && std::distance(FirstNewBlock, Caller->end()) == 1) {
1031 Caller->getBasicBlockList().pop_back();
1095 Caller->getBasicBlockList().splice(AfterCallBB, Caller->getBasicBlockList(),
1096 FirstNewBlock, Caller->end());
1177 Caller->getBasicBlockList().erase(CalleeEntry);