Lines Matching refs:Caller

84       emitInlinedInto(ORE, DLoc, Block, *Callee, *Caller, IsInliningRecommended,  in recordInliningImpl()
96 << NV("Caller", Caller) in recordUnsuccessfulInliningImpl()
116 << NV("Caller", Caller) in recordUnsuccessfulInliningImpl()
123 emitInlinedIntoBasedOnCost(ORE, DLoc, Block, *Callee, *Caller, *OIC, in recordInliningWithCalleeDeletedImpl()
130 emitInlinedIntoBasedOnCost(ORE, DLoc, Block, *Callee, *Caller, *OIC, in recordInliningImpl()
137 Function &Caller = *CB.getCaller(); in getDefaultInlineAdvice() local
139 FAM.getResult<ModuleAnalysisManagerFunctionProxy>(Caller) in getDefaultInlineAdvice()
143 auto &ORE = FAM.getResult<OptimizationRemarkEmitterAnalysis>(Caller); in getDefaultInlineAdvice()
179 : Advisor(Advisor), Caller(CB.getCaller()), Callee(CB.getCalledFunction()), in InlineAdvice()
185 Advisor->ImportedFunctionsStats->recordInline(*Caller, *Callee); in recordInlineStatsIfNeeded()
250 shouldBeDeferred(Function *Caller, InlineCost IC, int &TotalSecondaryCost, in shouldBeDeferred() argument
253 if (!Caller->hasLocalLinkage() && !Caller->hasLinkOnceODRLinkage()) in shouldBeDeferred()
281 bool ApplyLastCallBonus = Caller->hasLocalLinkage() && !Caller->hasOneUse(); in shouldBeDeferred()
285 for (User *U : Caller->users()) { in shouldBeDeferred()
291 if (!CS2 || CS2->getCalledFunction() != Caller) { in shouldBeDeferred()
385 Function *Caller = CB.getCaller(); in shouldInline() local
400 << NV("Caller", Caller) in shouldInline()
407 << NV("Caller", Caller) << "' because too costly to inline " in shouldInline()
417 shouldBeDeferred(Caller, IC, TotalSecondaryCost, GetInlineCost)) { in shouldInline()
425 << "' increases the cost of inlining '" << NV("Caller", Caller) in shouldInline()
493 const Function &Callee, const Function &Caller, bool AlwaysInline, in emitInlinedInto() argument
501 << ore::NV("Caller", &Caller) << "'"; in emitInlinedInto()
511 const Function &Callee, const Function &Caller, const InlineCost &IC, in emitInlinedIntoBasedOnCost() argument
514 ORE, DLoc, Block, Callee, Caller, IC.isAlways(), in emitInlinedIntoBasedOnCost()