LibreOffice Module bridges (master) 1
Enumerations | Functions | Variables
x86_64 Namespace Reference

Enumerations

enum class  ReturnKind {
  Memory ,
  RegistersGeneral ,
  RegistersFpInt ,
  RegistersIntFp ,
  Memory ,
  RegistersGeneral ,
  RegistersFpInt ,
  RegistersIntFp
}
 
enum class  ReturnKind {
  Memory ,
  RegistersGeneral ,
  RegistersFpInt ,
  RegistersIntFp ,
  Memory ,
  RegistersGeneral ,
  RegistersFpInt ,
  RegistersIntFp
}
 

Functions

bool examine_argument (typelib_TypeDescriptionReference *pTypeRef, int &nUsedGPR, int &nUsedSSE) noexcept
 
bool return_in_hidden_param (typelib_TypeDescriptionReference *pTypeRef) noexcept
 Does function that returns this type use a hidden parameter, or registers? More...
 
ReturnKind getReturnKind (typelib_TypeDescriptionReference *type) noexcept
 
void fill_struct (typelib_TypeDescriptionReference *pTypeRef, const sal_uInt64 *pGPR, const double *pSSE, void *pStruct) noexcept
 
std::type_info * getRtti (typelib_TypeDescription const &type)
 

Variables

const sal_uInt32 MAX_GPR_REGS = 6
 
const sal_uInt32 MAX_SSE_REGS = 8
 

Enumeration Type Documentation

◆ ReturnKind [1/2]

enum class x86_64::ReturnKind
strong
Enumerator
Memory 
RegistersGeneral 
RegistersFpInt 
RegistersIntFp 
Memory 
RegistersGeneral 
RegistersFpInt 
RegistersIntFp 

Definition at line 54 of file gcc3_linux_x86-64/abi.hxx.

◆ ReturnKind [2/2]

enum class x86_64::ReturnKind
strong
Enumerator
Memory 
RegistersGeneral 
RegistersFpInt 
RegistersIntFp 
Memory 
RegistersGeneral 
RegistersFpInt 
RegistersIntFp 

Definition at line 54 of file gcc3_macosx_x86-64/abi.hxx.

Function Documentation

◆ examine_argument()

bool x86_64::examine_argument ( typelib_TypeDescriptionReference *  pTypeRef,
int nUsedGPR,
int nUsedSSE 
)
noexcept

Definition at line 224 of file gcc3_linux_x86-64/abi.cxx.

References classify_argument(), MAX_CLASSES, n, and O3TL_UNREACHABLE.

Referenced by cpp2uno_call().

◆ fill_struct()

void x86_64::fill_struct ( typelib_TypeDescriptionReference *  pTypeRef,
const sal_uInt64 *  pGPR,
const double *  pSSE,
void *  pStruct 
)
noexcept

◆ getReturnKind()

ReturnKind x86_64::getReturnKind ( typelib_TypeDescriptionReference *  type)
noexcept

Definition at line 262 of file gcc3_linux_x86-64/abi.cxx.

References classify_argument(), MAX_CLASSES, n, and type.

Referenced by cpp2uno_call().

◆ getRtti()

std::type_info * x86_64::getRtti ( typelib_TypeDescription const &  type)

Definition at line 265 of file rtti.cxx.

References type.

Referenced by abi_aarch64::raiseException().

◆ return_in_hidden_param()

bool x86_64::return_in_hidden_param ( typelib_TypeDescriptionReference *  pTypeRef)
noexcept

Does function that returns this type use a hidden parameter, or registers?

The value can be returned either in a hidden 1st parameter (which is a pointer to a structure allocated by the caller), or in registers (rax, rdx for the integers, xmm0, xmm1 for the floating point numbers).

Definition at line 252 of file gcc3_linux_x86-64/abi.cxx.

References classify_argument(), and MAX_CLASSES.

Referenced by cpp_call().

Variable Documentation

◆ MAX_GPR_REGS

const sal_uInt32 x86_64::MAX_GPR_REGS = 6

Definition at line 32 of file gcc3_linux_x86-64/abi.hxx.

Referenced by cpp2uno_call(), and cpp_call().

◆ MAX_SSE_REGS

const sal_uInt32 x86_64::MAX_SSE_REGS = 8

Definition at line 35 of file gcc3_linux_x86-64/abi.hxx.

Referenced by cpp2uno_call(), and cpp_call().