LLDB mainline
Macros | Enumerations | Variables
RegisterInfoPOSIX_riscv64.cpp File Reference
#include <cassert>
#include <lldb/Utility/Flags.h>
#include <stddef.h>
#include "lldb/lldb-defines.h"
#include "llvm/Support/Compiler.h"
#include "RegisterInfoPOSIX_riscv64.h"
#include "RegisterInfos_riscv64.h"

Go to the source code of this file.

Macros

#define GPR_OFFSET(idx)   ((idx)*8 + 0)
 
#define FPR_OFFSET(idx)   ((idx)*8 + sizeof(RegisterInfoPOSIX_riscv64::GPR))
 
#define DECLARE_REGISTER_INFOS_RISCV64_STRUCT
 

Enumerations

enum  { k_num_gpr_registers = gpr_last_riscv - gpr_first_riscv + 1 , k_num_fpr_registers = fpr_last_riscv - fpr_first_riscv + 1 , k_num_register_sets_default = 1 }
 

Variables

static const uint32_t g_gpr_regnums_riscv64 []
 
static const lldb_private::RegisterSet g_reg_set_gpr_riscv64
 
static const lldb_private::RegisterSet g_reg_set_fpr_riscv64
 

Macro Definition Documentation

◆ DECLARE_REGISTER_INFOS_RISCV64_STRUCT

#define DECLARE_REGISTER_INFOS_RISCV64_STRUCT

Definition at line 21 of file RegisterInfoPOSIX_riscv64.cpp.

◆ FPR_OFFSET

#define FPR_OFFSET (   idx)    ((idx)*8 + sizeof(RegisterInfoPOSIX_riscv64::GPR))

Definition at line 19 of file RegisterInfoPOSIX_riscv64.cpp.

◆ GPR_OFFSET

#define GPR_OFFSET (   idx)    ((idx)*8 + 0)

Definition at line 18 of file RegisterInfoPOSIX_riscv64.cpp.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
k_num_gpr_registers 
k_num_fpr_registers 
k_num_register_sets_default 

Definition at line 26 of file RegisterInfoPOSIX_riscv64.cpp.

Variable Documentation

◆ g_gpr_regnums_riscv64

const uint32_t g_gpr_regnums_riscv64[]
static
Initial value:
= {
#define LLDB_INVALID_REGNUM
Definition: lldb-defines.h:87

Definition at line 33 of file RegisterInfoPOSIX_riscv64.cpp.

◆ g_reg_set_fpr_riscv64

const lldb_private::RegisterSet g_reg_set_fpr_riscv64
static
Initial value:
= {
"Floating Point Registers", "fpr", k_num_fpr_registers, nullptr}

Definition at line 53 of file RegisterInfoPOSIX_riscv64.cpp.

Referenced by RegisterInfoPOSIX_riscv64::AddRegSetFP().

◆ g_reg_set_gpr_riscv64

const lldb_private::RegisterSet g_reg_set_gpr_riscv64
static
Initial value:
= {
"General Purpose Registers", "gpr", k_num_gpr_registers,
static const uint32_t g_gpr_regnums_riscv64[]

Definition at line 50 of file RegisterInfoPOSIX_riscv64.cpp.

Referenced by RegisterInfoPOSIX_riscv64::AddRegSetGP().