1 //===- X86DisassemblerShared.h - Emitter shared header ----------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef X86DISASSEMBLERSHARED_H
11 #define X86DISASSEMBLERSHARED_H
16 #define INSTRUCTION_SPECIFIER_FIELDS \
17 struct OperandSpecifier operands[X86_MAX_OPERANDS]; \
19 InstructionContext insnContext; \
22 InstructionSpecifier() { \
26 modifierType = MODIFIER_NONE; \
28 memset(operands, 0, sizeof(operands)); \
31 #define INSTRUCTION_IDS \
32 InstrUID instructionIDs[256];
34 #include "../../lib/Target/X86/Disassembler/X86DisassemblerDecoderCommon.h"
36 #undef INSTRUCTION_SPECIFIER_FIELDS
37 #undef INSTRUCTION_IDS