LLVM API Documentation
#include <PostDominators.h>
Inheritance diagram for llvm::PostDominatorTree:


Public Member Functions | |
| PostDominatorTree () | |
| ~PostDominatorTree () | |
| virtual bool | runOnFunction (Function &F) |
| virtual void | getAnalysisUsage (AnalysisUsage &AU) const |
| const std::vector< BasicBlock * > & | getRoots () const |
| DomTreeNode * | getRootNode () const |
| DomTreeNode * | operator[] (BasicBlock *BB) const |
| bool | properlyDominates (const DomTreeNode *A, DomTreeNode *B) const |
| bool | properlyDominates (BasicBlock *A, BasicBlock *B) const |
| virtual void | print (std::ostream &OS, const Module *M=0) const |
Public Attributes | |
| DominatorTreeBase< BasicBlock > * | DT |
Static Public Attributes | |
| char | ID = 0 |
Definition at line 24 of file PostDominators.h.
|
|
Definition at line 28 of file PostDominators.h. |
|
|
Definition at line 40 of file PostDominators.cpp. |
|
|
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 36 of file PostDominators.h. References llvm::AnalysisUsage::setPreservesAll(). |
|
|
Definition at line 44 of file PostDominators.h. References llvm::DomTreeNode. Referenced by llvm::PostDominanceFrontier::runOnFunction(). |
|
|
Definition at line 40 of file PostDominators.h. Referenced by llvm::PostDominanceFrontier::runOnFunction(). |
|
|
Definition at line 48 of file PostDominators.h. References llvm::DomTreeNode. |
|
||||||||||||
|
print - Print out the internal state of the pass. This is called by Analyze to print out the contents of an analysis. Otherwise it is not necessary to implement this method. Beware that the module pointer MAY be null. This automatically forwards to a virtual function that does not provide the Module* in case the analysis doesn't need it it can just be ignored. Reimplemented from llvm::Pass. Definition at line 60 of file PostDominators.h. |
|
||||||||||||
|
Definition at line 56 of file PostDominators.h. |
|
||||||||||||
|
Definition at line 52 of file PostDominators.h. References llvm::DomTreeNode. |
|
|
runOnFunction - Virtual method overriden by subclasses to do the per-function processing of the pass. Implements llvm::FunctionPass. Definition at line 34 of file PostDominators.cpp. References DEBUG, DT, llvm::DominatorTreeBase< NodeT >::dump(), F, and llvm::DominatorTreeBase< NodeT >::recalculate(). |
|
|
Definition at line 26 of file PostDominators.h. Referenced by runOnFunction(). |
|
|
Definition at line 29 of file PostDominators.cpp. |