Lines Matching refs:UnitI
157 CodeGenRegister::RegUnitList::iterator UnitI, UnitE; member in __anon69515c8a0111::RegUnitIterator
161 RegI(Regs.begin()), RegE(Regs.end()), UnitI(), UnitE() { in RegUnitIterator()
164 UnitI = (*RegI)->getRegUnits().begin(); in RegUnitIterator()
170 bool isValid() const { return UnitI != UnitE; } in isValid()
172 unsigned operator* () const { assert(isValid()); return *UnitI; } in operator *()
179 ++UnitI; in operator ++()
185 while (UnitI == UnitE) { in advance()
188 UnitI = (*RegI)->getRegUnits().begin(); in advance()
911 for (RegUnitIterator UnitI(Members); UnitI.isValid(); ++UnitI) in buildRegUnitSet() local
912 TmpUnits.push_back(*UnitI); in buildRegUnitSet()
1392 for (RegUnitIterator UnitI(I->Regs); UnitI.isValid(); ++UnitI) { in computeUberWeights() local
1393 if (Reg != UnitI.getReg()) { in computeUberWeights()
1396 Reg = UnitI.getReg(); in computeUberWeights()
1399 unsigned UWeight = RegBank.getRegUnit(*UnitI).Weight; in computeUberWeights()
1402 RegBank.increaseRegUnitWeight(*UnitI, UWeight); in computeUberWeights()