Lines Matching refs:GlobalMerge
139 class GlobalMerge : public FunctionPass { class
188 explicit GlobalMerge() in GlobalMerge() function in __anon060a3b8c0111::GlobalMerge
193 explicit GlobalMerge(const TargetMachine *TM, unsigned MaximalOffset, in GlobalMerge() function in __anon060a3b8c0111::GlobalMerge
215 char GlobalMerge::ID = 0;
217 INITIALIZE_PASS(GlobalMerge, DEBUG_TYPE, "Merge global variables", false, false)
219 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()
600 bool GlobalMerge::doInitialization(Module &M) { in doInitialization()
669 bool GlobalMerge::runOnFunction(Function &F) { in runOnFunction()
673 bool GlobalMerge::doFinalization(Module &M) { in doFinalization()
683 return new GlobalMerge(TM, Offset, OnlyOptimizeForSize, MergeExternal); in createGlobalMergePass()