Lines Matching refs:SrcReg
249 unsigned SrcReg = SrcMO.getReg();
250 addReg(SrcReg);
251 unionRegs(DestReg, SrcReg);
253 MachineInstr *DefMI = MRI->getVRegDef(SrcReg);
291 unsigned SrcReg = BBI->getOperand(i).getReg();
292 addReg(SrcReg);
293 unionRegs(DestReg, SrcReg);
308 unsigned SrcReg = PHI->getOperand(1).getReg();
309 unsigned SrcColor = getRegColor(SrcReg);
312 NewReg = SrcReg;
313 RegRenamingMap[SrcColor] = SrcReg;
315 MergeLIsAndRename(SrcReg, NewReg);
322 unsigned SrcReg = PHI->getOperand(i).getReg();
323 MergeLIsAndRename(SrcReg, NewReg);
371 unsigned SrcReg = I->second;
372 if (unsigned RenamedRegister = RegRenamingMap[getRegColor(SrcReg)])
373 SrcReg = RenamedRegister;
375 LiveInterval &SrcLI = LI->getInterval(SrcReg);
389 MachineOperand *LastUse = findLastUse(MBB, SrcReg);
662 unsigned SrcReg = SrcMO.getReg();
663 assert(TargetRegisterInfo::isVirtualRegister(SrcReg) &&
667 unsigned SrcColor = getRegColor(SrcReg);
672 LiveInterval &SrcInterval = LI->getInterval(SrcReg);
689 const TargetRegisterClass *RC = MRI->getRegClass(SrcReg);
693 CopyInsertPoint = findPHICopyInsertPoint(PredBB, MBB, SrcReg);
699 CopyReg).addReg(SrcReg, 0, SrcSubReg);
706 InsertedSrcCopySet.insert(std::make_pair(PredBB, SrcReg));
724 // If SrcReg is not live beyond the PHI, trim its interval so that it is no
725 // longer live-in to MBB. Note that SrcReg may appear in other PHIs that are
730 LiveInterval &SrcLI = LI->getInterval(SrcReg);