Lines Matching defs:Reg
343 static bool isDefLiveOut(unsigned Reg, MachineBasicBlock *BB,
345 for (MachineInstr &UseMI : MRI->use_instructions(Reg)) {
437 unsigned Reg = MO.getReg();
438 if (!TargetRegisterInfo::isVirtualRegister(Reg))
441 const TargetRegisterClass *RC = MRI->getRegClass(Reg);
444 LocalVRMap.insert(std::make_pair(Reg, NewReg));
445 if (isDefLiveOut(Reg, TailBB, MRI) || UsedByPhi.count(Reg))
446 Reg, NewReg, PredBB);
448 DenseMap<unsigned, unsigned>::iterator VI = LocalVRMap.find(Reg);
451 MRI->constrainRegClass(VI->second, MRI->getRegClass(Reg));
484 unsigned Reg = MO0.getReg();
502 DenseMap<unsigned,AvailableValsTy>::iterator LI=SSAUpdateVals.find(Reg);
528 II->getOperand(Idx).setReg(Reg);
532 MIB.addReg(Reg).addMBB(SrcBB);