Searched refs:InlineAdvice (Results 1 – 8 of 8) sorted by relevance
/freebsd/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() { 83 assert(Recorded && "InlineAdvice should have been informed of the " in ~InlineAdvice() 144 class DefaultInlineAdvice : public InlineAdvice { 149 : InlineAdvice(Adviso [all...] |
H A D | MLInlineAdvisor.h | 52 std::unique_ptr<InlineAdvice> getAdviceImpl(CallBase &CB) override; 54 std::unique_ptr<InlineAdvice> getMandatoryAdvice(CallBase &CB, 72 std::unique_ptr<InlineAdvice> 99 class MLInlineAdvice : public InlineAdvice {
|
H A D | ReplayInlineAdvisor.h | 72 std::unique_ptr<InlineAdvice> getAdviceImpl(CallBase &CB) override;
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | InlineAdvisor.cpp | 72 class MandatoryInlineAdvice : public InlineAdvice { 77 : InlineAdvice(Advisor, CB, ORE, IsInliningMandatory) {} in MandatoryInlineAdvice() 168 std::unique_ptr<InlineAdvice> 176 InlineAdvice::InlineAdvice(InlineAdvisor *Advisor, CallBase &CB, in InlineAdvice() function in InlineAdvice 183 void InlineAdvice::recordInlineStatsIfNeeded() { in recordInlineStatsIfNeeded() 188 void InlineAdvice::recordInlining() { in recordInlining() 194 void InlineAdvice::recordInliningWithCalleeDeleted() { in recordInliningWithCalleeDeleted() 544 std::unique_ptr<InlineAdvice> InlineAdvisor::getMandatoryAdvice(CallBase &CB, in getMandatoryAdvice() 615 std::unique_ptr<InlineAdvice> InlineAdvisor::getAdvice(CallBase &CB, in getAdvice()
|
H A D | MLInlineAdvisor.cpp | 342 std::unique_ptr<InlineAdvice> MLInlineAdvisor::getAdviceImpl(CallBase &CB) { in getAdviceImpl() 357 return std::make_unique<InlineAdvice>(this, CB, ORE, in getAdviceImpl() 379 return std::make_unique<InlineAdvice>(this, CB, ORE, Mandatory); in getAdviceImpl() 390 return std::make_unique<InlineAdvice>(this, CB, ORE, false); in getAdviceImpl() 398 return std::make_unique<InlineAdvice>(this, CB, ORE, false); in getAdviceImpl() 458 std::unique_ptr<InlineAdvice> 462 return std::make_unique<InlineAdvice>(this, CB, getCallerORE(CB), false); in getSkipAdviceIfUnreachableCallsite() 466 std::unique_ptr<InlineAdvice> MLInlineAdvisor::getMandatoryAdvice(CallBase &CB, in getMandatoryAdvice() 478 return std::make_unique<InlineAdvice>(this, CB, getCallerORE(CB), Advice); in getMandatoryAdvice() 509 : InlineAdvice(Advisor, CB, ORE, Recommendation), in MLInlineAdvice()
|
H A D | ReplayInlineAdvisor.cpp | 93 std::unique_ptr<InlineAdvice> ReplayInlineAdvisor::getAdviceImpl(CallBase &CB) { in getAdviceImpl()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | Inliner.cpp | 363 std::unique_ptr<InlineAdvice> Advice = in run()
|
H A D | SampleProfile.cpp | 1321 std::unique_ptr<InlineAdvice> Advice = nullptr; in getExternalInlineAdvisorCost()
|