reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
84 for (MachineRegisterInfo::use_iterator UI = MRI.use_begin(Reg), 85 EI = MRI.use_end(); 399 int LoopValStage = Schedule.getStage(MRI.getVRegDef(LoopVal)); 450 MachineInstr *InstOp1 = MRI.getVRegDef(PhiOp1); 458 InstOp1 = MRI.getVRegDef(PhiOp1); 472 if (MachineInstr *InstOp1 = MRI.getVRegDef(PhiOp1)) 476 MachineInstr *PhiInst = MRI.getVRegDef(LoopVal); 537 replaceRegUsesAfterLoop(Def, NewReg, BB, MRI, LIS); 547 const TargetRegisterClass *RC = MRI.getRegClass(Def); 548 NewReg = MRI.createVirtualRegister(RC); 577 replaceRegUsesAfterLoop(Def, NewReg, BB, MRI, LIS); 595 replaceRegUsesAfterLoop(Def, VRMap[CurStageNum][LoopVal], BB, MRI, LIS); 637 hasUseAfterLoop(Def, BB, MRI)) 643 if (MachineInstr *InstOp2 = MRI.getVRegDef(PhiOp2)) 654 if (MachineInstr *InstOp1 = MRI.getVRegDef(PhiOp1)) { 663 const TargetRegisterClass *RC = MRI.getRegClass(Def); 664 Register NewReg = MRI.createVirtualRegister(RC); 691 replaceRegUsesAfterLoop(Def, NewReg, BB, MRI, LIS); 738 for (MachineRegisterInfo::use_iterator UI = MRI.use_begin(reg), 739 EI = MRI.use_end(); 768 if (MRI.use_begin(reg) == MRI.use_end()) { 768 if (MRI.use_begin(reg) == MRI.use_end()) { 792 for (MachineRegisterInfo::use_instr_iterator I = MRI.use_instr_begin(Def), 793 E = MRI.use_instr_end(); 800 MachineInstr *MI = MRI.getVRegDef(LCDef); 811 SplitReg = MRI.createVirtualRegister(MRI.getRegClass(Def)); 811 SplitReg = MRI.createVirtualRegister(MRI.getRegClass(Def)); 1032 const TargetRegisterClass *RC = MRI.getRegClass(reg); 1033 Register NewReg = MRI.createVirtualRegister(RC); 1037 replaceRegUsesAfterLoop(reg, NewReg, BB, MRI, LIS); 1039 MachineInstr *Def = MRI.getVRegDef(reg); 1060 MachineInstr *Def = MRI.getVRegDef(Reg); 1066 Def = MRI.getVRegDef(Def->getOperand(i).getReg()); 1079 MachineInstr *LoopInst = MRI.getVRegDef(LoopVal); 1116 unsigned PhiStage = (unsigned)Schedule.getStage(MRI.getVRegDef(PhiDef)); 1117 unsigned LoopStage = (unsigned)Schedule.getStage(MRI.getVRegDef(LoopVal)); 1143 for (MachineRegisterInfo::use_iterator UI = MRI.use_begin(OldReg), 1144 EI = MRI.use_end(); 1183 MRI.constrainRegClass(ReplaceReg, MRI.getRegClass(OldReg)); 1183 MRI.constrainRegClass(ReplaceReg, MRI.getRegClass(OldReg)); 1198 MachineInstr *Use = MRI.getVRegDef(LoopVal);