Home
last modified time | relevance | path

Searched refs:MLInlineAdvice (Results 1 – 2 of 2) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMLInlineAdvisor.h22 class MLInlineAdvice; variable
35 void onSuccessfulInlining(const MLInlineAdvice &Advice,
48 virtual std::unique_ptr<MLInlineAdvice> getMandatoryAdviceImpl(CallBase &CB);
50 virtual std::unique_ptr<MLInlineAdvice>
71 class MLInlineAdvice : public InlineAdvice {
73 MLInlineAdvice(MLInlineAdvisor *Advisor, CallBase &CB, in MLInlineAdvice() function
84 virtual ~MLInlineAdvice() = default;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DMLInlineAdvisor.cpp138 void MLInlineAdvisor::onSuccessfulInlining(const MLInlineAdvice &Advice, in onSuccessfulInlining()
273 std::unique_ptr<MLInlineAdvice>
276 return std::make_unique<MLInlineAdvice>(this, CB, ORE, ModelRunner->run()); in getAdviceFromModel()
292 std::unique_ptr<MLInlineAdvice>
294 return std::make_unique<MLInlineAdvice>(this, CB, getCallerORE(CB), true); in getMandatoryAdviceImpl()
297 void MLInlineAdvice::reportContextForRemark( in reportContextForRemark()
306 void MLInlineAdvice::recordInliningImpl() { in recordInliningImpl()
315 void MLInlineAdvice::recordInliningWithCalleeDeletedImpl() { in recordInliningWithCalleeDeletedImpl()
325 void MLInlineAdvice::recordUnsuccessfulInliningImpl( in recordUnsuccessfulInliningImpl()
334 void MLInlineAdvice::recordUnattemptedInliningImpl() { in recordUnattemptedInliningImpl()