Lines Matching defs:Caller
84 emitInlinedInto(ORE, DLoc, Block, *Callee, *Caller, IsInliningRecommended,
96 << NV("Caller", Caller)
116 << NV("Caller", Caller)
123 emitInlinedIntoBasedOnCost(ORE, DLoc, Block, *Callee, *Caller, *OIC,
130 emitInlinedIntoBasedOnCost(ORE, DLoc, Block, *Callee, *Caller, *OIC,
137 Function &Caller = *CB.getCaller();
139 FAM.getResult<ModuleAnalysisManagerFunctionProxy>(Caller)
143 auto &ORE = FAM.getResult<OptimizationRemarkEmitterAnalysis>(Caller);
179 : Advisor(Advisor), Caller(CB.getCaller()), Callee(CB.getCalledFunction()),
185 Advisor->ImportedFunctionsStats->recordInline(*Caller, *Callee);
249 shouldBeDeferred(Function *Caller, TargetTransformInfo &CalleeTTI,
253 if (!Caller->hasLocalLinkage() && !Caller->hasLinkOnceODRLinkage())
281 bool ApplyLastCallBonus = Caller->hasLocalLinkage() && !Caller->hasOneUse();
285 for (User *U : Caller->users()) {
288 // If this isn't a call to Caller (it could be some other sort
291 if (!CS2 || CS2->getCalledFunction() != Caller) {
318 // If all outer calls to Caller would get inlined, the cost for the last
319 // one is set very low by getInlineCost, in anticipation that Caller will
321 // is only one caller of Caller.
326 // inlining -- IC.getCost() multiplied by the number of callers to Caller.
385 Function *Caller = CB.getCaller();
400 << NV("Caller", Caller)
407 << NV("Caller", Caller) << "' because too costly to inline "
416 if (EnableDeferral && shouldBeDeferred(Caller, CalleeTTI, IC,
425 << "' increases the cost of inlining '" << NV("Caller", Caller)
493 const Function &Callee, const Function &Caller, bool AlwaysInline,
501 << ore::NV("Caller", &Caller) << "'";
511 const Function &Callee, const Function &Caller, const InlineCost &IC,
514 ORE, DLoc, Block, Callee, Caller, IC.isAlways(),