2010-04-13 21:21:57 +00:00
|
|
|
//===-- llvm/MC/EDInstInfo.h - EDis instruction info ------------*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef EDINSTINFO_H
|
|
|
|
#define EDINSTINFO_H
|
|
|
|
|
2010-11-29 18:16:10 +00:00
|
|
|
#include "llvm/Support/DataTypes.h"
|
2010-04-13 21:21:57 +00:00
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
|
|
|
#define EDIS_MAX_OPERANDS 13
|
|
|
|
#define EDIS_MAX_SYNTAXES 2
|
|
|
|
|
|
|
|
struct EDInstInfo {
|
|
|
|
uint8_t instructionType;
|
|
|
|
uint8_t numOperands;
|
|
|
|
uint8_t operandTypes[EDIS_MAX_OPERANDS];
|
|
|
|
uint8_t operandFlags[EDIS_MAX_OPERANDS];
|
2011-08-30 20:53:29 +00:00
|
|
|
const signed char operandOrders[EDIS_MAX_SYNTAXES][EDIS_MAX_OPERANDS];
|
2010-04-13 21:21:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace llvm
|
|
|
|
|
|
|
|
#endif
|