Home
last modified time | relevance | path

Searched refs:vec_type (Results 1 – 25 of 27) sorted by relevance

12

/netbsd-src/external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/
H A Dbrig-basic-inst-handler.cc163 tree vec_type = build_vector_type (element_type, element_count); in build_unpack() local
183 tree mask_vec = build_constructor (vec_type, input_mask_vals); in build_unpack()
185 tree and_mask_vec = build_constructor (vec_type, and_mask_vals); in build_unpack()
187 tree perm = build3 (VEC_PERM_EXPR, vec_type, in build_unpack()
188 build_resize_convert_view (vec_type, operands[0]), in build_unpack()
189 build_resize_convert_view (vec_type, operands[0]), in build_unpack()
192 tree cleared = build2 (BIT_AND_EXPR, vec_type, perm, and_mask_vec); in build_unpack()
H A Dbrig-code-entry-handler.cc132 tree vec_type = build_vector_type (operand_type, element_count); in build_tree_operand() local
134 return build_constructor (vec_type, constructor_vals); in build_tree_operand()
1120 tree vec_type = build_vector_type (output_element_type, element_count); in operator ()() local
1124 tree vec = build_constructor (vec_type, constructor_vals); in operator ()()
1127 tree tmp_var = create_tmp_var (vec_type, "vec_out"); in operator ()()
1175 tree vec_type = build_vector_type (output_element_type, element_count); in operator ()() local
1179 tree vec = build_constructor (vec_type, constructor_vals); in operator ()()
1182 tree tmp_var = create_tmp_var (vec_type, "vec_out"); in operator ()()
H A Dbrig-function.cc1336 tree vec_type = build_vector_type (output_element_type, element_count); in pack() local
1340 tree vec = build_constructor (vec_type, constructor_vals); in pack()
1343 tree tmp_var = create_tmp_var (vec_type, "vec_out"); in pack()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dtree-ssa-reassoc.cc1857 tree vec_type; member
1956 tree vec_type = TREE_TYPE (vec); in undistribute_bitref_for_vector() local
1958 if (TREE_CODE (vec) != SSA_NAME || !VECTOR_TYPE_P (vec_type)) in undistribute_bitref_for_vector()
1962 if (!VECTOR_MODE_P (TYPE_MODE (vec_type))) in undistribute_bitref_for_vector()
1966 if (!TYPE_VECTOR_SUBPARTS (vec_type).is_constant ()) in undistribute_bitref_for_vector()
1976 if (!useless_type_conversion_p (TREE_TYPE (rhs), TREE_TYPE (vec_type))) in undistribute_bitref_for_vector()
1982 if (!GET_MODE_BITSIZE (TYPE_MODE (vec_type)).is_constant (&size)) in undistribute_bitref_for_vector()
1990 vec_type = build_vector_type_for_mode (TREE_TYPE (rhs), simd_mode); in undistribute_bitref_for_vector()
1993 if (!VECTOR_MODE_P (TYPE_MODE (vec_type))) in undistribute_bitref_for_vector()
1998 if (!TYPE_VECTOR_SUBPARTS (vec_type).is_constant ()) in undistribute_bitref_for_vector()
[all …]
H A Dtree-vectorizer.h2007 vect_nunits_for_cost (tree vec_type)
2009 return estimated_poly_value (TYPE_VECTOR_SUBPARTS (vec_type));
H A Dtree-vect-patterns.cc1510 tree rhs_oprnd, rhs_origin, lhs_oprnd, lhs_type, vec_type, new_var; in vect_recog_popcount_pattern() local
1564 vec_type = get_vectype_for_scalar_type (vinfo, lhs_type); in vect_recog_popcount_pattern()
1566 if (!vec_type in vect_recog_popcount_pattern()
1567 || !direct_internal_fn_supported_p (IFN_POPCOUNT, vec_type, in vect_recog_popcount_pattern()
1576 *type_out = vec_type; in vect_recog_popcount_pattern()
H A Dtree.cc2182 build_index_vector (tree vec_type, poly_uint64 base, poly_uint64 step) in build_index_vector() argument
2184 tree index_vec_type = vec_type; in build_index_vector()
2185 tree index_elt_type = TREE_TYPE (vec_type); in build_index_vector()
2186 poly_uint64 nunits = TYPE_VECTOR_SUBPARTS (vec_type); in build_index_vector()
2204 build_vector_a_then_b (tree vec_type, unsigned int num_a, tree a, tree b) in build_vector_a_then_b() argument
2206 gcc_assert (known_le (num_a, TYPE_VECTOR_SUBPARTS (vec_type))); in build_vector_a_then_b()
2207 unsigned int count = constant_lower_bound (TYPE_VECTOR_SUBPARTS (vec_type)); in build_vector_a_then_b()
2209 if ((count & 1) == 0 && TYPE_VECTOR_SUBPARTS (vec_type).is_constant ()) in build_vector_a_then_b()
2211 tree_vector_builder builder (vec_type, count, 2); in build_vector_a_then_b()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dtree-ssa-reassoc.c1788 tree vec_type; member
1887 tree vec_type = TREE_TYPE (vec); in undistribute_bitref_for_vector() local
1889 if (TREE_CODE (vec) != SSA_NAME || !VECTOR_TYPE_P (vec_type)) in undistribute_bitref_for_vector()
1893 if (!VECTOR_MODE_P (TYPE_MODE (vec_type))) in undistribute_bitref_for_vector()
1897 if (!TYPE_VECTOR_SUBPARTS (vec_type).is_constant ()) in undistribute_bitref_for_vector()
1907 if (!useless_type_conversion_p (TREE_TYPE (rhs), TREE_TYPE (vec_type))) in undistribute_bitref_for_vector()
1913 if (!GET_MODE_BITSIZE (TYPE_MODE (vec_type)).is_constant (&size)) in undistribute_bitref_for_vector()
1921 vec_type = build_vector_type_for_mode (TREE_TYPE (rhs), simd_mode); in undistribute_bitref_for_vector()
1924 if (!VECTOR_MODE_P (TYPE_MODE (vec_type))) in undistribute_bitref_for_vector()
1929 if (!TYPE_VECTOR_SUBPARTS (vec_type).is_constant ()) in undistribute_bitref_for_vector()
[all …]
H A Dtree-vectorizer.h1598 vect_nunits_for_cost (tree vec_type)
1600 return estimated_poly_value (TYPE_VECTOR_SUBPARTS (vec_type));
H A Dtree.c1965 build_index_vector (tree vec_type, poly_uint64 base, poly_uint64 step) in build_index_vector() argument
1967 tree index_vec_type = vec_type; in build_index_vector()
1968 tree index_elt_type = TREE_TYPE (vec_type); in build_index_vector()
1969 poly_uint64 nunits = TYPE_VECTOR_SUBPARTS (vec_type); in build_index_vector()
1987 build_vector_a_then_b (tree vec_type, unsigned int num_a, tree a, tree b) in build_vector_a_then_b() argument
1989 gcc_assert (known_le (num_a, TYPE_VECTOR_SUBPARTS (vec_type))); in build_vector_a_then_b()
1990 unsigned int count = constant_lower_bound (TYPE_VECTOR_SUBPARTS (vec_type)); in build_vector_a_then_b()
1992 if ((count & 1) == 0 && TYPE_VECTOR_SUBPARTS (vec_type).is_constant ()) in build_vector_a_then_b()
1994 tree_vector_builder builder (vec_type, count, 2); in build_vector_a_then_b()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstructions.td591 class Extract_Element <ValueType sub_type, ValueType vec_type, int sub_idx,
594 (sub_type (extractelt vec_type:$src, sub_idx)),
599 class Insert_Element <ValueType elem_type, ValueType vec_type,
602 (insertelt vec_type:$vec, elem_type:$elem, sub_idx),
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/aarch64/
H A Daarch64-sve-builtins-base.cc749 tree vec_type = TREE_TYPE (f.lhs); in fold() local
761 tree rhs_vector = build_vector_from_val (vec_type, rhs); in fold()
776 tree pred = f.convert_pred (stmts, vec_type, 0); in fold()
777 rhs = f.force_vector (stmts, vec_type, rhs); in fold()
780 build_zero_cst (vec_type)); in fold()
834 tree vec_type = TREE_TYPE (f.lhs); in fold() local
840 tree_vector_builder builder (vec_type, nargs * factor, 1); in fold()
848 builder.quick_push (build_zero_cst (TREE_TYPE (vec_type))); in fold()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/aarch64/
H A Daarch64-sve-builtins-base.cc749 tree vec_type = TREE_TYPE (f.lhs); in fold() local
761 tree rhs_vector = build_vector_from_val (vec_type, rhs); in fold()
776 tree pred = f.convert_pred (stmts, vec_type, 0); in fold()
777 rhs = f.force_vector (stmts, vec_type, rhs); in fold()
780 build_zero_cst (vec_type)); in fold()
834 tree vec_type = TREE_TYPE (f.lhs); in fold() local
840 tree_vector_builder builder (vec_type, nargs * factor, 1); in fold()
848 builder.quick_push (build_zero_cst (TREE_TYPE (vec_type))); in fold()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/fortran/
H A Dtrans-types.c3473 static tree vec_type = NULL_TREE; in gfc_get_caf_vector_type() local
3479 if (vec_type == NULL_TREE) in gfc_get_caf_vector_type()
3519 vec_type = make_node (RECORD_TYPE); in gfc_get_caf_vector_type()
3520 tmp = gfc_add_field_to_struct_1 (vec_type, get_identifier ("nvec"), in gfc_get_caf_vector_type()
3523 tmp = gfc_add_field_to_struct_1 (vec_type, get_identifier ("u"), in gfc_get_caf_vector_type()
3526 gfc_finish_type (vec_type); in gfc_get_caf_vector_type()
3527 TYPE_NAME (vec_type) = get_identifier ("caf_vector_t"); in gfc_get_caf_vector_type()
3532 vector_types[dim-1] = build_array_type (vec_type, tmp); in gfc_get_caf_vector_type()
/netbsd-src/external/gpl3/gcc/dist/gcc/fortran/
H A Dtrans-types.cc3581 static tree vec_type = NULL_TREE; in gfc_get_caf_vector_type() local
3587 if (vec_type == NULL_TREE) in gfc_get_caf_vector_type()
3627 vec_type = make_node (RECORD_TYPE); in gfc_get_caf_vector_type()
3628 tmp = gfc_add_field_to_struct_1 (vec_type, get_identifier ("nvec"), in gfc_get_caf_vector_type()
3631 tmp = gfc_add_field_to_struct_1 (vec_type, get_identifier ("u"), in gfc_get_caf_vector_type()
3634 gfc_finish_type (vec_type); in gfc_get_caf_vector_type()
3635 TYPE_NAME (vec_type) = get_identifier ("caf_vector_t"); in gfc_get_caf_vector_type()
3640 vector_types[dim-1] = build_array_type (vec_type, tmp); in gfc_get_caf_vector_type()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/jit/
H A Dlibgccjit.h1486 gcc_jit_type *vec_type,
H A Dlibgccjit.c3132 gcc_jit_type *vec_type, in gcc_jit_context_new_rvalue_from_vector() argument
3140 RETURN_NULL_IF_FAIL (vec_type, ctxt, loc, "NULL vec_type"); in gcc_jit_context_new_rvalue_from_vector()
3144 = vec_type->dyn_cast_vector_type (); in gcc_jit_context_new_rvalue_from_vector()
3147 vec_type->get_debug_string ()); in gcc_jit_context_new_rvalue_from_vector()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/jit/docs/topics/
H A Dexpressions.rst135 gcc_jit_type *vec_type, \
141 "vec_type" should be a vector type, created using
/netbsd-src/external/gpl3/gcc/dist/gcc/jit/
H A Dlibgccjit.h1805 gcc_jit_type *vec_type,
H A Dlibgccjit.cc4010 gcc_jit_type *vec_type, in gcc_jit_context_new_rvalue_from_vector() argument
4018 RETURN_NULL_IF_FAIL (vec_type, ctxt, loc, "NULL vec_type"); in gcc_jit_context_new_rvalue_from_vector()
4022 = vec_type->dyn_cast_vector_type (); in gcc_jit_context_new_rvalue_from_vector()
4025 vec_type->get_debug_string ()); in gcc_jit_context_new_rvalue_from_vector()
/netbsd-src/external/gpl3/gcc/dist/gcc/jit/docs/topics/
H A Dexpressions.rst280 gcc_jit_type *vec_type, \
286 "vec_type" should be a vector type, created using
/netbsd-src/external/gpl3/gcc/dist/gcc/config/rs6000/
H A Drs6000-builtin.cc2396 get_element_number (tree vec_type, tree arg) in get_element_number() argument
2398 unsigned HOST_WIDE_INT elt, max = TYPE_VECTOR_SUBPARTS (vec_type) - 1; in get_element_number()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/rs6000/
H A Drs6000-call.c10079 get_element_number (tree vec_type, tree arg) in get_element_number() argument
10081 unsigned HOST_WIDE_INT elt, max = TYPE_VECTOR_SUBPARTS (vec_type) - 1; in get_element_number()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/i386/
H A Di386-expand.c10854 get_element_number (tree vec_type, tree arg) in get_element_number() argument
10856 unsigned HOST_WIDE_INT elt, max = TYPE_VECTOR_SUBPARTS (vec_type) - 1; in get_element_number()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/i386/
H A Di386-expand.cc12154 get_element_number (tree vec_type, tree arg) in get_element_number() argument
12156 unsigned HOST_WIDE_INT elt, max = TYPE_VECTOR_SUBPARTS (vec_type) - 1; in get_element_number()

12