LLVM  4.0.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
llvm::DominatorBase< NodeT > Class Template Reference

Base class that other, more interesting dominator analyses inherit from. More...

#include <GenericDomTree.h>

Inheritance diagram for llvm::DominatorBase< NodeT >:
[legend]
Collaboration diagram for llvm::DominatorBase< NodeT >:
[legend]

Public Member Functions

const std::vector< NodeT * > & getRoots () const
 getRoots - Return the root blocks of the current CFG. More...
 
bool isPostDominator () const
 isPostDominator - Returns true if analysis based of postdoms More...
 

Protected Member Functions

 DominatorBase (bool isPostDom)
 
 DominatorBase (DominatorBase &&Arg)
 
DominatorBaseoperator= (DominatorBase &&RHS)
 

Protected Attributes

std::vector< NodeT * > Roots
 
bool IsPostDominators
 

Detailed Description

template<class NodeT>
class llvm::DominatorBase< NodeT >

Base class that other, more interesting dominator analyses inherit from.

Definition at line 58 of file GenericDomTree.h.

Constructor & Destructor Documentation

template<class NodeT >
llvm::DominatorBase< NodeT >::DominatorBase ( bool  isPostDom)
inlineexplicitprotected

Definition at line 62 of file GenericDomTree.h.

template<class NodeT >
llvm::DominatorBase< NodeT >::DominatorBase ( DominatorBase< NodeT > &&  Arg)
inlineprotected

Definition at line 64 of file GenericDomTree.h.

Member Function Documentation

template<class NodeT >
const std::vector<NodeT *>& llvm::DominatorBase< NodeT >::getRoots ( ) const
inline

getRoots - Return the root blocks of the current CFG.

This may include multiple blocks if we are computing post dominators. For forward dominators, this will always be a single block (the entry node).

Definition at line 81 of file GenericDomTree.h.

References llvm::DominatorBase< NodeT >::Roots.

Referenced by llvm::ForwardDominanceFrontierBase< BasicBlock >::analyze(), and llvm::MachineDominatorTree::getRoots().

template<class NodeT >
bool llvm::DominatorBase< NodeT >::isPostDominator ( ) const
inline
template<class NodeT >
DominatorBase& llvm::DominatorBase< NodeT >::operator= ( DominatorBase< NodeT > &&  RHS)
inlineprotected

Member Data Documentation

template<class NodeT >
bool llvm::DominatorBase< NodeT >::IsPostDominators
protected
template<class NodeT >
std::vector<NodeT *> llvm::DominatorBase< NodeT >::Roots
protected

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