Debian Codegraph @

arch/X86/X86BaseInfo.h

raw symbols SCIP
1 //===-- X86BaseInfo.h - Top level definitions for X86 -------- --*- C++ -*-===//cxx . . $ `<file>/arch/X86/X86BaseInfo.h`/
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 //
10 // This file contains small standalone helper functions and enum definitions for
11 // the X86 target useful for the compiler back-end and the MC libraries.
12 // As such, it deliberately does not include references to LLVM core
13 // code gen types, passes, etc..
14 //
15 //===----------------------------------------------------------------------===//
16
17 #ifndef CS_X86_BASEINFO_H
18 #define CS_X86_BASEINFO_Hcxx . . $ `arch/X86/X86BaseInfo.h:18:9`!
19
20 /* Capstone Disassembly Engine */
21 /* By Nguyen Anh Quynh <[email protected]>, 2013-2019 */
22
23 // Enums for memory operand decoding. Each memory operand is represented with
24 // a 5 operand sequence in the form:
25 // [BaseReg, ScaleAmt, IndexReg, Disp, Segment]
26 // These enums help decode this.
27 enumcxx . . $ $anonymous_type_a0e93d34045c6f01_0# {
28 X86_AddrBaseRegcxx . . $ X86_AddrBaseReg. = 0,
29 X86_AddrScaleAmtcxx . . $ X86_AddrScaleAmt. = 1,
30 X86_AddrIndexRegcxx . . $ X86_AddrIndexReg. = 2,
31 X86_AddrDispcxx . . $ X86_AddrDisp. = 3,
32
33 /// AddrSegmentReg - The operand # of the segment in the memory operand.
34 X86_AddrSegmentRegcxx . . $ X86_AddrSegmentReg. = 4,
35
36 /// AddrNumOperands - Total number of operands in a memory reference.
37 X86_AddrNumOperandscxx . . $ X86_AddrNumOperands. = 5
38 };
39
40 enum IPREFIXEScxx . . $ IPREFIXES# {
41 X86_IP_NO_PREFIXcxx . . $ X86_IP_NO_PREFIX. = 0,
42 X86_IP_HAS_OP_SIZEcxx . . $ X86_IP_HAS_OP_SIZE. = 1,
43 X86_IP_HAS_AD_SIZEcxx . . $ X86_IP_HAS_AD_SIZE. = 2,
44 X86_IP_HAS_REPEAT_NEcxx . . $ X86_IP_HAS_REPEAT_NE. = 4,
45 X86_IP_HAS_REPEATcxx . . $ X86_IP_HAS_REPEAT. = 8,
46 X86_IP_HAS_LOCKcxx . . $ X86_IP_HAS_LOCK. = 16,
47 X86_IP_HAS_NOTRACKcxx . . $ X86_IP_HAS_NOTRACK. = 64
48 };
49
50 #endif