Searched refs:GlobalMerge (Results 1 – 4 of 4) sorted by relevance
95 class GlobalMerge : public FunctionPass { class120 explicit GlobalMerge(const TargetMachine *TM = nullptr) in GlobalMerge() function in __anon86860b600111::GlobalMerge140 char GlobalMerge::ID = 0;141 INITIALIZE_TM_PASS(GlobalMerge, "global-merge", "Merge global variables",144 bool GlobalMerge::doMerge(SmallVectorImpl<GlobalVariable*> &Globals, in doMerge()242 void GlobalMerge::collectUsedGlobalVariables(Module &M) { in collectUsedGlobalVariables()256 void GlobalMerge::setMustKeepGlobalVariables(Module &M) { in setMustKeepGlobalVariables()279 bool GlobalMerge::doInitialization(Module &M) { in doInitialization()351 bool GlobalMerge::runOnFunction(Function &F) { in runOnFunction()355 bool GlobalMerge::doFinalization(Module &M) { in doFinalization()[all …]
26 GlobalMerge.cpp
2 ; Test the GlobalMerge pass. Check that the pass does not crash when using
33 GlobalMerge.cpp \