allocretregs

Allocate registers for function return values.

nothrow @safe @trusted
regm_t
allocretregs
(
const tym_t ty
,
type* t
,
const tym_t tyf
,
out reg_t reg1
,
out reg_t reg2
)

Parameters

ty tym_t

return type

t type*

return type extended info

tyf tym_t

function type

reg1 reg_t

set to the first part register, else NOREG

reg2 reg_t

set to the second part register, else NOREG

Return Value

Type: regm_t

a bit mask of return registers. 0 if function returns on the stack or returns void.

Meta