#ifdef GET_ASSEMBLER_HEADER
#undef GET_ASSEMBLER_HEADER
FeatureBitset ComputeAvailableFeatures(const FeatureBitset &FB) const;
void convertToMCInst(unsigned Kind, MCInst &Inst, unsigned Opcode,
const OperandVector &Operands);
void convertToMapAndConstraints(unsigned Kind,
const OperandVector &Operands) override;
unsigned MatchInstructionImpl(const OperandVector &Operands,
MCInst &Inst,
uint64_t &ErrorInfo,
FeatureBitset &MissingFeatures,
bool matchingInlineAsm,
unsigned VariantID = …MissingFeatures;
return MatchInstructionImpl(Operands, Inst, ErrorInfo, MissingFeatures,
matchingInlineAsm, VariantID);
}
#endif
#ifdef GET_OPERAND_DIAGNOSTIC_TYPES
#undef GET_OPERAND_DIAGNOSTIC_TYPES
Match_InvalidImmUnsignedi4,
END_OPERAND_DIAGNOSTIC_TYPES
#endif
#ifdef GET_REGISTER_MATCHER
#undef GET_REGISTER_MATCHER
enum SubtargetFeatureBits : uint8_t { … }) { … }
switch (VariantID) { … }
case 0:
switch (Mnemonic.size()) { … }
default: break;
case 3:
switch (Mnemonic[0]) { … }
default: break;
case 'c':
switch (Mnemonic[1]) { … }
default: break;
case 'b':
if (Mnemonic[2] != 'w')
break;
Mnemonic = …