Lines Matching refs:GlobalMerge
140 class GlobalMerge : public FunctionPass { class
189 explicit GlobalMerge() in GlobalMerge() function in __anone4572b450111::GlobalMerge
194 explicit GlobalMerge(const TargetMachine *TM, unsigned MaximalOffset, in GlobalMerge() function in __anone4572b450111::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()
437 bool GlobalMerge::doMerge(const SmallVectorImpl<GlobalVariable *> &Globals, in doMerge()
566 void GlobalMerge::collectUsedGlobalVariables(Module &M, StringRef Name) { in collectUsedGlobalVariables()
580 void GlobalMerge::setMustKeepGlobalVariables(Module &M) { in setMustKeepGlobalVariables()
607 bool GlobalMerge::doInitialization(Module &M) { in doInitialization()
683 bool GlobalMerge::runOnFunction(Function &F) { in runOnFunction()
687 bool GlobalMerge::doFinalization(Module &M) { in doFinalization()
697 return new GlobalMerge(TM, Offset, OnlyOptimizeForSize, MergeExternal); in createGlobalMergePass()