LLVM  3.7.0
Public Types | Public Member Functions | Friends | List of all members
llvm::DomTreeNodeBase< T > Class Template Reference

Base class for the actual dominator tree node. More...

#include <IteratedDominanceFrontier.h>

Inheritance diagram for llvm::DomTreeNodeBase< T >:
[legend]

Public Types

typedef std::vector
< DomTreeNodeBase< NodeT >
* >::iterator 
iterator
 
typedef std::vector
< DomTreeNodeBase< NodeT >
* >::const_iterator 
const_iterator
 

Public Member Functions

iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
NodeT * getBlock () const
 
DomTreeNodeBase< NodeT > * getIDom () const
 
const std::vector
< DomTreeNodeBase< NodeT > * > & 
getChildren () const
 
 DomTreeNodeBase (NodeT *BB, DomTreeNodeBase< NodeT > *iDom)
 
std::unique_ptr
< DomTreeNodeBase< NodeT > > 
addChild (std::unique_ptr< DomTreeNodeBase< NodeT >> C)
 
size_t getNumChildren () const
 
void clearAllChildren ()
 
bool compare (const DomTreeNodeBase< NodeT > *Other) const
 
void setIDom (DomTreeNodeBase< NodeT > *NewIDom)
 
unsigned getDFSNumIn () const
 getDFSNumIn/getDFSNumOut - These are an internal implementation detail, do not call them. More...
 
unsigned getDFSNumOut () const
 

Friends

template<class N >
class DominatorTreeBase
 
struct PostDominatorTree
 

Detailed Description

template<class T>
class llvm::DomTreeNodeBase< T >

Base class for the actual dominator tree node.

Definition at line 35 of file IteratedDominanceFrontier.h.

Member Typedef Documentation

template<class T>
typedef std::vector<DomTreeNodeBase<NodeT> *>::const_iterator llvm::DomTreeNodeBase< T >::const_iterator

Definition at line 81 of file GenericDomTree.h.

template<class T>
typedef std::vector<DomTreeNodeBase<NodeT> *>::iterator llvm::DomTreeNodeBase< T >::iterator

Definition at line 79 of file GenericDomTree.h.

Constructor & Destructor Documentation

template<class T>
llvm::DomTreeNodeBase< T >::DomTreeNodeBase ( NodeT *  BB,
DomTreeNodeBase< NodeT > *  iDom 
)
inline

Definition at line 94 of file GenericDomTree.h.

Member Function Documentation

template<class T>
std::unique_ptr<DomTreeNodeBase<NodeT> > llvm::DomTreeNodeBase< T >::addChild ( std::unique_ptr< DomTreeNodeBase< NodeT >>  C)
inline
template<class T>
iterator llvm::DomTreeNodeBase< T >::begin ( )
inline
template<class T>
const_iterator llvm::DomTreeNodeBase< T >::begin ( ) const
inline

Definition at line 85 of file GenericDomTree.h.

template<class T>
void llvm::DomTreeNodeBase< T >::clearAllChildren ( )
inline

Definition at line 105 of file GenericDomTree.h.

template<class T>
bool llvm::DomTreeNodeBase< T >::compare ( const DomTreeNodeBase< NodeT > *  Other) const
inline

Definition at line 107 of file GenericDomTree.h.

Referenced by llvm::DominatorTreeBase< BasicBlock >::compare().

template<class T>
iterator llvm::DomTreeNodeBase< T >::end ( )
inline
template<class T>
const_iterator llvm::DomTreeNodeBase< T >::end ( ) const
inline

Definition at line 86 of file GenericDomTree.h.

template<class T>
NodeT* llvm::DomTreeNodeBase< T >::getBlock ( ) const
inline
template<class T>
const std::vector<DomTreeNodeBase<NodeT> *>& llvm::DomTreeNodeBase< T >::getChildren ( ) const
inline
template<class T>
unsigned llvm::DomTreeNodeBase< T >::getDFSNumIn ( ) const
inline

getDFSNumIn/getDFSNumOut - These are an internal implementation detail, do not call them.

Definition at line 143 of file GenericDomTree.h.

template<class T>
unsigned llvm::DomTreeNodeBase< T >::getDFSNumOut ( ) const
inline

Definition at line 144 of file GenericDomTree.h.

template<class T>
DomTreeNodeBase<NodeT>* llvm::DomTreeNodeBase< T >::getIDom ( ) const
inline
template<class T>
size_t llvm::DomTreeNodeBase< T >::getNumChildren ( ) const
inline

Definition at line 103 of file GenericDomTree.h.

Referenced by llvm::DomTreeNodeBase< NodeT >::compare().

template<class T>
void llvm::DomTreeNodeBase< T >::setIDom ( DomTreeNodeBase< NodeT > *  NewIDom)
inline

Friends And Related Function Documentation

template<class T>
template<class N >
friend class DominatorTreeBase
friend

Definition at line 75 of file GenericDomTree.h.

template<class T>
friend struct PostDominatorTree
friend

Definition at line 76 of file GenericDomTree.h.


The documentation for this class was generated from the following files: