LLDB mainline
Classes | Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
RegisterInfoPOSIX_riscv64 Class Reference

#include <RegisterInfoPOSIX_riscv64.h>

Inheritance diagram for RegisterInfoPOSIX_riscv64:
Inheritance graph
[legend]

Classes

struct  FPR
 
struct  GPR
 
struct  VPR
 

Public Types

enum  { GPRegSet = 0 , FPRegSet }
 

Public Member Functions

 RegisterInfoPOSIX_riscv64 (const lldb_private::ArchSpec &target_arch, lldb_private::Flags flags)
 
size_t GetGPRSize () const override
 
size_t GetFPRSize () const override
 
const lldb_private::RegisterInfoGetRegisterInfo () const override
 
uint32_t GetRegisterCount () const override
 
const lldb_private::RegisterSetGetRegisterSet (size_t reg_set) const override
 
size_t GetRegisterSetCount () const override
 
size_t GetRegisterSetFromRegisterIndex (uint32_t reg_index) const override
 
- Public Member Functions inherited from lldb_private::RegisterInfoAndSetInterface
 RegisterInfoAndSetInterface (const lldb_private::ArchSpec &target_arch)
 
virtual size_t GetFPRSize () const =0
 
virtual const lldb_private::RegisterSetGetRegisterSet (size_t reg_set) const =0
 
virtual size_t GetRegisterSetCount () const =0
 
virtual size_t GetRegisterSetFromRegisterIndex (uint32_t reg_index) const =0
 
- Public Member Functions inherited from lldb_private::RegisterInfoInterface
 RegisterInfoInterface (const lldb_private::ArchSpec &target_arch)
 
virtual ~RegisterInfoInterface ()=default
 
virtual size_t GetGPRSize () const =0
 
virtual const lldb_private::RegisterInfoGetRegisterInfo () const =0
 
virtual uint32_t GetRegisterCount () const =0
 
virtual uint32_t GetUserRegisterCount () const
 
const lldb_private::ArchSpecGetTargetArchitecture () const
 

Static Public Member Functions

static const lldb_private::RegisterInfoGetRegisterInfoPtr (const lldb_private::ArchSpec &target_arch)
 
static uint32_t GetRegisterInfoCount (const lldb_private::ArchSpec &target_arch)
 

Private Attributes

const lldb_private::RegisterInfom_register_info_p
 
uint32_t m_register_info_count
 

Detailed Description

Definition at line 17 of file RegisterInfoPOSIX_riscv64.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
GPRegSet 
FPRegSet 

Definition at line 26 of file RegisterInfoPOSIX_riscv64.h.

Constructor & Destructor Documentation

◆ RegisterInfoPOSIX_riscv64()

RegisterInfoPOSIX_riscv64::RegisterInfoPOSIX_riscv64 ( const lldb_private::ArchSpec target_arch,
lldb_private::Flags  flags 
)

Definition at line 100 of file RegisterInfoPOSIX_riscv64.cpp.

Member Function Documentation

◆ GetFPRSize()

size_t RegisterInfoPOSIX_riscv64::GetFPRSize ( ) const
overridevirtual

◆ GetGPRSize()

size_t RegisterInfoPOSIX_riscv64::GetGPRSize ( ) const
overridevirtual

◆ GetRegisterCount()

uint32_t RegisterInfoPOSIX_riscv64::GetRegisterCount ( ) const
overridevirtual

◆ GetRegisterInfo()

const lldb_private::RegisterInfo * RegisterInfoPOSIX_riscv64::GetRegisterInfo ( ) const
overridevirtual

Implements lldb_private::RegisterInfoInterface.

Definition at line 119 of file RegisterInfoPOSIX_riscv64.cpp.

References m_register_info_p.

◆ GetRegisterInfoCount()

uint32_t RegisterInfoPOSIX_riscv64::GetRegisterInfoCount ( const lldb_private::ArchSpec target_arch)
static

◆ GetRegisterInfoPtr()

const lldb_private::RegisterInfo * RegisterInfoPOSIX_riscv64::GetRegisterInfoPtr ( const lldb_private::ArchSpec target_arch)
static

◆ GetRegisterSet()

const lldb_private::RegisterSet * RegisterInfoPOSIX_riscv64::GetRegisterSet ( size_t  reg_set) const
overridevirtual

◆ GetRegisterSetCount()

size_t RegisterInfoPOSIX_riscv64::GetRegisterSetCount ( ) const
overridevirtual

Implements lldb_private::RegisterInfoAndSetInterface.

Definition at line 123 of file RegisterInfoPOSIX_riscv64.cpp.

References k_num_register_sets.

Referenced by GetRegisterSet().

◆ GetRegisterSetFromRegisterIndex()

size_t RegisterInfoPOSIX_riscv64::GetRegisterSetFromRegisterIndex ( uint32_t  reg_index) const
overridevirtual

Member Data Documentation

◆ m_register_info_count

uint32_t RegisterInfoPOSIX_riscv64::m_register_info_count
private

Definition at line 63 of file RegisterInfoPOSIX_riscv64.h.

Referenced by GetRegisterCount().

◆ m_register_info_p

const lldb_private::RegisterInfo* RegisterInfoPOSIX_riscv64::m_register_info_p
private

Definition at line 62 of file RegisterInfoPOSIX_riscv64.h.

Referenced by GetRegisterInfo().


The documentation for this class was generated from the following files: