Searched defs:ConstantMerge (Results 1 - 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/IPO/
H A DConstantMerge.cpp1 //===- ConstantMerge.cpp - Merge duplicate global constants ---------------===//
15 // Algorithm: ConstantMerge is designed to build up a map of available constants
38 struct ConstantMerge : public ModulePass { struct in namespace:__anon10952
40 ConstantMerge() : ModulePass(ID) { function in struct:__anon10952::ConstantMerge
58 char ConstantMerge::ID = 0;
59 INITIALIZE_PASS(ConstantMerge, "constmerge",
62 ModulePass *llvm::createConstantMergePass() { return new ConstantMerge(); }
91 unsigned ConstantMerge::getAlignment(GlobalVariable *GV) const {
98 bool ConstantMerge::runOnModule(Module &M) {

Completed in 71 milliseconds