Lines Matching defs:Orig
2332 const MachineInstr &Orig,
2334 assert(!Orig.isDebugRef() &&
2336 const DIExpression *Expr = computeExprForSpill(Orig, SpillReg);
2338 BuildMI(BB, I, Orig.getDebugLoc(), Orig.getDesc());
2341 if (Orig.isNonListDebugValue())
2343 NewMI.addMetadata(Orig.getDebugVariable()).addMetadata(Expr);
2344 if (Orig.isDebugValueList()) {
2345 for (const MachineOperand &Op : Orig.debug_operands())
2355 const MachineInstr &Orig, int FrameIndex,
2357 const DIExpression *Expr = computeExprForSpill(Orig, SpilledOperands);
2359 BuildMI(BB, I, Orig.getDebugLoc(), Orig.getDesc());
2362 if (Orig.isNonListDebugValue())
2364 NewMI.addMetadata(Orig.getDebugVariable()).addMetadata(Expr);
2365 if (Orig.isDebugValueList()) {
2366 for (const MachineOperand &Op : Orig.debug_operands())
2375 void llvm::updateDbgValueForSpill(MachineInstr &Orig, int FrameIndex,
2377 const DIExpression *Expr = computeExprForSpill(Orig, Reg);
2378 if (Orig.isNonListDebugValue())
2379 Orig.getDebugOffset().ChangeToImmediate(0U);
2380 for (MachineOperand &Op : Orig.getDebugOperandsForReg(Reg))
2382 Orig.getDebugExpressionOp().setMetadata(Expr);