Lines Matching refs:Caller
83 emitInlinedInto(ORE, DLoc, Block, *Callee, *Caller, IsInliningRecommended, in recordInliningImpl()
95 << NV("Caller", Caller) in recordUnsuccessfulInliningImpl()
115 << NV("Caller", Caller) in recordUnsuccessfulInliningImpl()
122 emitInlinedIntoBasedOnCost(ORE, DLoc, Block, *Callee, *Caller, *OIC, in recordInliningWithCalleeDeletedImpl()
129 emitInlinedIntoBasedOnCost(ORE, DLoc, Block, *Callee, *Caller, *OIC, in recordInliningImpl()
136 Function &Caller = *CB.getCaller(); in getDefaultInlineAdvice() local
138 FAM.getResult<ModuleAnalysisManagerFunctionProxy>(Caller) in getDefaultInlineAdvice()
142 auto &ORE = FAM.getResult<OptimizationRemarkEmitterAnalysis>(Caller); in getDefaultInlineAdvice()
178 : Advisor(Advisor), Caller(CB.getCaller()), Callee(CB.getCalledFunction()), in InlineAdvice()
184 Advisor->ImportedFunctionsStats->recordInline(*Caller, *Callee); in recordInlineStatsIfNeeded()
249 shouldBeDeferred(Function *Caller, InlineCost IC, int &TotalSecondaryCost, in shouldBeDeferred() argument
252 if (!Caller->hasLocalLinkage() && !Caller->hasLinkOnceODRLinkage()) in shouldBeDeferred()
280 bool ApplyLastCallBonus = Caller->hasLocalLinkage() && !Caller->hasOneUse(); in shouldBeDeferred()
284 for (User *U : Caller->users()) { in shouldBeDeferred()
290 if (!CS2 || CS2->getCalledFunction() != Caller) { in shouldBeDeferred()
384 Function *Caller = CB.getCaller(); in shouldInline() local
399 << NV("Caller", Caller) in shouldInline()
406 << NV("Caller", Caller) << "' because too costly to inline " in shouldInline()
416 shouldBeDeferred(Caller, IC, TotalSecondaryCost, GetInlineCost)) { in shouldInline()
424 << "' increases the cost of inlining '" << NV("Caller", Caller) in shouldInline()
492 const Function &Callee, const Function &Caller, bool AlwaysInline, in emitInlinedInto() argument
500 << ore::NV("Caller", &Caller) << "'"; in emitInlinedInto()
510 const Function &Callee, const Function &Caller, const InlineCost &IC, in emitInlinedIntoBasedOnCost() argument
513 ORE, DLoc, Block, Callee, Caller, IC.isAlways(), in emitInlinedIntoBasedOnCost()