LLVM API Documentation

llvm::DominatorBase< NodeT > Class Template Reference

#include <Dominators.h>

Inheritance diagram for llvm::DominatorBase< NodeT >:
[legend]
Collaboration diagram for llvm::DominatorBase< NodeT >:
[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 46 of file Dominators.h.


Constructor & Destructor Documentation

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

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

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


Member Data Documentation

template<class NodeT>
std::vector<NodeT*> llvm::DominatorBase< NodeT >::Roots [protected]

template<class NodeT>
const bool llvm::DominatorBase< NodeT >::IsPostDominators [protected]


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