LLVM
8.0.1
|
A simple and fast domtree-based GVN pass to hoist common expressions from sibling branches. More...
#include "llvm/Transforms/Scalar/GVN.h"
Public Member Functions | |
PreservedAnalyses | run (Function &F, FunctionAnalysisManager &AM) |
Run the pass over the function. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< GVNHoistPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. More... | |
A simple and fast domtree-based GVN pass to hoist common expressions from sibling branches.
PreservedAnalyses GVNHoistPass::run | ( | Function & | F, |
FunctionAnalysisManager & | AM | ||
) |
Run the pass over the function.
Definition at line 1178 of file GVNHoist.cpp.
References llvm::PreservedAnalyses::all(), F(), G, llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), llvm::GVNHoistLegacyPass::ID, INITIALIZE_PASS_BEGIN(), INITIALIZE_PASS_DEPENDENCY, llvm::PreservedAnalyses::preserve(), and llvm::GVNHoist::run().