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

Enumerations

enum  ReturnKind {
  ReturnKind::Memory,
  ReturnKind::RegistersGeneral,
  ReturnKind::RegistersFpInt,
  ReturnKind::RegistersIntFp,
  ReturnKind::Memory,
  ReturnKind::RegistersGeneral,
  ReturnKind::RegistersFpInt,
  ReturnKind::RegistersIntFp
}
 
enum  ReturnKind {
  ReturnKind::Memory,
  ReturnKind::RegistersGeneral,
  ReturnKind::RegistersFpInt,
  ReturnKind::RegistersIntFp,
  ReturnKind::Memory,
  ReturnKind::RegistersGeneral,
  ReturnKind::RegistersFpInt,
  ReturnKind::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

enum 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.

enum 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

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

void x86_64::fill_struct ( typelib_TypeDescriptionReference *  pTypeRef,
const sal_uInt64 *  pGPR,
const double *  pSSE,
void pStruct 
)
noexcept
ReturnKind x86_64::getReturnKind ( typelib_TypeDescriptionReference *  type)
noexcept
std::type_info * x86_64::getRtti ( typelib_TypeDescription const &  type)

Definition at line 269 of file rtti.cxx.

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(), CPPU_CURRENT_NAMESPACE::is_complex_struct(), ia64::is_complex_struct(), arm::is_complex_struct(), bridges::cpp_uno::shared::isSimpleType(), and MAX_CLASSES.

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