Lines Matching defs:DefMI
91 MachineInstr *MI, MachineInstr *DefMI,
308 MachineInstr *MI, MachineInstr *DefMI,
334 return MBB == DefMI->getParent();
429 MachineInstr *DefMI = &MI;
431 if (!DefMI->killsRegister(Reg))
440 DefMI = &*Begin;
445 if (!isCopyToReg(*DefMI, TII, SrcReg, DstReg, IsSrcPhys, IsDstPhys))
1176 MachineInstr *DefMI = MRI->getVRegDef(regB);
1179 if (DefMI &&
1180 DefMI->getDesc().isAsCheapAsAMove() &&
1181 DefMI->isSafeToReMat(TII, AA, regB) &&
1182 isProfitableToReMat(regB, rc, mi, DefMI, mbbi, Dist)){
1183 DEBUG(dbgs() << "2addr: REMATTING : " << *DefMI << "\n");
1185 TII->reMaterialize(*mbbi, mi, regA, regASubIdx, DefMI, *TRI);
1277 MachineInstr *DefMI = MRI->getVRegDef(VReg);
1278 DefMI->eraseFromParent();
1462 MachineInstr *DefMI = MRI->getVRegDef(SrcReg);
1463 if (DefMI->isImplicitDef()) {
1464 DefMI->eraseFromParent();
1470 if (DefMI->isCopy() && DefMI->getOperand(1).getSubReg())
1471 RealSrcs.push_back(DefMI->getOperand(1).getReg());
1474 if (!Seen.insert(SrcReg) || MI->getParent() != DefMI->getParent() ||