Lines Matching refs:DbgMI
1385 static bool attemptDebugCopyProp(MachineInstr &SinkInst, MachineInstr &DbgMI, in attemptDebugCopyProp() argument
1417 for (auto &DbgMO : DbgMI.getDebugOperandsForReg(Reg)) in attemptDebugCopyProp()
1428 for (auto &DbgMO : DbgMI.getDebugOperandsForReg(Reg)) { in attemptDebugCopyProp()
1459 MachineInstr *DbgMI = DbgValueToSink.first; in performSink() local
1460 MachineInstr *NewDbgMI = DbgMI->getMF()->CloneMachineInstr(DbgMI); in performSink()
1465 if (DbgMI->hasDebugOperandForReg(Reg)) { in performSink()
1466 if (!attemptDebugCopyProp(MI, *DbgMI, Reg)) { in performSink()
1473 DbgMI->setDebugValueUndef(); in performSink()
1777 MachineInstr *DbgMI = User.getPointer(); in SinkInstruction() local
1781 if (!attemptDebugCopyProp(MI, *DbgMI, MO.getReg())) in SinkInstruction()
1782 DbgMI->setDebugValueUndef(); in SinkInstruction()
1785 {DbgMI, SmallVector<unsigned, 2>(1, MO.getReg())}); in SinkInstruction()