Lines Matching refs:isSub
101 bool isSub = false; in emitThumbRegPlusImmInReg() local
107 isSub = true; in emitThumbRegPlusImmInReg()
129 int Opc = (isSub) ? ARM::tSUBrr : (isHigh ? ARM::tADDhirr : ARM::tADDrr); in emitThumbRegPlusImmInReg()
134 if (DestReg == ARM::SP || isSub) in emitThumbRegPlusImmInReg()
174 bool isSub = NumBytes < 0; in emitThumbRegPlusImmediate() local
176 if (isSub) Bytes = -NumBytes; in emitThumbRegPlusImmediate()
190 Opc = isSub ? ARM::tSUBspi : ARM::tADDspi; in emitThumbRegPlusImmediate()
192 } else if (!isSub && BaseReg == ARM::SP) { in emitThumbRegPlusImmediate()
212 Opc = isSub ? ARM::tSUBspi : ARM::tADDspi; in emitThumbRegPlusImmediate()
217 Opc = isSub ? ARM::tSUBi8 : ARM::tADDi8; in emitThumbRegPlusImmediate()
241 const MCInstrDesc &MCID = TII.get(isSub ? ARM::tSUBi3 : ARM::tADDi3); in emitThumbRegPlusImmediate()
284 Opc = isSub ? ARM::tSUBi8 : ARM::tADDi8; in emitThumbRegPlusImmediate()
307 bool isSub = Imm < 0; in emitThumbConstant() local
308 if (isSub) Imm = -Imm; in emitThumbConstant()
318 if (isSub) { in emitThumbConstant()