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::DominatorTree Struct Reference

#include <Dominators.h>

Inheritance diagram for llvm::DominatorTree:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DominatorTree ()
BasicBlockgetRoot () const
virtual bool runOnFunction (Function &F)
virtual void getAnalysisUsage (AnalysisUsage &AU) const

Detailed Description

DominatorTree Class - Concrete subclass of DominatorTreeBase that is used to compute a normal dominator tree.

Definition at line 386 of file Dominators.h.


Constructor & Destructor Documentation

llvm::DominatorTree::DominatorTree  )  [inline]
 

Definition at line 387 of file Dominators.h.


Member Function Documentation

virtual void llvm::DominatorTree::getAnalysisUsage AnalysisUsage AU  )  const [inline, virtual]
 

getAnalysisUsage - This function should be overriden by passes that need analysis information to do their job. If a pass specifies that it uses a particular analysis result to this function, it can then use the getAnalysis<AnalysisType>() function, below.

Reimplemented from llvm::Pass.

Definition at line 402 of file Dominators.h.

References llvm::AnalysisUsage::addRequired(), and llvm::AnalysisUsage::setPreservesAll().

BasicBlock* llvm::DominatorTree::getRoot  )  const [inline]
 

Definition at line 389 of file Dominators.h.

References llvm::DominatorBase::Roots.

virtual bool llvm::DominatorTree::runOnFunction Function F  )  [inline, virtual]
 

runOnFunction - Virtual method overriden by subclasses to do the per-function processing of the pass.

Implements llvm::FunctionPass.

Definition at line 394 of file Dominators.h.

References llvm::DominatorBase::getRoots(), llvm::DominatorTreeBase::reset(), and llvm::DominatorBase::Roots.


The documentation for this struct was generated from the following files: