LLVM API Documentation
#include <Dominators.h>
Inheritance diagram for llvm::ImmediateDominators:
Public Member Functions | |
ImmediateDominators () | |
BasicBlock * | getRoot () const |
virtual bool | runOnFunction (Function &F) |
virtual void | getAnalysisUsage (AnalysisUsage &AU) const |
Classes | |
struct | InfoRec |
Definition at line 124 of file Dominators.h.
|
Definition at line 125 of file Dominators.h. |
|
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 134 of file Dominators.h. References llvm::AnalysisUsage::setPreservesAll(). |
|
Definition at line 127 of file Dominators.h. References llvm::DominatorBase::Roots. |
|
runOnFunction - Virtual method overriden by subclasses to do the per-function processing of the pass. Implements llvm::FunctionPass. Definition at line 157 of file Dominators.cpp. References llvm::BasicBlock::back(), E, llvm::Function::getEntryBlock(), llvm::ImmediateDominatorsBase::IDoms, llvm::pred_begin(), llvm::pred_end(), llvm::DominatorBase::Roots, and U. |