Searched refs:Advice (Results 1 – 10 of 10) sorted by relevance
228 void MLInlineAdvisor::onSuccessfulInlining(const MLInlineAdvice &Advice, in onSuccessfulInlining() argument231 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() argument398 if (Advice && !ForceStop) in getMandatoryAdvice()405 return std::make_unique<InlineAdvice>(this, CB, getCallerORE(CB), Advice); in getMandatoryAdvice()
536 bool Advice) { in getMandatoryAdvice() argument538 Advice); in getMandatoryAdvice()610 bool Advice = CB.getCaller() != CB.getCalledFunction() && in getAdvice() local613 return getMandatoryAdvice(CB, Advice); in getAdvice()
232 auto Advice = Advisor.getAdvice(*CB, /*OnlyMandatory*/ false); in run() local234 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()
895 std::unique_ptr<InlineAdvice> Advice = in run() local899 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()
1289 std::unique_ptr<InlineAdvice> Advice = nullptr; in getExternalInlineAdvisorCost() local1291 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()
40 void onSuccessfulInlining(const MLInlineAdvice &Advice,52 bool Advice) override;
206 bool Advice);
2 Advice on Packaging LLVM
111 Advice for using bugpoint
98 Advice on packaging LLVM into a distribution.