Lines Matching refs:BaseReg
222 unsigned DestReg, unsigned BaseReg, int NumBytes, in emitT2RegPlusImmediate() argument
225 if (NumBytes == 0 && DestReg != BaseReg) { in emitT2RegPlusImmediate()
227 .addReg(BaseReg, RegState::Kill) in emitT2RegPlusImmediate()
237 if (DestReg != ARM::SP && DestReg != BaseReg && in emitT2RegPlusImmediate()
259 .addReg(BaseReg, RegState::Kill) in emitT2RegPlusImmediate()
266 .addReg(BaseReg, RegState::Kill) in emitT2RegPlusImmediate()
277 if (DestReg == ARM::SP && BaseReg != ARM::SP) { in emitT2RegPlusImmediate()
280 .addReg(BaseReg).setMIFlags(MIFlags)); in emitT2RegPlusImmediate()
281 BaseReg = ARM::SP; in emitT2RegPlusImmediate()
286 if (BaseReg == ARM::SP) { in emitT2RegPlusImmediate()
292 .addReg(BaseReg).addImm(ThisVal/4).setMIFlags(MIFlags)); in emitT2RegPlusImmediate()
310 assert(DestReg != ARM::SP && BaseReg != ARM::SP); in emitT2RegPlusImmediate()
331 .addReg(BaseReg, RegState::Kill) in emitT2RegPlusImmediate()
336 BaseReg = DestReg; in emitT2RegPlusImmediate()