Lines Matching defs:Orig
2411 const MachineInstr &Orig,
2413 assert(!Orig.isDebugRef() &&
2415 const DIExpression *Expr = computeExprForSpill(Orig, SpillReg);
2417 BuildMI(BB, I, Orig.getDebugLoc(), Orig.getDesc());
2420 if (Orig.isNonListDebugValue())
2422 NewMI.addMetadata(Orig.getDebugVariable()).addMetadata(Expr);
2423 if (Orig.isDebugValueList()) {
2424 for (const MachineOperand &Op : Orig.debug_operands())
2434 const MachineInstr &Orig, int FrameIndex,
2436 const DIExpression *Expr = computeExprForSpill(Orig, SpilledOperands);
2438 BuildMI(BB, I, Orig.getDebugLoc(), Orig.getDesc());
2441 if (Orig.isNonListDebugValue())
2443 NewMI.addMetadata(Orig.getDebugVariable()).addMetadata(Expr);
2444 if (Orig.isDebugValueList()) {
2445 for (const MachineOperand &Op : Orig.debug_operands())
2454 void llvm::updateDbgValueForSpill(MachineInstr &Orig, int FrameIndex,
2456 const DIExpression *Expr = computeExprForSpill(Orig, Reg);
2457 if (Orig.isNonListDebugValue())
2458 Orig.getDebugOffset().ChangeToImmediate(0U);
2459 for (MachineOperand &Op : Orig.getDebugOperandsForReg(Reg))
2461 Orig.getDebugExpressionOp().setMetadata(Expr);