LLVM API Documentation

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

DomTreeDFS Class Reference

Collaboration diagram for DomTreeDFS:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DomTreeDFS (DominatorTree *DT)
virtual ~DomTreeDFS ()
NodegetRootNode () const
 getRootNode - This returns the entry node for the CFG of the function.
NodegetNodeForBlock (BasicBlock *BB) const
 getNodeForBlock - return the node for the specified basic block.
bool dominates (Instruction *I1, Instruction *I2)

Constructor & Destructor Documentation

DomTreeDFS::DomTreeDFS DominatorTree DT  )  [inline, explicit]
 

Definition at line 163 of file PredicateSimplifier.cpp.

References DomTreeDFS::Node::BB, llvm::DomTreeNodeBase< NodeT >::begin(), DomTreeDFS::Node::Children, DEBUG, llvm::DomTreeNode, llvm::dump(), llvm::DomTreeNodeBase< NodeT >::end(), llvm::DomTreeNodeBase< NodeT >::getBlock(), and llvm::DominatorTree::getRootNode().

virtual DomTreeDFS::~DomTreeDFS  )  [inline, virtual]
 

Definition at line 199 of file PredicateSimplifier.cpp.

References DomTreeDFS::Node::begin(), and DomTreeDFS::Node::end().


Member Function Documentation

bool DomTreeDFS::dominates Instruction I1,
Instruction I2
[inline]
 

dominates - returns true if the basic block for I1 dominates that of the basic block for I2. If the instructions belong to the same basic block, the instruction first instruction sequentially in the block is considered dominating.

Definition at line 226 of file PredicateSimplifier.cpp.

References DomTreeDFS::Node::dominates(), getNodeForBlock(), and llvm::Instruction::getParent().

Node* DomTreeDFS::getNodeForBlock BasicBlock BB  )  const [inline]
 

getNodeForBlock - return the node for the specified basic block.

Definition at line 217 of file PredicateSimplifier.cpp.

Referenced by dominates().

Node* DomTreeDFS::getRootNode  )  const [inline]
 

getRootNode - This returns the entry node for the CFG of the function.

Definition at line 214 of file PredicateSimplifier.cpp.


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


This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.