Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:DefMI

52                                           const MachineInstr *DefMI,
54 assert(DefMI && "Missing instruction");
56 if (!TII.isTriviallyReMaterializable(DefMI, aa))
68 MachineInstr *DefMI = LIS.getInstructionFromIndex(VNI->def);
69 if (!DefMI)
71 checkRematerializable(VNI, DefMI, aa);
168 MachineInstr *DefMI = nullptr, *UseMI = nullptr;
174 if (DefMI && DefMI != MI)
178 DefMI = MI;
188 if (!DefMI || !UseMI)
191 // Since we're moving the DefMI load, make sure we're not extending any live
193 if (!allUsesAvailableAt(DefMI,
194 LIS.getInstructionIndex(DefMI),
199 // Assume there are stores between DefMI and UseMI.
201 if (!DefMI->isSafeToMove(&TII, nullptr, SawStore))
204 DEBUG(dbgs() << "Try to fold single def: " << *DefMI
211 MachineInstr *FoldMI = TII.foldMemoryOperand(UseMI, Ops, DefMI);
217 DefMI->addRegisterDead(LI->reg, nullptr);
218 Dead.push_back(DefMI);