Lines Matching refs:DefMI
72 const MachineInstr *DefMI,
74 assert(DefMI && "Missing instruction");
76 if (!TII.isTriviallyReMaterializable(*DefMI, aa))
91 MachineInstr *DefMI = LIS.getInstructionFromIndex(OrigVNI->def);
92 if (!DefMI)
94 checkRematerializable(OrigVNI, DefMI, aa);
188 MachineInstr *DefMI = nullptr, *UseMI = nullptr;
194 if (DefMI && DefMI != MI)
198 DefMI = MI;
208 if (!DefMI || !UseMI)
211 // Since we're moving the DefMI load, make sure we're not extending any live
213 if (!allUsesAvailableAt(DefMI, LIS.getInstructionIndex(*DefMI),
218 // Assume there are stores between DefMI and UseMI.
220 if (!DefMI->isSafeToMove(nullptr, SawStore))
223 LLVM_DEBUG(dbgs() << "Try to fold single def: " << *DefMI
230 MachineInstr *FoldMI = TII.foldMemoryOperand(*UseMI, Ops, *DefMI, &LIS);
239 DefMI->addRegisterDead(LI->reg, nullptr);
240 Dead.push_back(DefMI);