View source code
Display the source code in dmd/argtypes_aarch64.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Function dmd.argtypes_aarch64.toArgTypes_aarch64

This breaks a type down into 'simpler' types that can be passed to a function in registers, and returned in registers. This is the implementation for the AAPCS64 ABI, based on https://github.com/ARM-software/abi-aa/blob/master/aapcs64/aapcs64.rst.

TypeTuple toArgTypes_aarch64 (
  Type t
);

Parameters

NameDescription
t type to break down

Returns

tuple of 1 type if t can be passed in registers; e.g., a static array for Homogeneous Floating-point/Vector Aggregates (HFVA). A tuple of zero length means the type cannot be passed/returned in registers. null indicates a void.

Authors

Martin Kinkelin

License

Boost License 1.0