isHFVA

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.

simple HFAs: struct F1 {float f;} struct D4 {double a,b,c,d;} interesting HFA: struct {F1[2] vals; float weight;}

If the type is an HFVA and rewriteType is specified, it is set to a corresponding static array type.

extern (C++)
bool
isHFVA
(,
int maxNumElements = 4
,
Type* rewriteType = null
)

Meta