Lines Matching defs:UGS
433 for (const UsedGlobalSet &UGS : llvm::reverse(UsedGlobalSets)) {
434 if (UGS.UsageCount == 0)
436 if (UGS.Globals.count() > 1)
437 AllGlobals |= UGS.Globals;
451 for (const UsedGlobalSet &UGS : llvm::reverse(UsedGlobalSets)) {
452 if (UGS.UsageCount == 0)
454 if (PickedGlobals.anyCommon(UGS.Globals))
456 PickedGlobals |= UGS.Globals;
460 if (UGS.Globals.count() < 2)
462 Changed |= doMerge(Globals, UGS.Globals, M, isConst, AddrSpace);