Searched refs:InlineAdvice (Results 1 – 8 of 8) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | InlineAdvisor.h | 75 class InlineAdvice { 77 InlineAdvice(InlineAdvisor *Advisor, CallBase &CB, 80 InlineAdvice(InlineAdvice &&) = delete; 81 InlineAdvice(const InlineAdvice &) = delete; 82 virtual ~InlineAdvice() { in ~InlineAdvice() 144 class DefaultInlineAdvice : public InlineAdvice { 179 std::unique_ptr<InlineAdvice> getAdvice(CallBase &CB, 205 virtual std::unique_ptr<InlineAdvice> getAdviceImpl(CallBase &CB) = 0; 206 virtual std::unique_ptr<InlineAdvice> getMandatoryAdvice(CallBase &CB, 224 friend class InlineAdvice; [all …]
|
| H A D | MLInlineAdvisor.h | 51 std::unique_ptr<InlineAdvice> getAdviceImpl(CallBase &CB) override; 53 std::unique_ptr<InlineAdvice> getMandatoryAdvice(CallBase &CB, 71 std::unique_ptr<InlineAdvice> 96 class MLInlineAdvice : public InlineAdvice {
|
| H A D | ReplayInlineAdvisor.h | 72 std::unique_ptr<InlineAdvice> getAdviceImpl(CallBase &CB) override;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InlineAdvisor.cpp | 71 class MandatoryInlineAdvice : public InlineAdvice { 76 : InlineAdvice(Advisor, CB, ORE, IsInliningMandatory) {} in MandatoryInlineAdvice() 167 std::unique_ptr<InlineAdvice> 175 InlineAdvice::InlineAdvice(InlineAdvisor *Advisor, CallBase &CB, in InlineAdvice() function in InlineAdvice 182 void InlineAdvice::recordInlineStatsIfNeeded() { in recordInlineStatsIfNeeded() 187 void InlineAdvice::recordInlining() { in recordInlining() 193 void InlineAdvice::recordInliningWithCalleeDeleted() { in recordInliningWithCalleeDeleted() 543 std::unique_ptr<InlineAdvice> InlineAdvisor::getMandatoryAdvice(CallBase &CB, in getMandatoryAdvice() 614 std::unique_ptr<InlineAdvice> InlineAdvisor::getAdvice(CallBase &CB, in getAdvice()
|
| H A D | MLInlineAdvisor.cpp | 324 std::unique_ptr<InlineAdvice> MLInlineAdvisor::getAdviceImpl(CallBase &CB) { in getAdviceImpl() 356 return std::make_unique<InlineAdvice>(this, CB, ORE, Mandatory); in getAdviceImpl() 367 return std::make_unique<InlineAdvice>(this, CB, ORE, false); in getAdviceImpl() 375 return std::make_unique<InlineAdvice>(this, CB, ORE, false); in getAdviceImpl() 431 std::unique_ptr<InlineAdvice> 435 return std::make_unique<InlineAdvice>(this, CB, getCallerORE(CB), false); in getSkipAdviceIfUnreachableCallsite() 439 std::unique_ptr<InlineAdvice> MLInlineAdvisor::getMandatoryAdvice(CallBase &CB, in getMandatoryAdvice() 451 return std::make_unique<InlineAdvice>(this, CB, getCallerORE(CB), Advice); in getMandatoryAdvice() 480 : InlineAdvice(Advisor, CB, ORE, Recommendation), in MLInlineAdvice()
|
| H A D | ReplayInlineAdvisor.cpp | 93 std::unique_ptr<InlineAdvice> ReplayInlineAdvisor::getAdviceImpl(CallBase &CB) { in getAdviceImpl()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | Inliner.cpp | 354 std::unique_ptr<InlineAdvice> Advice = in run()
|
| H A D | SampleProfile.cpp | 1369 std::unique_ptr<InlineAdvice> Advice = nullptr; in getExternalInlineAdvisorCost()
|