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


Public Member Functions | |
| ETForest () | |
| BasicBlock * | getRoot () const |
| virtual bool | runOnFunction (Function &F) |
| void | calculate (const ImmediateDominators &ID) |
| ETNode * | getNodeForBlock (BasicBlock *BB) |
Definition at line 499 of file Dominators.h.
| llvm::ETForest::ETForest | ( | ) | [inline] |
Definition at line 501 of file Dominators.h.
| BasicBlock* llvm::ETForest::getRoot | ( | ) | const [inline] |
| virtual bool llvm::ETForest::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 508 of file Dominators.h.
References calculate(), llvm::ETForestBase::reset(), and llvm::DominatorBase::Roots.
| void ETForest::calculate | ( | const ImmediateDominators & | ID | ) |
Definition at line 851 of file Dominators.cpp.
References E, F, getNodeForBlock(), llvm::ETForestBase::Nodes, llvm::DominatorBase::Roots, and llvm::ETForestBase::updateDFSNumbers().
Referenced by runOnFunction().
| ETNode * ETForest::getNodeForBlock | ( | BasicBlock * | BB | ) |
Definition at line 829 of file Dominators.cpp.
References BB, llvm::ETForestBase::Nodes, and llvm::ETNode::setFather().
Referenced by calculate().