Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Analysis/
DMLInlineAdvisor.cpp70 M(M), ModelRunner(std::move(Runner)), CG(new CallGraph(M)), in MLInlineAdvisor()
72 assert(ModelRunner); in MLInlineAdvisor()
227 ModelRunner->setFeature(FeatureIndex::CalleeBasicBlockCount, in getAdvice()
229 ModelRunner->setFeature(FeatureIndex::CallSiteHeight, in getAdvice()
231 ModelRunner->setFeature(FeatureIndex::NodeCount, NodeCount); in getAdvice()
232 ModelRunner->setFeature(FeatureIndex::NrCtantParams, NrCtantParams); in getAdvice()
233 ModelRunner->setFeature(FeatureIndex::CostEstimate, CostEstimate); in getAdvice()
234 ModelRunner->setFeature(FeatureIndex::EdgeCount, EdgeCount); in getAdvice()
235 ModelRunner->setFeature(FeatureIndex::CallerUsers, CallerBefore.Uses); in getAdvice()
236 ModelRunner->setFeature(FeatureIndex::CallerConditionallyExecutedBlocks, in getAdvice()
[all …]
/external/llvm-project/llvm/include/llvm/Analysis/
DMLInlineAdvisor.h27 std::unique_ptr<MLModelRunner> ModelRunner);
42 const MLModelRunner &getModelRunner() const { return *ModelRunner.get(); } in getModelRunner()
52 std::unique_ptr<MLModelRunner> ModelRunner; variable