LLVM 20.0.0git
|
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. | |
Public Member Functions inherited from llvm::PassInfoMixin< GVNHoistPass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
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. | |
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 1203 of file GVNHoist.cpp.
References llvm::PreservedAnalyses::all(), F, G, llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), and llvm::PreservedAnalyses::preserve().