Lines Matching refs:NewReg
641 unsigned NewReg = 0; in FindSuitableFreeRegisters() local
643 NewReg = NewSuperReg; in FindSuitableFreeRegisters()
647 NewReg = TRI->getSubReg(NewSuperReg, NewSubRegIdx); in FindSuitableFreeRegisters()
650 DEBUG(dbgs() << " " << TRI->getName(NewReg)); in FindSuitableFreeRegisters()
654 if (!BV.test(NewReg)) { in FindSuitableFreeRegisters()
663 if (State->IsLive(NewReg) || (KillIndices[Reg] > DefIndices[NewReg])) { in FindSuitableFreeRegisters()
668 for (MCRegAliasIterator AI(NewReg, TRI, false); AI.isValid(); ++AI) { in FindSuitableFreeRegisters()
685 int Idx = UseMI->findRegisterDefOperandIdx(NewReg, false, true, TRI); in FindSuitableFreeRegisters()
703 if (DefMI->readsRegister(NewReg, TRI)) { in FindSuitableFreeRegisters()
710 RenameMap.insert(std::pair<unsigned, unsigned>(Reg, NewReg)); in FindSuitableFreeRegisters()
923 unsigned NewReg = S->second; in BreakAntiDependencies() local
926 TRI->getName(NewReg) << "(" << in BreakAntiDependencies()
932 Q.second.Operand->setReg(NewReg); in BreakAntiDependencies()
941 UpdateDbgValue(DVI->first, AntiDepReg, NewReg); in BreakAntiDependencies()
947 State->UnionGroups(NewReg, 0); in BreakAntiDependencies()
948 RegRefs.erase(NewReg); in BreakAntiDependencies()
949 DefIndices[NewReg] = DefIndices[CurrReg]; in BreakAntiDependencies()
950 KillIndices[NewReg] = KillIndices[CurrReg]; in BreakAntiDependencies()