1 | //===-- PPC64_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_PPC64_DWARF_REGISTERS_H |
10 | #define LLDB_SOURCE_UTILITY_PPC64_DWARF_REGISTERS_H |
11 | |
12 | #include "lldb/lldb-private.h" |
13 | |
14 | namespace ppc64_dwarf { |
15 | |
16 | enum { |
17 | dwarf_r0_ppc64 = 0, |
18 | dwarf_r1_ppc64, |
19 | dwarf_r2_ppc64, |
20 | dwarf_r3_ppc64, |
21 | dwarf_r4_ppc64, |
22 | dwarf_r5_ppc64, |
23 | dwarf_r6_ppc64, |
24 | dwarf_r7_ppc64, |
25 | dwarf_r8_ppc64, |
26 | dwarf_r9_ppc64, |
27 | dwarf_r10_ppc64, |
28 | dwarf_r11_ppc64, |
29 | dwarf_r12_ppc64, |
30 | dwarf_r13_ppc64, |
31 | dwarf_r14_ppc64, |
32 | dwarf_r15_ppc64, |
33 | dwarf_r16_ppc64, |
34 | dwarf_r17_ppc64, |
35 | dwarf_r18_ppc64, |
36 | dwarf_r19_ppc64, |
37 | dwarf_r20_ppc64, |
38 | dwarf_r21_ppc64, |
39 | dwarf_r22_ppc64, |
40 | dwarf_r23_ppc64, |
41 | dwarf_r24_ppc64, |
42 | dwarf_r25_ppc64, |
43 | dwarf_r26_ppc64, |
44 | dwarf_r27_ppc64, |
45 | dwarf_r28_ppc64, |
46 | dwarf_r29_ppc64, |
47 | dwarf_r30_ppc64, |
48 | dwarf_r31_ppc64, |
49 | dwarf_f0_ppc64, |
50 | dwarf_f1_ppc64, |
51 | dwarf_f2_ppc64, |
52 | dwarf_f3_ppc64, |
53 | dwarf_f4_ppc64, |
54 | dwarf_f5_ppc64, |
55 | dwarf_f6_ppc64, |
56 | dwarf_f7_ppc64, |
57 | dwarf_f8_ppc64, |
58 | dwarf_f9_ppc64, |
59 | dwarf_f10_ppc64, |
60 | dwarf_f11_ppc64, |
61 | dwarf_f12_ppc64, |
62 | dwarf_f13_ppc64, |
63 | dwarf_f14_ppc64, |
64 | dwarf_f15_ppc64, |
65 | dwarf_f16_ppc64, |
66 | dwarf_f17_ppc64, |
67 | dwarf_f18_ppc64, |
68 | dwarf_f19_ppc64, |
69 | dwarf_f20_ppc64, |
70 | dwarf_f21_ppc64, |
71 | dwarf_f22_ppc64, |
72 | dwarf_f23_ppc64, |
73 | dwarf_f24_ppc64, |
74 | dwarf_f25_ppc64, |
75 | dwarf_f26_ppc64, |
76 | dwarf_f27_ppc64, |
77 | dwarf_f28_ppc64, |
78 | dwarf_f29_ppc64, |
79 | dwarf_f30_ppc64, |
80 | dwarf_f31_ppc64, |
81 | dwarf_cr_ppc64 = 64, |
82 | dwarf_fpscr_ppc64, |
83 | dwarf_msr_ppc64, |
84 | dwarf_xer_ppc64 = 100, |
85 | dwarf_lr_ppc64 = 108, |
86 | dwarf_ctr_ppc64, |
87 | dwarf_vscr_ppc64, |
88 | dwarf_vrsave_ppc64 = 356, |
89 | dwarf_pc_ppc64, |
90 | dwarf_vr0_ppc64 = 1124, |
91 | dwarf_vr1_ppc64, |
92 | dwarf_vr2_ppc64, |
93 | dwarf_vr3_ppc64, |
94 | dwarf_vr4_ppc64, |
95 | dwarf_vr5_ppc64, |
96 | dwarf_vr6_ppc64, |
97 | dwarf_vr7_ppc64, |
98 | dwarf_vr8_ppc64, |
99 | dwarf_vr9_ppc64, |
100 | dwarf_vr10_ppc64, |
101 | dwarf_vr11_ppc64, |
102 | dwarf_vr12_ppc64, |
103 | dwarf_vr13_ppc64, |
104 | dwarf_vr14_ppc64, |
105 | dwarf_vr15_ppc64, |
106 | dwarf_vr16_ppc64, |
107 | dwarf_vr17_ppc64, |
108 | dwarf_vr18_ppc64, |
109 | dwarf_vr19_ppc64, |
110 | dwarf_vr20_ppc64, |
111 | dwarf_vr21_ppc64, |
112 | dwarf_vr22_ppc64, |
113 | dwarf_vr23_ppc64, |
114 | dwarf_vr24_ppc64, |
115 | dwarf_vr25_ppc64, |
116 | dwarf_vr26_ppc64, |
117 | dwarf_vr27_ppc64, |
118 | dwarf_vr28_ppc64, |
119 | dwarf_vr29_ppc64, |
120 | dwarf_vr30_ppc64, |
121 | dwarf_vr31_ppc64, |
122 | }; |
123 | |
124 | } // namespace ppc64_dwarf |
125 | |
126 | #endif // LLDB_SOURCE_UTILITY_PPC64_DWARF_REGISTERS_H |
127 | |