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.

Module dmd.argtypes_aarch64

Break down a D type into basic (register) types for the AArch64 ABI.

Documentation

https://dlang.org/phobos/dmd_argtypes_aarch64.html

Coverage

https://codecov.io/gh/dlang/dmd/src/master/src/dmd/argtypes_aarch64.d

Functions

NameDescription
isHFVA(t, maxNumElements, rewriteType) A Homogeneous Floating-point/Vector Aggregate (HFA/HVA) is an ARM/AArch64 concept that consists of up to 4 elements of the same floating point/vector type. It is the aggregate final data layout that matters so structs, unions, static arrays and complex numbers can result in an HFVA.
toArgTypes_aarch64(t) 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

Authors

Martin Kinkelin

License

Boost License 1.0