|
LLVM
4.0.0
|
The core GVN pass object. More...
#include <GVN.h>
Classes | |
| struct | Expression |
| class | ValueTable |
| This class holds the mapping between values and value numbers. More... | |
Public Member Functions | |
| PreservedAnalyses | run (Function &F, FunctionAnalysisManager &AM) |
| Run the pass over the function. More... | |
| void | markInstructionForDeletion (Instruction *I) |
| This removes the specified instruction from our various maps and marks it for deletion. More... | |
| DominatorTree & | getDominatorTree () const |
| AliasAnalysis * | getAliasAnalysis () const |
| MemoryDependenceResults & | getMemDep () const |
Friends | |
| class | gvn::GVNLegacyPass |
| struct | DenseMapInfo< Expression > |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< GVN > | |
| static StringRef | name () |
| Gets the name of the pass we are mixed into. More... | |
The core GVN pass object.
FIXME: We should have a good summary of the GVN algorithm implemented by this particular pass here.
|
inline |
Definition at line 60 of file GVN.h.
References llvm::GVN::ValueTable::getAliasAnalysis().
|
inline |
Definition at line 59 of file GVN.h.
Referenced by ConstructSSAForLoadSet().
|
inline |
Definition at line 61 of file GVN.h.
Referenced by GetLoadValueForLoad(), and llvm::gvn::GVNLegacyPass::runOnFunction().
|
inline |
This removes the specified instruction from our various maps and marks it for deletion.
Definition at line 54 of file GVN.h.
References llvm::GVN::ValueTable::erase().
| PreservedAnalyses GVN::run | ( | Function & | F, |
| FunctionAnalysisManager & | AM | ||
| ) |
Run the pass over the function.
Definition at line 580 of file GVN.cpp.
References llvm::PreservedAnalyses::all(), F, llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getCachedResult(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), and llvm::PreservedAnalyses::preserve().
|
friend |
|
friend |
1.8.6