llvm::DomTreeNodeTraits

Default DomTreeNode traits for NodeT. The default implementation assume a Function-like NodeT. Can be specialized to support different node types.

Synopsis

Declared in <llvm/Support/GenericDomTree.h>

template<typename NodeT>
struct DomTreeNodeTraits;

Type Aliases

NameDescription
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).

Static Member Functions

NameDescription
getEntryNode Return the entry node of parent Parent.
getParent Return the parent of CFG node BB.