|
LLVM
5.0.0
|
A pass that merges duplicate global constants into a single constant. More...
#include "llvm/Transforms/IPO/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 221 of file ConstantMerge.cpp.
References llvm::PreservedAnalyses::all(), mergeConstants(), and llvm::PreservedAnalyses::none().
1.8.6