Lines Matching refs:Imm

162 static DecodeStatus DecodeFixedPointScaleImm32(MCInst &Inst, unsigned Imm,
165 static DecodeStatus DecodeFixedPointScaleImm64(MCInst &Inst, unsigned Imm,
168 static DecodeStatus DecodePCRelLabel16(MCInst &Inst, unsigned Imm,
171 static DecodeStatus DecodePCRelLabel19(MCInst &Inst, unsigned Imm,
174 static DecodeStatus DecodeMemExtend(MCInst &Inst, unsigned Imm,
177 static DecodeStatus DecodeMRSSystemRegister(MCInst &Inst, unsigned Imm,
180 static DecodeStatus DecodeMSRSystemRegister(MCInst &Inst, unsigned Imm,
240 static DecodeStatus DecodeVecShiftR64Imm(MCInst &Inst, unsigned Imm,
243 static DecodeStatus DecodeVecShiftR64ImmNarrow(MCInst &Inst, unsigned Imm,
246 static DecodeStatus DecodeVecShiftR32Imm(MCInst &Inst, unsigned Imm,
249 static DecodeStatus DecodeVecShiftR32ImmNarrow(MCInst &Inst, unsigned Imm,
252 static DecodeStatus DecodeVecShiftR16Imm(MCInst &Inst, unsigned Imm,
255 static DecodeStatus DecodeVecShiftR16ImmNarrow(MCInst &Inst, unsigned Imm,
258 static DecodeStatus DecodeVecShiftR8Imm(MCInst &Inst, unsigned Imm,
261 static DecodeStatus DecodeVecShiftL64Imm(MCInst &Inst, unsigned Imm,
264 static DecodeStatus DecodeVecShiftL32Imm(MCInst &Inst, unsigned Imm,
267 static DecodeStatus DecodeVecShiftL16Imm(MCInst &Inst, unsigned Imm,
270 static DecodeStatus DecodeVecShiftL8Imm(MCInst &Inst, unsigned Imm,
286 static DecodeStatus DecodeSImm(MCInst &Inst, uint64_t Imm, uint64_t Address,
289 static DecodeStatus DecodeImm8OptLsl(MCInst &Inst, unsigned Imm, uint64_t Addr,
291 static DecodeStatus DecodeSVEIncDecImm(MCInst &Inst, unsigned Imm,
294 static DecodeStatus DecodeSVCROp(MCInst &Inst, unsigned Imm, uint64_t Address,
877 static DecodeStatus DecodeFixedPointScaleImm32(MCInst &Inst, unsigned Imm, in DecodeFixedPointScaleImm32() argument
881 Imm |= 0x20; in DecodeFixedPointScaleImm32()
882 Inst.addOperand(MCOperand::createImm(64 - Imm)); in DecodeFixedPointScaleImm32()
886 static DecodeStatus DecodeFixedPointScaleImm64(MCInst &Inst, unsigned Imm, in DecodeFixedPointScaleImm64() argument
889 Inst.addOperand(MCOperand::createImm(64 - Imm)); in DecodeFixedPointScaleImm64()
893 static DecodeStatus DecodePCRelLabel16(MCInst &Inst, unsigned Imm, in DecodePCRelLabel16() argument
898 uint64_t ImmVal = Imm; in DecodePCRelLabel16()
908 static DecodeStatus DecodePCRelLabel19(MCInst &Inst, unsigned Imm, in DecodePCRelLabel19() argument
911 int64_t ImmVal = Imm; in DecodePCRelLabel19()
923 static DecodeStatus DecodeMemExtend(MCInst &Inst, unsigned Imm, in DecodeMemExtend() argument
926 Inst.addOperand(MCOperand::createImm((Imm >> 1) & 1)); in DecodeMemExtend()
927 Inst.addOperand(MCOperand::createImm(Imm & 1)); in DecodeMemExtend()
931 static DecodeStatus DecodeMRSSystemRegister(MCInst &Inst, unsigned Imm, in DecodeMRSSystemRegister() argument
934 Inst.addOperand(MCOperand::createImm(Imm)); in DecodeMRSSystemRegister()
941 static DecodeStatus DecodeMSRSystemRegister(MCInst &Inst, unsigned Imm, in DecodeMSRSystemRegister() argument
944 Inst.addOperand(MCOperand::createImm(Imm)); in DecodeMSRSystemRegister()
972 static DecodeStatus DecodeVecShiftRImm(MCInst &Inst, unsigned Imm, in DecodeVecShiftRImm() argument
974 Inst.addOperand(MCOperand::createImm(Add - Imm)); in DecodeVecShiftRImm()
978 static DecodeStatus DecodeVecShiftLImm(MCInst &Inst, unsigned Imm, in DecodeVecShiftLImm() argument
980 Inst.addOperand(MCOperand::createImm((Imm + Add) & (Add - 1))); in DecodeVecShiftLImm()
984 static DecodeStatus DecodeVecShiftR64Imm(MCInst &Inst, unsigned Imm, in DecodeVecShiftR64Imm() argument
987 return DecodeVecShiftRImm(Inst, Imm, 64); in DecodeVecShiftR64Imm()
990 static DecodeStatus DecodeVecShiftR64ImmNarrow(MCInst &Inst, unsigned Imm, in DecodeVecShiftR64ImmNarrow() argument
993 return DecodeVecShiftRImm(Inst, Imm | 0x20, 64); in DecodeVecShiftR64ImmNarrow()
996 static DecodeStatus DecodeVecShiftR32Imm(MCInst &Inst, unsigned Imm, in DecodeVecShiftR32Imm() argument
999 return DecodeVecShiftRImm(Inst, Imm, 32); in DecodeVecShiftR32Imm()
1002 static DecodeStatus DecodeVecShiftR32ImmNarrow(MCInst &Inst, unsigned Imm, in DecodeVecShiftR32ImmNarrow() argument
1005 return DecodeVecShiftRImm(Inst, Imm | 0x10, 32); in DecodeVecShiftR32ImmNarrow()
1008 static DecodeStatus DecodeVecShiftR16Imm(MCInst &Inst, unsigned Imm, in DecodeVecShiftR16Imm() argument
1011 return DecodeVecShiftRImm(Inst, Imm, 16); in DecodeVecShiftR16Imm()
1014 static DecodeStatus DecodeVecShiftR16ImmNarrow(MCInst &Inst, unsigned Imm, in DecodeVecShiftR16ImmNarrow() argument
1017 return DecodeVecShiftRImm(Inst, Imm | 0x8, 16); in DecodeVecShiftR16ImmNarrow()
1020 static DecodeStatus DecodeVecShiftR8Imm(MCInst &Inst, unsigned Imm, in DecodeVecShiftR8Imm() argument
1023 return DecodeVecShiftRImm(Inst, Imm, 8); in DecodeVecShiftR8Imm()
1026 static DecodeStatus DecodeVecShiftL64Imm(MCInst &Inst, unsigned Imm, in DecodeVecShiftL64Imm() argument
1029 return DecodeVecShiftLImm(Inst, Imm, 64); in DecodeVecShiftL64Imm()
1032 static DecodeStatus DecodeVecShiftL32Imm(MCInst &Inst, unsigned Imm, in DecodeVecShiftL32Imm() argument
1035 return DecodeVecShiftLImm(Inst, Imm, 32); in DecodeVecShiftL32Imm()
1038 static DecodeStatus DecodeVecShiftL16Imm(MCInst &Inst, unsigned Imm, in DecodeVecShiftL16Imm() argument
1041 return DecodeVecShiftLImm(Inst, Imm, 16); in DecodeVecShiftL16Imm()
1044 static DecodeStatus DecodeVecShiftL8Imm(MCInst &Inst, unsigned Imm, in DecodeVecShiftL8Imm() argument
1047 return DecodeVecShiftLImm(Inst, Imm, 8); in DecodeVecShiftL8Imm()
1820 unsigned Imm = fieldFromInstruction(insn, 10, 14); in DecodeAddSubImmShift() local
1824 unsigned ShifterVal = (Imm >> 12) & 3; in DecodeAddSubImmShift()
1825 unsigned ImmVal = Imm & 0xFFF; in DecodeAddSubImmShift()
1844 if (!Decoder->tryAddingSymbolicOperand(Inst, Imm, Addr, Fail, 0, 0, 4)) in DecodeAddSubImmShift()
2003 static DecodeStatus DecodeSImm(MCInst &Inst, uint64_t Imm, uint64_t Address, in DecodeSImm() argument
2005 if (Imm & ~((1LL << Bits) - 1)) in DecodeSImm()
2009 if (Imm & (1 << (Bits - 1))) in DecodeSImm()
2010 Imm |= ~((1LL << Bits) - 1); in DecodeSImm()
2012 Inst.addOperand(MCOperand::createImm(Imm)); in DecodeSImm()
2018 static DecodeStatus DecodeImm8OptLsl(MCInst &Inst, unsigned Imm, uint64_t Addr, in DecodeImm8OptLsl() argument
2020 unsigned Val = (uint8_t)Imm; in DecodeImm8OptLsl()
2021 unsigned Shift = (Imm & 0x100) ? 8 : 0; in DecodeImm8OptLsl()
2030 static DecodeStatus DecodeSVEIncDecImm(MCInst &Inst, unsigned Imm, in DecodeSVEIncDecImm() argument
2033 Inst.addOperand(MCOperand::createImm(Imm + 1)); in DecodeSVEIncDecImm()
2037 static DecodeStatus DecodeSVCROp(MCInst &Inst, unsigned Imm, uint64_t Address, in DecodeSVCROp() argument
2039 if (AArch64SVCR::lookupSVCRByEncoding(Imm)) { in DecodeSVCROp()
2040 Inst.addOperand(MCOperand::createImm(Imm)); in DecodeSVCROp()