LLVM API Documentation
#include <Dominators.h>
Inheritance diagram for llvm::DominatorTree:


Public Member Functions | |
| DominatorTree () | |
| BasicBlock * | getRoot () const |
| virtual bool | runOnFunction (Function &F) |
| virtual void | getAnalysisUsage (AnalysisUsage &AU) const |
Definition at line 524 of file Dominators.h.
| llvm::DominatorTree::DominatorTree | ( | ) | [inline] |
Definition at line 526 of file Dominators.h.
| BasicBlock* llvm::DominatorTree::getRoot | ( | ) | const [inline] |
| 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 533 of file Dominators.h.
References llvm::DominatorTreeBase::reset(), and llvm::DominatorBase::Roots.
| 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 541 of file Dominators.h.
References llvm::AnalysisUsage::addRequired(), and llvm::AnalysisUsage::setPreservesAll().