LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
llvm::DominatorBase< NodeT > Class Template Reference

#include <Dominators.h>

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

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 Dominators.h.

Constructor & Destructor Documentation

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

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

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: