LLVM API Documentation
#include <DependenceAnalyzer.h>
Inheritance diagram for llvm::DependenceAnalyzer:
Public Member Functions | |
DependenceAnalyzer () | |
virtual bool | runOnFunction (Function &F) |
virtual const char * | getPassName () const |
virtual void | getAnalysisUsage (AnalysisUsage &AU) const |
DependenceResult | getDependenceInfo (Instruction *inst1, Instruction *inst2, bool srcBeforeDest) |
Definition at line 51 of file DependenceAnalyzer.h.
llvm::DependenceAnalyzer::DependenceAnalyzer | ( | ) | [inline] |
Definition at line 70 of file DependenceAnalyzer.h.
virtual void llvm::DependenceAnalyzer::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 75 of file DependenceAnalyzer.h.
References llvm::AnalysisUsage::addRequired(), and llvm::AnalysisUsage::setPreservesAll().
DependenceResult DependenceAnalyzer::getDependenceInfo | ( | Instruction * | inst1, | |
Instruction * | inst2, | |||
bool | srcBeforeDest | |||
) |
virtual const char* llvm::DependenceAnalyzer::getPassName | ( | ) | const [inline, virtual] |
getPassName - Return a nice clean name for a pass. This usually implemented in terms of the name that is registered by one of the Registration templates, but can be overloaded directly, and if nothing else is available, C++ RTTI will be consulted to get a SOMEWHAT intelligible name for the pass.
Reimplemented from llvm::Pass.
Definition at line 72 of file DependenceAnalyzer.h.
bool DependenceAnalyzer::runOnFunction | ( | Function & | F | ) | [virtual] |
runOnFunction - Virtual method overriden by subclasses to do the per-function processing of the pass.
Implements llvm::FunctionPass.
Definition at line 38 of file DependenceAnalyzer.cpp.