Lines Matching defs:DefMI
95 MachineInstr *DefMI = MRI->getVRegDef(Reg);
97 if (DefMI->getParent() != MBB)
99 if (DefMI->isCopyLike()) {
100 Reg = DefMI->getOperand(1).getReg();
102 DefMI = MRI->getVRegDef(Reg);
105 } else if (DefMI->isInsertSubreg()) {
106 Reg = DefMI->getOperand(2).getReg();
108 DefMI = MRI->getVRegDef(Reg);
114 return DefMI;
149 MachineInstr *DefMI = MRI->getVRegDef(Reg);
152 if (DefMI->getParent() != MBB)
155 if (DefMI->isPHI()) {
156 for (unsigned i = 1, e = DefMI->getNumOperands(); i < e; i += 2) {
157 if (DefMI->getOperand(i + 1).getMBB() == MBB) {
158 unsigned SrcReg = DefMI->getOperand(i).getReg();
160 DefMI = MRI->getVRegDef(SrcReg);
165 } else if (DefMI->isCopyLike()) {
166 Reg = DefMI->getOperand(1).getReg();
168 DefMI = MRI->getVRegDef(Reg);
171 } else if (DefMI->isInsertSubreg()) {
172 Reg = DefMI->getOperand(2).getReg();
174 DefMI = MRI->getVRegDef(Reg);
182 return DefMI == MI;
220 MachineInstr *DefMI = getAccDefMI(MI);
221 if (TII->isFpMLxInstruction(DefMI->getOpcode())) {
230 IgnoreStall.insert(DefMI);
238 return isFpMulInstruction(DefMI->getOpcode()) || hasLoopHazard(MI);