• Home
  • Raw
  • Download

Lines Matching refs:Caller

82   Function *Caller = CS.getCaller();  in InlineCallIfPossible()  local
97 AttributeFuncs::mergeAttributesForInlining(*Caller, *Callee); in InlineCallIfPossible()
191 const DataLayout &DL = Caller->getParent()->getDataLayout(); in InlineCallIfPossible()
226 Function *Caller = CS.getCaller(); in emitAnalysis() local
227 LLVMContext &Ctx = Caller->getContext(); in emitAnalysis()
229 emitOptimizationRemarkAnalysis(Ctx, DEBUG_TYPE, *Caller, DLoc, Msg); in emitAnalysis()
232 bool Inliner::shouldBeDeferred(Function *Caller, CallSite CS, InlineCost IC, in shouldBeDeferred() argument
236 if (!Caller->hasLocalLinkage() && !Caller->hasLinkOnceODRLinkage()) in shouldBeDeferred()
258 bool callerWillBeRemoved = Caller->hasLocalLinkage(); in shouldBeDeferred()
261 for (User *U : Caller->users()) { in shouldBeDeferred()
267 if (!CS2 || CS2.getCalledFunction() != Caller) { in shouldBeDeferred()
293 if (callerWillBeRemoved && !Caller->use_empty()) in shouldBeDeferred()
322 Function *Caller = CS.getCaller(); in shouldInline() local
335 if (shouldBeDeferred(Caller, CS, IC, TotalSecondaryCost)) { in shouldInline()
454 Function *Caller = CS.getCaller(); in inlineCalls() local
465 CG[Caller]->removeCallEdgeFor(CS); in inlineCalls()
482 LLVMContext &CallerCtx = Caller->getContext(); in inlineCalls()
490 emitOptimizationRemarkMissed(CallerCtx, DEBUG_TYPE, *Caller, DLoc, in inlineCalls()
493 Caller->getName())); in inlineCalls()
500 emitOptimizationRemarkMissed(CallerCtx, DEBUG_TYPE, *Caller, DLoc, in inlineCalls()
503 Caller->getName())); in inlineCalls()
510 CallerCtx, DEBUG_TYPE, *Caller, DLoc, in inlineCalls()
511 Twine(Callee->getName() + " inlined into " + Caller->getName())); in inlineCalls()