Home
last modified time | relevance | path

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

123

/netbsd/src/external/gpl3/gcc/dist/gcc/
Dtree-vect-generic.cc151 build_word_mode_vector_type (int nunits) in build_word_mode_vector_type() argument
155 else if (vector_last_nunits == nunits) in build_word_mode_vector_type()
161 vector_last_nunits = nunits; in build_word_mode_vector_type()
162 vector_last_type = build_vector_type (vector_inner_type, nunits); in build_word_mode_vector_type()
324 int nunits = nunits_for_known_piecewise_op (type); in expand_vector_piecewise() local
329 if (nunits == 1 in expand_vector_piecewise()
344 vec_alloc (v, (nunits + delta - 1) / delta); in expand_vector_piecewise()
346 for (i = 0; i < nunits; in expand_vector_piecewise()
494 int nunits = nunits_for_known_piecewise_op (TREE_TYPE (op0)); in expand_vector_comparison() local
508 for (i = 0; i < nunits; in expand_vector_comparison()
[all …]
Doptabs-query.cc522 poly_int64 nunits = GET_MODE_NUNITS (mode); in can_mult_highpart_p() local
531 vec_perm_builder sel (nunits, 2, 3); in can_mult_highpart_p()
535 + ((i & 1) ? nunits : 0)); in can_mult_highpart_p()
536 vec_perm_indices indices (sel, 2, nunits); in can_mult_highpart_p()
549 vec_perm_builder sel (nunits, 1, 3); in can_mult_highpart_p()
552 vec_perm_indices indices (sel, 2, nunits); in can_mult_highpart_p()
619 poly_uint64 nunits = GET_MODE_SIZE (mode); in get_len_load_store_mode() local
620 if (related_vector_mode (mode, QImode, nunits).exists (&vmode) in get_len_load_store_mode()
Dtree-vect-stmts.cc1796 auto group_memory_nvectors = [](poly_uint64 size, poly_uint64 nunits) in check_load_store_for_partial_vectors()
1799 if (can_div_away_from_zero_p (size, nunits, &nvectors)) in check_load_store_for_partial_vectors()
1804 poly_uint64 nunits = TYPE_VECTOR_SUBPARTS (vectype); in check_load_store_for_partial_vectors() local
1811 nvectors = group_memory_nvectors (group_size * vf, nunits); in check_load_store_for_partial_vectors()
1819 nvectors = group_memory_nvectors (group_size * vf, nunits); in check_load_store_for_partial_vectors()
2011 poly_uint64 nunits = TYPE_VECTOR_SUBPARTS (vectype); in perm_mask_for_reverse() local
2014 vec_perm_builder sel (nunits, 1, 3); in perm_mask_for_reverse()
2016 sel.quick_push (nunits - 1 - i); in perm_mask_for_reverse()
2018 vec_perm_indices indices (sel, 1, nunits); in perm_mask_for_reverse()
2189 poly_uint64 nunits = TYPE_VECTOR_SUBPARTS (vectype); in get_group_load_store_type() local
[all …]
Dtree-vect-loop.cc4805 unsigned HOST_WIDE_INT nunits; in get_initial_defs_for_reduction() local
4828 if (!TYPE_VECTOR_SUBPARTS (vector_type).is_constant (&nunits)) in get_initial_defs_for_reduction()
4829 nunits = group_size; in get_initial_defs_for_reduction()
4831 number_of_places_left_in_vector = nunits; in get_initial_defs_for_reduction()
4833 tree_vector_builder elts (vector_type, nunits, 1); in get_initial_defs_for_reduction()
4834 elts.quick_grow (nunits); in get_initial_defs_for_reduction()
4836 for (j = 0; j < nunits * number_of_vectors; ++j) in get_initial_defs_for_reduction()
4850 elts[nunits - number_of_places_left_in_vector - 1] = op; in get_initial_defs_for_reduction()
4858 ? multiple_p (TYPE_VECTOR_SUBPARTS (vector_type), nunits) in get_initial_defs_for_reduction()
4859 : known_eq (TYPE_VECTOR_SUBPARTS (vector_type), nunits)) in get_initial_defs_for_reduction()
[all …]
Dtree-vect-slp.cc2802 calculate_unrolling_factor (poly_uint64 nunits, unsigned int group_size) in calculate_unrolling_factor() argument
2804 return exact_div (common_multiple (nunits, group_size), group_size); in calculate_unrolling_factor()
6437 unsigned HOST_WIDE_INT nunits; in vect_create_constant_vectors() local
6474 if (!TYPE_VECTOR_SUBPARTS (vector_type).is_constant (&nunits)) in vect_create_constant_vectors()
6475 nunits = group_size; in vect_create_constant_vectors()
6477 number_of_copies = nunits * number_of_vectors / group_size; in vect_create_constant_vectors()
6479 number_of_places_left_in_vector = nunits; in vect_create_constant_vectors()
6481 tree_vector_builder elts (vector_type, nunits, 1); in vect_create_constant_vectors()
6482 elts.quick_grow (nunits); in vect_create_constant_vectors()
6561 ? multiple_p (TYPE_VECTOR_SUBPARTS (vector_type), nunits) in vect_create_constant_vectors()
[all …]
Dstor-layout.cc484 mode_for_vector (scalar_mode innermode, poly_uint64 nunits) in mode_for_vector() argument
505 if (known_eq (GET_MODE_NUNITS (mode), nunits) in mode_for_vector()
512 poly_uint64 nbits = nunits * GET_MODE_BITSIZE (innermode); in mode_for_vector()
535 poly_uint64 nunits) in related_vector_mode() argument
538 return targetm.vectorize.related_mode (vector_mode, element_mode, nunits); in related_vector_mode()
2419 poly_uint64 nunits = TYPE_VECTOR_SUBPARTS (type); in layout_type() local
2426 nunits).else_blk ()); in layout_type()
2438 size_int (nunits)); in layout_type()
Dsimplify-rtx.cc4498 poly_uint64 nunits in simplify_binary_operation_1() local
4505 || maybe_ge (UINTVAL (idx) + subreg_offset, nunits)) in simplify_binary_operation_1()
6399 poly_uint64 nunits = GET_MODE_NUNITS (GET_MODE (x)); in simplify_merge_mask() local
6409 && known_eq (GET_MODE_NUNITS (GET_MODE (XEXP (x, 0))), nunits)) in simplify_merge_mask()
6418 && known_eq (GET_MODE_NUNITS (GET_MODE (XEXP (x, 0))), nunits) in simplify_merge_mask()
6420 && known_eq (GET_MODE_NUNITS (GET_MODE (XEXP (x, 1))), nunits)) in simplify_merge_mask()
6441 && known_eq (GET_MODE_NUNITS (GET_MODE (XEXP (x, 0))), nunits) in simplify_merge_mask()
6443 && known_eq (GET_MODE_NUNITS (GET_MODE (XEXP (x, 1))), nunits) in simplify_merge_mask()
6445 && known_eq (GET_MODE_NUNITS (GET_MODE (XEXP (x, 2))), nunits)) in simplify_merge_mask()
6576 int nunits; in simplify_ternary_operation() local
[all …]
Dtarghooks.cc1524 poly_uint64 nunits) in default_vectorize_related_mode() argument
1527 if ((maybe_ne (nunits, 0U) in default_vectorize_related_mode()
1529 GET_MODE_SIZE (element_mode), &nunits)) in default_vectorize_related_mode()
1530 && mode_for_vector (element_mode, nunits).exists (&result_mode) in default_vectorize_related_mode()
Dtree-vectorizer.h1953 vect_get_num_vectors (poly_uint64 nunits, tree vectype)
1955 return exact_div (nunits, TYPE_VECTOR_SUBPARTS (vectype)).to_constant ();
1973 vect_update_max_nunits (poly_uint64 *max_nunits, poly_uint64 nunits)
1978 *max_nunits = force_common_multiple (*max_nunits, nunits);
Drtlanal.cc4084 unsigned int nunits = GET_MODE_NUNITS (xmode).to_constant (); in subreg_get_info() local
4088 == (nunits in subreg_get_info()
4091 == hard_regno_nregs (xregno, xmode_unit) * nunits); in subreg_get_info()
4101 if ((coffset / GET_MODE_SIZE (xmode_unit) + 1 < nunits) in subreg_get_info()
6977 int nunits; in vec_series_highpart_p() local
6978 if (GET_MODE_NUNITS (op_mode).is_constant (&nunits) in vec_series_highpart_p()
6981 int offset = BYTES_BIG_ENDIAN ? 0 : nunits - XVECLEN (sel, 0); in vec_series_highpart_p()
6996 int nunits; in vec_series_lowpart_p() local
6997 if (GET_MODE_NUNITS (op_mode).is_constant (&nunits) in vec_series_lowpart_p()
7000 int offset = BYTES_BIG_ENDIAN ? nunits - XVECLEN (sel, 0) : 0; in vec_series_lowpart_p()
Dtree.cc2109 unsigned HOST_WIDE_INT i, nunits; in build_vector_from_val() local
2129 else if (!TYPE_VECTOR_SUBPARTS (vectype).is_constant (&nunits)) in build_vector_from_val()
2134 vec_alloc (v, nunits); in build_vector_from_val()
2135 for (i = 0; i < nunits; ++i) in build_vector_from_val()
2186 poly_uint64 nunits = TYPE_VECTOR_SUBPARTS (vec_type); in build_index_vector() local
2191 index_vec_type = build_vector_type (index_elt_type, nunits); in build_index_vector()
9088 make_vector_type (tree innertype, poly_int64 nunits, machine_mode mode) in make_vector_type() argument
9095 SET_TYPE_VECTOR_SUBPARTS (t, nunits); in make_vector_type()
9104 = make_vector_type (TYPE_CANONICAL (mv_innertype), nunits, VOIDmode); in make_vector_type()
10023 poly_int64 nunits; in build_vector_type_for_mode() local
[all …]
Dvarasm.cc2948 int bitsize, nelts, nunits, units_per; in assemble_real() local
2963 nunits = GET_MODE_SIZE (mode); in assemble_real()
2964 bitsize = nunits * BITS_PER_UNIT; in assemble_real()
2971 unsigned int chunk_nunits = MIN (nunits, units_per); in assemble_real()
2977 nunits -= chunk_nunits; in assemble_real()
2984 chunk_nunits = MIN (nunits, units_per); in assemble_real()
2991 nunits -= chunk_nunits; in assemble_real()
5320 unsigned int nunits = VECTOR_CST_NELTS (exp).to_constant (); in output_constant() local
5321 for (unsigned int i = 1; i < nunits; i++) in output_constant()
Dtree-pretty-print.cc2244 unsigned HOST_WIDE_INT nunits; in dump_generic_node() local
2245 if (!VECTOR_CST_NELTS (node).is_constant (&nunits)) in dump_generic_node()
2246 nunits = vector_cst_encoded_nelts (node); in dump_generic_node()
2247 for (i = 0; i < nunits; ++i) in dump_generic_node()
/netbsd/src/sbin/ccdconfig/
Dccdconfig.c530 size_t nunits = 0; in dump_ccd() local
531 if (sysctlbyname(sys = "kern.ccd.units", NULL, &nunits, NULL, 0) in dump_ccd()
544 if (nunits == 0) { in dump_ccd()
549 units = emalloc(nunits); in dump_ccd()
551 if (sysctlbyname(sys, units, &nunits, NULL, 0) == -1) in dump_ccd()
553 nunits /= sizeof(*units); in dump_ccd()
554 for (size_t i = 0; i < nunits; i++) in dump_ccd()
/netbsd/src/external/bsd/ntp/dist/ntpd/
Drefclock_datum.c158 static int nunits; /* number of active units */ variable
321 nunits++; in datum_pts_start()
451 nunits = 0; in datum_pts_init()
/netbsd/src/sys/net/npf/
Dif_npflog.c73 npflogattach(int nunits) in npflogattach() argument
Dnpf_os.c202 npfattach(int nunits) in npfattach() argument
/netbsd/src/sys/dev/ic/
Dmlx.c563 int i, nunits; in mlx_configure() local
600 nunits = 0; in mlx_configure()
633 nunits += (ms->ms_dv != NULL); in mlx_configure()
638 if (nunits != 0) in mlx_configure()
639 mlx_adjqparam(mlx, mlx->mlx_max_queuecnt / nunits, in mlx_configure()
640 mlx->mlx_max_queuecnt % nunits); in mlx_configure()
/netbsd/src/sys/dev/
Dlockstat.c153 lockstatattach(int nunits) in lockstatattach() argument
156 (void)nunits; in lockstatattach()
Dbio.c99 bioattach(int nunits) in bioattach() argument
/netbsd/src/sys/dev/usb/
Duvideo.c794 uint8_t i, j, nunits; in uvideo_init_control() local
800 nunits = 0; in uvideo_init_control()
810 KASSERT(nunits < 255); in uvideo_init_control()
811 ++nunits; in uvideo_init_control()
814 if (nunits == 0) { in uvideo_init_control()
822 sc->sc_nunits = nunits; in uvideo_init_control()
823 sc->sc_unit = kmem_alloc(sizeof(*sc->sc_unit) * nunits, KM_SLEEP); in uvideo_init_control()
855 kmem_free(sc->sc_unit, sizeof(*sc->sc_unit) * nunits); in uvideo_init_control()
/netbsd/src/external/gpl3/gcc/dist/gcc/config/i386/
Dpredicates.md1636 int nunits, elt;
1650 nunits = GET_MODE_NUNITS (mode);
1652 for (elt = 0; elt < nunits; elt++)
1671 int nunits, elt;
1684 nunits = GET_MODE_NUNITS (mode);
1685 if (XVECLEN (XEXP (op, 1), 0) != nunits)
1692 return elt == (swapped ? nunits : 0);
/netbsd/src/external/gpl3/gcc/dist/gcc/config/rs6000/
Drs6000.cc5379 unsigned int nunits = vect_nunits_for_cost (vectype); in update_target_cost_per_stmt() local
5383 if (nunits == 1) in update_target_cost_per_stmt()
5398 unsigned int adjusted_cost = (nunits == 2) ? 2 : 1; in update_target_cost_per_stmt()
5399 unsigned int extra_cost = nunits * adjusted_cost; in update_target_cost_per_stmt()
6131 unsigned nunits; in vspltis_constant() local
6142 nunits = GET_MODE_NUNITS (mode); in vspltis_constant()
6146 val = const_vector_elt_as_int (op, BYTES_BIG_ENDIAN ? nunits - 1 : 0); in vspltis_constant()
6155 for (i = 1; i < nunits; ++i) in vspltis_constant()
6157 unsigned elt = BYTES_BIG_ENDIAN ? nunits - 1 - i : i; in vspltis_constant()
6167 if (i == nunits) in vspltis_constant()
[all …]
Drs6000-c.cc1354 int nunits = GET_MODE_NUNITS (mode); in resolve_vec_extract() local
1363 selector = wi::umod_trunc (selector, nunits); in resolve_vec_extract()
/netbsd/src/external/bsd/libpcap/dist/
Dpcap-dlpi.c1111 u_int nunits; member
1147 for (i = 0; i < buf.nunits; i++) {

123