Lines Matching defs:Imm8
147 /// getT2AddrModeImm8s4OpValue - Return encoding info for 'reg +/- imm8<<2'
152 /// getT2AddrModeImm0_1020s4OpValue - Return encoding info for 'reg + imm8<<2'
157 /// getT2Imm8s4OpValue - Return encoding info for '+/- imm8<<2'
227 /// getAddrMode5OpValue - Return encoding info for 'reg +/- imm8' operand.
794 /// '+/- imm8<<2' operand.
806 // {7-0} = imm8
807 int32_t Imm8 = MI.getOperand(OpIdx).getImm();
808 bool isAdd = Imm8 >= 0;
811 if (Imm8 < 0)
812 Imm8 = -(uint32_t)Imm8;
815 Imm8 /= 4;
817 uint32_t Binary = Imm8 & 0xff;
825 /// 'reg +/- imm8<<2' operand.
831 // {7-0} = imm8
832 unsigned Reg, Imm8;
838 Imm8 = 0;
848 isAdd = EncodeAddrModeOpValues(MI, OpIdx, Reg, Imm8, Fixups);
856 uint32_t Binary = (Imm8 >> 2) & 0xff;
865 /// 'reg + imm8<<2' operand.
870 // {7-0} = imm8
874 unsigned Imm8 = MO1.getImm();
875 return (Reg << 8) | Imm8;
1033 // {9} 1 == imm8, 0 == Rm
1042 uint32_t Imm8 = ARM_AM::getAM3Offset(Imm);
1043 // if reg +/- reg, Rm will be non-zero. Otherwise, we have reg +/- imm8
1045 Imm8 = CTX.getRegisterInfo()->getEncodingValue(MO.getReg());
1046 return Imm8 | (isAdd << 8) | (isImm << 9);
1052 // {13} 1 == imm8, 0 == Rm
1077 uint32_t Imm8 = ARM_AM::getAM3Offset(Imm);
1078 // if reg +/- reg, Rm will be non-zero. Otherwise, we have reg +/- imm8
1080 Imm8 = CTX.getRegisterInfo()->getEncodingValue(MO1.getReg());
1081 return (Rn << 9) | Imm8 | (isAdd << 8) | (isImm << 13);
1089 // {7-0} = imm8
1129 // {7-0} = imm8
1130 unsigned Reg, Imm8;
1136 Imm8 = 0;
1150 EncodeAddrModeOpValues(MI, OpIdx, Reg, Imm8, Fixups);
1151 isAdd = ARM_AM::getAM5Op(Imm8) == ARM_AM::add;
1154 uint32_t Binary = ARM_AM::getAM5Offset(Imm8);