LLDB mainline
|
#include <RegisterInfoPOSIX_riscv64.h>
Classes | |
struct | FPR |
struct | GPR |
struct | VPR |
Public Types | |
enum | { GPRegSet = 0 } |
enum | { eRegsetMaskDefault = 0 , eRegsetMaskFP = 1 , eRegsetMaskAll = -1 } |
Private Attributes | |
std::vector< lldb_private::RegisterInfo > | m_register_infos |
std::vector< lldb_private::RegisterSet > | m_register_sets |
std::map< uint32_t, std::pair< uint32_t, uint32_t > > | m_per_regset_regnum_range |
std::vector< uint32_t > | m_fp_regnum_collection |
lldb_private::Flags | m_opt_regsets |
Definition at line 18 of file RegisterInfoPOSIX_riscv64.h.
anonymous enum |
Enumerator | |
---|---|
GPRegSet |
Definition at line 21 of file RegisterInfoPOSIX_riscv64.h.
anonymous enum |
Enumerator | |
---|---|
eRegsetMaskDefault | |
eRegsetMaskFP | |
eRegsetMaskAll |
Definition at line 24 of file RegisterInfoPOSIX_riscv64.h.
RegisterInfoPOSIX_riscv64::RegisterInfoPOSIX_riscv64 | ( | const lldb_private::ArchSpec & | target_arch, |
lldb_private::Flags | opt_regsets ) |
Definition at line 55 of file RegisterInfoPOSIX_riscv64.cpp.
References lldb_private::ArchSpec::GetMachine(), m_opt_regsets, and lldb_private::RegisterInfoAndSetInterface::RegisterInfoAndSetInterface().
void RegisterInfoPOSIX_riscv64::AddRegSetFP | ( | ) |
Definition at line 85 of file RegisterInfoPOSIX_riscv64.cpp.
References g_reg_set_fpr_riscv64, k_num_fpr_registers, m_fp_regnum_collection, m_per_regset_regnum_range, m_register_infos, and m_register_sets.
void RegisterInfoPOSIX_riscv64::AddRegSetGP | ( | ) |
Definition at line 75 of file RegisterInfoPOSIX_riscv64.cpp.
References g_reg_set_gpr_riscv64, gpr_first_riscv, GPRegSet, k_num_gpr_registers, m_per_regset_regnum_range, m_register_infos, and m_register_sets.
|
overridevirtual |
Implements lldb_private::RegisterInfoAndSetInterface.
Definition at line 117 of file RegisterInfoPOSIX_riscv64.cpp.
|
overridevirtual |
Implements lldb_private::RegisterInfoInterface.
Definition at line 113 of file RegisterInfoPOSIX_riscv64.cpp.
|
overridevirtual |
Implements lldb_private::RegisterInfoInterface.
Definition at line 109 of file RegisterInfoPOSIX_riscv64.cpp.
References m_register_infos.
Referenced by lldb_private::EmulateInstructionRISCV::GetRegisterInfo().
|
overridevirtual |
Implements lldb_private::RegisterInfoInterface.
Definition at line 122 of file RegisterInfoPOSIX_riscv64.cpp.
References m_register_infos.
Referenced by lldb_private::EmulateInstructionRISCV::GetRegisterInfo().
|
overridevirtual |
Implements lldb_private::RegisterInfoAndSetInterface.
Definition at line 145 of file RegisterInfoPOSIX_riscv64.cpp.
References GetRegisterSetCount(), and m_register_sets.
|
overridevirtual |
Implements lldb_private::RegisterInfoAndSetInterface.
Definition at line 126 of file RegisterInfoPOSIX_riscv64.cpp.
References m_register_sets.
Referenced by GetRegisterSet().
|
overridevirtual |
Implements lldb_private::RegisterInfoAndSetInterface.
Definition at line 130 of file RegisterInfoPOSIX_riscv64.cpp.
References LLDB_INVALID_REGNUM, and m_per_regset_regnum_range.
|
inline |
Definition at line 67 of file RegisterInfoPOSIX_riscv64.h.
References eRegsetMaskFP, and m_opt_regsets.
bool RegisterInfoPOSIX_riscv64::IsFPReg | ( | unsigned | reg | ) | const |
Definition at line 140 of file RegisterInfoPOSIX_riscv64.cpp.
References m_fp_regnum_collection.
|
private |
Definition at line 81 of file RegisterInfoPOSIX_riscv64.h.
Referenced by AddRegSetFP(), and IsFPReg().
|
private |
Definition at line 83 of file RegisterInfoPOSIX_riscv64.h.
Referenced by IsFPPresent(), and RegisterInfoPOSIX_riscv64().
|
private |
Definition at line 78 of file RegisterInfoPOSIX_riscv64.h.
Referenced by AddRegSetFP(), AddRegSetGP(), and GetRegisterSetFromRegisterIndex().
|
private |
Definition at line 72 of file RegisterInfoPOSIX_riscv64.h.
Referenced by AddRegSetFP(), AddRegSetGP(), GetRegisterCount(), and GetRegisterInfo().
|
private |
Definition at line 74 of file RegisterInfoPOSIX_riscv64.h.
Referenced by AddRegSetFP(), AddRegSetGP(), GetRegisterSet(), and GetRegisterSetCount().