You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
782 B
29 lines
782 B
//===-- 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
|
|
|
|
#include "llvm/Support/DataTypes.h"
|
|
|
|
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];
|
|
const signed char operandOrders[EDIS_MAX_SYNTAXES][EDIS_MAX_OPERANDS];
|
|
};
|
|
|
|
} // namespace llvm
|
|
|
|
#endif
|