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

Enumerations

enum  ppclimits {
  MAX_GPR_REGS = 8,
  MAX_SSE_REGS = 13
}
 

Functions

bool return_in_hidden_param (typelib_TypeDescriptionReference *pTypeRef)
 Does function that returns this type use a hidden parameter, or registers? More...
 

Enumeration Type Documentation

Enumerator
MAX_GPR_REGS 
MAX_SSE_REGS 

Definition at line 86 of file gcc3_linux_powerpc64/share.hxx.

Function Documentation

bool ppc64::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 74 of file gcc3_linux_powerpc64/uno2cpp.cxx.

References classify_argument(), arm::is_complex_struct(), bridges::cpp_uno::shared::isSimpleType(), and MAX_CLASSES.

Referenced by cpp_call(), and MapReturn().