Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-profgen/
H A DCSPreInliner.cpp40 : ContextTracker(Profiles), ProfileMap(Profiles), in CSPreInliner()
45 ProfiledCallGraph ProfiledCG(ContextTracker); in buildTopDownOrder()
71 ContextTracker.getContextFor(CallerSamples->getContext()); in getInlineCandidates()
126 FunctionSamples *FSamples = ContextTracker.getBaseSamplesFor(Name); in processFunction()
148 ContextTracker.markContextSamplesInlined(Candidate.CalleeSamples); in processFunction()
H A DCSPreInliner.h80 SampleContextTracker ContextTracker; variable
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/IPO/
H A DProfiledCallGraph.h54 ProfiledCallGraph(SampleContextTracker &ContextTracker) { in ProfiledCallGraph() argument
58 for (auto &Child : ContextTracker.getRootContext().getAllChildContext()) { in ProfiledCallGraph()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp412 std::unique_ptr<SampleContextTracker> ContextTracker; member in __anon1e220fe30111::SampleProfileLoader
638 return ContextTracker->getCalleeContextSamplesFor(Inst, CalleeName); in findCalleeFunctionSamples()
671 ContextTracker->getIndirectCalleeContextSamplesFor(DIL); in findIndirectCallFunctionSamples()
723 it.first->second = ContextTracker->getContextSamplesFor(DIL); in findFunctionSamples()
971 ContextTracker->getContextFor(Samples->getContext()); in findExternalInlineCandidate()
1197 ContextTracker->markContextSamplesInlined(Candidate.CalleeSamples); in tryInlineCandidate()
1629 ProfiledCG = std::make_unique<ProfiledCallGraph>(*ContextTracker); in INITIALIZE_PASS_DEPENDENCY()
1810 ContextTracker = in doInitialization()
1965 Samples = ContextTracker->getBaseSamplesFor(F); in runOnFunction()