Home
last modified time | relevance | path

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

/external/llvm-project/llvm/include/llvm/Analysis/
DMLInlineAdvisor.h22 class MLInlineAdvice; variable
37 void onSuccessfulInlining(const MLInlineAdvice &Advice,
45 virtual std::unique_ptr<MLInlineAdvice>
48 virtual std::unique_ptr<MLInlineAdvice>
70 class MLInlineAdvice : public InlineAdvice {
72 MLInlineAdvice(MLInlineAdvisor *Advisor, CallBase &CB, in MLInlineAdvice() function
83 virtual ~MLInlineAdvice() = default;
/external/llvm-project/llvm/lib/Analysis/
DMLInlineAdvisor.cpp130 void MLInlineAdvisor::onSuccessfulInlining(const MLInlineAdvice &Advice, in onSuccessfulInlining()
246 std::unique_ptr<MLInlineAdvice>
249 return std::make_unique<MLInlineAdvice>(this, CB, ORE, ModelRunner->run()); in getAdviceFromModel()
252 std::unique_ptr<MLInlineAdvice>
255 return std::make_unique<MLInlineAdvice>(this, CB, ORE, true); in getMandatoryAdvice()
258 void MLInlineAdvice::reportContextForRemark( in reportContextForRemark()
267 void MLInlineAdvice::recordInliningImpl() { in recordInliningImpl()
276 void MLInlineAdvice::recordInliningWithCalleeDeletedImpl() { in recordInliningWithCalleeDeletedImpl()
286 void MLInlineAdvice::recordUnsuccessfulInliningImpl( in recordUnsuccessfulInliningImpl()
295 void MLInlineAdvice::recordUnattemptedInliningImpl() { in recordUnattemptedInliningImpl()