LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

llvm::DominatorBase Class Reference

#include <Dominators.h>

Inheritance diagram for llvm::DominatorBase:

Inheritance graph
[legend]
Collaboration diagram for llvm::DominatorBase:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Protected Member Functions

 DominatorBase (bool isPostDom)

Protected Attributes

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

Detailed Description

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

Definition at line 41 of file Dominators.h.


Constructor & Destructor Documentation

llvm::DominatorBase::DominatorBase bool  isPostDom  )  [inline, protected]
 

Definition at line 46 of file Dominators.h.


Member Function Documentation

const std::vector<BasicBlock*>& llvm::DominatorBase::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 52 of file Dominators.h.

References Roots.

Referenced by llvm::ImmediateDominatorsBase::print(), llvm::PostDominanceFrontier::runOnFunction(), llvm::PostDominatorTree::runOnFunction(), llvm::ImmediatePostDominators::runOnFunction(), llvm::DominanceFrontier::runOnFunction(), and llvm::DominatorTree::runOnFunction().

bool llvm::DominatorBase::isPostDominator  )  const [inline]
 

isPostDominator - Returns true if analysis based of postdoms

Definition at line 56 of file Dominators.h.

References IsPostDominators.


Member Data Documentation

const bool llvm::DominatorBase::IsPostDominators [protected]
 

Definition at line 44 of file Dominators.h.

Referenced by isPostDominator().

std::vector<BasicBlock*> llvm::DominatorBase::Roots [protected]
 

Definition at line 43 of file Dominators.h.

Referenced by llvm::DominanceFrontier::getRoot(), llvm::DominatorTree::getRoot(), llvm::DominatorSet::getRoot(), llvm::ImmediateDominators::getRoot(), getRoots(), llvm::PostDominanceFrontier::runOnFunction(), llvm::PostDominatorTree::runOnFunction(), llvm::ImmediatePostDominators::runOnFunction(), llvm::PostDominatorSet::runOnFunction(), llvm::DominanceFrontier::runOnFunction(), llvm::DominatorTree::runOnFunction(), llvm::DominatorSet::runOnFunction(), and llvm::ImmediateDominators::runOnFunction().


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