LLDB mainline
Macros
RegisterInfos_powerpc.h File Reference
#include <cstddef>

Go to the source code of this file.

Macros

#define GPR_OFFSET(regname)   (offsetof(GPR, regname))
 
#define FPR_OFFSET(regname)   (sizeof(GPR) + offsetof(FPR, regname))
 
#define VMX_OFFSET(regname)   (sizeof(GPR) + sizeof(FPR) + offsetof(VMX, regname))
 
#define GPR_SIZE(regname)   (sizeof(((GPR *)NULL)->regname))
 

Macro Definition Documentation

◆ FPR_OFFSET

#define FPR_OFFSET (   regname)    (sizeof(GPR) + offsetof(FPR, regname))

Definition at line 13 of file RegisterInfos_powerpc.h.

◆ GPR_OFFSET

#define GPR_OFFSET (   regname)    (offsetof(GPR, regname))

Definition at line 12 of file RegisterInfos_powerpc.h.

◆ GPR_SIZE

#define GPR_SIZE (   regname)    (sizeof(((GPR *)NULL)->regname))

Definition at line 15 of file RegisterInfos_powerpc.h.

◆ VMX_OFFSET

#define VMX_OFFSET (   regname)    (sizeof(GPR) + sizeof(FPR) + offsetof(VMX, regname))

Definition at line 14 of file RegisterInfos_powerpc.h.