ΒΆllvm::ModulePass* createConstantMergePass()
llvm::ModulePass* createConstantMergePass()
Description
createConstantMergePass - This function returns a new pass that merges duplicate global constants together into a single constant that is shared. This is useful because some passes (ie TraceValues) insert a lot of string constants into the program, regardless of whether or not they duplicate an existing string.
Declared at: llvm/include/llvm/Transforms/IPO.h:64