LLVM
8.0.1
|
The core GVN pass object. More...
#include "llvm/Transforms/Scalar/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 |
|
inline |
Definition at line 83 of file GVN.h.
Referenced by ConstructSSAForLoadSet().
|
inline |
Definition at line 85 of file GVN.h.
Referenced by llvm::gvn::AvailableValue::MaterializeAdjustedValue().
|
inline |
PreservedAnalyses GVN::run | ( | Function & | F, |
FunctionAnalysisManager & | AM | ||
) |
Run the pass over the function.
Definition at line 629 of file GVN.cpp.
References llvm::PreservedAnalyses::all(), llvm::DenseMapBase< DenseMap< KeyT, ValueT, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::begin(), llvm::Value::dump(), E, llvm::DenseMapBase< DenseMap< KeyT, ValueT, KeyInfoT, BucketT >, KeyT, ValueT, KeyInfoT, BucketT >::end(), llvm::errs(), F(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getCachedResult(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), I, LLVM_DUMP_METHOD, llvm::PreservedAnalyses::preserve(), and runImpl().
|
friend |
|
friend |