class DomTreeNodeBase
Declaration
template <class NodeT>
class DomTreeNodeBase { /* full declaration omitted */ };
Description
Base class for the actual dominator tree node.
Declared at: llvm/include/llvm/Support/GenericDomTree.h:54
Templates
- NodeT
Method Overview
- public DomTreeNodeBase<NodeT>(NodeT * BB, DomTreeNodeBase<NodeT> * iDom)
- public std::unique_ptr<DomTreeNodeBase<NodeT>> addChild(std::unique_ptr<DomTreeNodeBase<NodeT>> C)
- public llvm::DomTreeNodeBase::iterator begin()
- public llvm::DomTreeNodeBase::const_iterator begin() const
- public void clearAllChildren()
- public bool compare(const DomTreeNodeBase<NodeT> * Other) const
- public llvm::DomTreeNodeBase::iterator end()
- public llvm::DomTreeNodeBase::const_iterator end() const
- public NodeT * getBlock() const
- public const std::vector<DomTreeNodeBase<NodeT> *> & getChildren() const
- public unsigned int getDFSNumIn() const
- public unsigned int getDFSNumOut() const
- public DomTreeNodeBase<NodeT> * getIDom() const
- public unsigned int getLevel() const
- public size_t getNumChildren() const
- public void setIDom(DomTreeNodeBase<NodeT> * NewIDom)
Methods
¶DomTreeNodeBase<NodeT>(
NodeT* BB,
DomTreeNodeBase<NodeT>* iDom)
DomTreeNodeBase<NodeT>(
NodeT* BB,
DomTreeNodeBase<NodeT>* iDom)
Declared at: llvm/include/llvm/Support/GenericDomTree.h:69
Parameters
- NodeT* BB
- DomTreeNodeBase<NodeT>* iDom
¶std::unique_ptr<DomTreeNodeBase<NodeT>> addChild(
std::unique_ptr<DomTreeNodeBase<NodeT>> C)
std::unique_ptr<DomTreeNodeBase<NodeT>> addChild(
std::unique_ptr<DomTreeNodeBase<NodeT>> C)
Declared at: llvm/include/llvm/Support/GenericDomTree.h:87
Parameters
- std::unique_ptr<DomTreeNodeBase<NodeT>> C
¶llvm::DomTreeNodeBase::iterator begin()
llvm::DomTreeNodeBase::iterator begin()
Declared at: llvm/include/llvm/Support/GenericDomTree.h:76
¶llvm::DomTreeNodeBase::const_iterator begin()
const
llvm::DomTreeNodeBase::const_iterator begin()
const
Declared at: llvm/include/llvm/Support/GenericDomTree.h:78
¶void clearAllChildren()
void clearAllChildren()
Declared at: llvm/include/llvm/Support/GenericDomTree.h:95
¶bool compare(
const DomTreeNodeBase<NodeT>* Other) const
bool compare(
const DomTreeNodeBase<NodeT>* Other) const
Declared at: llvm/include/llvm/Support/GenericDomTree.h:97
Parameters
- const DomTreeNodeBase<NodeT>* Other
¶llvm::DomTreeNodeBase::iterator end()
llvm::DomTreeNodeBase::iterator end()
Declared at: llvm/include/llvm/Support/GenericDomTree.h:77
¶llvm::DomTreeNodeBase::const_iterator end() const
llvm::DomTreeNodeBase::const_iterator end() const
Declared at: llvm/include/llvm/Support/GenericDomTree.h:79
¶NodeT* getBlock() const
NodeT* getBlock() const
Declared at: llvm/include/llvm/Support/GenericDomTree.h:81
¶const std::vector<DomTreeNodeBase<NodeT>*>&
getChildren() const
const std::vector<DomTreeNodeBase<NodeT>*>&
getChildren() const
Declared at: llvm/include/llvm/Support/GenericDomTree.h:85
¶unsigned int getDFSNumIn() const
unsigned int getDFSNumIn() const
Description
getDFSNumIn/getDFSNumOut - These return the DFS visitation order for nodes in the dominator tree. They are only guaranteed valid if updateDFSNumbers() has been called.
Declared at: llvm/include/llvm/Support/GenericDomTree.h:137
¶unsigned int getDFSNumOut() const
unsigned int getDFSNumOut() const
Declared at: llvm/include/llvm/Support/GenericDomTree.h:138
¶DomTreeNodeBase<NodeT>* getIDom() const
DomTreeNodeBase<NodeT>* getIDom() const
Declared at: llvm/include/llvm/Support/GenericDomTree.h:82
¶unsigned int getLevel() const
unsigned int getLevel() const
Declared at: llvm/include/llvm/Support/GenericDomTree.h:83
¶size_t getNumChildren() const
size_t getNumChildren() const
Declared at: llvm/include/llvm/Support/GenericDomTree.h:93
¶void setIDom(DomTreeNodeBase<NodeT>* NewIDom)
void setIDom(DomTreeNodeBase<NodeT>* NewIDom)
Declared at: llvm/include/llvm/Support/GenericDomTree.h:117
Parameters
- DomTreeNodeBase<NodeT>* NewIDom