Lines Matching defs:NewReg
139 // Merges the live interval of Reg into NewReg and renames Reg to NewReg
140 // everywhere that Reg appears. Requires Reg and NewReg to have non-
142 void MergeLIsAndRename(unsigned Reg, unsigned NewReg);
310 unsigned NewReg = RegRenamingMap[SrcColor];
311 if (!NewReg) {
312 NewReg = SrcReg;
315 MergeLIsAndRename(SrcReg, NewReg);
319 MergeLIsAndRename(DestReg, NewReg);
323 MergeLIsAndRename(SrcReg, NewReg);
342 unsigned NewReg = RegRenamingMap[DestColor];
345 LiveInterval &NewLI = LI->getInterval(NewReg);
362 MRI->replaceRegWith(DestReg, NewReg);
797 void StrongPHIElimination::MergeLIsAndRename(unsigned Reg, unsigned NewReg) {
798 if (Reg == NewReg)
802 LiveInterval &NewLI = LI->getInterval(NewReg);
824 MRI->replaceRegWith(Reg, NewReg);