Lines Matching refs:MCInst
20 #include "llvm/MC/MCInst.h"
73 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
82 static DecodeStatus DecodeGPR64RegisterClass(MCInst &Inst,
87 static DecodeStatus DecodeCPU16RegsRegisterClass(MCInst &Inst,
92 static DecodeStatus DecodeGPRMM16RegisterClass(MCInst &Inst,
97 static DecodeStatus DecodeGPRMM16ZeroRegisterClass(MCInst &Inst,
102 static DecodeStatus DecodeGPRMM16MovePRegisterClass(MCInst &Inst,
107 static DecodeStatus DecodeGPR32RegisterClass(MCInst &Inst,
112 static DecodeStatus DecodePtrRegisterClass(MCInst &Inst,
117 static DecodeStatus DecodeDSPRRegisterClass(MCInst &Inst,
122 static DecodeStatus DecodeFGR64RegisterClass(MCInst &Inst,
127 static DecodeStatus DecodeFGR32RegisterClass(MCInst &Inst,
132 static DecodeStatus DecodeCCRRegisterClass(MCInst &Inst,
137 static DecodeStatus DecodeFCCRegisterClass(MCInst &Inst,
142 static DecodeStatus DecodeFGRCCRegisterClass(MCInst &Inst, unsigned RegNo,
146 static DecodeStatus DecodeHWRegsRegisterClass(MCInst &Inst,
151 static DecodeStatus DecodeAFGR64RegisterClass(MCInst &Inst,
156 static DecodeStatus DecodeACC64DSPRegisterClass(MCInst &Inst,
161 static DecodeStatus DecodeHI32DSPRegisterClass(MCInst &Inst,
166 static DecodeStatus DecodeLO32DSPRegisterClass(MCInst &Inst,
171 static DecodeStatus DecodeMSA128BRegisterClass(MCInst &Inst,
176 static DecodeStatus DecodeMSA128HRegisterClass(MCInst &Inst,
181 static DecodeStatus DecodeMSA128WRegisterClass(MCInst &Inst,
186 static DecodeStatus DecodeMSA128DRegisterClass(MCInst &Inst,
191 static DecodeStatus DecodeMSACtrlRegisterClass(MCInst &Inst,
196 static DecodeStatus DecodeCOP0RegisterClass(MCInst &Inst,
201 static DecodeStatus DecodeCOP2RegisterClass(MCInst &Inst,
206 static DecodeStatus DecodeBranchTarget(MCInst &Inst,
211 static DecodeStatus DecodeBranchTarget1SImm16(MCInst &Inst,
216 static DecodeStatus DecodeJumpTarget(MCInst &Inst,
221 static DecodeStatus DecodeBranchTarget21(MCInst &Inst,
226 static DecodeStatus DecodeBranchTarget21MM(MCInst &Inst,
231 static DecodeStatus DecodeBranchTarget26(MCInst &Inst,
238 static DecodeStatus DecodeBranchTarget7MM(MCInst &Inst,
245 static DecodeStatus DecodeBranchTarget10MM(MCInst &Inst,
252 static DecodeStatus DecodeBranchTargetMM(MCInst &Inst,
259 static DecodeStatus DecodeBranchTarget26MM(MCInst &Inst,
266 static DecodeStatus DecodeJumpTargetMM(MCInst &Inst,
273 static DecodeStatus DecodeJumpTargetXMM(MCInst &Inst,
278 static DecodeStatus DecodeMem(MCInst &Inst,
283 static DecodeStatus DecodeMemEVA(MCInst &Inst,
288 static DecodeStatus DecodeLoadByte15(MCInst &Inst,
293 static DecodeStatus DecodeCacheOp(MCInst &Inst, unsigned Insn, uint64_t Address,
296 static DecodeStatus DecodeCacheeOp_CacheOpR6(MCInst &Inst,
301 static DecodeStatus DecodeCacheOpMM(MCInst &Inst,
306 static DecodeStatus DecodePrefeOpMM(MCInst &Inst,
311 static DecodeStatus DecodeSyncI(MCInst &Inst,
316 static DecodeStatus DecodeSyncI_MM(MCInst &Inst,
321 static DecodeStatus DecodeSynciR6(MCInst &Inst,
326 static DecodeStatus DecodeMSA128Mem(MCInst &Inst, unsigned Insn,
329 static DecodeStatus DecodeMemMMImm4(MCInst &Inst,
334 static DecodeStatus DecodeMemMMSPImm5Lsl2(MCInst &Inst,
339 static DecodeStatus DecodeMemMMGPImm7Lsl2(MCInst &Inst,
344 static DecodeStatus DecodeMemMMReglistImm4Lsl2(MCInst &Inst,
349 static DecodeStatus DecodeMemMMImm9(MCInst &Inst,
354 static DecodeStatus DecodeMemMMImm12(MCInst &Inst,
359 static DecodeStatus DecodeMemMMImm16(MCInst &Inst,
364 static DecodeStatus DecodeFMem(MCInst &Inst, unsigned Insn,
368 static DecodeStatus DecodeFMemMMR2(MCInst &Inst, unsigned Insn,
372 static DecodeStatus DecodeFMem2(MCInst &Inst, unsigned Insn, uint64_t Address,
375 static DecodeStatus DecodeFMem3(MCInst &Inst, unsigned Insn, uint64_t Address,
378 static DecodeStatus DecodeFMemCop2R6(MCInst &Inst, unsigned Insn,
381 static DecodeStatus DecodeFMemCop2MMR6(MCInst &Inst, unsigned Insn,
385 static DecodeStatus DecodeSpecial3LlSc(MCInst &Inst,
390 static DecodeStatus DecodeAddiur2Simm7(MCInst &Inst,
395 static DecodeStatus DecodeLi16Imm(MCInst &Inst,
400 static DecodeStatus DecodePOOL16BEncodedField(MCInst &Inst,
406 static DecodeStatus DecodeUImmWithOffsetAndScale(MCInst &Inst, unsigned Value,
411 static DecodeStatus DecodeUImmWithOffset(MCInst &Inst, unsigned Value,
419 static DecodeStatus DecodeSImmWithOffsetAndScale(MCInst &Inst, unsigned Value,
423 static DecodeStatus DecodeInsSize(MCInst &Inst,
428 static DecodeStatus DecodeSimm19Lsl2(MCInst &Inst, unsigned Insn,
431 static DecodeStatus DecodeSimm18Lsl3(MCInst &Inst, unsigned Insn,
434 static DecodeStatus DecodeSimm9SP(MCInst &Inst, unsigned Insn,
437 static DecodeStatus DecodeANDI16Imm(MCInst &Inst, unsigned Insn,
440 static DecodeStatus DecodeSimm23Lsl2(MCInst &Inst, unsigned Insn,
446 static DecodeStatus DecodeINSVE_DF(MCInst &MI, InsnType insn, uint64_t Address,
450 static DecodeStatus DecodeDAHIDATIMMR6(MCInst &MI, InsnType insn,
454 static DecodeStatus DecodeDAHIDATI(MCInst &MI, InsnType insn, uint64_t Address,
458 static DecodeStatus DecodeDAHIDATIMMR6(MCInst &MI, InsnType insn,
462 static DecodeStatus DecodeDAHIDATI(MCInst &MI, InsnType insn, uint64_t Address,
467 DecodeAddiGroupBranch(MCInst &MI, InsnType insn, uint64_t Address,
472 DecodePOP35GroupBranchMMR6(MCInst &MI, InsnType insn, uint64_t Address,
477 DecodeDaddiGroupBranch(MCInst &MI, InsnType insn, uint64_t Address,
482 DecodePOP37GroupBranchMMR6(MCInst &MI, InsnType insn, uint64_t Address,
487 DecodePOP65GroupBranchMMR6(MCInst &MI, InsnType insn, uint64_t Address,
492 DecodePOP75GroupBranchMMR6(MCInst &MI, InsnType insn, uint64_t Address,
497 DecodeBlezlGroupBranch(MCInst &MI, InsnType insn, uint64_t Address,
502 DecodeBgtzlGroupBranch(MCInst &MI, InsnType insn, uint64_t Address,
507 DecodeBgtzGroupBranch(MCInst &MI, InsnType insn, uint64_t Address,
512 DecodeBlezGroupBranch(MCInst &MI, InsnType insn, uint64_t Address,
517 DecodeBgtzGroupBranchMMR6(MCInst &MI, InsnType insn, uint64_t Address,
522 DecodeBlezGroupBranchMMR6(MCInst &MI, InsnType insn, uint64_t Address,
526 static DecodeStatus DecodeDINS(MCInst &MI, InsnType Insn, uint64_t Address,
530 static DecodeStatus DecodeDEXT(MCInst &MI, InsnType Insn, uint64_t Address,
534 static DecodeStatus DecodeCRC(MCInst &MI, InsnType Insn, uint64_t Address,
537 static DecodeStatus DecodeRegListOperand(MCInst &Inst, unsigned Insn,
541 static DecodeStatus DecodeRegListOperand16(MCInst &Inst, unsigned Insn,
545 static DecodeStatus DecodeMovePRegPair(MCInst &Inst, unsigned RegPair,
549 static DecodeStatus DecodeMovePOperands(MCInst &Inst, unsigned Insn,
587 static DecodeStatus DecodeINSVE_DF(MCInst &MI, InsnType insn, uint64_t Address,
589 using DecodeFN = DecodeStatus (*)(MCInst &, unsigned, uint64_t, const void *);
634 static DecodeStatus DecodeDAHIDATIMMR6(MCInst &MI, InsnType insn,
648 static DecodeStatus DecodeDAHIDATI(MCInst &MI, InsnType insn, uint64_t Address,
662 static DecodeStatus DecodeAddiGroupBranch(MCInst &MI, InsnType insn,
701 static DecodeStatus DecodePOP35GroupBranchMMR6(MCInst &MI, InsnType insn,
735 static DecodeStatus DecodeDaddiGroupBranch(MCInst &MI, InsnType insn,
774 static DecodeStatus DecodePOP37GroupBranchMMR6(MCInst &MI, InsnType insn,
808 static DecodeStatus DecodePOP65GroupBranchMMR6(MCInst &MI, InsnType insn,
847 static DecodeStatus DecodePOP75GroupBranchMMR6(MCInst &MI, InsnType insn,
886 static DecodeStatus DecodeBlezlGroupBranch(MCInst &MI, InsnType insn,
929 static DecodeStatus DecodeBgtzlGroupBranch(MCInst &MI, InsnType insn,
973 static DecodeStatus DecodeBgtzGroupBranch(MCInst &MI, InsnType insn,
1022 static DecodeStatus DecodeBlezGroupBranch(MCInst &MI, InsnType insn,
1066 static DecodeStatus DecodeDEXT(MCInst &MI, InsnType Insn, uint64_t Address,
1108 static DecodeStatus DecodeDINS(MCInst &MI, InsnType Insn, uint64_t Address,
1150 static DecodeStatus DecodeCRC(MCInst &MI, InsnType Insn, uint64_t Address,
1219 DecodeStatus MipsDisassembler::getInstruction(MCInst &Instr, uint64_t &Size,
1395 static DecodeStatus DecodeCPU16RegsRegisterClass(MCInst &Inst,
1402 static DecodeStatus DecodeGPR64RegisterClass(MCInst &Inst,
1414 static DecodeStatus DecodeGPRMM16RegisterClass(MCInst &Inst,
1425 static DecodeStatus DecodeGPRMM16ZeroRegisterClass(MCInst &Inst,
1436 static DecodeStatus DecodeGPRMM16MovePRegisterClass(MCInst &Inst,
1447 static DecodeStatus DecodeGPR32RegisterClass(MCInst &Inst,
1458 static DecodeStatus DecodePtrRegisterClass(MCInst &Inst,
1468 static DecodeStatus DecodeDSPRRegisterClass(MCInst &Inst,
1475 static DecodeStatus DecodeFGR64RegisterClass(MCInst &Inst,
1487 static DecodeStatus DecodeFGR32RegisterClass(MCInst &Inst,
1499 static DecodeStatus DecodeCCRRegisterClass(MCInst &Inst,
1510 static DecodeStatus DecodeFCCRegisterClass(MCInst &Inst,
1521 static DecodeStatus DecodeFGRCCRegisterClass(MCInst &Inst, unsigned RegNo,
1532 static DecodeStatus DecodeMem(MCInst &Inst,
1554 static DecodeStatus DecodeMemEVA(MCInst &Inst,
1575 static DecodeStatus DecodeLoadByte15(MCInst &Inst,
1593 static DecodeStatus DecodeCacheOp(MCInst &Inst,
1610 static DecodeStatus DecodeCacheOpMM(MCInst &Inst,
1627 static DecodeStatus DecodePrefeOpMM(MCInst &Inst,
1644 static DecodeStatus DecodeCacheeOp_CacheOpR6(MCInst &Inst,
1661 static DecodeStatus DecodeSyncI(MCInst &Inst,
1676 static DecodeStatus DecodeSyncI_MM(MCInst &Inst, unsigned Insn,
1689 static DecodeStatus DecodeSynciR6(MCInst &Inst,
1704 static DecodeStatus DecodeMSA128Mem(MCInst &Inst, unsigned Insn,
1750 static DecodeStatus DecodeMemMMImm4(MCInst &Inst,
1808 static DecodeStatus DecodeMemMMSPImm5Lsl2(MCInst &Inst,
1824 static DecodeStatus DecodeMemMMGPImm7Lsl2(MCInst &Inst,
1840 static DecodeStatus DecodeMemMMReglistImm4Lsl2(MCInst &Inst,
1865 static DecodeStatus DecodeMemMMImm9(MCInst &Inst,
1886 static DecodeStatus DecodeMemMMImm12(MCInst &Inst,
1921 static DecodeStatus DecodeMemMMImm16(MCInst &Inst,
1939 static DecodeStatus DecodeFMem(MCInst &Inst,
1957 static DecodeStatus DecodeFMemMMR2(MCInst &Inst, unsigned Insn,
1975 static DecodeStatus DecodeFMem2(MCInst &Inst,
1993 static DecodeStatus DecodeFMem3(MCInst &Inst,
2011 static DecodeStatus DecodeFMemCop2R6(MCInst &Inst,
2029 static DecodeStatus DecodeFMemCop2MMR6(MCInst &Inst, unsigned Insn,
2045 static DecodeStatus DecodeSpecial3LlSc(MCInst &Inst,
2067 static DecodeStatus DecodeHWRegsRegisterClass(MCInst &Inst,
2078 static DecodeStatus DecodeAFGR64RegisterClass(MCInst &Inst,
2090 static DecodeStatus DecodeACC64DSPRegisterClass(MCInst &Inst,
2102 static DecodeStatus DecodeHI32DSPRegisterClass(MCInst &Inst,
2114 static DecodeStatus DecodeLO32DSPRegisterClass(MCInst &Inst,
2126 static DecodeStatus DecodeMSA128BRegisterClass(MCInst &Inst,
2138 static DecodeStatus DecodeMSA128HRegisterClass(MCInst &Inst,
2150 static DecodeStatus DecodeMSA128WRegisterClass(MCInst &Inst,
2162 static DecodeStatus DecodeMSA128DRegisterClass(MCInst &Inst,
2174 static DecodeStatus DecodeMSACtrlRegisterClass(MCInst &Inst,
2186 static DecodeStatus DecodeCOP0RegisterClass(MCInst &Inst,
2198 static DecodeStatus DecodeCOP2RegisterClass(MCInst &Inst,
2210 static DecodeStatus DecodeBranchTarget(MCInst &Inst,
2219 static DecodeStatus DecodeBranchTarget1SImm16(MCInst &Inst,
2228 static DecodeStatus DecodeJumpTarget(MCInst &Inst,
2237 static DecodeStatus DecodeBranchTarget21(MCInst &Inst,
2247 static DecodeStatus DecodeBranchTarget21MM(MCInst &Inst,
2257 static DecodeStatus DecodeBranchTarget26(MCInst &Inst,
2267 static DecodeStatus DecodeBranchTarget7MM(MCInst &Inst,
2276 static DecodeStatus DecodeBranchTarget10MM(MCInst &Inst,
2285 static DecodeStatus DecodeBranchTargetMM(MCInst &Inst,
2294 static DecodeStatus DecodeBranchTarget26MM(MCInst &Inst,
2304 static DecodeStatus DecodeJumpTargetMM(MCInst &Inst,
2313 static DecodeStatus DecodeJumpTargetXMM(MCInst &Inst,
2322 static DecodeStatus DecodeAddiur2Simm7(MCInst &Inst,
2335 static DecodeStatus DecodeLi16Imm(MCInst &Inst,
2346 static DecodeStatus DecodePOOL16BEncodedField(MCInst &Inst,
2355 static DecodeStatus DecodeUImmWithOffsetAndScale(MCInst &Inst, unsigned Value,
2365 static DecodeStatus DecodeSImmWithOffsetAndScale(MCInst &Inst, unsigned Value,
2373 static DecodeStatus DecodeInsSize(MCInst &Inst,
2377 // First we need to grab the pos(lsb) from MCInst.
2386 static DecodeStatus DecodeSimm19Lsl2(MCInst &Inst, unsigned Insn,
2392 static DecodeStatus DecodeSimm18Lsl3(MCInst &Inst, unsigned Insn,
2398 static DecodeStatus DecodeSimm9SP(MCInst &Inst, unsigned Insn,
2412 static DecodeStatus DecodeANDI16Imm(MCInst &Inst, unsigned Insn,
2422 static DecodeStatus DecodeRegListOperand(MCInst &Inst,
2451 static DecodeStatus DecodeRegListOperand16(MCInst &Inst, unsigned Insn,
2475 static DecodeStatus DecodeMovePOperands(MCInst &Inst, unsigned Insn,
2501 static DecodeStatus DecodeMovePRegPair(MCInst &Inst, unsigned RegPair,
2543 static DecodeStatus DecodeSimm23Lsl2(MCInst &Inst, unsigned Insn,
2550 static DecodeStatus DecodeBgtzGroupBranchMMR6(MCInst &MI, InsnType insn,
2599 static DecodeStatus DecodeBlezGroupBranchMMR6(MCInst &MI, InsnType insn,