Home
last modified time | relevance | path

Searched refs:ContextNode (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DSampleContextTracker.cpp277 ContextTrieNode *ContextNode = getContextFor(DIL); in getContextSamplesFor() local
278 if (!ContextNode) in getContextSamplesFor()
517 ContextTrieNode *ContextNode = &RootContext; in getContextFor() local
519 while (--I >= 0 && ContextNode) { in getContextFor()
522 ContextNode = ContextNode->getChildContext(CallSite, CalleeName); in getContextFor()
526 return ContextNode; in getContextFor()
534 ContextTrieNode *ContextNode = &RootContext; in getOrCreateContextPath() local
540 ContextNode = in getOrCreateContextPath()
543 ContextNode = in getOrCreateContextPath()
549 assert((!AllowCreate || ContextNode) && in getOrCreateContextPath()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DProfileGenerator.cpp738 FunctionSamples *FProfile = ContextNode->getFunctionSamples(); in getOrCreateFunctionSamples()
742 FProfile->setName(ContextNode->getFuncName()); in getOrCreateFunctionSamples()
743 ContextNode->setFunctionSamples(FProfile); in getOrCreateFunctionSamples()
763 ContextTrieNode *ContextNode = in getOrCreateContextNode() local
765 getOrCreateFunctionSamples(ContextNode, WasLeafInlined); in getOrCreateContextNode()
766 return ContextNode; in getOrCreateContextNode()
815 ContextTrieNode *ContextNode = &getRootContext(); in generateLineNumBasedProfile() local
820 ContextNode = in generateLineNumBasedProfile()
1143 ContextTrieNode *ContextNode = in populateBodySamplesWithProbes() local
1230 ContextTrieNode *ContextNode = in getContextNodeForLeafProbe() local
[all …]
H A DCSPreInliner.cpp141 uint32_t CSPreInliner::getFuncSize(const ContextTrieNode *ContextNode) { in getFuncSize() argument
143 return Binary.getFuncSizeForContext(ContextNode); in getFuncSize()
145 return ContextNode->getFunctionSamples()->getBodySamples().size(); in getFuncSize()
H A DCSPreInliner.h80 uint32_t getFuncSize(const ContextTrieNode *ContextNode);
H A DProfiledBinary.h488 uint32_t getFuncSizeForContext(const ContextTrieNode *ContextNode) { in getFuncSizeForContext() argument
489 return FuncSizeTracker.getFuncSizeForContext(ContextNode); in getFuncSizeForContext()
H A DProfileGenerator.h308 FunctionSamples *getOrCreateFunctionSamples(ContextTrieNode *ContextNode,