Home
last modified time | relevance | path

Searched refs:InlineAdvice (Results 1 – 8 of 8) sorted by relevance

/freebsd-14-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
HDInlineAdvisor.h75 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 {
149 : InlineAdvice(Advisor, CB, ORE, OIC.has_value()), OriginalCB(&CB),
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,
[all …]
HDMLInlineAdvisor.h52 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 {
HDReplayInlineAdvisor.h72 std::unique_ptr<InlineAdvice> getAdviceImpl(CallBase &CB) override;
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Analysis/
HDMLInlineAdvisor.cpp342 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()
HDInlineAdvisor.cpp72 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()
HDReplayInlineAdvisor.cpp93 std::unique_ptr<InlineAdvice> ReplayInlineAdvisor::getAdviceImpl(CallBase &CB) { in getAdviceImpl()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
HDInliner.cpp363 std::unique_ptr<InlineAdvice> Advice = in run()
HDSampleProfile.cpp1321 std::unique_ptr<InlineAdvice> Advice = nullptr; in getExternalInlineAdvisorCost()