1 | //===-- PPC64LE_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_PPC64LE_DWARF_REGISTERS_H |
10 | #define LLDB_SOURCE_UTILITY_PPC64LE_DWARF_REGISTERS_H |
11 | |
12 | #include "lldb/lldb-private.h" |
13 | |
14 | namespace ppc64le_dwarf { |
15 | |
16 | enum { |
17 | dwarf_r0_ppc64le = 0, |
18 | dwarf_r1_ppc64le, |
19 | dwarf_r2_ppc64le, |
20 | dwarf_r3_ppc64le, |
21 | dwarf_r4_ppc64le, |
22 | dwarf_r5_ppc64le, |
23 | dwarf_r6_ppc64le, |
24 | dwarf_r7_ppc64le, |
25 | dwarf_r8_ppc64le, |
26 | dwarf_r9_ppc64le, |
27 | dwarf_r10_ppc64le, |
28 | dwarf_r11_ppc64le, |
29 | dwarf_r12_ppc64le, |
30 | dwarf_r13_ppc64le, |
31 | dwarf_r14_ppc64le, |
32 | dwarf_r15_ppc64le, |
33 | dwarf_r16_ppc64le, |
34 | dwarf_r17_ppc64le, |
35 | dwarf_r18_ppc64le, |
36 | dwarf_r19_ppc64le, |
37 | dwarf_r20_ppc64le, |
38 | dwarf_r21_ppc64le, |
39 | dwarf_r22_ppc64le, |
40 | dwarf_r23_ppc64le, |
41 | dwarf_r24_ppc64le, |
42 | dwarf_r25_ppc64le, |
43 | dwarf_r26_ppc64le, |
44 | dwarf_r27_ppc64le, |
45 | dwarf_r28_ppc64le, |
46 | dwarf_r29_ppc64le, |
47 | dwarf_r30_ppc64le, |
48 | dwarf_r31_ppc64le, |
49 | dwarf_f0_ppc64le, |
50 | dwarf_f1_ppc64le, |
51 | dwarf_f2_ppc64le, |
52 | dwarf_f3_ppc64le, |
53 | dwarf_f4_ppc64le, |
54 | dwarf_f5_ppc64le, |
55 | dwarf_f6_ppc64le, |
56 | dwarf_f7_ppc64le, |
57 | dwarf_f8_ppc64le, |
58 | dwarf_f9_ppc64le, |
59 | dwarf_f10_ppc64le, |
60 | dwarf_f11_ppc64le, |
61 | dwarf_f12_ppc64le, |
62 | dwarf_f13_ppc64le, |
63 | dwarf_f14_ppc64le, |
64 | dwarf_f15_ppc64le, |
65 | dwarf_f16_ppc64le, |
66 | dwarf_f17_ppc64le, |
67 | dwarf_f18_ppc64le, |
68 | dwarf_f19_ppc64le, |
69 | dwarf_f20_ppc64le, |
70 | dwarf_f21_ppc64le, |
71 | dwarf_f22_ppc64le, |
72 | dwarf_f23_ppc64le, |
73 | dwarf_f24_ppc64le, |
74 | dwarf_f25_ppc64le, |
75 | dwarf_f26_ppc64le, |
76 | dwarf_f27_ppc64le, |
77 | dwarf_f28_ppc64le, |
78 | dwarf_f29_ppc64le, |
79 | dwarf_f30_ppc64le, |
80 | dwarf_f31_ppc64le, |
81 | dwarf_lr_ppc64le = 65, |
82 | dwarf_ctr_ppc64le, |
83 | dwarf_cr_ppc64le = 68, |
84 | dwarf_xer_ppc64le = 76, |
85 | dwarf_vr0_ppc64le, |
86 | dwarf_vr1_ppc64le, |
87 | dwarf_vr2_ppc64le, |
88 | dwarf_vr3_ppc64le, |
89 | dwarf_vr4_ppc64le, |
90 | dwarf_vr5_ppc64le, |
91 | dwarf_vr6_ppc64le, |
92 | dwarf_vr7_ppc64le, |
93 | dwarf_vr8_ppc64le, |
94 | dwarf_vr9_ppc64le, |
95 | dwarf_vr10_ppc64le, |
96 | dwarf_vr11_ppc64le, |
97 | dwarf_vr12_ppc64le, |
98 | dwarf_vr13_ppc64le, |
99 | dwarf_vr14_ppc64le, |
100 | dwarf_vr15_ppc64le, |
101 | dwarf_vr16_ppc64le, |
102 | dwarf_vr17_ppc64le, |
103 | dwarf_vr18_ppc64le, |
104 | dwarf_vr19_ppc64le, |
105 | dwarf_vr20_ppc64le, |
106 | dwarf_vr21_ppc64le, |
107 | dwarf_vr22_ppc64le, |
108 | dwarf_vr23_ppc64le, |
109 | dwarf_vr24_ppc64le, |
110 | dwarf_vr25_ppc64le, |
111 | dwarf_vr26_ppc64le, |
112 | dwarf_vr27_ppc64le, |
113 | dwarf_vr28_ppc64le, |
114 | dwarf_vr29_ppc64le, |
115 | dwarf_vr30_ppc64le, |
116 | dwarf_vr31_ppc64le, |
117 | dwarf_vscr_ppc64le = 110, |
118 | dwarf_vrsave_ppc64le = 117, |
119 | dwarf_pc_ppc64le, |
120 | dwarf_softe_ppc64le, |
121 | dwarf_trap_ppc64le, |
122 | dwarf_origr3_ppc64le, |
123 | dwarf_fpscr_ppc64le, |
124 | dwarf_msr_ppc64le, |
125 | dwarf_vs0_ppc64le, |
126 | dwarf_vs1_ppc64le, |
127 | dwarf_vs2_ppc64le, |
128 | dwarf_vs3_ppc64le, |
129 | dwarf_vs4_ppc64le, |
130 | dwarf_vs5_ppc64le, |
131 | dwarf_vs6_ppc64le, |
132 | dwarf_vs7_ppc64le, |
133 | dwarf_vs8_ppc64le, |
134 | dwarf_vs9_ppc64le, |
135 | dwarf_vs10_ppc64le, |
136 | dwarf_vs11_ppc64le, |
137 | dwarf_vs12_ppc64le, |
138 | dwarf_vs13_ppc64le, |
139 | dwarf_vs14_ppc64le, |
140 | dwarf_vs15_ppc64le, |
141 | dwarf_vs16_ppc64le, |
142 | dwarf_vs17_ppc64le, |
143 | dwarf_vs18_ppc64le, |
144 | dwarf_vs19_ppc64le, |
145 | dwarf_vs20_ppc64le, |
146 | dwarf_vs21_ppc64le, |
147 | dwarf_vs22_ppc64le, |
148 | dwarf_vs23_ppc64le, |
149 | dwarf_vs24_ppc64le, |
150 | dwarf_vs25_ppc64le, |
151 | dwarf_vs26_ppc64le, |
152 | dwarf_vs27_ppc64le, |
153 | dwarf_vs28_ppc64le, |
154 | dwarf_vs29_ppc64le, |
155 | dwarf_vs30_ppc64le, |
156 | dwarf_vs31_ppc64le, |
157 | dwarf_vs32_ppc64le, |
158 | dwarf_vs33_ppc64le, |
159 | dwarf_vs34_ppc64le, |
160 | dwarf_vs35_ppc64le, |
161 | dwarf_vs36_ppc64le, |
162 | dwarf_vs37_ppc64le, |
163 | dwarf_vs38_ppc64le, |
164 | dwarf_vs39_ppc64le, |
165 | dwarf_vs40_ppc64le, |
166 | dwarf_vs41_ppc64le, |
167 | dwarf_vs42_ppc64le, |
168 | dwarf_vs43_ppc64le, |
169 | dwarf_vs44_ppc64le, |
170 | dwarf_vs45_ppc64le, |
171 | dwarf_vs46_ppc64le, |
172 | dwarf_vs47_ppc64le, |
173 | dwarf_vs48_ppc64le, |
174 | dwarf_vs49_ppc64le, |
175 | dwarf_vs50_ppc64le, |
176 | dwarf_vs51_ppc64le, |
177 | dwarf_vs52_ppc64le, |
178 | dwarf_vs53_ppc64le, |
179 | dwarf_vs54_ppc64le, |
180 | dwarf_vs55_ppc64le, |
181 | dwarf_vs56_ppc64le, |
182 | dwarf_vs57_ppc64le, |
183 | dwarf_vs58_ppc64le, |
184 | dwarf_vs59_ppc64le, |
185 | dwarf_vs60_ppc64le, |
186 | dwarf_vs61_ppc64le, |
187 | dwarf_vs62_ppc64le, |
188 | dwarf_vs63_ppc64le, |
189 | }; |
190 | |
191 | } // namespace ppc64le_dwarf |
192 | |
193 | #endif // LLDB_SOURCE_UTILITY_PPC64LE_DWARF_REGISTERS_H |
194 | |