Lines Matching refs:Inst
41 static DecodeStatus DecodeFPR128RegisterClass(MCInst &Inst, unsigned RegNo,
44 static DecodeStatus DecodeFPR128_loRegisterClass(MCInst &Inst, unsigned RegNo,
47 static DecodeStatus DecodeFPR64RegisterClass(MCInst &Inst, unsigned RegNo,
50 static DecodeStatus DecodeFPR32RegisterClass(MCInst &Inst, unsigned RegNo,
53 static DecodeStatus DecodeFPR16RegisterClass(MCInst &Inst, unsigned RegNo,
56 static DecodeStatus DecodeFPR8RegisterClass(MCInst &Inst, unsigned RegNo,
60 DecodeGPR64commonRegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Address,
62 static DecodeStatus DecodeGPR64RegisterClass(MCInst &Inst, unsigned RegNo,
66 DecodeGPR64x8ClassRegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Address,
68 static DecodeStatus DecodeGPR64spRegisterClass(MCInst &Inst, unsigned RegNo,
72 DecodeMatrixIndexGPR32_12_15RegisterClass(MCInst &Inst, unsigned RegNo,
75 static DecodeStatus DecodeGPR32RegisterClass(MCInst &Inst, unsigned RegNo,
78 static DecodeStatus DecodeGPR32spRegisterClass(MCInst &Inst, unsigned RegNo,
81 static DecodeStatus DecodeQQRegisterClass(MCInst &Inst, unsigned RegNo,
84 static DecodeStatus DecodeQQQRegisterClass(MCInst &Inst, unsigned RegNo,
87 static DecodeStatus DecodeQQQQRegisterClass(MCInst &Inst, unsigned RegNo,
90 static DecodeStatus DecodeDDRegisterClass(MCInst &Inst, unsigned RegNo,
93 static DecodeStatus DecodeDDDRegisterClass(MCInst &Inst, unsigned RegNo,
96 static DecodeStatus DecodeDDDDRegisterClass(MCInst &Inst, unsigned RegNo,
99 static DecodeStatus DecodeZPRRegisterClass(MCInst &Inst, unsigned RegNo,
102 static DecodeStatus DecodeZPR_4bRegisterClass(MCInst &Inst, unsigned RegNo,
105 static DecodeStatus DecodeZPR_3bRegisterClass(MCInst &Inst, unsigned RegNo,
108 static DecodeStatus DecodeZPR2RegisterClass(MCInst &Inst, unsigned RegNo,
111 static DecodeStatus DecodeZPR3RegisterClass(MCInst &Inst, unsigned RegNo,
114 static DecodeStatus DecodeZPR4RegisterClass(MCInst &Inst, unsigned RegNo,
118 static DecodeStatus DecodeMatrixTile(MCInst &Inst, unsigned RegNo,
122 DecodeMatrixTileListRegisterClass(MCInst &Inst, unsigned RegMask,
125 static DecodeStatus DecodePPRRegisterClass(MCInst &Inst, unsigned RegNo,
128 static DecodeStatus DecodePPR_3bRegisterClass(MCInst &Inst, unsigned RegNo,
132 static DecodeStatus DecodeFixedPointScaleImm32(MCInst &Inst, unsigned Imm,
135 static DecodeStatus DecodeFixedPointScaleImm64(MCInst &Inst, unsigned Imm,
138 static DecodeStatus DecodePCRelLabel19(MCInst &Inst, unsigned Imm,
141 static DecodeStatus DecodeMemExtend(MCInst &Inst, unsigned Imm,
144 static DecodeStatus DecodeMRSSystemRegister(MCInst &Inst, unsigned Imm,
147 static DecodeStatus DecodeMSRSystemRegister(MCInst &Inst, unsigned Imm,
151 DecodeThreeAddrSRegInstruction(MCInst &Inst, uint32_t insn, uint64_t Address,
153 static DecodeStatus DecodeMoveImmInstruction(MCInst &Inst, uint32_t insn,
157 DecodeUnsignedLdStInstruction(MCInst &Inst, uint32_t insn, uint64_t Address,
159 static DecodeStatus DecodeSignedLdStInstruction(MCInst &Inst, uint32_t insn,
163 DecodeExclusiveLdStInstruction(MCInst &Inst, uint32_t insn, uint64_t Address,
165 static DecodeStatus DecodePairLdStInstruction(MCInst &Inst, uint32_t insn,
168 static DecodeStatus DecodeAuthLoadInstruction(MCInst &Inst, uint32_t insn,
171 static DecodeStatus DecodeAddSubERegInstruction(MCInst &Inst, uint32_t insn,
174 static DecodeStatus DecodeLogicalImmInstruction(MCInst &Inst, uint32_t insn,
177 static DecodeStatus DecodeModImmInstruction(MCInst &Inst, uint32_t insn,
180 static DecodeStatus DecodeModImmTiedInstruction(MCInst &Inst, uint32_t insn,
183 static DecodeStatus DecodeAdrInstruction(MCInst &Inst, uint32_t insn,
186 static DecodeStatus DecodeAddSubImmShift(MCInst &Inst, uint32_t insn,
189 static DecodeStatus DecodeUnconditionalBranch(MCInst &Inst, uint32_t insn,
193 DecodeSystemPStateInstruction(MCInst &Inst, uint32_t insn, uint64_t Address,
195 static DecodeStatus DecodeTestAndBranch(MCInst &Inst, uint32_t insn,
199 static DecodeStatus DecodeFMOVLaneInstruction(MCInst &Inst, unsigned Insn,
202 static DecodeStatus DecodeVecShiftR64Imm(MCInst &Inst, unsigned Imm,
205 static DecodeStatus DecodeVecShiftR64ImmNarrow(MCInst &Inst, unsigned Imm,
208 static DecodeStatus DecodeVecShiftR32Imm(MCInst &Inst, unsigned Imm,
211 static DecodeStatus DecodeVecShiftR32ImmNarrow(MCInst &Inst, unsigned Imm,
214 static DecodeStatus DecodeVecShiftR16Imm(MCInst &Inst, unsigned Imm,
217 static DecodeStatus DecodeVecShiftR16ImmNarrow(MCInst &Inst, unsigned Imm,
220 static DecodeStatus DecodeVecShiftR8Imm(MCInst &Inst, unsigned Imm,
223 static DecodeStatus DecodeVecShiftL64Imm(MCInst &Inst, unsigned Imm,
226 static DecodeStatus DecodeVecShiftL32Imm(MCInst &Inst, unsigned Imm,
229 static DecodeStatus DecodeVecShiftL16Imm(MCInst &Inst, unsigned Imm,
232 static DecodeStatus DecodeVecShiftL8Imm(MCInst &Inst, unsigned Imm,
236 DecodeWSeqPairsClassRegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Addr,
239 DecodeXSeqPairsClassRegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Addr,
242 DecodeSVELogicalImmInstruction(MCInst &Inst, uint32_t insn, uint64_t Address,
245 static DecodeStatus DecodeSImm(MCInst &Inst, uint64_t Imm, uint64_t Address,
248 static DecodeStatus DecodeImm8OptLsl(MCInst &Inst, unsigned Imm, uint64_t Addr,
250 static DecodeStatus DecodeSVEIncDecImm(MCInst &Inst, unsigned Imm,
253 static DecodeStatus DecodeSVCROp(MCInst &Inst, unsigned Imm, uint64_t Address,
255 static DecodeStatus DecodeCPYMemOpInstruction(MCInst &Inst, uint32_t insn,
258 static DecodeStatus DecodeSETMemOpInstruction(MCInst &Inst, uint32_t insn,
394 static DecodeStatus DecodeFPR128RegisterClass(MCInst &Inst, unsigned RegNo, in DecodeFPR128RegisterClass() argument
402 Inst.addOperand(MCOperand::createReg(Register)); in DecodeFPR128RegisterClass()
407 DecodeFPR128_loRegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Addr, in DecodeFPR128_loRegisterClass() argument
411 return DecodeFPR128RegisterClass(Inst, RegNo, Addr, Decoder); in DecodeFPR128_loRegisterClass()
414 static DecodeStatus DecodeFPR64RegisterClass(MCInst &Inst, unsigned RegNo, in DecodeFPR64RegisterClass() argument
422 Inst.addOperand(MCOperand::createReg(Register)); in DecodeFPR64RegisterClass()
426 static DecodeStatus DecodeFPR32RegisterClass(MCInst &Inst, unsigned RegNo, in DecodeFPR32RegisterClass() argument
434 Inst.addOperand(MCOperand::createReg(Register)); in DecodeFPR32RegisterClass()
438 static DecodeStatus DecodeFPR16RegisterClass(MCInst &Inst, unsigned RegNo, in DecodeFPR16RegisterClass() argument
446 Inst.addOperand(MCOperand::createReg(Register)); in DecodeFPR16RegisterClass()
450 static DecodeStatus DecodeFPR8RegisterClass(MCInst &Inst, unsigned RegNo, in DecodeFPR8RegisterClass() argument
458 Inst.addOperand(MCOperand::createReg(Register)); in DecodeFPR8RegisterClass()
463 DecodeGPR64commonRegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Addr, in DecodeGPR64commonRegisterClass() argument
471 Inst.addOperand(MCOperand::createReg(Register)); in DecodeGPR64commonRegisterClass()
475 static DecodeStatus DecodeGPR64RegisterClass(MCInst &Inst, unsigned RegNo, in DecodeGPR64RegisterClass() argument
483 Inst.addOperand(MCOperand::createReg(Register)); in DecodeGPR64RegisterClass()
488 DecodeGPR64x8ClassRegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Address, in DecodeGPR64x8ClassRegisterClass() argument
498 Inst.addOperand(MCOperand::createReg(Register)); in DecodeGPR64x8ClassRegisterClass()
502 static DecodeStatus DecodeGPR64spRegisterClass(MCInst &Inst, unsigned RegNo, in DecodeGPR64spRegisterClass() argument
509 Inst.addOperand(MCOperand::createReg(Register)); in DecodeGPR64spRegisterClass()
514 DecodeMatrixIndexGPR32_12_15RegisterClass(MCInst &Inst, unsigned RegNo, in DecodeMatrixIndexGPR32_12_15RegisterClass() argument
523 Inst.addOperand(MCOperand::createReg(Register)); in DecodeMatrixIndexGPR32_12_15RegisterClass()
527 static DecodeStatus DecodeGPR32RegisterClass(MCInst &Inst, unsigned RegNo, in DecodeGPR32RegisterClass() argument
535 Inst.addOperand(MCOperand::createReg(Register)); in DecodeGPR32RegisterClass()
539 static DecodeStatus DecodeGPR32spRegisterClass(MCInst &Inst, unsigned RegNo, in DecodeGPR32spRegisterClass() argument
547 Inst.addOperand(MCOperand::createReg(Register)); in DecodeGPR32spRegisterClass()
551 static DecodeStatus DecodeZPRRegisterClass(MCInst &Inst, unsigned RegNo, in DecodeZPRRegisterClass() argument
559 Inst.addOperand(MCOperand::createReg(Register)); in DecodeZPRRegisterClass()
563 static DecodeStatus DecodeZPR_4bRegisterClass(MCInst &Inst, unsigned RegNo, in DecodeZPR_4bRegisterClass() argument
568 return DecodeZPRRegisterClass(Inst, RegNo, Address, Decoder); in DecodeZPR_4bRegisterClass()
571 static DecodeStatus DecodeZPR_3bRegisterClass(MCInst &Inst, unsigned RegNo, in DecodeZPR_3bRegisterClass() argument
576 return DecodeZPRRegisterClass(Inst, RegNo, Address, Decoder); in DecodeZPR_3bRegisterClass()
579 static DecodeStatus DecodeZPR2RegisterClass(MCInst &Inst, unsigned RegNo, in DecodeZPR2RegisterClass() argument
586 Inst.addOperand(MCOperand::createReg(Register)); in DecodeZPR2RegisterClass()
590 static DecodeStatus DecodeZPR3RegisterClass(MCInst &Inst, unsigned RegNo, in DecodeZPR3RegisterClass() argument
597 Inst.addOperand(MCOperand::createReg(Register)); in DecodeZPR3RegisterClass()
601 static DecodeStatus DecodeZPR4RegisterClass(MCInst &Inst, unsigned RegNo, in DecodeZPR4RegisterClass() argument
608 Inst.addOperand(MCOperand::createReg(Register)); in DecodeZPR4RegisterClass()
613 DecodeMatrixTileListRegisterClass(MCInst &Inst, unsigned RegMask, in DecodeMatrixTileListRegisterClass() argument
618 Inst.addOperand(MCOperand::createImm(RegMask)); in DecodeMatrixTileListRegisterClass()
635 static DecodeStatus DecodeMatrixTile(MCInst &Inst, unsigned RegNo, in DecodeMatrixTile() argument
641 Inst.addOperand( in DecodeMatrixTile()
646 static DecodeStatus DecodePPRRegisterClass(MCInst &Inst, unsigned RegNo, in DecodePPRRegisterClass() argument
654 Inst.addOperand(MCOperand::createReg(Register)); in DecodePPRRegisterClass()
658 static DecodeStatus DecodePPR_3bRegisterClass(MCInst &Inst, unsigned RegNo, in DecodePPR_3bRegisterClass() argument
665 return DecodePPRRegisterClass(Inst, RegNo, Addr, Decoder); in DecodePPR_3bRegisterClass()
668 static DecodeStatus DecodeQQRegisterClass(MCInst &Inst, unsigned RegNo, in DecodeQQRegisterClass() argument
675 Inst.addOperand(MCOperand::createReg(Register)); in DecodeQQRegisterClass()
679 static DecodeStatus DecodeQQQRegisterClass(MCInst &Inst, unsigned RegNo, in DecodeQQQRegisterClass() argument
686 Inst.addOperand(MCOperand::createReg(Register)); in DecodeQQQRegisterClass()
690 static DecodeStatus DecodeQQQQRegisterClass(MCInst &Inst, unsigned RegNo, in DecodeQQQQRegisterClass() argument
697 Inst.addOperand(MCOperand::createReg(Register)); in DecodeQQQQRegisterClass()
701 static DecodeStatus DecodeDDRegisterClass(MCInst &Inst, unsigned RegNo, in DecodeDDRegisterClass() argument
708 Inst.addOperand(MCOperand::createReg(Register)); in DecodeDDRegisterClass()
712 static DecodeStatus DecodeDDDRegisterClass(MCInst &Inst, unsigned RegNo, in DecodeDDDRegisterClass() argument
719 Inst.addOperand(MCOperand::createReg(Register)); in DecodeDDDRegisterClass()
723 static DecodeStatus DecodeDDDDRegisterClass(MCInst &Inst, unsigned RegNo, in DecodeDDDDRegisterClass() argument
730 Inst.addOperand(MCOperand::createReg(Register)); in DecodeDDDDRegisterClass()
734 static DecodeStatus DecodeFixedPointScaleImm32(MCInst &Inst, unsigned Imm, in DecodeFixedPointScaleImm32() argument
739 Inst.addOperand(MCOperand::createImm(64 - Imm)); in DecodeFixedPointScaleImm32()
743 static DecodeStatus DecodeFixedPointScaleImm64(MCInst &Inst, unsigned Imm, in DecodeFixedPointScaleImm64() argument
746 Inst.addOperand(MCOperand::createImm(64 - Imm)); in DecodeFixedPointScaleImm64()
750 static DecodeStatus DecodePCRelLabel19(MCInst &Inst, unsigned Imm, in DecodePCRelLabel19() argument
760 Inst, ImmVal * 4, Addr, Inst.getOpcode() != AArch64::LDRXl, 0, 0, 4)) in DecodePCRelLabel19()
761 Inst.addOperand(MCOperand::createImm(ImmVal)); in DecodePCRelLabel19()
765 static DecodeStatus DecodeMemExtend(MCInst &Inst, unsigned Imm, in DecodeMemExtend() argument
768 Inst.addOperand(MCOperand::createImm((Imm >> 1) & 1)); in DecodeMemExtend()
769 Inst.addOperand(MCOperand::createImm(Imm & 1)); in DecodeMemExtend()
773 static DecodeStatus DecodeMRSSystemRegister(MCInst &Inst, unsigned Imm, in DecodeMRSSystemRegister() argument
776 Inst.addOperand(MCOperand::createImm(Imm)); in DecodeMRSSystemRegister()
783 static DecodeStatus DecodeMSRSystemRegister(MCInst &Inst, unsigned Imm, in DecodeMSRSystemRegister() argument
786 Inst.addOperand(MCOperand::createImm(Imm)); in DecodeMSRSystemRegister()
791 static DecodeStatus DecodeFMOVLaneInstruction(MCInst &Inst, unsigned Insn, in DecodeFMOVLaneInstruction() argument
801 DecodeFPR128RegisterClass(Inst, Rd, Address, Decoder); in DecodeFMOVLaneInstruction()
802 DecodeGPR64RegisterClass(Inst, Rn, Address, Decoder); in DecodeFMOVLaneInstruction()
804 DecodeGPR64RegisterClass(Inst, Rd, Address, Decoder); in DecodeFMOVLaneInstruction()
805 DecodeFPR128RegisterClass(Inst, Rn, Address, Decoder); in DecodeFMOVLaneInstruction()
809 Inst.addOperand(MCOperand::createImm(1)); in DecodeFMOVLaneInstruction()
814 static DecodeStatus DecodeVecShiftRImm(MCInst &Inst, unsigned Imm, in DecodeVecShiftRImm() argument
816 Inst.addOperand(MCOperand::createImm(Add - Imm)); in DecodeVecShiftRImm()
820 static DecodeStatus DecodeVecShiftLImm(MCInst &Inst, unsigned Imm, in DecodeVecShiftLImm() argument
822 Inst.addOperand(MCOperand::createImm((Imm + Add) & (Add - 1))); in DecodeVecShiftLImm()
826 static DecodeStatus DecodeVecShiftR64Imm(MCInst &Inst, unsigned Imm, in DecodeVecShiftR64Imm() argument
829 return DecodeVecShiftRImm(Inst, Imm, 64); in DecodeVecShiftR64Imm()
832 static DecodeStatus DecodeVecShiftR64ImmNarrow(MCInst &Inst, unsigned Imm, in DecodeVecShiftR64ImmNarrow() argument
835 return DecodeVecShiftRImm(Inst, Imm | 0x20, 64); in DecodeVecShiftR64ImmNarrow()
838 static DecodeStatus DecodeVecShiftR32Imm(MCInst &Inst, unsigned Imm, in DecodeVecShiftR32Imm() argument
841 return DecodeVecShiftRImm(Inst, Imm, 32); in DecodeVecShiftR32Imm()
844 static DecodeStatus DecodeVecShiftR32ImmNarrow(MCInst &Inst, unsigned Imm, in DecodeVecShiftR32ImmNarrow() argument
847 return DecodeVecShiftRImm(Inst, Imm | 0x10, 32); in DecodeVecShiftR32ImmNarrow()
850 static DecodeStatus DecodeVecShiftR16Imm(MCInst &Inst, unsigned Imm, in DecodeVecShiftR16Imm() argument
853 return DecodeVecShiftRImm(Inst, Imm, 16); in DecodeVecShiftR16Imm()
856 static DecodeStatus DecodeVecShiftR16ImmNarrow(MCInst &Inst, unsigned Imm, in DecodeVecShiftR16ImmNarrow() argument
859 return DecodeVecShiftRImm(Inst, Imm | 0x8, 16); in DecodeVecShiftR16ImmNarrow()
862 static DecodeStatus DecodeVecShiftR8Imm(MCInst &Inst, unsigned Imm, in DecodeVecShiftR8Imm() argument
865 return DecodeVecShiftRImm(Inst, Imm, 8); in DecodeVecShiftR8Imm()
868 static DecodeStatus DecodeVecShiftL64Imm(MCInst &Inst, unsigned Imm, in DecodeVecShiftL64Imm() argument
871 return DecodeVecShiftLImm(Inst, Imm, 64); in DecodeVecShiftL64Imm()
874 static DecodeStatus DecodeVecShiftL32Imm(MCInst &Inst, unsigned Imm, in DecodeVecShiftL32Imm() argument
877 return DecodeVecShiftLImm(Inst, Imm, 32); in DecodeVecShiftL32Imm()
880 static DecodeStatus DecodeVecShiftL16Imm(MCInst &Inst, unsigned Imm, in DecodeVecShiftL16Imm() argument
883 return DecodeVecShiftLImm(Inst, Imm, 16); in DecodeVecShiftL16Imm()
886 static DecodeStatus DecodeVecShiftL8Imm(MCInst &Inst, unsigned Imm, in DecodeVecShiftL8Imm() argument
889 return DecodeVecShiftLImm(Inst, Imm, 8); in DecodeVecShiftL8Imm()
893 DecodeThreeAddrSRegInstruction(MCInst &Inst, uint32_t insn, uint64_t Addr, in DecodeThreeAddrSRegInstruction() argument
901 switch (Inst.getOpcode()) { in DecodeThreeAddrSRegInstruction()
923 DecodeGPR32RegisterClass(Inst, Rd, Addr, Decoder); in DecodeThreeAddrSRegInstruction()
924 DecodeGPR32RegisterClass(Inst, Rn, Addr, Decoder); in DecodeThreeAddrSRegInstruction()
925 DecodeGPR32RegisterClass(Inst, Rm, Addr, Decoder); in DecodeThreeAddrSRegInstruction()
944 DecodeGPR64RegisterClass(Inst, Rd, Addr, Decoder); in DecodeThreeAddrSRegInstruction()
945 DecodeGPR64RegisterClass(Inst, Rn, Addr, Decoder); in DecodeThreeAddrSRegInstruction()
946 DecodeGPR64RegisterClass(Inst, Rm, Addr, Decoder); in DecodeThreeAddrSRegInstruction()
950 Inst.addOperand(MCOperand::createImm(shift)); in DecodeThreeAddrSRegInstruction()
954 static DecodeStatus DecodeMoveImmInstruction(MCInst &Inst, uint32_t insn, in DecodeMoveImmInstruction() argument
961 switch (Inst.getOpcode()) { in DecodeMoveImmInstruction()
969 DecodeGPR32RegisterClass(Inst, Rd, Addr, Decoder); in DecodeMoveImmInstruction()
974 DecodeGPR64RegisterClass(Inst, Rd, Addr, Decoder); in DecodeMoveImmInstruction()
978 if (Inst.getOpcode() == AArch64::MOVKWi || in DecodeMoveImmInstruction()
979 Inst.getOpcode() == AArch64::MOVKXi) in DecodeMoveImmInstruction()
980 Inst.addOperand(Inst.getOperand(0)); in DecodeMoveImmInstruction()
982 Inst.addOperand(MCOperand::createImm(imm)); in DecodeMoveImmInstruction()
983 Inst.addOperand(MCOperand::createImm(shift)); in DecodeMoveImmInstruction()
988 DecodeUnsignedLdStInstruction(MCInst &Inst, uint32_t insn, uint64_t Addr, in DecodeUnsignedLdStInstruction() argument
994 switch (Inst.getOpcode()) { in DecodeUnsignedLdStInstruction()
999 Inst.addOperand(MCOperand::createImm(Rt)); in DecodeUnsignedLdStInstruction()
1009 DecodeGPR32RegisterClass(Inst, Rt, Addr, Decoder); in DecodeUnsignedLdStInstruction()
1016 DecodeGPR64RegisterClass(Inst, Rt, Addr, Decoder); in DecodeUnsignedLdStInstruction()
1020 DecodeFPR128RegisterClass(Inst, Rt, Addr, Decoder); in DecodeUnsignedLdStInstruction()
1024 DecodeFPR64RegisterClass(Inst, Rt, Addr, Decoder); in DecodeUnsignedLdStInstruction()
1028 DecodeFPR32RegisterClass(Inst, Rt, Addr, Decoder); in DecodeUnsignedLdStInstruction()
1032 DecodeFPR16RegisterClass(Inst, Rt, Addr, Decoder); in DecodeUnsignedLdStInstruction()
1036 DecodeFPR8RegisterClass(Inst, Rt, Addr, Decoder); in DecodeUnsignedLdStInstruction()
1040 DecodeGPR64spRegisterClass(Inst, Rn, Addr, Decoder); in DecodeUnsignedLdStInstruction()
1041 if (!Decoder->tryAddingSymbolicOperand(Inst, offset, Addr, Fail, 0, 0, 4)) in DecodeUnsignedLdStInstruction()
1042 Inst.addOperand(MCOperand::createImm(offset)); in DecodeUnsignedLdStInstruction()
1046 static DecodeStatus DecodeSignedLdStInstruction(MCInst &Inst, uint32_t insn, in DecodeSignedLdStInstruction() argument
1059 switch (Inst.getOpcode()) { in DecodeSignedLdStInstruction()
1108 DecodeGPR64spRegisterClass(Inst, Rn, Addr, Decoder); in DecodeSignedLdStInstruction()
1112 switch (Inst.getOpcode()) { in DecodeSignedLdStInstruction()
1117 Inst.addOperand(MCOperand::createImm(Rt)); in DecodeSignedLdStInstruction()
1159 DecodeGPR32RegisterClass(Inst, Rt, Addr, Decoder); in DecodeSignedLdStInstruction()
1186 DecodeGPR64RegisterClass(Inst, Rt, Addr, Decoder); in DecodeSignedLdStInstruction()
1194 DecodeFPR128RegisterClass(Inst, Rt, Addr, Decoder); in DecodeSignedLdStInstruction()
1202 DecodeFPR64RegisterClass(Inst, Rt, Addr, Decoder); in DecodeSignedLdStInstruction()
1210 DecodeFPR32RegisterClass(Inst, Rt, Addr, Decoder); in DecodeSignedLdStInstruction()
1218 DecodeFPR16RegisterClass(Inst, Rt, Addr, Decoder); in DecodeSignedLdStInstruction()
1226 DecodeFPR8RegisterClass(Inst, Rt, Addr, Decoder); in DecodeSignedLdStInstruction()
1230 DecodeGPR64spRegisterClass(Inst, Rn, Addr, Decoder); in DecodeSignedLdStInstruction()
1231 Inst.addOperand(MCOperand::createImm(offset)); in DecodeSignedLdStInstruction()
1245 DecodeExclusiveLdStInstruction(MCInst &Inst, uint32_t insn, uint64_t Addr, in DecodeExclusiveLdStInstruction() argument
1252 unsigned Opcode = Inst.getOpcode(); in DecodeExclusiveLdStInstruction()
1262 DecodeGPR32RegisterClass(Inst, Rs, Addr, Decoder); in DecodeExclusiveLdStInstruction()
1282 DecodeGPR32RegisterClass(Inst, Rt, Addr, Decoder); in DecodeExclusiveLdStInstruction()
1286 DecodeGPR32RegisterClass(Inst, Rs, Addr, Decoder); in DecodeExclusiveLdStInstruction()
1294 DecodeGPR64RegisterClass(Inst, Rt, Addr, Decoder); in DecodeExclusiveLdStInstruction()
1298 DecodeGPR32RegisterClass(Inst, Rs, Addr, Decoder); in DecodeExclusiveLdStInstruction()
1302 DecodeGPR32RegisterClass(Inst, Rt, Addr, Decoder); in DecodeExclusiveLdStInstruction()
1303 DecodeGPR32RegisterClass(Inst, Rt2, Addr, Decoder); in DecodeExclusiveLdStInstruction()
1307 DecodeGPR32RegisterClass(Inst, Rs, Addr, Decoder); in DecodeExclusiveLdStInstruction()
1311 DecodeGPR64RegisterClass(Inst, Rt, Addr, Decoder); in DecodeExclusiveLdStInstruction()
1312 DecodeGPR64RegisterClass(Inst, Rt2, Addr, Decoder); in DecodeExclusiveLdStInstruction()
1316 DecodeGPR64spRegisterClass(Inst, Rn, Addr, Decoder); in DecodeExclusiveLdStInstruction()
1327 static DecodeStatus DecodePairLdStInstruction(MCInst &Inst, uint32_t insn, in DecodePairLdStInstruction() argument
1341 unsigned Opcode = Inst.getOpcode(); in DecodePairLdStInstruction()
1372 DecodeGPR64spRegisterClass(Inst, Rn, Addr, Decoder); in DecodePairLdStInstruction()
1395 DecodeGPR64RegisterClass(Inst, Rt, Addr, Decoder); in DecodePairLdStInstruction()
1396 DecodeGPR64RegisterClass(Inst, Rt2, Addr, Decoder); in DecodePairLdStInstruction()
1408 DecodeGPR32RegisterClass(Inst, Rt, Addr, Decoder); in DecodePairLdStInstruction()
1409 DecodeGPR32RegisterClass(Inst, Rt2, Addr, Decoder); in DecodePairLdStInstruction()
1419 DecodeFPR128RegisterClass(Inst, Rt, Addr, Decoder); in DecodePairLdStInstruction()
1420 DecodeFPR128RegisterClass(Inst, Rt2, Addr, Decoder); in DecodePairLdStInstruction()
1430 DecodeFPR64RegisterClass(Inst, Rt, Addr, Decoder); in DecodePairLdStInstruction()
1431 DecodeFPR64RegisterClass(Inst, Rt2, Addr, Decoder); in DecodePairLdStInstruction()
1441 DecodeFPR32RegisterClass(Inst, Rt, Addr, Decoder); in DecodePairLdStInstruction()
1442 DecodeFPR32RegisterClass(Inst, Rt2, Addr, Decoder); in DecodePairLdStInstruction()
1446 DecodeGPR64spRegisterClass(Inst, Rn, Addr, Decoder); in DecodePairLdStInstruction()
1447 Inst.addOperand(MCOperand::createImm(offset)); in DecodePairLdStInstruction()
1461 static DecodeStatus DecodeAuthLoadInstruction(MCInst &Inst, uint32_t insn, in DecodeAuthLoadInstruction() argument
1470 switch (Inst.getOpcode()) { in DecodeAuthLoadInstruction()
1475 DecodeGPR64spRegisterClass(Inst, Rn /* writeback register */, Addr, in DecodeAuthLoadInstruction()
1483 DecodeGPR64RegisterClass(Inst, Rt, Addr, Decoder); in DecodeAuthLoadInstruction()
1484 DecodeGPR64spRegisterClass(Inst, Rn, Addr, Decoder); in DecodeAuthLoadInstruction()
1485 DecodeSImm<10>(Inst, offset, Addr, Decoder); in DecodeAuthLoadInstruction()
1494 static DecodeStatus DecodeAddSubERegInstruction(MCInst &Inst, uint32_t insn, in DecodeAddSubERegInstruction() argument
1506 switch (Inst.getOpcode()) { in DecodeAddSubERegInstruction()
1511 DecodeGPR32spRegisterClass(Inst, Rd, Addr, Decoder); in DecodeAddSubERegInstruction()
1512 DecodeGPR32spRegisterClass(Inst, Rn, Addr, Decoder); in DecodeAddSubERegInstruction()
1513 DecodeGPR32RegisterClass(Inst, Rm, Addr, Decoder); in DecodeAddSubERegInstruction()
1517 DecodeGPR32RegisterClass(Inst, Rd, Addr, Decoder); in DecodeAddSubERegInstruction()
1518 DecodeGPR32spRegisterClass(Inst, Rn, Addr, Decoder); in DecodeAddSubERegInstruction()
1519 DecodeGPR32RegisterClass(Inst, Rm, Addr, Decoder); in DecodeAddSubERegInstruction()
1523 DecodeGPR64spRegisterClass(Inst, Rd, Addr, Decoder); in DecodeAddSubERegInstruction()
1524 DecodeGPR64spRegisterClass(Inst, Rn, Addr, Decoder); in DecodeAddSubERegInstruction()
1525 DecodeGPR32RegisterClass(Inst, Rm, Addr, Decoder); in DecodeAddSubERegInstruction()
1529 DecodeGPR64RegisterClass(Inst, Rd, Addr, Decoder); in DecodeAddSubERegInstruction()
1530 DecodeGPR64spRegisterClass(Inst, Rn, Addr, Decoder); in DecodeAddSubERegInstruction()
1531 DecodeGPR32RegisterClass(Inst, Rm, Addr, Decoder); in DecodeAddSubERegInstruction()
1535 DecodeGPR64spRegisterClass(Inst, Rd, Addr, Decoder); in DecodeAddSubERegInstruction()
1536 DecodeGPR64spRegisterClass(Inst, Rn, Addr, Decoder); in DecodeAddSubERegInstruction()
1537 DecodeGPR64RegisterClass(Inst, Rm, Addr, Decoder); in DecodeAddSubERegInstruction()
1541 DecodeGPR64RegisterClass(Inst, Rd, Addr, Decoder); in DecodeAddSubERegInstruction()
1542 DecodeGPR64spRegisterClass(Inst, Rn, Addr, Decoder); in DecodeAddSubERegInstruction()
1543 DecodeGPR64RegisterClass(Inst, Rm, Addr, Decoder); in DecodeAddSubERegInstruction()
1547 Inst.addOperand(MCOperand::createImm(extend)); in DecodeAddSubERegInstruction()
1551 static DecodeStatus DecodeLogicalImmInstruction(MCInst &Inst, uint32_t insn, in DecodeLogicalImmInstruction() argument
1560 if (Inst.getOpcode() == AArch64::ANDSXri) in DecodeLogicalImmInstruction()
1561 DecodeGPR64RegisterClass(Inst, Rd, Addr, Decoder); in DecodeLogicalImmInstruction()
1563 DecodeGPR64spRegisterClass(Inst, Rd, Addr, Decoder); in DecodeLogicalImmInstruction()
1564 DecodeGPR64RegisterClass(Inst, Rn, Addr, Decoder); in DecodeLogicalImmInstruction()
1569 if (Inst.getOpcode() == AArch64::ANDSWri) in DecodeLogicalImmInstruction()
1570 DecodeGPR32RegisterClass(Inst, Rd, Addr, Decoder); in DecodeLogicalImmInstruction()
1572 DecodeGPR32spRegisterClass(Inst, Rd, Addr, Decoder); in DecodeLogicalImmInstruction()
1573 DecodeGPR32RegisterClass(Inst, Rn, Addr, Decoder); in DecodeLogicalImmInstruction()
1578 Inst.addOperand(MCOperand::createImm(imm)); in DecodeLogicalImmInstruction()
1582 static DecodeStatus DecodeModImmInstruction(MCInst &Inst, uint32_t insn, in DecodeModImmInstruction() argument
1590 if (Inst.getOpcode() == AArch64::MOVID) in DecodeModImmInstruction()
1591 DecodeFPR64RegisterClass(Inst, Rd, Addr, Decoder); in DecodeModImmInstruction()
1593 DecodeFPR128RegisterClass(Inst, Rd, Addr, Decoder); in DecodeModImmInstruction()
1595 Inst.addOperand(MCOperand::createImm(imm)); in DecodeModImmInstruction()
1597 switch (Inst.getOpcode()) { in DecodeModImmInstruction()
1608 Inst.addOperand(MCOperand::createImm((cmode & 6) << 2)); in DecodeModImmInstruction()
1614 Inst.addOperand(MCOperand::createImm((cmode & 1) ? 0x110 : 0x108)); in DecodeModImmInstruction()
1621 static DecodeStatus DecodeModImmTiedInstruction(MCInst &Inst, uint32_t insn, in DecodeModImmTiedInstruction() argument
1630 DecodeFPR128RegisterClass(Inst, Rd, Addr, Decoder); in DecodeModImmTiedInstruction()
1631 DecodeFPR128RegisterClass(Inst, Rd, Addr, Decoder); in DecodeModImmTiedInstruction()
1633 Inst.addOperand(MCOperand::createImm(imm)); in DecodeModImmTiedInstruction()
1634 Inst.addOperand(MCOperand::createImm((cmode & 6) << 2)); in DecodeModImmTiedInstruction()
1639 static DecodeStatus DecodeAdrInstruction(MCInst &Inst, uint32_t insn, in DecodeAdrInstruction() argument
1650 DecodeGPR64RegisterClass(Inst, Rd, Addr, Decoder); in DecodeAdrInstruction()
1651 if (!Decoder->tryAddingSymbolicOperand(Inst, imm, Addr, Fail, 0, 0, 4)) in DecodeAdrInstruction()
1652 Inst.addOperand(MCOperand::createImm(imm)); in DecodeAdrInstruction()
1657 static DecodeStatus DecodeAddSubImmShift(MCInst &Inst, uint32_t insn, in DecodeAddSubImmShift() argument
1674 DecodeGPR64spRegisterClass(Inst, Rd, Addr, Decoder); in DecodeAddSubImmShift()
1676 DecodeGPR64RegisterClass(Inst, Rd, Addr, Decoder); in DecodeAddSubImmShift()
1677 DecodeGPR64spRegisterClass(Inst, Rn, Addr, Decoder); in DecodeAddSubImmShift()
1680 DecodeGPR32spRegisterClass(Inst, Rd, Addr, Decoder); in DecodeAddSubImmShift()
1682 DecodeGPR32RegisterClass(Inst, Rd, Addr, Decoder); in DecodeAddSubImmShift()
1683 DecodeGPR32spRegisterClass(Inst, Rn, Addr, Decoder); in DecodeAddSubImmShift()
1686 if (!Decoder->tryAddingSymbolicOperand(Inst, Imm, Addr, Fail, 0, 0, 4)) in DecodeAddSubImmShift()
1687 Inst.addOperand(MCOperand::createImm(ImmVal)); in DecodeAddSubImmShift()
1688 Inst.addOperand(MCOperand::createImm(12 * ShifterVal)); in DecodeAddSubImmShift()
1692 static DecodeStatus DecodeUnconditionalBranch(MCInst &Inst, uint32_t insn, in DecodeUnconditionalBranch() argument
1701 if (!Decoder->tryAddingSymbolicOperand(Inst, imm * 4, Addr, true, 0, 0, 4)) in DecodeUnconditionalBranch()
1702 Inst.addOperand(MCOperand::createImm(imm)); in DecodeUnconditionalBranch()
1708 DecodeSystemPStateInstruction(MCInst &Inst, uint32_t insn, uint64_t Addr, in DecodeSystemPStateInstruction() argument
1726 Inst.addOperand(MCOperand::createImm(pstate_field)); in DecodeSystemPStateInstruction()
1727 Inst.addOperand(MCOperand::createImm(crm)); in DecodeSystemPStateInstruction()
1736 static DecodeStatus DecodeTestAndBranch(MCInst &Inst, uint32_t insn, in DecodeTestAndBranch() argument
1749 DecodeGPR32RegisterClass(Inst, Rt, Addr, Decoder); in DecodeTestAndBranch()
1751 DecodeGPR64RegisterClass(Inst, Rt, Addr, Decoder); in DecodeTestAndBranch()
1752 Inst.addOperand(MCOperand::createImm(bit)); in DecodeTestAndBranch()
1753 if (!Decoder->tryAddingSymbolicOperand(Inst, dst * 4, Addr, true, 0, 0, 4)) in DecodeTestAndBranch()
1754 Inst.addOperand(MCOperand::createImm(dst)); in DecodeTestAndBranch()
1760 DecodeGPRSeqPairsClassRegisterClass(MCInst &Inst, unsigned RegClassID, in DecodeGPRSeqPairsClassRegisterClass() argument
1768 Inst.addOperand(MCOperand::createReg(Reg)); in DecodeGPRSeqPairsClassRegisterClass()
1773 DecodeWSeqPairsClassRegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Addr, in DecodeWSeqPairsClassRegisterClass() argument
1775 return DecodeGPRSeqPairsClassRegisterClass(Inst, in DecodeWSeqPairsClassRegisterClass()
1781 DecodeXSeqPairsClassRegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Addr, in DecodeXSeqPairsClassRegisterClass() argument
1783 return DecodeGPRSeqPairsClassRegisterClass(Inst, in DecodeXSeqPairsClassRegisterClass()
1789 DecodeSVELogicalImmInstruction(MCInst &Inst, uint32_t insn, uint64_t Addr, in DecodeSVELogicalImmInstruction() argument
1797 DecodeZPRRegisterClass(Inst, Zdn, Addr, Decoder); in DecodeSVELogicalImmInstruction()
1798 if (Inst.getOpcode() != AArch64::DUPM_ZI) in DecodeSVELogicalImmInstruction()
1799 DecodeZPRRegisterClass(Inst, Zdn, Addr, Decoder); in DecodeSVELogicalImmInstruction()
1800 Inst.addOperand(MCOperand::createImm(imm)); in DecodeSVELogicalImmInstruction()
1805 static DecodeStatus DecodeSImm(MCInst &Inst, uint64_t Imm, uint64_t Address, in DecodeSImm() argument
1814 Inst.addOperand(MCOperand::createImm(Imm)); in DecodeSImm()
1820 static DecodeStatus DecodeImm8OptLsl(MCInst &Inst, unsigned Imm, uint64_t Addr, in DecodeImm8OptLsl() argument
1826 Inst.addOperand(MCOperand::createImm(Val)); in DecodeImm8OptLsl()
1827 Inst.addOperand(MCOperand::createImm(Shift)); in DecodeImm8OptLsl()
1832 static DecodeStatus DecodeSVEIncDecImm(MCInst &Inst, unsigned Imm, in DecodeSVEIncDecImm() argument
1835 Inst.addOperand(MCOperand::createImm(Imm + 1)); in DecodeSVEIncDecImm()
1839 static DecodeStatus DecodeSVCROp(MCInst &Inst, unsigned Imm, uint64_t Address, in DecodeSVCROp() argument
1842 Inst.addOperand(MCOperand::createImm(Imm)); in DecodeSVCROp()
1848 static DecodeStatus DecodeCPYMemOpInstruction(MCInst &Inst, uint32_t insn, in DecodeCPYMemOpInstruction() argument
1862 if (!DecodeGPR64commonRegisterClass(Inst, Rd, Addr, Decoder) || in DecodeCPYMemOpInstruction()
1863 !DecodeGPR64commonRegisterClass(Inst, Rs, Addr, Decoder) || in DecodeCPYMemOpInstruction()
1864 !DecodeGPR64RegisterClass(Inst, Rn, Addr, Decoder) || in DecodeCPYMemOpInstruction()
1865 !DecodeGPR64commonRegisterClass(Inst, Rd, Addr, Decoder) || in DecodeCPYMemOpInstruction()
1866 !DecodeGPR64commonRegisterClass(Inst, Rs, Addr, Decoder) || in DecodeCPYMemOpInstruction()
1867 !DecodeGPR64RegisterClass(Inst, Rn, Addr, Decoder)) in DecodeCPYMemOpInstruction()
1873 static DecodeStatus DecodeSETMemOpInstruction(MCInst &Inst, uint32_t insn, in DecodeSETMemOpInstruction() argument
1887 if (!DecodeGPR64commonRegisterClass(Inst, Rd, Addr, Decoder) || in DecodeSETMemOpInstruction()
1888 !DecodeGPR64RegisterClass(Inst, Rn, Addr, Decoder) || in DecodeSETMemOpInstruction()
1889 !DecodeGPR64commonRegisterClass(Inst, Rd, Addr, Decoder) || in DecodeSETMemOpInstruction()
1890 !DecodeGPR64RegisterClass(Inst, Rn, Addr, Decoder) || in DecodeSETMemOpInstruction()
1891 !DecodeGPR64RegisterClass(Inst, Rm, Addr, Decoder)) in DecodeSETMemOpInstruction()