1 //===-- lldb-arm-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_ARM_REGISTER_ENUMS_H
10 #define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_LLDB_ARM_REGISTER_ENUMS_H
12 namespace lldb_private
{
13 // LLDB register codes (e.g. RegisterKind == eRegisterKindLLDB)
15 // Internal codes for all ARM registers.
18 gpr_r0_arm
= k_first_gpr_arm
,
32 gpr_sp_arm
= gpr_r13_arm
,
34 gpr_lr_arm
= gpr_r14_arm
,
36 gpr_pc_arm
= gpr_r15_arm
,
39 k_last_gpr_arm
= gpr_cpsr_arm
,
42 fpu_s0_arm
= k_first_fpr_arm
,
123 k_last_fpr_arm
= fpu_q15_arm
,
194 k_num_gpr_registers_arm
= k_last_gpr_arm
- k_first_gpr_arm
+ 1,
195 k_num_fpr_registers_arm
= k_last_fpr_arm
- k_first_fpr_arm
+ 1
199 #endif // LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_LLDB_ARM_REGISTER_ENUMS_H