Searched refs:ContextTracker (Results 1 – 6 of 6) sorted by relevance
| /openbsd-src/gnu/llvm/llvm/tools/llvm-profgen/ |
| H A D | CSPreInliner.cpp | 64 ContextTracker(Tracker), Binary(Binary), Summary(Summary) { in CSPreInliner() 77 ProfiledCallGraph ProfiledCG(ContextTracker); in buildTopDownOrder() 109 ContextTracker.getContextNodeForProfile(CallerSamples); in getInlineCandidates() 186 FunctionSamples *FSamples = ContextTracker.getBaseSamplesFor(Name); in processFunction() 191 getFuncSize(ContextTracker.getContextNodeForProfile(FSamples)); in processFunction() 212 ContextTracker.markContextSamplesInlined(Candidate.CalleeSamples); in processFunction() 223 << ContextTracker.getContextString(*Candidate.CalleeSamples) in processFunction() 250 << ContextTracker.getContextString(*Candidate.CalleeSamples) in processFunction() 260 auto printProfileNames = [](SampleContextTracker &ContextTracker, in run() 263 for (auto *Node : ContextTracker) { in run() [all …]
|
| H A D | ProfileGenerator.h | 187 : ProfileGeneratorBase(Binary), ContextTracker(Profiles, nullptr){}; in CSProfileGenerator() 368 ContextTrieNode &getRootContext() { return ContextTracker.getRootContext(); }; in getRootContext() 376 SampleContextTracker ContextTracker; variable
|
| H A D | CSPreInliner.h | 82 SampleContextTracker &ContextTracker; variable
|
| H A D | ProfileGenerator.cpp | 465 for (auto *Node : ContextTracker) { in collectFunctionsFromLLVMProfile() 769 ContextTracker.getOrCreateContextPath(Context, true); in getOrCreateContextNode() 818 for (auto *Node : ContextTracker) { in updateFunctionSamples() 1004 ContextTracker.populateFuncToCtxtMap(); in postProcessProfiles() 1005 CSPreInliner(ContextTracker, *Binary, Summary.get()).run(); in postProcessProfiles() 1048 ContextTracker.createContextLessProfileMap(ContextLessProfiles); in computeSummaryAndThreshold()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/IPO/ |
| H A D | ProfiledCallGraph.h | 76 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/ |
| H A D | SampleProfile.cpp | 530 std::unique_ptr<SampleContextTracker> ContextTracker; member in __anon75a028af0111::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 …]
|