Lines Matching defs:UGS
430 for (const UsedGlobalSet &UGS : UsedGlobalSets) {
431 if (UGS.UsageCount == 0)
433 if (UGS.Globals.count() > 1)
434 AllGlobals |= UGS.Globals;
460 for (const UsedGlobalSet &UGS : llvm::reverse(UsedGlobalSets)) {
461 if (UGS.UsageCount == 0)
463 if (PickedGlobals.anyCommon(UGS.Globals))
465 PickedGlobals |= UGS.Globals;
469 if (UGS.Globals.count() < 2)
471 Changed |= doMerge(Globals, UGS.Globals, M, isConst, AddrSpace);