HomeSort by: relevance | last modified time | path
    Searched refs:InlineAdvice (Results 1 - 7 of 7) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
InlineAdvisor.h 53 class InlineAdvice {
55 InlineAdvice(InlineAdvisor *Advisor, CallBase &CB,
58 InlineAdvice(InlineAdvice &&) = delete;
59 InlineAdvice(const InlineAdvice &) = delete;
60 virtual ~InlineAdvice() {
61 assert(Recorded && "InlineAdvice should have been informed of the "
120 class DefaultInlineAdvice : public InlineAdvice {
125 : InlineAdvice(Advisor, CB, ORE, OIC.hasValue()), OriginalCB(&CB)
    [all...]
MLInlineAdvisor.h 43 std::unique_ptr<InlineAdvice> getAdviceImpl(CallBase &CB) override;
45 std::unique_ptr<InlineAdvice> getMandatoryAdvice(CallBase &CB,
69 /// InlineAdvice that tracks changes post inlining. For that reason, it only
71 class MLInlineAdvice : public InlineAdvice {
75 : InlineAdvice(Advisor, CB, ORE, Recommendation),
ReplayInlineAdvisor.h 31 std::unique_ptr<InlineAdvice> getAdviceImpl(CallBase &CB) override;
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
InlineAdvisor.cpp 107 std::unique_ptr<InlineAdvice>
115 InlineAdvice::InlineAdvice(InlineAdvisor *Advisor, CallBase &CB,
134 void InlineAdvice::recordInlineStatsIfNeeded() {
139 void InlineAdvice::recordInlining() {
145 void InlineAdvice::recordInliningWithCalleeDeleted() {
473 std::unique_ptr<InlineAdvice> InlineAdvisor::getMandatoryAdvice(CallBase &CB,
475 return std::make_unique<InlineAdvice>(this, CB, getCallerORE(CB), Advice);
501 std::unique_ptr<InlineAdvice> InlineAdvisor::getAdvice(CallBase &CB,
MLInlineAdvisor.cpp 175 std::unique_ptr<InlineAdvice> MLInlineAdvisor::getAdviceImpl(CallBase &CB) {
187 // state we need to track, so we can just return the base InlineAdvice, which
198 // we just return the base InlineAdvice, which acts as a noop.
204 return std::make_unique<InlineAdvice>(this, CB, ORE, Mandatory);
213 // InlineAdvice, as we don't care about tracking any state changes (which
215 return std::make_unique<InlineAdvice>(this, CB, ORE, false);
256 std::unique_ptr<InlineAdvice> MLInlineAdvisor::getMandatoryAdvice(CallBase &CB,
263 // state we need to track, so we can just return the base InlineAdvice, which
266 return std::make_unique<InlineAdvice>(this, CB, getCallerORE(CB), Advice);
ReplayInlineAdvisor.cpp 60 std::unique_ptr<InlineAdvice> ReplayInlineAdvisor::getAdviceImpl(CallBase &CB) {
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
SampleProfile.cpp 1251 std::unique_ptr<InlineAdvice> Advice = nullptr;

Completed in 22 milliseconds