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

Functions

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

Variables

const sal_uInt32 MAX_GPR_REGS = 6
 
const sal_uInt32 MAX_SSE_REGS = 8
 

Function Documentation

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

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

References assert(), classify_argument(), MAX_CLASSES, n, and SAL_WARN.

Referenced by cpp2uno_call(), and return_in_hidden_param().

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

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

References classify_argument(), MAX_CLASSES, and n.

Referenced by CPPU_CURRENT_NAMESPACE::callVirtualMethod().

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

Definition at line 277 of file rtti.cxx.

bool x86_64::return_in_hidden_param ( typelib_TypeDescriptionReference *  pTypeRef)
throw (
)

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 299 of file gcc3_linux_x86-64/abi.cxx.

References examine_argument(), CPPU_CURRENT_NAMESPACE::is_complex_struct(), ia64::is_complex_struct(), arm::is_complex_struct(), and bridges::cpp_uno::shared::isSimpleType().

Referenced by cpp2uno_call(), cpp_call(), and MapReturn().

Variable Documentation

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().

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().