Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInlineAdvisor.h75 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 DMLInlineAdvisor.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 {
H A DReplayInlineAdvisor.h72 std::unique_ptr<InlineAdvice> getAdviceImpl(CallBase &CB) override;
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineAdvisor.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()
H A DMLInlineAdvisor.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()
H A DReplayInlineAdvisor.cpp93 std::unique_ptr<InlineAdvice> ReplayInlineAdvisor::getAdviceImpl(CallBase &CB) { in getAdviceImpl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DInliner.cpp363 std::unique_ptr<InlineAdvice> Advice = in run()
H A DSampleProfile.cpp1321 std::unique_ptr<InlineAdvice> Advice = nullptr; in getExternalInlineAdvisorCost()