Lines Matching refs:MCDisassembler
30 typedef MCDisassembler::DecodeStatus DecodeStatus;
33 class RISCVDisassembler : public MCDisassembler {
39 : MCDisassembler(STI, Ctx), MCII(MCII) {} in RISCVDisassembler()
47 static MCDisassembler *createRISCVDisassembler(const Target &T, in createRISCVDisassembler()
65 static_cast<const MCDisassembler *>(Decoder) in DecodeGPRRegisterClass()
71 return MCDisassembler::Fail; in DecodeGPRRegisterClass()
75 return MCDisassembler::Success; in DecodeGPRRegisterClass()
82 return MCDisassembler::Fail; in DecodeFPR16RegisterClass()
86 return MCDisassembler::Success; in DecodeFPR16RegisterClass()
93 return MCDisassembler::Fail; in DecodeFPR32RegisterClass()
97 return MCDisassembler::Success; in DecodeFPR32RegisterClass()
104 return MCDisassembler::Fail; in DecodeFPR32CRegisterClass()
108 return MCDisassembler::Success; in DecodeFPR32CRegisterClass()
115 return MCDisassembler::Fail; in DecodeFPR64RegisterClass()
119 return MCDisassembler::Success; in DecodeFPR64RegisterClass()
126 return MCDisassembler::Fail; in DecodeFPR64CRegisterClass()
130 return MCDisassembler::Success; in DecodeFPR64CRegisterClass()
137 return MCDisassembler::Fail; in DecodeGPRNoX0RegisterClass()
147 return MCDisassembler::Fail; in DecodeGPRNoX0X2RegisterClass()
157 return MCDisassembler::Fail; in DecodeGPRCRegisterClass()
161 return MCDisassembler::Success; in DecodeGPRCRegisterClass()
168 return MCDisassembler::Fail; in DecodeVRRegisterClass()
172 return MCDisassembler::Success; in DecodeVRRegisterClass()
180 return MCDisassembler::Fail; in decodeVMaskReg()
188 return MCDisassembler::Success; in decodeVMaskReg()
215 return MCDisassembler::Success; in decodeUImmOperand()
223 return MCDisassembler::Fail; in decodeUImmNonZeroOperand()
234 return MCDisassembler::Success; in decodeSImmOperand()
242 return MCDisassembler::Fail; in decodeSImmNonZeroOperand()
255 return MCDisassembler::Success; in decodeSImmOperandAndLsl1()
266 return MCDisassembler::Success; in decodeCLUIImmOperand()
274 return MCDisassembler::Fail; in decodeFRMArg()
277 return MCDisassembler::Success; in decodeFRMArg()
305 assert(Result == MCDisassembler::Success && "Invalid immediate"); in decodeRVCInstrSImm()
306 return MCDisassembler::Success; in decodeRVCInstrSImm()
317 assert(Result == MCDisassembler::Success && "Invalid immediate"); in decodeRVCInstrRdSImm()
318 return MCDisassembler::Success; in decodeRVCInstrRdSImm()
330 assert(Result == MCDisassembler::Success && "Invalid immediate"); in decodeRVCInstrRdRs1UImm()
331 return MCDisassembler::Success; in decodeRVCInstrRdRs1UImm()
340 return MCDisassembler::Success; in decodeRVCInstrRdRs2()
351 return MCDisassembler::Success; in decodeRVCInstrRdRs1Rs2()
367 return MCDisassembler::Fail; in getInstruction()
376 return MCDisassembler::Fail; in getInstruction()
386 if (Result != MCDisassembler::Fail) { in getInstruction()
399 if (Result != MCDisassembler::Fail) { in getInstruction()