Trie node representing a calling context and its sample profile.
Synopsis
Declared in <llvm/Transforms/IPO/SampleContextTracker.h>
class ContextTrieNode;
Description
Internal trie tree representation used for tracking context tree and sample profiles. The path from root node to a given node represents the context of that nodes' profile.
Member Functions
Name |
Description |
|
Construct a context trie node. |
Add |
|
Dump this context node to the debug stream. |
|
Dump the subtree rooted at this node to the debug stream. |
|
Return the map of all child contexts keyed by location and callee. |
|
Return the callsite location of this node in its parent context. |
|
Return the child context for |
|
Return the function name associated with this context node. |
|
Return the function samples for this context, or null if unset. |
|
Return the accumulated function size for this context, if known. |
|
Return the hottest child context at |
|
Return the child context for |
|
Return the parent context node, or null for the root. |
|
Remove the child context for |
|
Set the callsite location of this node in its parent context. |
|
Set the function samples associated with this context. |
|
Set the parent context node. |
Created with MrDocs