| /netbsd/src/external/gpl3/gcc/dist/gcc/ |
| D | range-op.cc | 55 return wi::max_value (TYPE_PRECISION (type) , TYPE_SIGN (type)); in max_limit() 63 return wi::min_value (TYPE_PRECISION (type) , TYPE_SIGN (type)); in min_limit() 110 signop sign = TYPE_SIGN (type); in wi_includes_zero_p() 148 widest_int rh_range = wi::sub (widest_int::from (rh_ub, TYPE_SIGN (type)), in wi_fold_in_parts() 149 widest_int::from (rh_lb, TYPE_SIGN (type))); in wi_fold_in_parts() 150 widest_int lh_range = wi::sub (widest_int::from (lh_ub, TYPE_SIGN (type)), in wi_fold_in_parts() 151 widest_int::from (lh_lb, TYPE_SIGN (type))); in wi_fold_in_parts() 309 const signop sgn = TYPE_SIGN (type); in value_range_from_overflowed_bounds() 347 const signop sgn = TYPE_SIGN (type); in value_range_with_overflow() 426 signop s = TYPE_SIGN (type); in create_possibly_reversed_range() [all …]
|
| D | range.cc | 49 signop sign = TYPE_SIGN (type); in range_positives() 57 signop sign = TYPE_SIGN (type); in range_negatives()
|
| D | value-range.h | 283 signop sign = TYPE_SIGN (t); in varying_compatible_p() 483 wide_int min = wi::min_value (TYPE_PRECISION (type), TYPE_SIGN (type)); in set_varying() 484 wide_int max = wi::max_value (TYPE_PRECISION (type), TYPE_SIGN (type)); in set_varying() 627 wide_int max = wi::max_value (TYPE_PRECISION (type), TYPE_SIGN (type)); in vrp_val_max()
|
| D | gimple-range-fold.h | 111 && TYPE_SIGN (type1) == TYPE_SIGN (type2)); in range_compatible_p()
|
| D | value-range.cc | 75 signop sign = TYPE_SIGN (ttype); in maybe_anti_range() 229 signop sign = TYPE_SIGN (type); in irange_set_anti_range() 647 signop sign = TYPE_SIGN (TREE_TYPE (cst)); in contains_p() 1662 signop sign = TYPE_SIGN (TREE_TYPE(m_base[0])); in irange_intersect() 1753 signop sign = TYPE_SIGN (range_type); in intersect() 1803 if (TYPE_SIGN (type) == SIGNED) in subtract_one() 1814 if (TYPE_SIGN (type) == SIGNED) in add_one() 1856 signop sign = TYPE_SIGN (ttype); in invert() 1937 wide_int type_min = wi::min_value (TYPE_PRECISION (type), TYPE_SIGN (type)); in dump_bound_with_infinite_markers() 1938 wide_int type_max = wi::max_value (TYPE_PRECISION (type), TYPE_SIGN (type)); in dump_bound_with_infinite_markers() [all …]
|
| D | tree-vect-patterns.cc | 67 signop sgn = TYPE_SIGN (TREE_TYPE (var)); in vect_get_range_info() 419 || TYPE_SIGN (unprom->type) == TYPE_SIGN (op_type)) in vect_look_through_possible_promotion() 484 TYPE_SIGN (*common_type)); in vect_joust_widened_integer() 778 && TYPE_SIGN (type) != TYPE_SIGN (TREE_TYPE (unprom->op))) in vect_convert_input() 780 TYPE_SIGN (unprom->type)); in vect_convert_input() 1019 if (TYPE_SIGN (type) != TYPE_SIGN (TREE_TYPE (match[2]))) in vect_recog_cond_expr_convert_pattern() 1155 : TYPE_SIGN (unprom_mult.type) != TYPE_SIGN (half_type))) in vect_recog_dot_prod_pattern() 2532 && TYPE_SIGN (rhs_type) != TYPE_SIGN (unprom.type)) in vect_recog_cast_forwprop_pattern() 3770 if (!wi::neg_p (r.lower_bound (), TYPE_SIGN (itype))) in vect_recog_divmod_pattern() 3772 else if (wi::neg_p (r.upper_bound (), TYPE_SIGN (itype))) in vect_recog_divmod_pattern() [all …]
|
| D | tree-vrp.cc | 403 TYPE_SIGN (TREE_TYPE (val1))); in compare_values_warnv() 423 const signop sgn = TYPE_SIGN (TREE_TYPE (val1)); in compare_values_warnv() 577 const signop sgn = TYPE_SIGN (type); in combine_bound() 617 const signop sgn = TYPE_SIGN (type); in set_value_range_with_overflow() 1678 = wi::min_value (prec, TYPE_SIGN (TREE_TYPE (val))); in register_edge_assert_for_2() 1686 = wi::max_value (prec, TYPE_SIGN (TREE_TYPE (val))); in register_edge_assert_for_2() 1710 || (TYPE_SIGN (TREE_TYPE (name)) in register_edge_assert_for_2() 1711 == TYPE_SIGN (TREE_TYPE (rhs1))) in register_edge_assert_for_2() 1728 TYPE_SIGN (TREE_TYPE (rhs1))), in register_edge_assert_for_2() 1732 TYPE_SIGN (TREE_TYPE (rhs1))), in register_edge_assert_for_2() [all …]
|
| D | tree-ssa-ccp.cc | 316 TYPE_SIGN (TREE_TYPE (var))); in get_default_value() 323 TYPE_SIGN (TREE_TYPE (var))); in get_default_value() 1985 bit_value_unop (code, TYPE_SIGN (type), TYPE_PRECISION (type), &value, &mask, in bit_value_unop() 1986 TYPE_SIGN (TREE_TYPE (rhs)), TYPE_PRECISION (TREE_TYPE (rhs)), in bit_value_unop() 2032 bit_value_binop (code, TYPE_SIGN (type), TYPE_PRECISION (type), &value, &mask, in bit_value_binop() 2033 TYPE_SIGN (TREE_TYPE (rhs1)), TYPE_PRECISION (TREE_TYPE (rhs1)), in bit_value_binop() 2035 TYPE_SIGN (TREE_TYPE (rhs2)), TYPE_PRECISION (TREE_TYPE (rhs2)), in bit_value_binop() 2147 bit_value_binop (BIT_AND_EXPR, TYPE_SIGN (type), TYPE_PRECISION (type), &value, &mask, in bit_value_assume_aligned() 2148 … TYPE_SIGN (type), TYPE_PRECISION (type), value_to_wide_int (ptrval), ptrval.mask, in bit_value_assume_aligned() 2149 … TYPE_SIGN (type), TYPE_PRECISION (type), value_to_wide_int (alignval), alignval.mask); in bit_value_assume_aligned() [all …]
|
| D | graphite-sese-to-poly.cc | 435 min = wi::min_value (TYPE_PRECISION (type), TYPE_SIGN (type)); in add_param_constraints() 436 max = wi::max_value (TYPE_PRECISION (type), TYPE_SIGN (type)); in add_param_constraints() 442 widest_int::from (min, TYPE_SIGN (type))); in add_param_constraints() 452 widest_int::from (max, TYPE_SIGN (type))); in add_param_constraints()
|
| D | match.pd | 476 TYPE_SIGN (type), &overflow); 493 TYPE_SIGN (type), &overflow); 647 TYPE_SIGN (type))) 661 (if (TYPE_SIGN (type) == SIGNED 774 wi::mul (wmin0, wmin1, TYPE_SIGN (type), &min_ovf); 775 wi::mul (wmax0, wmax1, TYPE_SIGN (type), &max_ovf); 778 wi::mul (wmin0, wmax1, TYPE_SIGN (type), &min_ovf); 779 wi::mul (wmax0, wmin1, TYPE_SIGN (type), &max_ovf); 937 (if (TYPE_SIGN (TREE_TYPE (@0)) == SIGNED 1907 && wi::neg_p (wi::to_wide (@1), TYPE_SIGN (TREE_TYPE (@1)))) [all …]
|
| D | tree-ssanames.cc | 400 if (min == wi::min_value (TYPE_PRECISION (type), TYPE_SIGN (type)) in set_range_info() 401 && max == wi::max_value (TYPE_PRECISION (type), TYPE_SIGN (type))) in set_range_info()
|
| D | tree-ssa-loop-niter.cc | 106 wi::to_mpz (wi::to_wide (expr), offset, TYPE_SIGN (type)); in split_to_var_and_offset() 127 signop sgn = TYPE_SIGN (type); in refine_value_range_using_guard() 170 wi::to_mpz (wi::to_wide (c1), valc1, TYPE_SIGN (type)); in refine_value_range_using_guard() 228 wi::to_mpz (0, minc1, TYPE_SIGN (type)); in refine_value_range_using_guard() 229 wi::to_mpz (0, maxc1, TYPE_SIGN (type)); in refine_value_range_using_guard() 373 signop sgn = TYPE_SIGN (type); in determine_value_range() 928 TYPE_SIGN (type)) == 0) in number_of_iterations_ne_max() 1022 TYPE_SIGN (niter_type)); in number_of_iterations_ne() 1487 signop sgn = TYPE_SIGN (type); in number_of_iterations_until_wrap() 1662 TYPE_SIGN (niter_type)); in number_of_iterations_lt() [all …]
|
| D | vr-values.cc | 1710 signop sgn = TYPE_SIGN (TREE_TYPE (step)); in bounds_of_var_in_loop() 3426 src_sgn = TYPE_SIGN (src_type); in range_fits_type_p() 3697 TYPE_SIGN (TREE_TYPE (op0))) in simplify_casted_cond() 3974 innermin = widest_int::from (vr.lower_bound (), TYPE_SIGN (TREE_TYPE (innerop))); in simplify_conversion_using_ranges() 3975 innermax = widest_int::from (vr.upper_bound (), TYPE_SIGN (TREE_TYPE (innerop))); in simplify_conversion_using_ranges() 3991 inner_sgn = TYPE_SIGN (TREE_TYPE (innerop)); in simplify_conversion_using_ranges() 4000 middle_sgn = TYPE_SIGN (TREE_TYPE (middleop)); in simplify_conversion_using_ranges() 4007 final_sgn = TYPE_SIGN (finaltype); in simplify_conversion_using_ranges() 4365 if (TYPE_SIGN (type) == SIGNED in simplify()
|
| D | tree-ssa-phiopt.cc | 733 signop sgn = TYPE_SIGN (TREE_TYPE (lhs)); in two_value_replacement() 769 TYPE_SIGN (TREE_TYPE (lhs))); in two_value_replacement() 771 TYPE_SIGN (TREE_TYPE (arg0))); in two_value_replacement() 1811 TYPE_SIGN (TREE_TYPE (larger)), in minmax_replacement() 1820 TYPE_SIGN (TREE_TYPE (larger)), in minmax_replacement() 1840 TYPE_SIGN (TREE_TYPE (smaller)), in minmax_replacement() 1848 TYPE_SIGN (TREE_TYPE (smaller)), in minmax_replacement()
|
| D | tree-dfa.cc | 559 = offset_int::from (max, TYPE_SIGN (TREE_TYPE (index))); in get_ref_base_and_extent() 577 = offset_int::from (min, TYPE_SIGN (TREE_TYPE (index))); in get_ref_base_and_extent()
|
| D | tree-switch-conversion.h | 88 if (wi::neg_p (w, TYPE_SIGN (TREE_TYPE (low))) || !wi::fits_uhwi_p (w)) in get_range()
|
| D | print-tree.cc | 186 print_dec (wi::to_wide (node), file, TYPE_SIGN (TREE_TYPE (node))); in print_node_brief() 798 print_dec (wi::to_wide (node), file, TYPE_SIGN (TREE_TYPE (node))); in print_node()
|
| D | gimple-range-fold.cc | 1060 if (TYPE_SIGN (r.type ()) == SIGNED) in range_of_builtin_call() 1102 if (wi::gt_p (r.lower_bound (), 0, TYPE_SIGN (r.type ()))) in range_of_builtin_call()
|
| D | tree-vect-loop-manip.cc | 2064 TYPE_SIGN (type)), in vect_gen_vector_loop_niters() 2066 TYPE_SIGN (type))); in vect_gen_vector_loop_niters() 2073 TYPE_SIGN (type)) in vect_gen_vector_loop_niters() 2075 exact_log2 (const_vf), TYPE_SIGN (type)) in vect_gen_vector_loop_niters()
|
| D | gimple-predicate-analysis.cc | 392 && max != wi::max_value (TYPE_PRECISION (type), TYPE_SIGN (type))) in find_var_cmp_const() 398 && min != wi::min_value (TYPE_PRECISION (type), TYPE_SIGN (type))) in find_var_cmp_const()
|
| D | tree-switch-conversion.cc | 475 TYPE_SIGN (TREE_TYPE (m_range_min))); in contains_linear_function_p() 1573 if (wi::lt_p (min, iminval, TYPE_SIGN (index_type))) in emit() 1579 else if (wi::gt_p (min, iminval, TYPE_SIGN (index_type))) in emit()
|
| D | tree.cc | 1555 return wide_int_to_tree (type, widest_int::from (cst, TYPE_SIGN (type))); in double_int_to_tree() 1577 signop sign = TYPE_SIGN (type); in force_fit_type() 1691 signop sgn = TYPE_SIGN (type); in wide_int_to_tree_1() 1757 if (TYPE_SIGN (type) == UNSIGNED) in wide_int_to_tree_1() 2441 TYPE_SIGN (TREE_TYPE (i))); in real_value_from_int_cst() 6616 TYPE_SIGN (TREE_TYPE (t1))), in simple_cst_equal() 6618 TYPE_SIGN (TREE_TYPE (t2)))); in simple_cst_equal() 7908 unsigned prec = wi::min_precision (wi::to_wide (win), TYPE_SIGN (wtype)); in get_unwidened() 8043 signop sgn_c = TYPE_SIGN (TREE_TYPE (c)); in int_fits_type_p() 8142 wi::to_mpz (wi::to_wide (TYPE_MIN_VALUE (type)), min, TYPE_SIGN (type)); in get_type_static_bounds() [all …]
|
| D | fold-const.cc | 1184 signop sign = TYPE_SIGN (type); in int_const_binop() 2298 TYPE_SIGN (arg_type))); in fold_convert_const() 4821 if (size > precision || TYPE_SIGN (type) == UNSIGNED) in all_ones_mask_p() 6778 TYPE_SIGN (type))) in extract_muldiv_1() 6964 TYPE_SIGN (type))) in extract_muldiv_1() 7008 TYPE_SIGN (type))) in extract_muldiv_1() 7042 signop sign = TYPE_SIGN (ctype); in extract_muldiv_1() 7071 TYPE_SIGN (type))) in extract_muldiv_1() 7081 TYPE_SIGN (type))) in extract_muldiv_1() 7275 signop sign = TYPE_SIGN (type); in fold_div_compare() [all …]
|
| D | tree-vect-loop.cc | 3497 sign = TYPE_SIGN (op.type); in check_reduction_path() 3506 && sign != TYPE_SIGN (op.type)) in check_reduction_path() 6432 max_loop_value = wi::mul (wi::to_widest (step), ni, TYPE_SIGN (lhs_type), in is_nonwrapping_integer_induction() 6438 TYPE_SIGN (lhs_type), &overflow); in is_nonwrapping_integer_induction() 6442 return (wi::min_precision (max_loop_value, TYPE_SIGN (lhs_type)) in is_nonwrapping_integer_induction() 6779 && (TYPE_SIGN (TREE_TYPE (op.ops[0])) in vectorizable_reduction() 6780 != TYPE_SIGN (TREE_TYPE (op.ops[1])))) in vectorizable_reduction() 9166 signop sgn = TYPE_SIGN (type); in loop_niters_no_overflow()
|
| D | tree-ssa-reassoc.cc | 3066 != wi::min_value (prec, TYPE_SIGN (type))) in optimize_range_tests_xor() 3068 != wi::max_value (prec, TYPE_SIGN (type)))) in optimize_range_tests_xor() 3124 != wi::min_value (prec, TYPE_SIGN (type))) in optimize_range_tests_diff() 3126 != wi::max_value (prec, TYPE_SIGN (type)))) in optimize_range_tests_diff() 3374 if (wi::lt_p (min, ilowi, TYPE_SIGN (TREE_TYPE (lowi)))) in optimize_range_tests_to_bit_test() 3379 else if (wi::gt_p (min, ilowi, TYPE_SIGN (TREE_TYPE (lowi)))) in optimize_range_tests_to_bit_test()
|