LLDB  mainline
ARM64_DWARF_Registers.h
Go to the documentation of this file.
1 //===-- ARM64_DWARF_Registers.h ---------------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLDB_SOURCE_UTILITY_ARM64_DWARF_REGISTERS_H
10 #define LLDB_SOURCE_UTILITY_ARM64_DWARF_REGISTERS_H
11 
12 #include "lldb/lldb-private.h"
13 
14 namespace arm64_dwarf {
15 
16 enum {
17  x0 = 0,
18  x1,
19  x2,
20  x3,
21  x4,
22  x5,
23  x6,
24  x7,
25  x8,
26  x9,
27  x10,
28  x11,
29  x12,
30  x13,
31  x14,
32  x15,
33  x16,
34  x17,
35  x18,
36  x19,
37  x20,
38  x21,
39  x22,
40  x23,
41  x24,
42  x25,
43  x26,
44  x27,
45  x28,
46  x29 = 29,
47  fp = x29,
48  x30 = 30,
49  lr = x30,
50  x31 = 31,
51  sp = x31,
52  pc = 32,
53  cpsr = 33,
54  // 34-45 reserved
55 
56  // 64-bit SVE Vector granule pseudo register
57  vg = 46,
58 
59  // VG ́8-bit SVE first fault register
60  ffr = 47,
61 
62  // VG x ́8-bit SVE predicate registers
63  p0 = 48,
64  p1,
65  p2,
66  p3,
67  p4,
68  p5,
69  p6,
70  p7,
71  p8,
72  p9,
73  p10,
74  p11,
75  p12,
76  p13,
77  p14,
78  p15,
79 
80  // V0-V31 (128 bit vector registers)
81  v0 = 64,
82  v1,
83  v2,
84  v3,
85  v4,
86  v5,
87  v6,
88  v7,
89  v8,
90  v9,
91  v10,
92  v11,
93  v12,
94  v13,
95  v14,
96  v15,
97  v16,
98  v17,
99  v18,
113 
114  // VG ́64-bit SVE vector registers
115  z0 = 96,
116  z1,
117  z2,
118  z3,
119  z4,
120  z5,
121  z6,
122  z7,
123  z8,
124  z9,
147 };
148 
149 } // namespace arm64_dwarf
150 
151 #endif // LLDB_SOURCE_UTILITY_ARM64_DWARF_REGISTERS_H
arm64_dwarf::v5
@ v5
Definition: ARM64_DWARF_Registers.h:86
arm64_dwarf::fp
@ fp
Definition: ARM64_DWARF_Registers.h:47
arm64_dwarf::x27
@ x27
Definition: ARM64_DWARF_Registers.h:44
arm64_dwarf::z21
@ z21
Definition: ARM64_DWARF_Registers.h:136
arm64_dwarf::v15
@ v15
Definition: ARM64_DWARF_Registers.h:96
arm64_dwarf::z23
@ z23
Definition: ARM64_DWARF_Registers.h:138
arm64_dwarf::z1
@ z1
Definition: ARM64_DWARF_Registers.h:116
arm64_dwarf::x9
@ x9
Definition: ARM64_DWARF_Registers.h:26
arm64_dwarf::pc
@ pc
Definition: ARM64_DWARF_Registers.h:52
arm64_dwarf::x6
@ x6
Definition: ARM64_DWARF_Registers.h:23
arm64_dwarf::z26
@ z26
Definition: ARM64_DWARF_Registers.h:141
arm64_dwarf::z13
@ z13
Definition: ARM64_DWARF_Registers.h:128
arm64_dwarf::v20
@ v20
Definition: ARM64_DWARF_Registers.h:101
arm64_dwarf::p9
@ p9
Definition: ARM64_DWARF_Registers.h:72
arm64_dwarf::x31
@ x31
Definition: ARM64_DWARF_Registers.h:50
arm64_dwarf::z29
@ z29
Definition: ARM64_DWARF_Registers.h:144
arm64_dwarf::lr
@ lr
Definition: ARM64_DWARF_Registers.h:49
arm64_dwarf::x29
@ x29
Definition: ARM64_DWARF_Registers.h:46
arm64_dwarf::z20
@ z20
Definition: ARM64_DWARF_Registers.h:135
arm64_dwarf::v22
@ v22
Definition: ARM64_DWARF_Registers.h:103
arm64_dwarf::x28
@ x28
Definition: ARM64_DWARF_Registers.h:45
arm64_dwarf::z15
@ z15
Definition: ARM64_DWARF_Registers.h:130
arm64_dwarf::p11
@ p11
Definition: ARM64_DWARF_Registers.h:74
arm64_dwarf::x15
@ x15
Definition: ARM64_DWARF_Registers.h:32
arm64_dwarf::v16
@ v16
Definition: ARM64_DWARF_Registers.h:97
arm64_dwarf::z3
@ z3
Definition: ARM64_DWARF_Registers.h:118
arm64_dwarf::v14
@ v14
Definition: ARM64_DWARF_Registers.h:95
arm64_dwarf::p13
@ p13
Definition: ARM64_DWARF_Registers.h:76
arm64_dwarf::x4
@ x4
Definition: ARM64_DWARF_Registers.h:21
arm64_dwarf::p12
@ p12
Definition: ARM64_DWARF_Registers.h:75
arm64_dwarf::p0
@ p0
Definition: ARM64_DWARF_Registers.h:63
arm64_dwarf::z24
@ z24
Definition: ARM64_DWARF_Registers.h:139
arm64_dwarf::z16
@ z16
Definition: ARM64_DWARF_Registers.h:131
arm64_dwarf::x2
@ x2
Definition: ARM64_DWARF_Registers.h:19
arm64_dwarf::x20
@ x20
Definition: ARM64_DWARF_Registers.h:37
arm64_dwarf::x3
@ x3
Definition: ARM64_DWARF_Registers.h:20
arm64_dwarf::z27
@ z27
Definition: ARM64_DWARF_Registers.h:142
arm64_dwarf::x5
@ x5
Definition: ARM64_DWARF_Registers.h:22
arm64_dwarf::p8
@ p8
Definition: ARM64_DWARF_Registers.h:71
arm64_dwarf::v24
@ v24
Definition: ARM64_DWARF_Registers.h:105
arm64_dwarf::z17
@ z17
Definition: ARM64_DWARF_Registers.h:132
arm64_dwarf::x22
@ x22
Definition: ARM64_DWARF_Registers.h:39
arm64_dwarf::v27
@ v27
Definition: ARM64_DWARF_Registers.h:108
arm64_dwarf::v31
@ v31
Definition: ARM64_DWARF_Registers.h:112
arm64_dwarf::x24
@ x24
Definition: ARM64_DWARF_Registers.h:41
arm64_dwarf::p1
@ p1
Definition: ARM64_DWARF_Registers.h:64
arm64_dwarf::x8
@ x8
Definition: ARM64_DWARF_Registers.h:25
arm64_dwarf::x30
@ x30
Definition: ARM64_DWARF_Registers.h:48
arm64_dwarf::p3
@ p3
Definition: ARM64_DWARF_Registers.h:66
arm64_dwarf::v11
@ v11
Definition: ARM64_DWARF_Registers.h:92
arm64_dwarf::x16
@ x16
Definition: ARM64_DWARF_Registers.h:33
arm64_dwarf::p6
@ p6
Definition: ARM64_DWARF_Registers.h:69
arm64_dwarf::x14
@ x14
Definition: ARM64_DWARF_Registers.h:31
arm64_dwarf::x18
@ x18
Definition: ARM64_DWARF_Registers.h:35
arm64_dwarf::v6
@ v6
Definition: ARM64_DWARF_Registers.h:87
arm64_dwarf::z6
@ z6
Definition: ARM64_DWARF_Registers.h:121
arm64_dwarf::x17
@ x17
Definition: ARM64_DWARF_Registers.h:34
arm64_dwarf::v10
@ v10
Definition: ARM64_DWARF_Registers.h:91
arm64_dwarf::p2
@ p2
Definition: ARM64_DWARF_Registers.h:65
arm64_dwarf::z14
@ z14
Definition: ARM64_DWARF_Registers.h:129
arm64_dwarf::v18
@ v18
Definition: ARM64_DWARF_Registers.h:99
arm64_dwarf::z7
@ z7
Definition: ARM64_DWARF_Registers.h:122
arm64_dwarf::v23
@ v23
Definition: ARM64_DWARF_Registers.h:104
arm64_dwarf::z18
@ z18
Definition: ARM64_DWARF_Registers.h:133
arm64_dwarf::cpsr
@ cpsr
Definition: ARM64_DWARF_Registers.h:53
arm64_dwarf::p10
@ p10
Definition: ARM64_DWARF_Registers.h:73
arm64_dwarf::v9
@ v9
Definition: ARM64_DWARF_Registers.h:90
arm64_dwarf::z25
@ z25
Definition: ARM64_DWARF_Registers.h:140
arm64_dwarf::z12
@ z12
Definition: ARM64_DWARF_Registers.h:127
arm64_dwarf::v19
@ v19
Definition: ARM64_DWARF_Registers.h:100
arm64_dwarf::z28
@ z28
Definition: ARM64_DWARF_Registers.h:143
arm64_dwarf::v21
@ v21
Definition: ARM64_DWARF_Registers.h:102
arm64_dwarf::x10
@ x10
Definition: ARM64_DWARF_Registers.h:27
arm64_dwarf::z22
@ z22
Definition: ARM64_DWARF_Registers.h:137
arm64_dwarf::vg
@ vg
Definition: ARM64_DWARF_Registers.h:57
arm64_dwarf::z19
@ z19
Definition: ARM64_DWARF_Registers.h:134
arm64_dwarf::z5
@ z5
Definition: ARM64_DWARF_Registers.h:120
arm64_dwarf::v30
@ v30
Definition: ARM64_DWARF_Registers.h:111
arm64_dwarf::x13
@ x13
Definition: ARM64_DWARF_Registers.h:30
arm64_dwarf::x1
@ x1
Definition: ARM64_DWARF_Registers.h:18
arm64_dwarf::z2
@ z2
Definition: ARM64_DWARF_Registers.h:117
lldb-private.h
arm64_dwarf::v28
@ v28
Definition: ARM64_DWARF_Registers.h:109
arm64_dwarf::v17
@ v17
Definition: ARM64_DWARF_Registers.h:98
arm64_dwarf::z10
@ z10
Definition: ARM64_DWARF_Registers.h:125
arm64_dwarf::x0
@ x0
Definition: ARM64_DWARF_Registers.h:17
arm64_dwarf::sp
@ sp
Definition: ARM64_DWARF_Registers.h:51
arm64_dwarf::v2
@ v2
Definition: ARM64_DWARF_Registers.h:83
arm64_dwarf::x23
@ x23
Definition: ARM64_DWARF_Registers.h:40
arm64_dwarf::x7
@ x7
Definition: ARM64_DWARF_Registers.h:24
arm64_dwarf::x26
@ x26
Definition: ARM64_DWARF_Registers.h:43
arm64_dwarf::v12
@ v12
Definition: ARM64_DWARF_Registers.h:93
arm64_dwarf::v25
@ v25
Definition: ARM64_DWARF_Registers.h:106
arm64_dwarf::z11
@ z11
Definition: ARM64_DWARF_Registers.h:126
arm64_dwarf::z31
@ z31
Definition: ARM64_DWARF_Registers.h:146
arm64_dwarf::p15
@ p15
Definition: ARM64_DWARF_Registers.h:78
arm64_dwarf::z0
@ z0
Definition: ARM64_DWARF_Registers.h:115
arm64_dwarf::z4
@ z4
Definition: ARM64_DWARF_Registers.h:119
arm64_dwarf::p7
@ p7
Definition: ARM64_DWARF_Registers.h:70
arm64_dwarf::v4
@ v4
Definition: ARM64_DWARF_Registers.h:85
arm64_dwarf::v3
@ v3
Definition: ARM64_DWARF_Registers.h:84
arm64_dwarf::z30
@ z30
Definition: ARM64_DWARF_Registers.h:145
arm64_dwarf::v1
@ v1
Definition: ARM64_DWARF_Registers.h:82
arm64_dwarf::v0
@ v0
Definition: ARM64_DWARF_Registers.h:81
arm64_dwarf::v13
@ v13
Definition: ARM64_DWARF_Registers.h:94
arm64_dwarf::p5
@ p5
Definition: ARM64_DWARF_Registers.h:68
arm64_dwarf::v26
@ v26
Definition: ARM64_DWARF_Registers.h:107
arm64_dwarf::v29
@ v29
Definition: ARM64_DWARF_Registers.h:110
arm64_dwarf::x25
@ x25
Definition: ARM64_DWARF_Registers.h:42
arm64_dwarf
Definition: ARM64_DWARF_Registers.h:14
arm64_dwarf::z9
@ z9
Definition: ARM64_DWARF_Registers.h:124
arm64_dwarf::z8
@ z8
Definition: ARM64_DWARF_Registers.h:123
arm64_dwarf::v7
@ v7
Definition: ARM64_DWARF_Registers.h:88
arm64_dwarf::ffr
@ ffr
Definition: ARM64_DWARF_Registers.h:60
arm64_dwarf::x11
@ x11
Definition: ARM64_DWARF_Registers.h:28
arm64_dwarf::v8
@ v8
Definition: ARM64_DWARF_Registers.h:89
arm64_dwarf::p14
@ p14
Definition: ARM64_DWARF_Registers.h:77
arm64_dwarf::x21
@ x21
Definition: ARM64_DWARF_Registers.h:38
arm64_dwarf::x12
@ x12
Definition: ARM64_DWARF_Registers.h:29
arm64_dwarf::x19
@ x19
Definition: ARM64_DWARF_Registers.h:36
arm64_dwarf::p4
@ p4
Definition: ARM64_DWARF_Registers.h:67