Lines Matching refs:MCInst
22 #include "llvm/MC/MCInst.h"
46 std::unique_ptr<MCInst *> CurrentBundle;
47 mutable MCInst const *CurrentExtender;
51 : MCDisassembler(STI, Ctx), MCII(MCII), CurrentBundle(new MCInst *),
54 DecodeStatus getSingleInstruction(MCInst &Instr, MCInst &MCB,
57 DecodeStatus getInstruction(MCInst &Instr, uint64_t &Size,
60 void remapInstruction(MCInst &Instr) const;
63 static uint64_t fullValue(HexagonDisassembler const &Disassembler, MCInst &MI,
85 static void signedDecoder(MCInst &MI, unsigned tmp, const void *Decoder) {
96 static DecodeStatus DecodeIntRegsRegisterClass(MCInst &Inst, unsigned RegNo,
99 static DecodeStatus DecodeGeneralSubRegsRegisterClass(MCInst &Inst,
103 static DecodeStatus DecodeIntRegsLow8RegisterClass(MCInst &Inst, unsigned RegNo,
106 static DecodeStatus DecodeHvxVRRegisterClass(MCInst &Inst, unsigned RegNo,
109 static DecodeStatus DecodeDoubleRegsRegisterClass(MCInst &Inst, unsigned RegNo,
113 DecodeGeneralDoubleLow8RegsRegisterClass(MCInst &Inst, unsigned RegNo,
115 static DecodeStatus DecodeHvxWRRegisterClass(MCInst &Inst, unsigned RegNo,
118 static DecodeStatus DecodeHvxVQRRegisterClass(MCInst &Inst,
122 static DecodeStatus DecodePredRegsRegisterClass(MCInst &Inst, unsigned RegNo,
125 static DecodeStatus DecodeHvxQRRegisterClass(MCInst &Inst, unsigned RegNo,
128 static DecodeStatus DecodeCtrRegsRegisterClass(MCInst &Inst, unsigned RegNo,
131 static DecodeStatus DecodeGuestRegsRegisterClass(MCInst &Inst, unsigned RegNo,
134 static DecodeStatus DecodeModRegsRegisterClass(MCInst &Inst, unsigned RegNo,
137 static DecodeStatus DecodeCtrRegs64RegisterClass(MCInst &Inst, unsigned RegNo,
140 static DecodeStatus DecodeGuestRegs64RegisterClass(MCInst &Inst, unsigned RegNo,
144 static DecodeStatus unsignedImmDecoder(MCInst &MI, unsigned tmp,
146 static DecodeStatus s32_0ImmDecoder(MCInst &MI, unsigned tmp,
148 static DecodeStatus brtargetDecoder(MCInst &MI, unsigned tmp, uint64_t Address,
164 DecodeStatus HexagonDisassembler::getInstruction(MCInst &MI, uint64_t &Size,
178 MCInst *Inst = new (getContext()) MCInst;
199 void HexagonDisassembler::remapInstruction(MCInst &Instr) const {
201 auto &MI = const_cast<MCInst &>(*I.getInst());
278 static void adjustDuplex(MCInst &MI, MCContext &Context) {
293 DecodeStatus HexagonDisassembler::getSingleInstruction(MCInst &MI, MCInst &MCB,
387 MCInst *MILow = new (getContext()) MCInst;
388 MCInst *MIHigh = new (getContext()) MCInst;
518 MCInst const &Inst = HexagonMCInstrInfo::isDuplex(*MCII, MI)
528 static DecodeStatus DecodeRegisterClass(MCInst &Inst, unsigned RegNo,
538 static DecodeStatus DecodeIntRegsLow8RegisterClass(MCInst &Inst, unsigned RegNo,
544 static DecodeStatus DecodeIntRegsRegisterClass(MCInst &Inst, unsigned RegNo,
559 static DecodeStatus DecodeGeneralSubRegsRegisterClass(MCInst &Inst,
573 static DecodeStatus DecodeHvxVRRegisterClass(MCInst &Inst, unsigned RegNo,
588 static DecodeStatus DecodeDoubleRegsRegisterClass(MCInst &Inst, unsigned RegNo,
601 MCInst &Inst, unsigned RegNo, uint64_t /*Address*/, const void *Decoder) {
609 static DecodeStatus DecodeHvxWRRegisterClass(MCInst &Inst, unsigned RegNo,
626 static DecodeStatus DecodeHvxVQRRegisterClass(MCInst &Inst,
637 static DecodeStatus DecodePredRegsRegisterClass(MCInst &Inst, unsigned RegNo,
646 static DecodeStatus DecodeHvxQRRegisterClass(MCInst &Inst, unsigned RegNo,
655 static DecodeStatus DecodeCtrRegsRegisterClass(MCInst &Inst, unsigned RegNo,
683 static DecodeStatus DecodeCtrRegs64RegisterClass(MCInst &Inst, unsigned RegNo,
711 static DecodeStatus DecodeModRegsRegisterClass(MCInst &Inst, unsigned RegNo,
729 static DecodeStatus unsignedImmDecoder(MCInst &MI, unsigned tmp,
739 static DecodeStatus s32_0ImmDecoder(MCInst &MI, unsigned tmp,
749 static DecodeStatus brtargetDecoder(MCInst &MI, unsigned tmp, uint64_t Address,
763 static DecodeStatus DecodeGuestRegsRegisterClass(MCInst &Inst, unsigned RegNo,
789 static DecodeStatus DecodeGuestRegs64RegisterClass(MCInst &Inst, unsigned RegNo,