Home
last modified time | relevance | path

Searched refs:npatterns (Results 1 – 25 of 31) sorted by relevance

12

/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dvec-perm-indices.cc60 m_encoding.new_vector (full_nelts, elements.npatterns (), in new_vector()
63 unsigned int npatterns = m_encoding.npatterns (); in new_vector() local
64 for (unsigned int i = 0; i < npatterns; ++i) in new_vector()
71 for (unsigned int i = npatterns; i < copy_nelts; ++i) in new_vector()
74 - elements.elt (i - npatterns)); in new_vector()
75 m_encoding.quick_push (clamp (m_encoding[i - npatterns] + step)); in new_vector()
92 orig.m_encoding.npatterns () * factor, in new_expanded_vector()
129 if (orig.m_encoding.npatterns () % factor != 0) in new_shrunk_vector()
153 unsigned int npatterns = orig.m_encoding.npatterns () / factor; in new_shrunk_vector() local
155 m_encoding.new_vector (full_nelts, npatterns, in new_shrunk_vector()
[all …]
H A Dvector-builder.h118 unsigned int npatterns () const { return m_npatterns; } in npatterns() function
194 unsigned int npatterns, in new_vector() argument
198 m_npatterns = npatterns; in new_vector()
272 unsigned int npatterns = Derived::npatterns_of (vec); in new_unary_operation() local
278 npatterns = full_nelts.to_constant (); in new_unary_operation()
281 derived ()->new_vector (shape, npatterns, nelts_per_pattern); in new_unary_operation()
321 unsigned int npatterns in new_binary_operation() local
331 npatterns = full_nelts.to_constant (); in new_binary_operation()
334 derived ()->new_vector (shape, npatterns, nelts_per_pattern); in new_binary_operation()
350 unsigned int npatterns in binary_encoded_nelts() local
[all …]
H A Drtx-vector-builder.h72 unsigned int npatterns, in rtx_vector_builder() argument
75 new_vector (mode, npatterns, nelts_per_pattern); in rtx_vector_builder()
82 rtx_vector_builder::new_vector (machine_mode mode, unsigned int npatterns, in new_vector() argument
86 parent::new_vector (GET_MODE_NUNITS (mode), npatterns, nelts_per_pattern); in new_vector()
H A Dtree-vector-builder.h68 tree_vector_builder::tree_vector_builder (tree type, unsigned int npatterns, in tree_vector_builder() argument
71 new_vector (type, npatterns, nelts_per_pattern); in tree_vector_builder()
78 tree_vector_builder::new_vector (tree type, unsigned int npatterns, in new_vector() argument
82 parent::new_vector (TYPE_VECTOR_SUBPARTS (type), npatterns, in new_vector()
H A Dtree-vector-builder.cc43 gcc_assert (pow2p_hwi (npatterns ())); in build()
44 tree v = make_vector (exact_log2 (npatterns ()), nelts_per_pattern ()); in build()
H A Dint-vector-builder.h60 unsigned int npatterns, in int_vector_builder() argument
63 new_vector (full_nelts, npatterns, nelts_per_pattern); in int_vector_builder()
H A Drtx-vector-builder.cc40 CONST_VECTOR_NPATTERNS (x) = npatterns (); in build()
75 CONST_VECTOR_NPATTERNS (x) = npatterns (); in build()
H A Demit-rtl.cc5863 unsigned int npatterns = CONST_VECTOR_NPATTERNS (x); in const_vector_int_elt() local
5864 unsigned int count = i / npatterns; in const_vector_int_elt()
5865 unsigned int pattern = i % npatterns; in const_vector_int_elt()
5866 unsigned int final_i = encoded_nelts - npatterns + pattern; in const_vector_int_elt()
5873 rtx v1 = CONST_VECTOR_ENCODED_ELT (x, final_i - npatterns); in const_vector_int_elt()
5895 unsigned int npatterns = CONST_VECTOR_NPATTERNS (x); in const_vector_elt() local
5896 unsigned int pattern = i % npatterns; in const_vector_elt()
5897 unsigned int final_i = encoded_nelts - npatterns + pattern; in const_vector_elt()
H A Dtree.cc2055 unsigned npatterns = 1 << log2_npatterns; in make_vector() local
2056 unsigned encoded_nelts = npatterns * nelts_per_pattern; in make_vector()
10144 unsigned int npatterns = VECTOR_CST_NPATTERNS (t); in vector_cst_int_elt() local
10145 unsigned int pattern = i % npatterns; in vector_cst_int_elt()
10146 unsigned int count = i / npatterns; in vector_cst_int_elt()
10147 unsigned int final_i = encoded_nelts - npatterns + pattern; in vector_cst_int_elt()
10154 tree v1 = VECTOR_CST_ENCODED_ELT (t, final_i - npatterns); in vector_cst_int_elt()
10175 unsigned int npatterns = VECTOR_CST_NPATTERNS (t); in vector_cst_elt() local
10176 unsigned int pattern = i % npatterns; in vector_cst_elt()
10177 unsigned int final_i = encoded_nelts - npatterns + pattern; in vector_cst_elt()
[all …]
H A Dtree-vect-slp.cc7064 uint64_t npatterns; in vectorizable_slp_permutation() local
7077 npatterns = SLP_TREE_LANES (node); in vectorizable_slp_permutation()
7085 if (!nunits.is_constant (&npatterns)) in vectorizable_slp_permutation()
7133 ? multiple_p (i, npatterns) in vectorizable_slp_permutation()
7154 mask.new_vector (nunits, npatterns, nelts_per_pattern); in vectorizable_slp_permutation()
H A Dsimplify-rtx.cc1862 unsigned int npatterns = (CONST_VECTOR_DUPLICATE_P (op) in simplify_const_unary_operation() local
1865 gcc_assert (multiple_p (GET_MODE_NUNITS (mode), npatterns)); in simplify_const_unary_operation()
1866 rtx_vector_builder builder (mode, npatterns, 1); in simplify_const_unary_operation()
1867 for (unsigned i = 0; i < npatterns; i++) in simplify_const_unary_operation()
7034 unsigned int first_byte, unsigned int npatterns, in native_decode_vector_rtx() argument
7037 rtx_vector_builder builder (mode, npatterns, nelts_per_pattern); in native_decode_vector_rtx()
H A Drtl.h430 unsigned int npatterns : 16; member
2018 ->u2.const_vector.npatterns)
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dvector-builder.h118 unsigned int npatterns () const { return m_npatterns; } in npatterns() function
194 unsigned int npatterns, in new_vector() argument
198 m_npatterns = npatterns; in new_vector()
272 unsigned int npatterns = Derived::npatterns_of (vec); in new_unary_operation() local
278 npatterns = full_nelts.to_constant (); in new_unary_operation()
281 derived ()->new_vector (shape, npatterns, nelts_per_pattern); in new_unary_operation()
321 unsigned int npatterns in new_binary_operation() local
331 npatterns = full_nelts.to_constant (); in new_binary_operation()
334 derived ()->new_vector (shape, npatterns, nelts_per_pattern); in new_binary_operation()
350 unsigned int npatterns in binary_encoded_nelts() local
[all …]
H A Dvec-perm-indices.c60 m_encoding.new_vector (full_nelts, elements.npatterns (), in new_vector()
63 unsigned int npatterns = m_encoding.npatterns (); in new_vector() local
64 for (unsigned int i = 0; i < npatterns; ++i) in new_vector()
71 for (unsigned int i = npatterns; i < copy_nelts; ++i) in new_vector()
74 - elements.elt (i - npatterns)); in new_vector()
75 m_encoding.quick_push (clamp (m_encoding[i - npatterns] + step)); in new_vector()
92 orig.m_encoding.npatterns () * factor, in new_expanded_vector()
139 unsigned int npatterns = m_encoding.npatterns (); in series_p() local
143 unsigned int cycle_length = least_common_multiple (out_step, npatterns); in series_p()
155 if (out_base >= npatterns) in series_p()
[all …]
H A Drtx-vector-builder.h72 unsigned int npatterns, in rtx_vector_builder() argument
75 new_vector (mode, npatterns, nelts_per_pattern); in rtx_vector_builder()
82 rtx_vector_builder::new_vector (machine_mode mode, unsigned int npatterns, in new_vector() argument
86 parent::new_vector (GET_MODE_NUNITS (mode), npatterns, nelts_per_pattern); in new_vector()
H A Dtree-vector-builder.h68 tree_vector_builder::tree_vector_builder (tree type, unsigned int npatterns, in tree_vector_builder() argument
71 new_vector (type, npatterns, nelts_per_pattern); in tree_vector_builder()
78 tree_vector_builder::new_vector (tree type, unsigned int npatterns, in new_vector() argument
82 parent::new_vector (TYPE_VECTOR_SUBPARTS (type), npatterns, in new_vector()
H A Dtree-vector-builder.c43 gcc_assert (pow2p_hwi (npatterns ())); in build()
44 tree v = make_vector (exact_log2 (npatterns ()), nelts_per_pattern ()); in build()
H A Dint-vector-builder.h60 unsigned int npatterns, in int_vector_builder() argument
63 new_vector (full_nelts, npatterns, nelts_per_pattern); in int_vector_builder()
H A Drtx-vector-builder.c40 CONST_VECTOR_NPATTERNS (x) = npatterns (); in build()
75 CONST_VECTOR_NPATTERNS (x) = npatterns (); in build()
H A Demit-rtl.c5889 unsigned int npatterns = CONST_VECTOR_NPATTERNS (x); in const_vector_int_elt() local
5890 unsigned int count = i / npatterns; in const_vector_int_elt()
5891 unsigned int pattern = i % npatterns; in const_vector_int_elt()
5892 unsigned int final_i = encoded_nelts - npatterns + pattern; in const_vector_int_elt()
5899 rtx v1 = CONST_VECTOR_ENCODED_ELT (x, final_i - npatterns); in const_vector_int_elt()
5921 unsigned int npatterns = CONST_VECTOR_NPATTERNS (x); in const_vector_elt() local
5922 unsigned int pattern = i % npatterns; in const_vector_elt()
5923 unsigned int final_i = encoded_nelts - npatterns + pattern; in const_vector_elt()
H A Dtree.c1838 unsigned npatterns = 1 << log2_npatterns; in make_vector() local
1839 unsigned encoded_nelts = npatterns * nelts_per_pattern; in make_vector()
11024 unsigned int npatterns = VECTOR_CST_NPATTERNS (t); in vector_cst_int_elt() local
11025 unsigned int pattern = i % npatterns; in vector_cst_int_elt()
11026 unsigned int count = i / npatterns; in vector_cst_int_elt()
11027 unsigned int final_i = encoded_nelts - npatterns + pattern; in vector_cst_int_elt()
11034 tree v1 = VECTOR_CST_ENCODED_ELT (t, final_i - npatterns); in vector_cst_int_elt()
11055 unsigned int npatterns = VECTOR_CST_NPATTERNS (t); in vector_cst_elt() local
11056 unsigned int pattern = i % npatterns; in vector_cst_elt()
11057 unsigned int final_i = encoded_nelts - npatterns + pattern; in vector_cst_elt()
[all …]
H A Dsimplify-rtx.c1737 unsigned int npatterns = (CONST_VECTOR_DUPLICATE_P (op) in simplify_const_unary_operation() local
1740 gcc_assert (multiple_p (GET_MODE_NUNITS (mode), npatterns)); in simplify_const_unary_operation()
1741 rtx_vector_builder builder (mode, npatterns, 1); in simplify_const_unary_operation()
1742 for (unsigned i = 0; i < npatterns; i++) in simplify_const_unary_operation()
6503 unsigned int first_byte, unsigned int npatterns, in native_decode_vector_rtx() argument
6506 rtx_vector_builder builder (mode, npatterns, nelts_per_pattern); in native_decode_vector_rtx()
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dscp.c1631 size_t n, npatterns = 0; in sink() local
1661 if (brace_expand(src, &patterns, &npatterns) != 0) in sink()
1768 if (npatterns > 0) { in sink()
1769 for (n = 0; n < npatterns; n++) { in sink()
1774 if (n >= npatterns) { in sink()
1777 npatterns); in sink()
1778 for (n = 0; n < npatterns; n++) { in sink()
1925 for (n = 0; n < npatterns; n++) in sink()
1930 for (n = 0; n < npatterns; n++) in sink()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/aarch64/
H A Daarch64.c3722 unsigned int npatterns = CONST_VECTOR_NPATTERNS (x) * factor; in aarch64_get_sve_pred_bits() local
3724 builder.new_vector (VNx16BImode, npatterns, nelts_per_pattern); in aarch64_get_sve_pred_bits()
3752 mask |= builder.npatterns (); in aarch64_widest_sve_pred_elt_size()
3824 if (i > builder.npatterns () && maybe_ne (nelts, builder.full_nelts ())) in aarch64_partial_ptrue_length()
4869 unsigned int npatterns = CONST_VECTOR_NPATTERNS (src); in aarch64_expand_sve_const_vector_sel() local
4870 if (aarch64_svpattern_for_vl (pred_mode, npatterns) in aarch64_expand_sve_const_vector_sel()
4874 rtx_vector_builder pred_builder (pred_mode, npatterns, 2); in aarch64_expand_sve_const_vector_sel()
4875 rtx_vector_builder true_builder (mode, npatterns, 1); in aarch64_expand_sve_const_vector_sel()
4876 rtx_vector_builder false_builder (mode, npatterns, 1); in aarch64_expand_sve_const_vector_sel()
4877 for (unsigned int i = 0; i < npatterns; ++i) in aarch64_expand_sve_const_vector_sel()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/config/aarch64/
H A Daarch64.cc5009 unsigned int npatterns = CONST_VECTOR_NPATTERNS (x) * factor; in aarch64_get_sve_pred_bits() local
5011 builder.new_vector (VNx16BImode, npatterns, nelts_per_pattern); in aarch64_get_sve_pred_bits()
5039 mask |= builder.npatterns (); in aarch64_widest_sve_pred_elt_size()
5111 if (i > builder.npatterns () && maybe_ne (nelts, builder.full_nelts ())) in aarch64_partial_ptrue_length()
6156 unsigned int npatterns = CONST_VECTOR_NPATTERNS (src); in aarch64_expand_sve_const_vector_sel() local
6157 if (aarch64_svpattern_for_vl (pred_mode, npatterns) in aarch64_expand_sve_const_vector_sel()
6161 rtx_vector_builder pred_builder (pred_mode, npatterns, 2); in aarch64_expand_sve_const_vector_sel()
6162 rtx_vector_builder true_builder (mode, npatterns, 1); in aarch64_expand_sve_const_vector_sel()
6163 rtx_vector_builder false_builder (mode, npatterns, 1); in aarch64_expand_sve_const_vector_sel()
6164 for (unsigned int i = 0; i < npatterns; ++i) in aarch64_expand_sve_const_vector_sel()
[all …]

12