1 //===-- lldb-ppc64le-register-enums.h ---------------------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 #ifndef LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_LLDB_PPC64LE_REGISTER_ENUMS_H
10 #define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_LLDB_PPC64LE_REGISTER_ENUMS_H
12 // LLDB register codes (e.g. RegisterKind == eRegisterKindLLDB)
14 // Internal codes for all ppc64le registers.
17 gpr_r0_ppc64le
= k_first_gpr_ppc64le
,
58 k_last_gpr_ppc64le
= gpr_trap_ppc64le
,
61 fpr_f0_ppc64le
= k_first_fpr_ppc64le
,
94 k_last_fpr_ppc64le
= fpr_fpscr_ppc64le
,
97 vmx_vr0_ppc64le
= k_first_vmx_ppc64le
,
131 k_last_vmx_ppc64le
= vmx_vrsave_ppc64le
,
134 vsx_vs0_ppc64le
= k_first_vsx_ppc64le
,
198 k_last_vsx_ppc64le
= vsx_vs63_ppc64le
,
200 k_num_registers_ppc64le
,
201 k_num_gpr_registers_ppc64le
= k_last_gpr_ppc64le
- k_first_gpr_ppc64le
+ 1,
202 k_num_fpr_registers_ppc64le
= k_last_fpr_ppc64le
- k_first_fpr_ppc64le
+ 1,
203 k_num_vmx_registers_ppc64le
= k_last_vmx_ppc64le
- k_first_vmx_ppc64le
+ 1,
204 k_num_vsx_registers_ppc64le
= k_last_vsx_ppc64le
- k_first_vsx_ppc64le
+ 1,
207 #endif // LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_LLDB_PPC64LE_REGISTER_ENUMS_H