Lines Matching refs:NewReg
644 unsigned NewReg = 0; in FindSuitableFreeRegisters() local
646 NewReg = NewSuperReg; in FindSuitableFreeRegisters()
650 NewReg = TRI->getSubReg(NewSuperReg, NewSubRegIdx); in FindSuitableFreeRegisters()
653 DEBUG(dbgs() << " " << TRI->getName(NewReg)); in FindSuitableFreeRegisters()
656 if (!RenameRegisterMap[Reg].test(NewReg)) { in FindSuitableFreeRegisters()
665 if (State->IsLive(NewReg) || (KillIndices[Reg] > DefIndices[NewReg])) { in FindSuitableFreeRegisters()
670 for (MCRegAliasIterator AI(NewReg, TRI, false); AI.isValid(); ++AI) { in FindSuitableFreeRegisters()
687 int Idx = UseMI->findRegisterDefOperandIdx(NewReg, false, true, TRI); in FindSuitableFreeRegisters()
705 if (DefMI->readsRegister(NewReg, TRI)) { in FindSuitableFreeRegisters()
712 RenameMap.insert(std::pair<unsigned, unsigned>(Reg, NewReg)); in FindSuitableFreeRegisters()
950 unsigned NewReg = S->second; in BreakAntiDependencies() local
953 TRI->getName(NewReg) << "(" << in BreakAntiDependencies()
959 Q.second.Operand->setReg(NewReg); in BreakAntiDependencies()
968 UpdateDbgValue(*DVI->first, AntiDepReg, NewReg); in BreakAntiDependencies()
974 State->UnionGroups(NewReg, 0); in BreakAntiDependencies()
975 RegRefs.erase(NewReg); in BreakAntiDependencies()
976 DefIndices[NewReg] = DefIndices[CurrReg]; in BreakAntiDependencies()
977 KillIndices[NewReg] = KillIndices[CurrReg]; in BreakAntiDependencies()