Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineAdvisor.cpp74 MandatoryInlineAdvice(InlineAdvisor *Advisor, CallBase &CB, in MandatoryInlineAdvice() argument
77 : InlineAdvice(Advisor, CB, ORE, IsInliningMandatory) {} in MandatoryInlineAdvice()
93 return OptimizationRemarkMissed(Advisor->getAnnotatedInlinePassName(), in recordUnsuccessfulInliningImpl()
113 return OptimizationRemarkMissed(Advisor->getAnnotatedInlinePassName(), in recordUnsuccessfulInliningImpl()
125 Advisor->getAnnotatedInlinePassName()); in recordInliningWithCalleeDeletedImpl()
132 Advisor->getAnnotatedInlinePassName()); in recordInliningImpl()
176 InlineAdvice::InlineAdvice(InlineAdvisor *Advisor, CallBase &CB, in InlineAdvice() argument
179 : Advisor(Advisor), Caller(CB.getCaller()), Callee(CB.getCalledFunction()), in InlineAdvice()
184 if (Advisor->ImportedFunctionsStats) in recordInlineStatsIfNeeded()
185 Advisor->ImportedFunctionsStats->recordInline(*Caller, *Callee); in recordInlineStatsIfNeeded()
[all …]
H A DMLInlineAdvisor.cpp506 MLInlineAdvice::MLInlineAdvice(MLInlineAdvisor *Advisor, CallBase &CB, in MLInlineAdvice() argument
509 : InlineAdvice(Advisor, CB, ORE, Recommendation), in MLInlineAdvice()
510 CallerIRSize(Advisor->isForcedToStop() ? 0 : Advisor->getIRSize(*Caller)), in MLInlineAdvice()
511 CalleeIRSize(Advisor->isForcedToStop() ? 0 : Advisor->getIRSize(*Callee)), in MLInlineAdvice()
512 CallerAndCalleeEdges(Advisor->isForcedToStop() in MLInlineAdvice()
514 : (Advisor->getLocalCalls(*Caller) + in MLInlineAdvice()
515 Advisor->getLocalCalls(*Callee))), in MLInlineAdvice()
516 PreInlineCallerFPI(Advisor->getCachedFPI(*Caller)) { in MLInlineAdvice()
518 FPU.emplace(Advisor->getCachedFPI(*getCaller()), CB); in MLInlineAdvice()
H A DReplayInlineAdvisor.cpp85 auto Advisor = std::make_unique<ReplayInlineAdvisor>( in getReplayInlineAdvisor() local
88 if (!Advisor->areReplayRemarksLoaded()) in getReplayInlineAdvisor()
89 Advisor.reset(); in getReplayInlineAdvisor()
90 return Advisor; in getReplayInlineAdvisor()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInlineAdvisor.h77 InlineAdvice(InlineAdvisor *Advisor, CallBase &CB,
121 InlineAdvisor *const Advisor;
146 DefaultInlineAdvice(InlineAdvisor *Advisor, CallBase &CB,
149 : InlineAdvice(Advisor, CB, ORE, OIC.has_value()), OriginalCB(&CB),
333 InlineAdvisor *getAdvisor() const { return Advisor.get(); }
338 std::unique_ptr<InlineAdvisor> Advisor;
122 InlineAdvisor *const Advisor; global() variable
339 std::unique_ptr<InlineAdvisor> Advisor; global() member
H A DMLInlineAdvisor.h101 MLInlineAdvice(MLInlineAdvisor *Advisor, CallBase &CB,
121 return static_cast<MLInlineAdvisor *>(Advisor); in getAdvisor()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DModuleInliner.cpp127 InlineAdvisor &Advisor = getAdvisor(MAM, FAM, M); in run() local
128 Advisor.onPassEntry(); in run()
130 auto AdvisorOnExit = make_scope_exit([&] { Advisor.onPassExit(); }); in run()
201 auto Advice = Advisor.getAdvice(*CB, /*OnlyMandatory*/ false); in run()
H A DInliner.cpp223 InlineAdvisor &Advisor = getAdvisor(MAMProxy, FAM, M); in run() local
224 Advisor.onPassEntry(&InitialC); in run()
284 auto AdvisorOnExit = make_scope_exit([&] { Advisor.onPassExit(C); }); in run()
364 Advisor.getAdvice(*CB, OnlyMandatory); in run()
/freebsd/contrib/file/magic/Magdir/
H A Dmsdos1838 0 ulequad 0x3a000000024e4c MS Advisor help file