1 //===-- llvm/MC/EDInstInfo.h - EDis instruction info ------------*- C++ -*-===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 #ifndef EDINSTINFO_H 10 #define EDINSTINFO_H 11 12 #include "llvm/Support/DataTypes.h" 13 14 namespace llvm { 15 16 #define EDIS_MAX_OPERANDS 13 17 #define EDIS_MAX_SYNTAXES 2 18 19 struct EDInstInfo { 20 uint8_t instructionType; 21 uint8_t numOperands; 22 uint8_t operandTypes[EDIS_MAX_OPERANDS]; 23 uint8_t operandFlags[EDIS_MAX_OPERANDS]; 24 const signed char operandOrders[EDIS_MAX_SYNTAXES][EDIS_MAX_OPERANDS]; 25 }; 26 27 } // namespace llvm 28 29 #endif 30