12#include "llvm/Support/Compiler.h"
14#ifdef DECLARE_REGISTER_INFOS_MIPS64_STRUCT
17#define GPR_OFFSET(regname) (LLVM_EXTENSION offsetof(GPR_freebsd_mips, regname))
20#define FPR_OFFSET(regname) \
21 (sizeof(GPR_freebsd_mips) + \
22 LLVM_EXTENSION offsetof(FPR_freebsd_mips, regname))
27#define DEFINE_GPR(reg, alt, kind1, kind2, kind3, kind4) \
29 #reg, alt, sizeof(((GPR_freebsd_mips *) 0)->reg), \
30 GPR_OFFSET(reg), eEncodingUint, eFormatHex, \
31 {kind1, kind2, kind3, kind4, \
32 gpr_##reg##_mips64 }, \
36#define DEFINE_FPR(reg, alt, kind1, kind2, kind3) \
38 #reg, alt, sizeof(((FPR_freebsd_mips *) 0)->reg), \
39 FPR_OFFSET(reg), eEncodingIEEE754, eFormatFloat, \
40 {kind1, kind2, kind3, LLDB_INVALID_REGNUM, \
41 fpr_##reg##_mips64 }, \
45#define DEFINE_FPR_INFO(reg, alt, kind1, kind2, kind3) \
47 #reg, alt, sizeof(((FPR_freebsd_mips *) 0)->reg), \
48 FPR_OFFSET(reg), eEncodingUint, eFormatHex, \
49 {kind1, kind2, kind3, LLDB_INVALID_REGNUM, \
50 fpr_##reg##_mips64 }, \
211 "g_register_infos_mips64 has wrong number of register infos");
214#undef DEFINE_GPR_INFO
216#undef DEFINE_FPR_INFO
218#undef DEFINE_MSA_INFO
static const RegisterInfo g_register_infos_mips64[]
#define DEFINE_GPR(reg, alt, kind1, kind2, kind3, kind4)
#define LLDB_REGNUM_GENERIC_RA
#define LLDB_REGNUM_GENERIC_ARG8
#define LLDB_REGNUM_GENERIC_ARG6
#define LLDB_REGNUM_GENERIC_SP
#define LLDB_REGNUM_GENERIC_ARG4
#define LLDB_REGNUM_GENERIC_ARG3
#define LLDB_REGNUM_GENERIC_ARG1
#define LLDB_REGNUM_GENERIC_ARG7
#define LLDB_REGNUM_GENERIC_FLAGS
#define LLDB_INVALID_REGNUM
#define LLDB_REGNUM_GENERIC_ARG2
#define LLDB_REGNUM_GENERIC_PC
#define LLDB_REGNUM_GENERIC_FP
#define LLDB_REGNUM_GENERIC_ARG5