Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/llvm/include/llvm/Transforms/IPO/
DProfiledCallGraph.h76 ProfiledCallGraph(SampleContextTracker &ContextTracker) { in ProfiledCallGraph() argument
80 for (auto &Child : ContextTracker.getRootContext().getAllChildContext()) { in ProfiledCallGraph()
82 addProfiledFunction(ContextTracker.getFuncNameFor(Callee)); in ProfiledCallGraph()
99 addProfiledFunction(ContextTracker.getFuncNameFor(Callee)); in ProfiledCallGraph()
120 addProfiledCall(ContextTracker.getFuncNameFor(Caller), in ProfiledCallGraph()
121 ContextTracker.getFuncNameFor(Callee), Weight); in ProfiledCallGraph()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/IPO/
DSampleProfile.cpp530 std::unique_ptr<SampleContextTracker> ContextTracker; member in __anon628534940111::SampleProfileLoader
703 return ContextTracker->getCalleeContextSamplesFor(Inst, CalleeName); in findCalleeFunctionSamples()
736 ContextTracker->getIndirectCalleeContextSamplesFor(DIL); in findIndirectCallFunctionSamples()
788 it.first->second = ContextTracker->getContextSamplesFor(DIL); in findFunctionSamples()
1067 ContextTrieNode *Caller = ContextTracker->getContextNodeForProfile(Samples); in findExternalInlineCandidate()
1277 ContextTracker->markContextSamplesInlined(Candidate.CalleeSamples); in tryInlineCandidate()
1504 } else if (!ContextTracker) { in inlineHotFunctionsWithPriority()
1517 } else if (!ContextTracker) { in inlineHotFunctionsWithPriority()
1819 ProfiledCG = std::make_unique<ProfiledCallGraph>(*ContextTracker); in buildProfiledCallGraph()
2033 ContextTracker = std::make_unique<SampleContextTracker>( in doInitialization()
[all …]