LLVM
8.0.1
|
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 30 of file ConstantMerge.h.
PreservedAnalyses ConstantMergePass::run | ( | Module & | M, |
ModuleAnalysisManager & | |||
) |
Definition at line 253 of file ConstantMerge.cpp.
References llvm::PreservedAnalyses::all(), llvm::PassRegistry::getPassRegistry(), llvm::initializeConstantMergeLegacyPassPass(), mergeConstants(), and llvm::PreservedAnalyses::none().