Searched refs:Advice (Results 1 - 6 of 6) sorted by relevance
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | MLInlineAdvisor.cpp | 130 void MLInlineAdvisor::onSuccessfulInlining(const MLInlineAdvice &Advice, argument 133 Function *Caller = Advice.getCaller(); 134 Function *Callee = Advice.getCallee(); 143 getIRSize(*Caller) + (CalleeWasDeleted ? 0 : Advice.CalleeIRSize); 144 CurrentIRSize += IRSizeAfter - (Advice.CallerIRSize + Advice.CalleeIRSize); 163 EdgeCount += (NewCallerAndCalleeEdges - Advice.CallerAndCalleeEdges); 257 bool Advice) { 259 if (Advice && !ForceStop) 266 return std::make_unique<InlineAdvice>(this, CB, getCallerORE(CB), Advice); 256 getMandatoryAdvice(CallBase &CB, bool Advice) argument [all...] |
H A D | InlineAdvisor.cpp | 474 bool Advice) { 475 return std::make_unique<InlineAdvice>(this, CB, getCallerORE(CB), Advice); 505 bool Advice = CB.getCaller() != CB.getCalledFunction() && 508 return getMandatoryAdvice(CB, Advice); 473 getMandatoryAdvice(CallBase &CB, bool Advice) argument
|
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
H A D | MLInlineAdvisor.h | 35 void onSuccessfulInlining(const MLInlineAdvice &Advice, 46 bool Advice) override;
|
H A D | InlineAdvisor.h | 168 bool Advice);
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
H A D | Inliner.cpp | 817 auto Advice = Advisor.getAdvice(*CB, OnlyMandatory); 819 if (!Advice->isInliningRecommended()) { 820 Advice->recordUnattemptedInlining(); 834 Advice->recordUnsuccessfulInlining(IR); 897 Advice->recordInliningWithCalleeDeleted(); 899 Advice->recordInlining();
|
H A D | SampleProfile.cpp | 1251 std::unique_ptr<InlineAdvice> Advice = nullptr; local 1253 Advice = ExternalInlineAdvisor->getAdvice(*Candidate.CallInstr); 1254 if (!Advice->isInliningRecommended()) { 1255 Advice->recordUnattemptedInlining(); 1258 Advice->recordInlining();
|
Completed in 184 milliseconds