/* Information about each RVV type. */
static CONSTEXPR const vector_type_info vector_types[] = {
-#define DEF_RVV_TYPE(NAME, NCHARS, ABI_NAME, ARGS...) \
+#define DEF_RVV_TYPE(NAME, NCHARS, ABI_NAME, ARGS...) \
{#NAME, #ABI_NAME, "u" #NCHARS #ABI_NAME},
#include "riscv-vector-builtins.def"
};
/* The RVV types, with their built-in
"__rvv..._t" name. Allow an index of NUM_VECTOR_TYPES, which always
yields a null tree. */
-static GTY(()) tree abi_vector_types[NUM_VECTOR_TYPES + 1];
+static GTY (()) tree abi_vector_types[NUM_VECTOR_TYPES + 1];
/* Same, but with the riscv_vector.h "v..._t" name. */
extern GTY (()) rvv_builtin_types_t builtin_types[NUM_VECTOR_TYPES + 1];
{
tree mangled_name_tree = get_identifier (mangled_name);
tree value = tree_cons (NULL_TREE, mangled_name_tree, NULL_TREE);
- TYPE_ATTRIBUTES (type) = tree_cons (get_identifier ("RVV type"), value,
- TYPE_ATTRIBUTES (type));
+ TYPE_ATTRIBUTES (type)
+ = tree_cons (get_identifier ("RVV type"), value, TYPE_ATTRIBUTES (type));
}
/* Force TYPE to be a sizeless type. */
TARGET_MIN_VLEN > 32. Otherwise the machine mode is VNx1SImode. */
#ifndef DEF_RVV_TYPE
-#define DEF_RVV_TYPE(NAME, NCHARS, ABI_NAME, SCALAR_TYPE, VECTOR_MODE, \
+#define DEF_RVV_TYPE(NAME, NCHARS, ABI_NAME, SCALAR_TYPE, VECTOR_MODE, \
VECTOR_MODE_MIN_VLEN_32)
#endif
"vector types" for brevity. */
enum vector_type_index
{
-#define DEF_RVV_TYPE(NAME, ABI_NAME, NCHARS, ARGS...) \
- VECTOR_TYPE_##NAME,
+#define DEF_RVV_TYPE(NAME, ABI_NAME, NCHARS, ARGS...) VECTOR_TYPE_##NAME,
#include "riscv-vector-builtins.def"
NUM_VECTOR_TYPES
};