Lines Matching defs:DefMI
46 const MachineInstr *DefMI,
48 assert(DefMI && "Missing instruction");
50 if (!TII.isTriviallyReMaterializable(DefMI, aa))
62 MachineInstr *DefMI = LIS.getInstructionFromIndex(VNI->def);
63 if (!DefMI)
65 checkRematerializable(VNI, DefMI, aa);
155 MachineInstr *DefMI = 0, *UseMI = 0;
163 if (DefMI && DefMI != MI)
167 DefMI = MI;
177 if (!DefMI || !UseMI)
180 // Since we're moving the DefMI load, make sure we're not extending any live
182 if (!allUsesAvailableAt(DefMI,
183 LIS.getInstructionIndex(DefMI),
188 // Assume there are stores between DefMI and UseMI.
190 if (!DefMI->isSafeToMove(&TII, 0, SawStore))
193 DEBUG(dbgs() << "Try to fold single def: " << *DefMI
200 MachineInstr *FoldMI = TII.foldMemoryOperand(UseMI, Ops, DefMI);
206 DefMI->addRegisterDead(LI->reg, 0);
207 Dead.push_back(DefMI);