OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Advisor
(Results
1 - 4
of
4
) sorted by relevancy
/src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
MLInlineAdvisor.h
73
MLInlineAdvice(MLInlineAdvisor *
Advisor
, CallBase &CB,
75
: InlineAdvice(
Advisor
, CB, ORE, Recommendation),
76
CallerIRSize(
Advisor
->isForcedToStop() ? 0
77
:
Advisor
->getIRSize(*Caller)),
78
CalleeIRSize(
Advisor
->isForcedToStop() ? 0
79
:
Advisor
->getIRSize(*Callee)),
80
CallerAndCalleeEdges(
Advisor
->isForcedToStop()
82
: (
Advisor
->getLocalCalls(*Caller) +
83
Advisor
->getLocalCalls(*Callee))) {}
102
return static_cast<MLInlineAdvisor *>(
Advisor
);
[
all
...]
InlineAdvisor.h
55
InlineAdvice(InlineAdvisor *
Advisor
, CallBase &CB,
97
InlineAdvisor *const
Advisor
;
122
DefaultInlineAdvice(InlineAdvisor *
Advisor
, CallBase &CB,
125
: InlineAdvice(
Advisor
, CB, ORE, OIC.hasValue()), OriginalCB(&CB),
233
InlineAdvisor *getAdvisor() const { return
Advisor
.get(); }
234
void clear() {
Advisor
.reset(); }
239
std::unique_ptr<InlineAdvisor>
Advisor
;
/src/external/apache2/llvm/dist/llvm/lib/Analysis/
InlineAdvisor.cpp
115
InlineAdvice::InlineAdvice(InlineAdvisor *
Advisor
, CallBase &CB,
118
:
Advisor
(
Advisor
), Caller(CB.getCaller()), Callee(CB.getCalledFunction()),
135
if (
Advisor
->ImportedFunctionsStats)
136
Advisor
->ImportedFunctionsStats->recordInline(*Caller, *Callee);
148
Advisor
->markFunctionAsDeleted(Callee);
160
Advisor
.reset(new DefaultInlineAdvisor(M, FAM, Params));
161
// Restrict replay to default
advisor
, ML advisors are stateful so
164
Advisor
= std::make_unique<ReplayInlineAdvisor>(
165
M, FAM, M.getContext(), std::move(
Advisor
), ReplayFile
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
Inliner.cpp
653
// duration of the inliner pass, and thus the lifetime of the owned
advisor
.
688
InlineAdvisor &
Advisor
= getAdvisor(MAMProxy, FAM, M);
689
Advisor
.onPassEntry();
691
auto AdvisorOnExit = make_scope_exit([&] {
Advisor
.onPassExit(); });
817
auto Advice =
Advisor
.getAdvice(*CB, OnlyMandatory);
978
// The
Advisor
may use Function pointers to efficiently index various
983
//
Advisor
free the functions when it sees fit.
1021
"Could not setup Inlining
Advisor
for the requested "
Completed in 76 milliseconds
Indexes created Thu Sep 24 00:25:51 UTC 2026