Lines Matching refs:DestReg
64 const DebugLoc &dl, unsigned DestReg, in emitThumb1LoadConstPool() argument
77 .addReg(DestReg, getDefRegState(true), SubIdx) in emitThumb1LoadConstPool()
84 const DebugLoc &dl, unsigned DestReg, in emitThumb2LoadConstPool() argument
96 .addReg(DestReg, getDefRegState(true), SubIdx) in emitThumb2LoadConstPool()
105 const DebugLoc &dl, unsigned DestReg, unsigned SubIdx, int Val, in emitLoadConstPool() argument
110 assert((isARMLowRegister(DestReg) || isVirtualRegister(DestReg)) && in emitLoadConstPool()
112 return emitThumb1LoadConstPool(MBB, MBBI, dl, DestReg, SubIdx, Val, Pred, in emitLoadConstPool()
115 return emitThumb2LoadConstPool(MBB, MBBI, dl, DestReg, SubIdx, Val, Pred, in emitLoadConstPool()
125 const DebugLoc &dl, unsigned DestReg, unsigned BaseReg, int NumBytes, in emitThumbRegPlusImmInReg() argument
129 bool isHigh = !isARMLowRegister(DestReg) || in emitThumbRegPlusImmInReg()
140 unsigned LdReg = DestReg; in emitThumbRegPlusImmInReg()
141 if (DestReg == ARM::SP) in emitThumbRegPlusImmInReg()
143 if (!isARMLowRegister(DestReg) && !MRI.isVirtualRegister(DestReg)) in emitThumbRegPlusImmInReg()
164 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, dl, TII.get(Opc), DestReg); in emitThumbRegPlusImmInReg()
167 if (DestReg == ARM::SP || isSub) in emitThumbRegPlusImmInReg()
180 const DebugLoc &dl, unsigned DestReg, in emitThumbRegPlusImmediate() argument
211 if (DestReg == ARM::SP) { in emitThumbRegPlusImmediate()
223 } else if (isARMLowRegister(DestReg)) { in emitThumbRegPlusImmediate()
230 } else if (DestReg == BaseReg) { in emitThumbRegPlusImmediate()
247 if (DestReg == BaseReg) { in emitThumbRegPlusImmediate()
289 unsigned Threshold = (DestReg == ARM::SP) ? 3 : 2; in emitThumbRegPlusImmediate()
294 DestReg, BaseReg, NumBytes, true, in emitThumbRegPlusImmediate()
304 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, dl, TII.get(CopyOpc), DestReg); in emitThumbRegPlusImmediate()
313 BaseReg = DestReg; in emitThumbRegPlusImmediate()
321 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, dl, TII.get(ExtraOpc), DestReg); in emitThumbRegPlusImmediate()
366 unsigned DestReg = MI.getOperand(0).getReg(); in rewriteFrameIndex() local
368 emitThumbRegPlusImmediate(MBB, II, dl, DestReg, FrameReg, Offset, TII, in rewriteFrameIndex()