LLDB mainline
Macros | Enumerations | Variables
RegisterInfoPOSIX_loongarch64.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_loongarch64.h"
#include "RegisterInfos_loongarch64.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_loongarch64::GPR))
 
#define FCC_OFFSET(idx)   ((idx)*1 + 32 * 8 + sizeof(RegisterInfoPOSIX_loongarch64::GPR))
 
#define FCSR_OFFSET   (8 * 1 + 32 * 8 + sizeof(RegisterInfoPOSIX_loongarch64::GPR))
 
#define REG_CONTEXT_SIZE
 
#define DECLARE_REGISTER_INFOS_LOONGARCH64_STRUCT
 

Enumerations

enum  { k_num_gpr_registers = gpr_last_loongarch - gpr_first_loongarch + 1 , k_num_fpr_registers = fpr_last_loongarch - fpr_first_loongarch + 1 , k_num_register_sets = 2 }
 

Variables

static const uint32_t g_gpr_regnums_loongarch64 []
 
static const uint32_t g_fpr_regnums_loongarch64 []
 
static const lldb_private::RegisterSet g_reg_sets_loongarch64 [k_num_register_sets]
 

Macro Definition Documentation

◆ DECLARE_REGISTER_INFOS_LOONGARCH64_STRUCT

#define DECLARE_REGISTER_INFOS_LOONGARCH64_STRUCT

Definition at line 27 of file RegisterInfoPOSIX_loongarch64.cpp.

◆ FCC_OFFSET

#define FCC_OFFSET (   idx)    ((idx)*1 + 32 * 8 + sizeof(RegisterInfoPOSIX_loongarch64::GPR))

Definition at line 20 of file RegisterInfoPOSIX_loongarch64.cpp.

◆ FCSR_OFFSET

#define FCSR_OFFSET   (8 * 1 + 32 * 8 + sizeof(RegisterInfoPOSIX_loongarch64::GPR))

Definition at line 21 of file RegisterInfoPOSIX_loongarch64.cpp.

◆ FPR_OFFSET

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

Definition at line 19 of file RegisterInfoPOSIX_loongarch64.cpp.

◆ GPR_OFFSET

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

Definition at line 18 of file RegisterInfoPOSIX_loongarch64.cpp.

◆ REG_CONTEXT_SIZE

#define REG_CONTEXT_SIZE

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
k_num_gpr_registers 
k_num_fpr_registers 
k_num_register_sets 

Definition at line 56 of file RegisterInfoPOSIX_loongarch64.cpp.

Variable Documentation

◆ g_fpr_regnums_loongarch64

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

Definition at line 87 of file RegisterInfoPOSIX_loongarch64.cpp.

◆ g_gpr_regnums_loongarch64

const uint32_t g_gpr_regnums_loongarch64[]
static
Initial value:
= {

Definition at line 63 of file RegisterInfoPOSIX_loongarch64.cpp.

◆ g_reg_sets_loongarch64

const lldb_private::RegisterSet g_reg_sets_loongarch64[k_num_register_sets]
static
Initial value:
= {
{"General Purpose Registers", "gpr", k_num_gpr_registers,
{"Floating Point Registers", "fpr", k_num_fpr_registers,
static const uint32_t g_fpr_regnums_loongarch64[]
static const uint32_t g_gpr_regnums_loongarch64[]

Definition at line 110 of file RegisterInfoPOSIX_loongarch64.cpp.

Referenced by RegisterInfoPOSIX_loongarch64::GetRegisterSet().