Lines Matching refs:Caller

80       emitInlinedInto(ORE, DLoc, Block, *Callee, *Caller, IsInliningRecommended,  in recordInliningImpl()
92 << NV("Caller", Caller) in recordUnsuccessfulInliningImpl()
112 << NV("Caller", Caller) in recordUnsuccessfulInliningImpl()
119 emitInlinedIntoBasedOnCost(ORE, DLoc, Block, *Callee, *Caller, *OIC, in recordInliningWithCalleeDeletedImpl()
126 emitInlinedIntoBasedOnCost(ORE, DLoc, Block, *Callee, *Caller, *OIC, in recordInliningImpl()
133 Function &Caller = *CB.getCaller(); in getDefaultInlineAdvice() local
135 FAM.getResult<ModuleAnalysisManagerFunctionProxy>(Caller) in getDefaultInlineAdvice()
139 auto &ORE = FAM.getResult<OptimizationRemarkEmitterAnalysis>(Caller); in getDefaultInlineAdvice()
175 : Advisor(Advisor), Caller(CB.getCaller()), Callee(CB.getCalledFunction()), in InlineAdvice()
181 Advisor->ImportedFunctionsStats->recordInline(*Caller, *Callee); in recordInlineStatsIfNeeded()
241 shouldBeDeferred(Function *Caller, InlineCost IC, int &TotalSecondaryCost, in shouldBeDeferred() argument
244 if (!Caller->hasLocalLinkage() && !Caller->hasLinkOnceODRLinkage()) in shouldBeDeferred()
272 bool ApplyLastCallBonus = Caller->hasLocalLinkage() && !Caller->hasOneUse(); in shouldBeDeferred()
276 for (User *U : Caller->users()) { in shouldBeDeferred()
282 if (!CS2 || CS2->getCalledFunction() != Caller) { in shouldBeDeferred()
376 Function *Caller = CB.getCaller(); in shouldInline() local
391 << NV("Caller", Caller) in shouldInline()
398 << NV("Caller", Caller) << "' because too costly to inline " in shouldInline()
408 shouldBeDeferred(Caller, IC, TotalSecondaryCost, GetInlineCost)) { in shouldInline()
416 << "' increases the cost of inlining '" << NV("Caller", Caller) in shouldInline()
484 const Function &Callee, const Function &Caller, bool AlwaysInline, in emitInlinedInto() argument
492 << ore::NV("Caller", &Caller) << "'"; in emitInlinedInto()
502 const Function &Callee, const Function &Caller, const InlineCost &IC, in emitInlinedIntoBasedOnCost() argument
505 ORE, DLoc, Block, Callee, Caller, IC.isAlways(), in emitInlinedIntoBasedOnCost()