Home
last modified time | relevance | path

Searched refs:Advice (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DMLInlineAdvisor.cpp228 void MLInlineAdvisor::onSuccessfulInlining(const MLInlineAdvice &Advice, in onSuccessfulInlining() argument
231 Function *Caller = Advice.getCaller(); in onSuccessfulInlining()
232 Function *Callee = Advice.getCallee(); in onSuccessfulInlining()
241 Advice.updateCachedCallerFPI(FAM); in onSuccessfulInlining()
243 getIRSize(*Caller) + (CalleeWasDeleted ? 0 : Advice.CalleeIRSize); in onSuccessfulInlining()
244 CurrentIRSize += IRSizeAfter - (Advice.CallerIRSize + Advice.CalleeIRSize); in onSuccessfulInlining()
261 EdgeCount += (NewCallerAndCalleeEdges - Advice.CallerAndCalleeEdges); in onSuccessfulInlining()
394 bool Advice) { in getMandatoryAdvice() argument
398 if (Advice && !ForceStop) in getMandatoryAdvice()
405 return std::make_unique<InlineAdvice>(this, CB, getCallerORE(CB), Advice); in getMandatoryAdvice()
H A DInlineAdvisor.cpp536 bool Advice) { in getMandatoryAdvice() argument
538 Advice); in getMandatoryAdvice()
610 bool Advice = CB.getCaller() != CB.getCalledFunction() && in getAdvice() local
613 return getMandatoryAdvice(CB, Advice); in getAdvice()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DModuleInliner.cpp232 auto Advice = Advisor.getAdvice(*CB, /*OnlyMandatory*/ false); in run() local
234 if (!Advice->isInliningRecommended()) { in run()
235 Advice->recordUnattemptedInlining(); in run()
249 Advice->recordUnsuccessfulInlining(IR); in run()
310 Advice->recordInliningWithCalleeDeleted(); in run()
312 Advice->recordInlining(); in run()
H A DInliner.cpp895 std::unique_ptr<InlineAdvice> Advice = in run() local
899 if (!Advice) in run()
902 if (!Advice->isInliningRecommended()) { in run()
903 Advice->recordUnattemptedInlining(); in run()
922 Advice->recordUnsuccessfulInlining(IR); in run()
1004 Advice->recordInliningWithCalleeDeleted(); in run()
1006 Advice->recordInlining(); in run()
H A DSampleProfile.cpp1289 std::unique_ptr<InlineAdvice> Advice = nullptr; in getExternalInlineAdvisorCost() local
1291 Advice = ExternalInlineAdvisor->getAdvice(CB); in getExternalInlineAdvisorCost()
1292 if (Advice) { in getExternalInlineAdvisorCost()
1293 if (!Advice->isInliningRecommended()) { in getExternalInlineAdvisorCost()
1294 Advice->recordUnattemptedInlining(); in getExternalInlineAdvisorCost()
1297 Advice->recordInlining(); in getExternalInlineAdvisorCost()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DMLInlineAdvisor.h40 void onSuccessfulInlining(const MLInlineAdvice &Advice,
52 bool Advice) override;
H A DInlineAdvisor.h206 bool Advice);
/llvm-project-15.0.7/llvm/docs/
H A DPackaging.rst2 Advice on Packaging LLVM
H A DBugpoint.rst111 Advice for using bugpoint
H A DGettingInvolved.rst98 Advice on packaging LLVM into a distribution.