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 \
18 InstructionContext insnContext; \
21 InstructionSpecifier() { \
25 modifierType = MODIFIER_NONE; \
27 memset(operands, 0, sizeof(operands)); \
30 #define INSTRUCTION_IDS \
31 InstrUID instructionIDs[256];
33 #include "../../lib/Target/X86/Disassembler/X86DisassemblerDecoderCommon.h"
35 #undef INSTRUCTION_SPECIFIER_FIELDS
36 #undef INSTRUCTION_IDS