Lines Matching refs:DefMI
52 const MachineInstr *DefMI, in checkRematerializable() argument
54 assert(DefMI && "Missing instruction"); in checkRematerializable()
56 if (!TII.isTriviallyReMaterializable(*DefMI, aa)) in checkRematerializable()
69 MachineInstr *DefMI = LIS.getInstructionFromIndex(OrigVNI->def); in scanRemattable() local
70 if (!DefMI) in scanRemattable()
72 checkRematerializable(OrigVNI, DefMI, aa); in scanRemattable()
166 MachineInstr *DefMI = nullptr, *UseMI = nullptr; in foldAsLoad() local
172 if (DefMI && DefMI != MI) in foldAsLoad()
176 DefMI = MI; in foldAsLoad()
186 if (!DefMI || !UseMI) in foldAsLoad()
191 if (!allUsesAvailableAt(DefMI, LIS.getInstructionIndex(*DefMI), in foldAsLoad()
198 if (!DefMI->isSafeToMove(nullptr, SawStore)) in foldAsLoad()
201 DEBUG(dbgs() << "Try to fold single def: " << *DefMI in foldAsLoad()
208 MachineInstr *FoldMI = TII.foldMemoryOperand(*UseMI, Ops, *DefMI, &LIS); in foldAsLoad()
214 DefMI->addRegisterDead(LI->reg, nullptr); in foldAsLoad()
215 Dead.push_back(DefMI); in foldAsLoad()