LLVM API Documentation

Public Member Functions | Protected Member Functions | Protected Attributes
llvm::DominatorBase< NodeT > Class Template Reference

#include <GenericDomTree.h>

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

List of all members.

Public Member Functions

const std::vector< NodeT * > & getRoots () const
bool isPostDominator () const

Protected Member Functions

 DominatorBase (bool isPostDom)

Protected Attributes

std::vector< NodeT * > Roots
const bool IsPostDominators

Detailed Description

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

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

Definition at line 37 of file GenericDomTree.h.


Constructor & Destructor Documentation

template<class NodeT>
llvm::DominatorBase< NodeT >::DominatorBase ( bool  isPostDom) [inline, explicit, protected]

Definition at line 41 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 49 of file GenericDomTree.h.

Referenced by llvm::ForwardDominanceFrontierBase< MachineBasicBlock >::analyze(), llvm::MachinePostDominatorTree::getRoots(), and llvm::PostDominatorTree::getRoots().

template<class NodeT>
bool llvm::DominatorBase< NodeT >::isPostDominator ( ) const [inline]

Member Data Documentation

template<class NodeT>
const 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: