1 //===-- EDInfo.h - LLVM Enhanced Disassembler -------------------*- 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 //===----------------------------------------------------------------------===//
14 EDIS_MAX_OPERANDS
= 13,
20 kOperandTypeImmediate
,
22 kOperandTypeX86Memory
,
23 kOperandTypeX86EffectiveAddress
,
24 kOperandTypeX86PCRelative
,
25 kOperandTypeARMBranchTarget
,
28 kOperandTypeARMSoImm2Part
,
29 kOperandTypeARMPredicate
,
30 kOperandTypeARMAddrMode2
,
31 kOperandTypeARMAddrMode2Offset
,
32 kOperandTypeARMAddrMode3
,
33 kOperandTypeARMAddrMode3Offset
,
34 kOperandTypeARMAddrMode4
,
35 kOperandTypeARMAddrMode5
,
36 kOperandTypeARMAddrMode6
,
37 kOperandTypeARMAddrMode6Offset
,
38 kOperandTypeARMAddrMode7
,
39 kOperandTypeARMAddrModePC
,
40 kOperandTypeARMRegisterList
,
41 kOperandTypeARMTBAddrMode
,
42 kOperandTypeThumbITMask
,
43 kOperandTypeThumbAddrModeS1
,
44 kOperandTypeThumbAddrModeS2
,
45 kOperandTypeThumbAddrModeS4
,
46 kOperandTypeThumbAddrModeRR
,
47 kOperandTypeThumbAddrModeSP
,
48 kOperandTypeThumb2SoReg
,
49 kOperandTypeThumb2SoImm
,
50 kOperandTypeThumb2AddrModeImm8
,
51 kOperandTypeThumb2AddrModeImm8Offset
,
52 kOperandTypeThumb2AddrModeImm12
,
53 kOperandTypeThumb2AddrModeSoReg
,
54 kOperandTypeThumb2AddrModeImm8s4
,
55 kOperandTypeThumb2AddrModeImm8s4Offset
,
56 kOperandTypeThumb2AddrModeReg
60 kOperandFlagSource
= 0x1,
61 kOperandFlagTarget
= 0x2
64 enum InstructionTypes
{
67 kInstructionTypeBranch
,
71 kInstructionTypeReturn