Lines Matching refs:Advisor
74 MandatoryInlineAdvice(InlineAdvisor *Advisor, CallBase &CB, in MandatoryInlineAdvice() argument
77 : InlineAdvice(Advisor, CB, ORE, IsInliningMandatory) {} in MandatoryInlineAdvice()
93 return OptimizationRemarkMissed(Advisor->getAnnotatedInlinePassName(), in recordUnsuccessfulInliningImpl()
113 return OptimizationRemarkMissed(Advisor->getAnnotatedInlinePassName(), in recordUnsuccessfulInliningImpl()
125 Advisor->getAnnotatedInlinePassName()); in recordInliningWithCalleeDeletedImpl()
132 Advisor->getAnnotatedInlinePassName()); in recordInliningImpl()
176 InlineAdvice::InlineAdvice(InlineAdvisor *Advisor, CallBase &CB, in InlineAdvice() argument
179 : Advisor(Advisor), Caller(CB.getCaller()), Callee(CB.getCalledFunction()), in InlineAdvice()
184 if (Advisor->ImportedFunctionsStats) in recordInlineStatsIfNeeded()
185 Advisor->ImportedFunctionsStats->recordInline(*Caller, *Callee); in recordInlineStatsIfNeeded()
210 Advisor.reset(DA.Factory(M, FAM, Params, IC)); in tryCreate()
211 return !!Advisor; in tryCreate()
220 Advisor.reset(new DefaultInlineAdvisor(M, FAM, Params, IC)); in tryCreate()
224 Advisor = llvm::getReplayInlineAdvisor(M, FAM, M.getContext(), in tryCreate()
225 std::move(Advisor), ReplaySettings, in tryCreate()
232 Advisor = llvm::getDevelopmentModeAdvisor(M, MAM, GetDefaultAdvice); in tryCreate()
237 Advisor = llvm::getReleaseModeAdvisor(M, MAM, GetDefaultAdvice); in tryCreate()
241 return !!Advisor; in tryCreate()