Default DomTreeNode traits for NodeT. The default implementation assume a Function-like NodeT. Can be specialized to support different node types.
Declared in <llvm/Support/GenericDomTree.h>
template<typename NodeT>
struct DomTreeNodeTraits;
| Name | Description |
|---|---|
NodePtr | Pointer to a CFG node / basic block. |
NodeType | Concrete CFG node / basic-block type. |
ParentPtr | Pointer to the parent of a CFG node (e.g. a Function). |
ParentType | Type of the parent of a CFG node (e.g. Function). |
| Name | Description |
|---|---|
getEntryNode | Return the entry node of parent Parent. |
getParent | Return the parent of CFG node BB. |