Lines Matching refs:NewReg
332 unsigned NewReg) in isNewRegClobberedByRefs() argument
348 if (CheckOper.isRegMask() && CheckOper.clobbersPhysReg(NewReg)) in isNewRegClobberedByRefs()
352 CheckOper.getReg() != NewReg) in isNewRegClobberedByRefs()
384 unsigned NewReg = Order[i]; in findSuitableFreeRegister() local
386 if (NewReg == AntiDepReg) continue; in findSuitableFreeRegister()
390 if (NewReg == LastNewReg) continue; in findSuitableFreeRegister()
394 if (isNewRegClobberedByRefs(RegRefBegin, RegRefEnd, NewReg)) continue; in findSuitableFreeRegister()
399 assert(((KillIndices[NewReg] == ~0u) != (DefIndices[NewReg] == ~0u)) in findSuitableFreeRegister()
401 if (KillIndices[NewReg] != ~0u || in findSuitableFreeRegister()
402 Classes[NewReg] == reinterpret_cast<TargetRegisterClass *>(-1) || in findSuitableFreeRegister()
403 KillIndices[AntiDepReg] > DefIndices[NewReg]) in findSuitableFreeRegister()
409 if (TRI->regsOverlap(NewReg, *it)) { in findSuitableFreeRegister()
414 return NewReg; in findSuitableFreeRegister()
628 if (unsigned NewReg = findSuitableFreeRegister(Range.first, Range.second, in BreakAntiDependencies() local
635 << " using " << TRI->getName(NewReg) << "!\n"); in BreakAntiDependencies()
641 Q->second->setReg(NewReg); in BreakAntiDependencies()
650 UpdateDbgValue(DVI->first, AntiDepReg, NewReg); in BreakAntiDependencies()
656 Classes[NewReg] = Classes[AntiDepReg]; in BreakAntiDependencies()
657 DefIndices[NewReg] = DefIndices[AntiDepReg]; in BreakAntiDependencies()
658 KillIndices[NewReg] = KillIndices[AntiDepReg]; in BreakAntiDependencies()
659 assert(((KillIndices[NewReg] == ~0u) != in BreakAntiDependencies()
660 (DefIndices[NewReg] == ~0u)) && in BreakAntiDependencies()
671 LastNewReg[AntiDepReg] = NewReg; in BreakAntiDependencies()