~ubuntu-branches/ubuntu/quantal/llvm-3.1/quantal

« back to all changes in this revision

Viewing changes to include/llvm/MC/EDInstInfo.h

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-03-29 19:09:51 UTC
  • Revision ID: package-import@ubuntu.com-20120329190951-aq83ivog4cg8bxun
Tags: upstream-3.1~svn153643
ImportĀ upstreamĀ versionĀ 3.1~svn153643

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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