|
LLVM 24.0.0git
|
#include "llvm/Transforms/Scalar/GVN.h"
Public Member Functions | |
| LLVM_ABI | GVNPass (GVNOptions Options={}) |
| LLVM_ABI | ~GVNPass () |
| LLVM_ABI | GVNPass (GVNPass &&) noexcept |
| LLVM_ABI GVNPass & | operator= (GVNPass &&) noexcept |
| GVNPass (const GVNPass &)=delete | |
| GVNPass & | operator= (const GVNPass &)=delete |
| LLVM_ABI PreservedAnalyses | run (Function &F, FunctionAnalysisManager &AM) |
| Run the pass over the function. | |
| LLVM_ABI void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
| Public Member Functions inherited from llvm::detail::PassInfoMixin< GVNPass > | |
| void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
| Static Public Member Functions inherited from llvm::OptionalPassInfoMixin< GVNPass > | |
| static bool | isRequired () |
| Static Public Member Functions inherited from llvm::detail::InfoMixin< GVNPass > | |
| static StringRef | name () |
| Gets the name of the pass we are mixed into. | |
| GVNPass::GVNPass | ( | GVNOptions | Options = {} | ) |
Definition at line 1159 of file GVN.cpp.
References Options.
Referenced by GVNPass(), GVNPass(), operator=(), operator=(), and run().
|
default |
References LLVM_ABI.
References const, llvm::createGVNPass(), F, GVNPass(), LLVM_ABI, printPipeline(), and run().
| void GVNPass::printPipeline | ( | raw_ostream & | OS, |
| function_ref< StringRef(StringRef)> | MapClassName2PassName ) |
Definition at line 1207 of file GVN.cpp.
References Options, and printPipeline().
Referenced by operator=(), and printPipeline().
| PreservedAnalyses GVNPass::run | ( | Function & | F, |
| FunctionAnalysisManager & | AM ) |
Run the pass over the function.
Definition at line 1168 of file GVN.cpp.
References llvm::PreservedAnalyses::all(), Changed, F, GVNPass(), if(), llvm::PreservedAnalyses::preserve(), and run().
Referenced by operator=(), and run().