Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/lib/Analysis/
H A DMLInlineAdvisor.cpp168 auto Pos = FunctionLevels.find(&CG.get(*Called)); in MLInlineAdvisor()
172 if (Pos == FunctionLevels.end()) in MLInlineAdvisor()
181 FunctionLevels[&CG.get(*F)] = Level; in MLInlineAdvisor()
184 for (auto KVP : FunctionLevels) { in MLInlineAdvisor()
192 return CG.lookup(F) ? FunctionLevels.at(CG.lookup(F)) : 0; in getInitialFunctionLevel()
221 const auto NLevel = FunctionLevels.at(N); in onPassEntry()
230 FunctionLevels[AdjNode] = NLevel; in onPassEntry()
497 for (auto I : FunctionLevels) in print()
/src/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMLInlineAdvisor.h87 std::map<const LazyCallGraph::Node *, unsigned> FunctionLevels; variable