arm: Move arm_simd_info array declaration into header
authorMurray Steele <murray.steele@arm.com>
Wed, 22 Dec 2021 14:50:00 +0000 (14:50 +0000)
committerRichard Earnshaw <rearnsha@arm.com>
Wed, 22 Dec 2021 14:57:29 +0000 (14:57 +0000)
commit8c61cefe2b5091e5361a85768f847732463275d5
tree95582f337e3822d2a13ac183c73c4197b45c510e
parent228173565eafbe34e44c1600c32e32a323eb5aab
arm: Move arm_simd_info array declaration into header

Move the arm_simd_type and arm_type_qualifiers enums, and
arm_simd_info struct from arm-builtins.c into arm-builtins.h header.

This is a first step towards internalising the type definitions for
MVE predicate, vector, and tuple types.  By moving arm_simd_types into
a header, we allow future patches to use these type trees externally
to arm-builtins.c, which is a crucial step towards developing an MVE
intrinsics framework similar to the current SVE implementation.

gcc/ChangeLog:

* config/arm/arm-builtins.c (enum arm_type_qualifiers): Move to
arm_builtins.h.
(enum arm_simd_type): Move to arm-builtins.h.
(struct arm_simd_type_info): Move to arm-builtins.h.
* config/arm/arm-builtins.h (enum arm_simd_type): Move from
arm-builtins.c.
(enum arm_type_qualifiers): Move from arm-builtins.c.
(struct arm_simd_type_info): Move from arm-builtins.c.
gcc/config/arm/arm-builtins.c
gcc/config/arm/arm-builtins.h