Lines Matching refs:DefMI

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