Lines Matching refs:GlobalMerge
140 class GlobalMerge : public FunctionPass { class
189 explicit GlobalMerge() in GlobalMerge() function in __anonc5341a800111::GlobalMerge
194 explicit GlobalMerge(const TargetMachine *TM, unsigned MaximalOffset, in GlobalMerge() function in __anonc5341a800111::GlobalMerge
216 char GlobalMerge::ID = 0;
218 INITIALIZE_PASS(GlobalMerge, DEBUG_TYPE, "Merge global variables", false, false)
220 bool GlobalMerge::doMerge(SmallVectorImpl<GlobalVariable*> &Globals, in doMerge()
439 bool GlobalMerge::doMerge(const SmallVectorImpl<GlobalVariable *> &Globals, in doMerge()
568 void GlobalMerge::collectUsedGlobalVariables(Module &M, StringRef Name) { in collectUsedGlobalVariables()
582 void GlobalMerge::setMustKeepGlobalVariables(Module &M) { in setMustKeepGlobalVariables()
602 bool GlobalMerge::doInitialization(Module &M) { in doInitialization()
671 bool GlobalMerge::runOnFunction(Function &F) { in runOnFunction()
675 bool GlobalMerge::doFinalization(Module &M) { in doFinalization()
685 return new GlobalMerge(TM, Offset, OnlyOptimizeForSize, MergeExternal); in createGlobalMergePass()