Lines Matching refs:GlobalMerge
121 class GlobalMerge : public FunctionPass { class
167 explicit GlobalMerge() in GlobalMerge() function in __anon384c9a140111::GlobalMerge
173 explicit GlobalMerge(const TargetMachine *TM, unsigned MaximalOffset, in GlobalMerge() function in __anon384c9a140111::GlobalMerge
196 char GlobalMerge::ID = 0;
197 INITIALIZE_PASS_BEGIN(GlobalMerge, "global-merge", "Merge global variables",
199 INITIALIZE_PASS_END(GlobalMerge, "global-merge", "Merge global variables",
202 bool GlobalMerge::doMerge(SmallVectorImpl<GlobalVariable*> &Globals, in doMerge()
419 bool GlobalMerge::doMerge(const SmallVectorImpl<GlobalVariable *> &Globals, in doMerge()
484 void GlobalMerge::collectUsedGlobalVariables(Module &M) { in collectUsedGlobalVariables()
498 void GlobalMerge::setMustKeepGlobalVariables(Module &M) { in setMustKeepGlobalVariables()
521 bool GlobalMerge::doInitialization(Module &M) { in doInitialization()
590 bool GlobalMerge::runOnFunction(Function &F) { in runOnFunction()
594 bool GlobalMerge::doFinalization(Module &M) { in doFinalization()
604 return new GlobalMerge(TM, Offset, OnlyOptimizeForSize, MergeExternal); in createGlobalMergePass()