Lines Matching refs:BaseReg
127 unsigned DestReg, unsigned BaseReg, in emitThumbRegPlusImmInReg() argument
134 (BaseReg != 0 && !isARMLowRegister(BaseReg)); in emitThumbRegPlusImmInReg()
146 assert(BaseReg == ARM::SP && "Unexpected!"); in emitThumbRegPlusImmInReg()
170 MIB.addReg(BaseReg).addReg(LdReg, RegState::Kill); in emitThumbRegPlusImmInReg()
172 MIB.addReg(LdReg).addReg(BaseReg, RegState::Kill); in emitThumbRegPlusImmInReg()
183 unsigned DestReg, unsigned BaseReg, in emitThumbRegPlusImmediate() argument
214 if (BaseReg == ARM::SP) { in emitThumbRegPlusImmediate()
226 if (BaseReg == ARM::SP) { in emitThumbRegPlusImmediate()
232 } else if (DestReg == BaseReg) { in emitThumbRegPlusImmediate()
235 } else if (isARMLowRegister(BaseReg)) { in emitThumbRegPlusImmediate()
249 if (DestReg == BaseReg) { in emitThumbRegPlusImmediate()
296 DestReg, BaseReg, NumBytes, true, in emitThumbRegPlusImmediate()
309 MIB.addReg(BaseReg, RegState::Kill); in emitThumbRegPlusImmediate()
315 BaseReg = DestReg; in emitThumbRegPlusImmediate()
326 MIB.addReg(BaseReg).addImm(ExtraImm); in emitThumbRegPlusImmediate()
423 void ThumbRegisterInfo::resolveFrameIndex(MachineInstr &MI, unsigned BaseReg, in resolveFrameIndex() argument
428 return ARMBaseRegisterInfo::resolveFrameIndex(MI, BaseReg, Offset); in resolveFrameIndex()
438 bool Done = rewriteFrameIndex(MI, i, BaseReg, Off, TII); in resolveFrameIndex()