Lines Matching refs:Caller
60 << NV("Caller", Caller) << ": " in recordUnsuccessfulInliningImpl()
67 emitInlinedInto(ORE, DLoc, Block, *Callee, *Caller, *OIC); in recordInliningWithCalleeDeletedImpl()
72 emitInlinedInto(ORE, DLoc, Block, *Callee, *Caller, *OIC); in recordInliningImpl()
77 Function &Caller = *CB.getCaller(); in getDefaultInlineAdvice() local
79 FAM.getResult<ModuleAnalysisManagerFunctionProxy>(Caller) in getDefaultInlineAdvice()
83 auto &ORE = FAM.getResult<OptimizationRemarkEmitterAnalysis>(Caller); in getDefaultInlineAdvice()
118 : Advisor(Advisor), Caller(CB.getCaller()), Callee(CB.getCalledFunction()), in InlineAdvice()
136 Advisor->ImportedFunctionsStats->recordInline(*Caller, *Callee); in recordInlineStatsIfNeeded()
197 shouldBeDeferred(Function *Caller, InlineCost IC, int &TotalSecondaryCost, in shouldBeDeferred() argument
200 if (!Caller->hasLocalLinkage() && !Caller->hasLinkOnceODRLinkage()) in shouldBeDeferred()
228 bool ApplyLastCallBonus = Caller->hasLocalLinkage() && !Caller->hasOneUse(); in shouldBeDeferred()
232 for (User *U : Caller->users()) { in shouldBeDeferred()
238 if (!CS2 || CS2->getCalledFunction() != Caller) { in shouldBeDeferred()
332 Function *Caller = CB.getCaller(); in shouldInline() local
347 << NV("Caller", Caller) << " because it should never be inlined " in shouldInline()
354 << NV("Caller", Caller) << " because too costly to inline " in shouldInline()
364 shouldBeDeferred(Caller, IC, TotalSecondaryCost, GetInlineCost)) { in shouldInline()
372 << " increases the cost of inlining " << NV("Caller", Caller) in shouldInline()
440 const Function &Caller, const InlineCost &IC, in emitInlinedInto() argument
448 Remark << ore::NV("Caller", &Caller); in emitInlinedInto()