HomeSort by: relevance | last modified time | path
    Searched refs:Advice (Results 1 - 6 of 6) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
MLInlineAdvisor.cpp 130 void MLInlineAdvisor::onSuccessfulInlining(const MLInlineAdvice &Advice,
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);
    [all...]
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);
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
MLInlineAdvisor.h 35 void onSuccessfulInlining(const MLInlineAdvice &Advice,
46 bool Advice) override;
InlineAdvisor.h 168 bool Advice);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
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();
SampleProfile.cpp 1251 std::unique_ptr<InlineAdvice> Advice = nullptr;
1253 Advice = ExternalInlineAdvisor->getAdvice(*Candidate.CallInstr);
1254 if (!Advice->isInliningRecommended()) {
1255 Advice->recordUnattemptedInlining();
1258 Advice->recordInlining();

Completed in 20 milliseconds