1 //===-- lldb-ppc64-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_ppc64_register_enums_h
10 #define lldb_ppc64_register_enums_h
12 // LLDB register codes (e.g. RegisterKind == eRegisterKindLLDB)
14 // Internal codes for all ppc64 registers.
17 gpr_r0_ppc64 = k_first_gpr_ppc64,
55 k_last_gpr_ppc64 = gpr_pc_ppc64,
58 fpr_f0_ppc64 = k_first_fpr_ppc64,
91 k_last_fpr_ppc64 = fpr_fpscr_ppc64,
94 vmx_vr0_ppc64 = k_first_vmx_ppc64,
128 k_last_vmx_ppc64 = vmx_vrsave_ppc64,
130 k_num_registers_ppc64,
131 k_num_gpr_registers_ppc64 = k_last_gpr_ppc64 - k_first_gpr_ppc64 + 1,
132 k_num_fpr_registers_ppc64 = k_last_fpr_ppc64 - k_first_fpr_ppc64 + 1,
133 k_num_vmx_registers_ppc64 = k_last_vmx_ppc64 - k_first_vmx_ppc64 + 1,
136 #endif // #ifndef lldb_ppc64_register_enums_h