/netbsd/external/gpl3/gcc/dist/gcc/ |
H A D | optabs-tree.cc | 434 vec_cmp_icode_p (tree value_type, tree mask_type, enum tree_code code) in vec_cmp_icode_p() argument 441 TYPE_MODE (mask_type)); in vec_cmp_icode_p() 449 vec_cmp_eq_icode_p (tree value_type, tree mask_type, enum tree_code code) in vec_cmp_eq_icode_p() argument 454 return get_vec_cmp_eq_icode (TYPE_MODE (value_type), TYPE_MODE (mask_type)) in vec_cmp_eq_icode_p() 463 expand_vec_cmp_expr_p (tree value_type, tree mask_type, enum tree_code code) in expand_vec_cmp_expr_p() argument 465 return vec_cmp_icode_p (value_type, mask_type, code) in expand_vec_cmp_expr_p() 466 || vec_cmp_eq_icode_p (value_type, mask_type, code); in expand_vec_cmp_expr_p()
|
H A D | optabs-tree.c | 344 expand_vec_cmp_expr_p (tree value_type, tree mask_type, enum tree_code code) in expand_vec_cmp_expr_p() argument 346 if (get_vec_cmp_icode (TYPE_MODE (value_type), TYPE_MODE (mask_type), in expand_vec_cmp_expr_p() 350 && (get_vec_cmp_eq_icode (TYPE_MODE (value_type), TYPE_MODE (mask_type)) in expand_vec_cmp_expr_p()
|
H A D | tree-ssa-forwprop.cc | 2696 tree mask_type = tgt_type; in simplify_permutation() local 2697 if (!VECTOR_INTEGER_TYPE_P (mask_type)) in simplify_permutation() 2699 tree elem_type = TREE_TYPE (mask_type); in simplify_permutation() 2702 mask_type = build_vector_type (int_type, tgt_units); in simplify_permutation() 2704 op2 = vec_perm_indices_to_tree (mask_type, new_indices); in simplify_permutation() 3048 tree mask_type, perm_type, conv_src_type; in simplify_vector_constructor() local 3087 mask_type in simplify_vector_constructor() 3091 || maybe_ne (GET_MODE_SIZE (TYPE_MODE (mask_type)), in simplify_vector_constructor() 3136 mask_type in simplify_vector_constructor() 3140 || maybe_ne (GET_MODE_SIZE (TYPE_MODE (mask_type)), in simplify_vector_constructor() [all …]
|
H A D | tree-vect-loop-manip.c | 326 tree src_masktype = src_rgm->mask_type; in vect_maybe_permute_loop_masks() 327 tree dest_masktype = dest_rgm->mask_type; in vect_maybe_permute_loop_masks() 425 tree mask_type = rgm->mask_type; in vect_set_loop_masks_directly() local 427 poly_uint64 nscalars_per_mask = TYPE_VECTOR_SUBPARTS (mask_type); in vect_set_loop_masks_directly() 601 init_mask = make_temp_ssa_name (mask_type, NULL, "max_mask"); in vect_set_loop_masks_directly() 613 tree unskipped_mask = vect_gen_while_not (preheader_seq, mask_type, in vect_set_loop_masks_directly() 616 init_mask = gimple_build (preheader_seq, BIT_AND_EXPR, mask_type, in vect_set_loop_masks_directly() 624 init_mask = build_minus_one_cst (mask_type); in vect_set_loop_masks_directly() 627 next_mask = make_temp_ssa_name (mask_type, NULL, "next_mask"); in vect_set_loop_masks_directly()
|
H A D | tree-ssa-forwprop.c | 2530 tree mask_type, perm_type, conv_src_type; in simplify_vector_constructor() local 2569 mask_type in simplify_vector_constructor() 2572 if (GET_MODE_CLASS (TYPE_MODE (mask_type)) != MODE_VECTOR_INT in simplify_vector_constructor() 2573 || maybe_ne (GET_MODE_SIZE (TYPE_MODE (mask_type)), in simplify_vector_constructor() 2576 tree op2 = vec_perm_indices_to_tree (mask_type, indices); in simplify_vector_constructor() 2618 mask_type in simplify_vector_constructor() 2621 if (GET_MODE_CLASS (TYPE_MODE (mask_type)) != MODE_VECTOR_INT in simplify_vector_constructor() 2622 || maybe_ne (GET_MODE_SIZE (TYPE_MODE (mask_type)), in simplify_vector_constructor() 2625 blend_op2 = vec_perm_indices_to_tree (mask_type, indices); in simplify_vector_constructor()
|
H A D | tree-vect-patterns.c | 3687 tree mask_type = get_mask_type_for_scalar_type (vinfo, in check_bool_pattern() local 3689 if (mask_type in check_bool_pattern() 3690 && expand_vec_cmp_expr_p (comp_vectype, mask_type, rhs_code)) in check_bool_pattern() 4491 tree mask_type = integer_type_for_mask (mask, vinfo); in vect_convert_mask_for_vectype() local 4492 if (mask_type) in vect_convert_mask_for_vectype() 4494 tree mask_vectype = get_mask_type_for_scalar_type (vinfo, mask_type); in vect_convert_mask_for_vectype() 5057 tree vectype, mask_type; in vect_determine_mask_precision() local 5060 && (mask_type = get_mask_type_for_scalar_type (vinfo, rhs1_type)) in vect_determine_mask_precision() 5061 && expand_vec_cmp_expr_p (vectype, mask_type, rhs_code)) in vect_determine_mask_precision()
|
H A D | tree-vect-generic.c | 698 tree zero, cst, cond, mask_type; in expand_vector_divmod() local 701 mask_type = truth_type_for (type); in expand_vector_divmod() 703 cond = build2 (LT_EXPR, mask_type, op0, zero); in expand_vector_divmod() 1388 tree mask_type = TREE_TYPE (mask); in lower_vec_perm() local 1390 tree mask_elt_type = TREE_TYPE (mask_type); in lower_vec_perm()
|
H A D | tree-vect-patterns.cc | 4045 tree mask_type = get_mask_type_for_scalar_type (vinfo, in check_bool_pattern() local 4047 if (mask_type in check_bool_pattern() 4048 && expand_vec_cmp_expr_p (comp_vectype, mask_type, rhs_code)) in check_bool_pattern() 4893 tree mask_type = integer_type_for_mask (mask, vinfo); in vect_convert_mask_for_vectype() local 4894 if (mask_type) in vect_convert_mask_for_vectype() 4896 tree mask_vectype = get_mask_type_for_scalar_type (vinfo, mask_type); in vect_convert_mask_for_vectype() 5450 tree vectype, mask_type; in vect_determine_mask_precision() local 5453 && (mask_type = get_mask_type_for_scalar_type (vinfo, rhs1_type)) in vect_determine_mask_precision() 5454 && expand_vec_cmp_expr_p (vectype, mask_type, rhs_code)) in vect_determine_mask_precision()
|
H A D | tree-vect-stmts.c | 1988 gcc_assert (TREE_TYPE (loop_mask) == mask_type); in prepare_load_store_mask() 8455 tree mask_type; in vect_gen_perm_mask_any() local 8460 mask_type = build_vector_type (ssizetype, nunits); in vect_gen_perm_mask_any() 8461 return vec_perm_indices_to_tree (mask_type, sel); in vect_gen_perm_mask_any() 10512 tree mask_type; in vectorizable_comparison() local 10521 mask_type = vectype; in vectorizable_comparison() 10570 vectype = mask_type; in vectorizable_comparison() 12079 tree mask_type = TREE_TYPE (mask); in vect_gen_while() local 12081 cmp_type, mask_type, in vect_gen_while() 12085 build_zero_cst (mask_type)); in vect_gen_while() [all …]
|
H A D | tree-vect-stmts.cc | 1854 gcc_assert (TREE_TYPE (loop_mask) == mask_type); in prepare_vec_mask() 8620 tree mask_type; in vect_gen_perm_mask_any() local 8625 mask_type = build_vector_type (ssizetype, nunits); in vect_gen_perm_mask_any() 8626 return vec_perm_indices_to_tree (mask_type, sel); in vect_gen_perm_mask_any() 10833 tree mask_type; in vectorizable_comparison() local 10842 mask_type = vectype; in vectorizable_comparison() 10883 vectype = mask_type; in vectorizable_comparison() 12418 cmp_type, mask_type, in vect_gen_while() 12422 build_zero_cst (mask_type)); in vect_gen_while() 12425 tmp = make_temp_ssa_name (mask_type, NULL, name); in vect_gen_while() [all …]
|
H A D | tree-vect-loop.c | 939 if (rgm->mask_type != NULL_TREE in can_produce_all_loop_masks_p() 941 cmp_type, rgm->mask_type, in can_produce_all_loop_masks_p() 3566 if (rgm->mask_type) in vect_estimate_min_profitable_iters() 5123 tree mask_type = truth_type_for (index_type); in vect_create_epilog_for_reduction() local 5170 tree sel = gimple_build (&seq, EQ_EXPR, mask_type, in vect_create_epilog_for_reduction() 8325 rgm->mask_type = truth_type_for (vectype); in vect_record_loop_mask() 8341 tree mask_type = rgm->mask_type; in vect_get_loop_mask() local 8350 tree mask = make_temp_ssa_name (mask_type, NULL, "loop_mask"); in vect_get_loop_mask() 8358 if (maybe_ne (TYPE_VECTOR_SUBPARTS (mask_type), in vect_get_loop_mask() 8367 gcc_assert (multiple_p (TYPE_VECTOR_SUBPARTS (mask_type), in vect_get_loop_mask() [all …]
|
/netbsd/external/gpl3/gcc.old/dist/gcc/ |
H A D | optabs-tree.c | 344 expand_vec_cmp_expr_p (tree value_type, tree mask_type, enum tree_code code) in expand_vec_cmp_expr_p() argument 346 if (get_vec_cmp_icode (TYPE_MODE (value_type), TYPE_MODE (mask_type), in expand_vec_cmp_expr_p() 350 && (get_vec_cmp_eq_icode (TYPE_MODE (value_type), TYPE_MODE (mask_type)) in expand_vec_cmp_expr_p()
|
H A D | tree-vect-loop-manip.c | 326 tree src_masktype = src_rgm->mask_type; in vect_maybe_permute_loop_masks() 327 tree dest_masktype = dest_rgm->mask_type; in vect_maybe_permute_loop_masks() 425 tree mask_type = rgm->mask_type; in vect_set_loop_masks_directly() local 427 poly_uint64 nscalars_per_mask = TYPE_VECTOR_SUBPARTS (mask_type); in vect_set_loop_masks_directly() 601 init_mask = make_temp_ssa_name (mask_type, NULL, "max_mask"); in vect_set_loop_masks_directly() 613 tree unskipped_mask = vect_gen_while_not (preheader_seq, mask_type, in vect_set_loop_masks_directly() 616 init_mask = gimple_build (preheader_seq, BIT_AND_EXPR, mask_type, in vect_set_loop_masks_directly() 624 init_mask = build_minus_one_cst (mask_type); in vect_set_loop_masks_directly() 627 next_mask = make_temp_ssa_name (mask_type, NULL, "next_mask"); in vect_set_loop_masks_directly()
|
H A D | tree-ssa-forwprop.c | 2530 tree mask_type, perm_type, conv_src_type; in simplify_vector_constructor() local 2569 mask_type in simplify_vector_constructor() 2572 if (GET_MODE_CLASS (TYPE_MODE (mask_type)) != MODE_VECTOR_INT in simplify_vector_constructor() 2573 || maybe_ne (GET_MODE_SIZE (TYPE_MODE (mask_type)), in simplify_vector_constructor() 2576 tree op2 = vec_perm_indices_to_tree (mask_type, indices); in simplify_vector_constructor() 2618 mask_type in simplify_vector_constructor() 2621 if (GET_MODE_CLASS (TYPE_MODE (mask_type)) != MODE_VECTOR_INT in simplify_vector_constructor() 2622 || maybe_ne (GET_MODE_SIZE (TYPE_MODE (mask_type)), in simplify_vector_constructor() 2625 blend_op2 = vec_perm_indices_to_tree (mask_type, indices); in simplify_vector_constructor()
|
H A D | tree-vect-patterns.c | 3687 tree mask_type = get_mask_type_for_scalar_type (vinfo, in check_bool_pattern() local 3689 if (mask_type in check_bool_pattern() 3690 && expand_vec_cmp_expr_p (comp_vectype, mask_type, rhs_code)) in check_bool_pattern() 4491 tree mask_type = integer_type_for_mask (mask, vinfo); in vect_convert_mask_for_vectype() local 4492 if (mask_type) in vect_convert_mask_for_vectype() 4494 tree mask_vectype = get_mask_type_for_scalar_type (vinfo, mask_type); in vect_convert_mask_for_vectype() 5057 tree vectype, mask_type; in vect_determine_mask_precision() local 5060 && (mask_type = get_mask_type_for_scalar_type (vinfo, rhs1_type)) in vect_determine_mask_precision() 5061 && expand_vec_cmp_expr_p (vectype, mask_type, rhs_code)) in vect_determine_mask_precision()
|
H A D | tree-vect-generic.c | 698 tree zero, cst, cond, mask_type; in expand_vector_divmod() local 701 mask_type = truth_type_for (type); in expand_vector_divmod() 703 cond = build2 (LT_EXPR, mask_type, op0, zero); in expand_vector_divmod() 1388 tree mask_type = TREE_TYPE (mask); in lower_vec_perm() local 1390 tree mask_elt_type = TREE_TYPE (mask_type); in lower_vec_perm()
|
H A D | tree-vect-stmts.c | 1988 gcc_assert (TREE_TYPE (loop_mask) == mask_type); in prepare_load_store_mask() 8455 tree mask_type; in vect_gen_perm_mask_any() local 8460 mask_type = build_vector_type (ssizetype, nunits); in vect_gen_perm_mask_any() 8461 return vec_perm_indices_to_tree (mask_type, sel); in vect_gen_perm_mask_any() 10512 tree mask_type; in vectorizable_comparison() local 10521 mask_type = vectype; in vectorizable_comparison() 10570 vectype = mask_type; in vectorizable_comparison() 12079 tree mask_type = TREE_TYPE (mask); in vect_gen_while() local 12081 cmp_type, mask_type, in vect_gen_while() 12085 build_zero_cst (mask_type)); in vect_gen_while() [all …]
|
H A D | tree-vect-loop.c | 939 if (rgm->mask_type != NULL_TREE in can_produce_all_loop_masks_p() 941 cmp_type, rgm->mask_type, in can_produce_all_loop_masks_p() 3566 if (rgm->mask_type) in vect_estimate_min_profitable_iters() 5123 tree mask_type = truth_type_for (index_type); in vect_create_epilog_for_reduction() local 5170 tree sel = gimple_build (&seq, EQ_EXPR, mask_type, in vect_create_epilog_for_reduction() 8325 rgm->mask_type = truth_type_for (vectype); in vect_record_loop_mask() 8341 tree mask_type = rgm->mask_type; in vect_get_loop_mask() local 8350 tree mask = make_temp_ssa_name (mask_type, NULL, "loop_mask"); in vect_get_loop_mask() 8358 if (maybe_ne (TYPE_VECTOR_SUBPARTS (mask_type), in vect_get_loop_mask() 8367 gcc_assert (multiple_p (TYPE_VECTOR_SUBPARTS (mask_type), in vect_get_loop_mask() [all …]
|
/netbsd/external/apache2/llvm/dist/libcxx/include/experimental/ |
H A D | simd | 226 using mask_type = simd_mask<T, Abi>; 259 mask_type operator!() const; 294 friend mask_type operator==(const simd&, const simd&); 295 friend mask_type operator!=(const simd&, const simd&); 296 friend mask_type operator>=(const simd&, const simd&); 297 friend mask_type operator<=(const simd&, const simd&); 298 friend mask_type operator> (const simd&, const simd&); 299 friend mask_type operator< (const simd&, const simd&); 1215 where(const typename simd<_Tp, _Abi>::mask_type&, 1348 using mask_type = simd_mask<_Tp, _Abi>; [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/RISCV/ |
H A D | RISCVInstrInfoVPseudos.td | 2175 ValueType mask_type, 2183 (mask_type V0), 2226 (mask_type VR:$rs2), 2231 (mask_type VR:$rs2), 2283 (mask_type V0), 2306 (mask_type V0), 2353 (mask_type V0), 2359 (mask_type V0), 2383 ValueType mask_type, 2392 (mask_type V0), [all …]
|
H A D | RISCVInstrInfoVVLPatterns.td | 240 ValueType mask_type, 248 (mask_type true_mask), 257 (mask_type VMV0:$vm), 271 ValueType mask_type, 281 (mask_type true_mask), 290 (mask_type VMV0:$vm), 327 ValueType mask_type, 335 (mask_type true_mask),
|
/netbsd/external/gpl3/gcc/dist/libstdc++-v3/include/experimental/bits/ |
H A D | simd.h | 3036 _GLIBCXX_SIMD_INTRINSIC _GLIBCXX_SIMD_CONSTEXPR typename _R::mask_type 3039 using _RM = typename _R::mask_type; 3522 where(const typename simd<_Tp, _Ap>::mask_type& __k, 4752 is_convertible<simd_mask, typename _Rp::mask_type>>>> 4759 __data(static_cast<typename _Rp::mask_type>(__k)), __data(__ret), 5134 using mask_type = simd_mask<_Tp, _Abi>; 5261 _GLIBCXX_SIMD_ALWAYS_INLINE _GLIBCXX_SIMD_CONSTEXPR mask_type 5346 operator?:(const mask_type& __k, const simd& __where_true, 5365 { where(mask_type(__bitset_init, __init), *this) = ~*this; } 5377 _GLIBCXX_SIMD_INTRINSIC _GLIBCXX_SIMD_CONSTEXPR static mask_type [all …]
|
/netbsd/external/gpl3/gcc/dist/gcc/fortran/ |
H A D | trans-stmt.c | 5097 se.expr = convert (mask_type, se.expr); in gfc_trans_forall_1() 5288 tree mask_type, stmtblock_t * block) in gfc_evaluate_where_mask() argument 5339 cond = gfc_create_var (mask_type, "cond"); in gfc_evaluate_where_mask() 5341 mtmp = gfc_create_var (mask_type, "mask"); in gfc_evaluate_where_mask() 5362 tmp = fold_build2_loc (input_location, TRUTH_AND_EXPR, mask_type, in gfc_evaluate_where_mask() 5633 tree mask_type; in gfc_trans_where_2() local 5654 mask_type = gfc_get_logical_type (gfc_logical_kinds[0].kind); in gfc_trans_where_2() 5717 cmask = allocate_temp_for_forall_nest_1 (mask_type, size, block, in gfc_trans_where_2() 5722 pmask = allocate_temp_for_forall_nest_1 (mask_type, size, block, in gfc_trans_where_2() 5745 mask_type, block); in gfc_trans_where_2() [all …]
|
H A D | trans-stmt.cc | 5133 se.expr = convert (mask_type, se.expr); in gfc_trans_forall_1() 5324 tree mask_type, stmtblock_t * block) in gfc_evaluate_where_mask() argument 5375 cond = gfc_create_var (mask_type, "cond"); in gfc_evaluate_where_mask() 5377 mtmp = gfc_create_var (mask_type, "mask"); in gfc_evaluate_where_mask() 5398 tmp = fold_build2_loc (input_location, TRUTH_AND_EXPR, mask_type, in gfc_evaluate_where_mask() 5669 tree mask_type; in gfc_trans_where_2() local 5690 mask_type = gfc_get_logical_type (gfc_logical_kinds[0].kind); in gfc_trans_where_2() 5753 cmask = allocate_temp_for_forall_nest_1 (mask_type, size, block, in gfc_trans_where_2() 5758 pmask = allocate_temp_for_forall_nest_1 (mask_type, size, block, in gfc_trans_where_2() 5781 mask_type, block); in gfc_trans_where_2() [all …]
|
/netbsd/external/gpl3/gcc.old/dist/gcc/fortran/ |
H A D | trans-stmt.c | 5097 se.expr = convert (mask_type, se.expr); in gfc_trans_forall_1() 5288 tree mask_type, stmtblock_t * block) in gfc_evaluate_where_mask() argument 5339 cond = gfc_create_var (mask_type, "cond"); in gfc_evaluate_where_mask() 5341 mtmp = gfc_create_var (mask_type, "mask"); in gfc_evaluate_where_mask() 5362 tmp = fold_build2_loc (input_location, TRUTH_AND_EXPR, mask_type, in gfc_evaluate_where_mask() 5633 tree mask_type; in gfc_trans_where_2() local 5654 mask_type = gfc_get_logical_type (gfc_logical_kinds[0].kind); in gfc_trans_where_2() 5717 cmask = allocate_temp_for_forall_nest_1 (mask_type, size, block, in gfc_trans_where_2() 5722 pmask = allocate_temp_for_forall_nest_1 (mask_type, size, block, in gfc_trans_where_2() 5745 mask_type, block); in gfc_trans_where_2() [all …]
|