Home
last modified time | relevance | path

Searched refs:nunits (Results 1 – 25 of 39) sorted by relevance

12

/dragonfly/contrib/gcc-8.0/gcc/
H A Dtree-vect-generic.c114 vector_last_nunits = nunits; in build_word_mode_vector_type()
289 for (i = 0; i < nunits; in expand_vector_piecewise()
397 for (i = 1; i < nunits; i++) in add_rshift()
465 for (i = 0; i < nunits; i++) in expand_vector_divmod()
517 for (j = 0; j < nunits; j++) in expand_vector_divmod()
623 for (i = 0; i < nunits; i++) in expand_vector_divmod()
628 nunits); in expand_vector_divmod()
695 for (i = 0; i < nunits; i++) in expand_vector_divmod()
774 for (i = 0; i < nunits; i++) in expand_vector_divmod()
940 vec_alloc (v, nunits); in expand_vector_condition()
[all …]
H A Doptabs-query.c524 poly_int64 nunits = GET_MODE_NUNITS (mode); in can_mult_highpart_p() local
533 vec_perm_builder sel (nunits, 2, 3); in can_mult_highpart_p()
537 + ((i & 1) ? nunits : 0)); in can_mult_highpart_p()
538 vec_perm_indices indices (sel, 2, nunits); in can_mult_highpart_p()
551 vec_perm_builder sel (nunits, 1, 3); in can_mult_highpart_p()
554 vec_perm_indices indices (sel, 2, nunits); in can_mult_highpart_p()
600 poly_uint64 nunits; in can_vec_mask_load_store_p() local
601 if (!multiple_p (cur, GET_MODE_SIZE (smode), &nunits)) in can_vec_mask_load_store_p()
603 if (mode_for_vector (smode, nunits).exists (&vmode) in can_vec_mask_load_store_p()
605 && targetm.vectorize.get_mask_mode (nunits, cur).exists (&mask_mode) in can_vec_mask_load_store_p()
H A Dtree-vect-slp.c2223 poly_uint64 max_nunits = nunits; in vect_analyze_slp_instance()
3512 unsigned HOST_WIDE_INT nunits; in vect_get_constant_vectors() local
3565 nunits = group_size; in vect_get_constant_vectors()
3572 elts.quick_grow (nunits); in vect_get_constant_vectors()
3721 elts.quick_grow (nunits); in vect_get_constant_vectors()
3924 vec_perm_builder mask (nunits, nunits, 1); in vect_transform_slp_perm_load()
3925 mask.quick_grow (nunits); in vect_transform_slp_perm_load()
3966 vec_index = i / nunits; in vect_transform_slp_perm_load()
3967 mask_element = i % nunits; in vect_transform_slp_perm_load()
3977 mask_element += nunits; in vect_transform_slp_perm_load()
[all …]
H A Dtree-vect-stmts.c2011 vec_perm_builder sel (nunits, 1, 3); in perm_mask_for_reverse()
2013 sel.quick_push (nunits - 1 - i); in perm_mask_for_reverse()
2348 && !nunits.is_constant ()) in get_load_store_type()
3596 unsigned int nunits; in vectorizable_simd_clone_call() local
3852 nunits = bestn->simdclone->simdlen; in vectorizable_simd_clone_call()
3853 ncopies = vf / nunits; in vectorizable_simd_clone_call()
4040 ncopies * nunits); in vectorizable_simd_clone_call()
4063 j * nunits); in vectorizable_simd_clone_call()
8387 group_elt += nunits; in vectorizable_load()
8969 poly_uint64 nunits; in vectorizable_comparison() local
[all …]
H A Dtree-vect-loop.c4551 unsigned HOST_WIDE_INT nunits; in get_initial_defs_for_reduction() local
4590 nunits = group_size; in get_initial_defs_for_reduction()
4594 number_of_places_left_in_vector = nunits; in get_initial_defs_for_reduction()
4597 elts.quick_grow (nunits); in get_initial_defs_for_reduction()
4633 int k = nunits; in get_initial_defs_for_reduction()
4662 elts.new_vector (vector_type, nunits, 1); in get_initial_defs_for_reduction()
4663 elts.quick_grow (nunits); in get_initial_defs_for_reduction()
7747 if (slp_node && !nunits.is_constant ()) in vectorizable_induction()
7977 if (nunits.is_constant (&const_nunits)) in vectorizable_induction()
8902 poly_uint64 nunits in vect_transform_loop() local
[all …]
H A Dtree-vectorizer.h1284 vect_get_num_vectors (poly_uint64 nunits, tree vectype) in vect_get_num_vectors() argument
1286 return exact_div (nunits, TYPE_VECTOR_SUBPARTS (vectype)).to_constant (); in vect_get_num_vectors()
1310 poly_uint64 nunits = TYPE_VECTOR_SUBPARTS (vectype); in vect_update_max_nunits() local
1311 *max_nunits = force_common_multiple (*max_nunits, nunits); in vect_update_max_nunits()
H A Dstor-layout.c481 mode_for_vector (scalar_mode innermode, poly_uint64 nunits) in mode_for_vector() argument
502 if (known_eq (GET_MODE_NUNITS (mode), nunits) in mode_for_vector()
509 poly_uint64 nbits = nunits * GET_MODE_BITSIZE (innermode); in mode_for_vector()
523 mode_for_int_vector (unsigned int int_bits, poly_uint64 nunits) in mode_for_int_vector() argument
528 && mode_for_vector (int_mode, nunits).exists (&vec_mode)) in mode_for_int_vector()
2351 poly_uint64 nunits = TYPE_VECTOR_SUBPARTS (type); in layout_type() local
2358 nunits).else_blk ()); in layout_type()
2370 size_int (nunits)); in layout_type()
H A Dtarghooks.c1305 default_get_mask_mode (poly_uint64 nunits, poly_uint64 vector_size) in default_get_mask_mode() argument
1307 unsigned int elem_size = vector_element_size (vector_size, nunits); in default_get_mask_mode()
1312 gcc_assert (known_eq (elem_size * nunits, vector_size)); in default_get_mask_mode()
1314 if (mode_for_vector (elem_mode, nunits).exists (&vector_mode) in default_get_mask_mode()
H A Dtree.c1865 unsigned HOST_WIDE_INT i, nunits; in build_vector_from_val() local
1890 vec_alloc (v, nunits); in build_vector_from_val()
1891 for (i = 0; i < nunits; ++i) in build_vector_from_val()
1930 poly_uint64 nunits = TYPE_VECTOR_SUBPARTS (vec_type); in build_index_vector() local
9581 SET_TYPE_VECTOR_SUBPARTS (t, nunits); in make_vector_type()
10471 poly_int64 nunits; in build_vector_type_for_mode() local
10483 nunits = GET_MODE_NUNITS (mode); in build_vector_type_for_mode()
10497 return make_vector_type (innertype, nunits, mode); in build_vector_type_for_mode()
10504 build_vector_type (tree innertype, poly_int64 nunits) in build_vector_type() argument
10506 return make_vector_type (innertype, nunits, VOIDmode); in build_vector_type()
[all …]
H A Dvarasm.c2833 int bitsize, nelts, nunits, units_per; in assemble_real() local
2848 nunits = GET_MODE_SIZE (mode); in assemble_real()
2849 bitsize = nunits * BITS_PER_UNIT; in assemble_real()
2860 assemble_integer (elt, MIN (nunits, units_per), align, 1); in assemble_real()
2861 nunits -= units_per; in assemble_real()
2873 assemble_integer (elt, MIN (nunits, units_per), align, 1); in assemble_real()
2874 nunits -= units_per; in assemble_real()
4965 unsigned int nunits = VECTOR_CST_NELTS (exp).to_constant (); in output_constant() local
4966 for (unsigned int i = 1; i < nunits; i++) in output_constant()
H A Dlto-streamer-in.c1623 poly_uint16 nunits = bp_unpack_poly_value (&bp, 16); in lto_input_mode_table() local
1661 || maybe_ne (GET_MODE_NUNITS (mr), nunits)) in lto_input_mode_table()
H A Dtree-pretty-print.c1807 unsigned HOST_WIDE_INT nunits; in dump_generic_node() local
1808 if (!VECTOR_CST_NELTS (node).is_constant (&nunits)) in dump_generic_node()
1809 nunits = vector_cst_encoded_nelts (node); in dump_generic_node()
1810 for (i = 0; i < nunits; ++i) in dump_generic_node()
H A Dsimplify-rtx.c5698 int nunits; in simplify_ternary_operation() local
5700 if (!CONST_VECTOR_NUNITS (cv).is_constant (&nunits)) in simplify_ternary_operation()
5703 for (int i = 0; i < nunits; ++i) in simplify_ternary_operation()
6673 poly_uint64 nunits = GET_MODE_NUNITS (mode); in test_vector_ops_duplicate() local
6711 if (nunits.is_constant (&const_nunits)) in test_vector_ops_duplicate()
6727 if (maybe_ne (nunits, 2U) in test_vector_ops_duplicate()
6728 && multiple_p (nunits, 2) in test_vector_ops_duplicate()
/dragonfly/contrib/gcc-4.7/gcc/
H A Dtree-vect-slp.c1458 unsigned int unrolling_factor = 1, nunits; in vect_analyze_slp_instance() local
1503 nunits = TYPE_VECTOR_SUBPARTS (vectype); in vect_analyze_slp_instance()
1507 vectorization_factor = nunits; in vect_analyze_slp_instance()
1562 if (max_nunits > nunits) in vect_analyze_slp_instance()
2215 int nunits; in vect_get_constant_vectors() local
2316 number_of_places_left_in_vector = nunits; in vect_get_constant_vectors()
2727 nunits = TYPE_VECTOR_SUBPARTS (vectype); in vect_transform_slp_perm_load()
2728 mask = XALLOCAVEC (unsigned char, nunits); in vect_transform_slp_perm_load()
2778 nunits, only_one_vec, index, in vect_transform_slp_perm_load()
2786 if (index == nunits) in vect_transform_slp_perm_load()
[all …]
H A Dtree-vect-stmts.c1226 unsigned int nunits; in vect_get_vec_def_for_operand() local
4079 int i, nunits; in vect_gen_perm_mask() local
4092 for (i = nunits - 1; i >= 0; i--) in vect_gen_perm_mask()
4107 int i, nunits; in perm_mask_for_reverse() local
4113 for (i = 0; i < nunits; ++i) in perm_mask_for_reverse()
4114 sel[i] = nunits - 1 - i; in perm_mask_for_reverse()
4356 if (nunits == gather_off_nunits) in vectorizable_load()
4364 sel[i] = i | nunits; in vectorizable_load()
4374 for (i = 0; i < nunits; ++i) in vectorizable_load()
5766 int nunits; in get_vectype_for_scalar_type_and_size() local
[all …]
H A Dtree-vect-generic.c83 build_word_mode_vector_type (int nunits) in build_word_mode_vector_type() argument
87 else if (vector_last_nunits == nunits) in build_word_mode_vector_type()
95 vector_last_nunits = nunits; in build_word_mode_vector_type()
96 vector_last_type = type_hash_canon (nunits, in build_word_mode_vector_type()
98 nunits)); in build_word_mode_vector_type()
236 int nunits = TYPE_VECTOR_SUBPARTS (type); in expand_vector_piecewise() local
249 v = VEC_alloc(constructor_elt, gc, (nunits + delta - 1) / delta); in expand_vector_piecewise()
250 for (i = 0; i < nunits; in expand_vector_piecewise()
H A Dtree-vect-loop.c180 unsigned int nunits; in vect_determine_vectorization_factor() local
243 || (nunits > vectorization_factor)) in vect_determine_vectorization_factor()
244 vectorization_factor = nunits; in vect_determine_vectorization_factor()
450 || (nunits > vectorization_factor)) in vect_determine_vectorization_factor()
451 vectorization_factor = nunits; in vect_determine_vectorization_factor()
2986 int nunits; in get_initial_def_for_induction() local
3041 ncopies = vf / nunits; in get_initial_def_for_induction()
3075 for (i = 1; i < nunits; i++) in get_initial_def_for_induction()
3321 int nunits; in get_initial_def_for_reduction() local
3406 for (i = nunits - 2; i >= 0; --i) in get_initial_def_for_reduction()
[all …]
H A Dstor-layout.c435 mode_for_vector (enum machine_mode innermode, unsigned nunits) in mode_for_vector() argument
456 if (GET_MODE_NUNITS (mode) == nunits in mode_for_vector()
463 mode = mode_for_size (nunits * GET_MODE_BITSIZE (innermode), in mode_for_vector()
2093 int nunits = TYPE_VECTOR_SUBPARTS (type); in layout_type() local
2096 gcc_assert (!(nunits & (nunits - 1))); in layout_type()
2101 mode_for_vector (TYPE_MODE (innertype), nunits)); in layout_type()
2107 size_int (nunits)); in layout_type()
2109 bitsize_int (nunits)); in layout_type()
H A Dtree.c1369 int i, nunits = TYPE_VECTOR_SUBPARTS (vectype); in build_vector_from_val() local
1384 v = VEC_alloc (constructor_elt, gc, nunits); in build_vector_from_val()
1385 for (i = 0; i < nunits; ++i) in build_vector_from_val()
9096 SET_TYPE_VECTOR_SUBPARTS (t, nunits); in make_vector_type()
9786 int nunits; in build_vector_type_for_mode() local
9796 nunits = GET_MODE_NUNITS (mode); in build_vector_type_for_mode()
9804 nunits = GET_MODE_BITSIZE (mode) in build_vector_type_for_mode()
9812 return make_vector_type (innertype, nunits, mode); in build_vector_type_for_mode()
9819 build_vector_type (tree innertype, int nunits) in build_vector_type() argument
9821 return make_vector_type (innertype, nunits, VOIDmode); in build_vector_type()
[all …]
H A Dvarasm.c2565 int bitsize, nelts, nunits, units_per; in assemble_real() local
2579 nunits = GET_MODE_SIZE (mode); in assemble_real()
2580 bitsize = nunits * BITS_PER_UNIT; in assemble_real()
2587 assemble_integer (GEN_INT (data[0]), MIN (nunits, units_per), align, 1); in assemble_real()
2588 nunits -= units_per; in assemble_real()
2595 assemble_integer (GEN_INT (data[i]), MIN (nunits, units_per), align, 1); in assemble_real()
2596 nunits -= units_per; in assemble_real()
/dragonfly/contrib/gcc-8.0/gcc/config/i386/
H A Dpredicates.md1539 int nunits, elt;
1553 nunits = GET_MODE_NUNITS (mode);
1555 for (elt = 0; elt < nunits; elt++)
1574 int nunits, elt;
1587 nunits = GET_MODE_NUNITS (mode);
1588 if (XVECLEN (XEXP (op, 1), 0) != nunits)
1595 return elt == (swapped ? nunits : 0);
/dragonfly/contrib/gcc-8.0/gcc/c-family/
H A Dc-attribs.c3029 unsigned HOST_WIDE_INT vecsize, nunits; in handle_vector_size_attribute() local
3093 nunits = vecsize / tree_to_uhwi (TYPE_SIZE_UNIT (type)); in handle_vector_size_attribute()
3094 if (nunits & (nunits - 1)) in handle_vector_size_attribute()
3100 new_type = build_vector_type (type, nunits); in handle_vector_size_attribute()
H A Dc-pretty-print.c1384 unsigned int nunits = VECTOR_CST_NELTS (e).to_constant (); in pp_c_initializer_list() local
1385 for (unsigned int i = 0; i < nunits; ++i) in pp_c_initializer_list()
/dragonfly/sys/dev/virtual/nvmm/
H A Dnvmm_netbsd.c378 nvmmattach(int nunits) in nvmmattach() argument
/dragonfly/contrib/gcc-4.7/gcc/config/i386/
H A Dpredicates.md772 int nunits = GET_MODE_NUNITS (mode);
775 && CONST_VECTOR_NUNITS (op) == nunits)
778 for (i = 0; i < nunits; ++i)

12