|
LLVM
4.0.0
|
A pass that merges duplicate global constants into a single constant. More...
#include <ConstantMerge.h>
Public Member Functions | |
| PreservedAnalyses | run (Module &M, ModuleAnalysisManager &) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< ConstantMergePass > | |
| static StringRef | name () |
| Gets the name of the pass we are mixed into. More... | |
A pass that merges duplicate global constants into a single constant.
Definition at line 29 of file ConstantMerge.h.
| PreservedAnalyses ConstantMergePass::run | ( | Module & | M, |
| ModuleAnalysisManager & | |||
| ) |
Definition at line 195 of file ConstantMerge.cpp.
References llvm::PreservedAnalyses::all(), mergeConstants(), and llvm::PreservedAnalyses::none().
1.8.6