Home
last modified time | relevance | path

Searched refs:TYPE_PRECISION (Results 1 – 25 of 58) sorted by relevance

123

/NextBSD/contrib/gcc/
HDconvert.c65 if (TYPE_PRECISION (TREE_TYPE (expr)) != POINTER_SIZE) in convert_to_pointer()
107 if (TYPE_PRECISION (TREE_TYPE (expr)) != POINTER_SIZE) in convert_to_block_pointer()
143 if (TYPE_PRECISION (TREE_TYPE (exp)) > TYPE_PRECISION (float_type_node) in strip_float_extensions()
146 else if (TYPE_PRECISION (TREE_TYPE (exp)) in strip_float_extensions()
147 > TYPE_PRECISION (double_type_node) in strip_float_extensions()
165 if (TYPE_PRECISION (subt) > TYPE_PRECISION (expt)) in strip_float_extensions()
234 if (TYPE_PRECISION (TREE_TYPE (arg0)) > TYPE_PRECISION (type)) in convert_to_real()
240 && TYPE_PRECISION (newtype) < TYPE_PRECISION (itype) in convert_to_real()
288 if (TYPE_PRECISION (type) >= TYPE_PRECISION (TREE_TYPE (arg))) in convert_to_real()
305 && TYPE_PRECISION (type) < TYPE_PRECISION (TREE_TYPE (expr))) in convert_to_real()
[all …]
HDc-typeck.c243 && (TYPE_PRECISION (type) == TYPE_PRECISION (integer_type_node))) in c_type_promotes_to()
700 if (TYPE_PRECISION (t1) > TYPE_PRECISION (t2)) in c_common_type()
702 else if (TYPE_PRECISION (t2) > TYPE_PRECISION (t1)) in c_common_type()
759 t1 = c_common_type_for_size (TYPE_PRECISION (t1), 1); in common_type()
761 t2 = c_common_type_for_size (TYPE_PRECISION (t2), 1); in common_type()
827 t1 = c_common_type_for_size (TYPE_PRECISION (t1), TYPE_UNSIGNED (t1)); in comptypes_internal()
829 t2 = c_common_type_for_size (TYPE_PRECISION (t2), TYPE_UNSIGNED (t2)); in comptypes_internal()
1463 size_int (TYPE_PRECISION (char_type_node) in c_size_in_bytes()
1648 type = c_common_type_for_size (MAX (TYPE_PRECISION (type), in perform_integral_promotions()
1649 TYPE_PRECISION (integer_type_node)), in perform_integral_promotions()
[all …]
HDc-common.c861 const int wchar_bytes = TYPE_PRECISION (wchar_type_node) / BITS_PER_UNIT; in fix_string_type()
1133 TYPE_PRECISION (t1) == TYPE_PRECISION (t2)) in vector_types_convertible_p()
1177 && TYPE_PRECISION (type) == TYPE_PRECISION (TREE_TYPE (expr)))) in convert_and_check()
1692 if (bits == TYPE_PRECISION (integer_type_node)) in c_common_type_for_size()
1695 if (bits == TYPE_PRECISION (signed_char_type_node)) in c_common_type_for_size()
1698 if (bits == TYPE_PRECISION (short_integer_type_node)) in c_common_type_for_size()
1701 if (bits == TYPE_PRECISION (long_integer_type_node)) in c_common_type_for_size()
1704 if (bits == TYPE_PRECISION (long_long_integer_type_node)) in c_common_type_for_size()
1708 if (bits == TYPE_PRECISION (widest_integer_literal_type_node)) in c_common_type_for_size()
1712 if (bits <= TYPE_PRECISION (intQI_type_node)) in c_common_type_for_size()
[all …]
HDdbxout.c699 const unsigned int width = TYPE_PRECISION (TREE_TYPE (cst)); in stabstr_O()
1860 && TYPE_PRECISION (type) != TYPE_PRECISION (integer_type_node)) in dbxout_type()
1863 stabstr_D (TYPE_PRECISION (type)); in dbxout_type()
1876 && TYPE_PRECISION (type) != TYPE_PRECISION (integer_type_node)) in dbxout_type()
1879 stabstr_D (TYPE_PRECISION (type)); in dbxout_type()
1953 stabstr_D (TYPE_PRECISION (TREE_TYPE (type))); in dbxout_type()
1958 stabstr_D (TYPE_PRECISION (TREE_TYPE (type))); in dbxout_type()
1960 stabstr_D (TYPE_PRECISION (TREE_TYPE (type))); in dbxout_type()
2150 && TYPE_PRECISION (type) != TYPE_PRECISION (integer_type_node)) in dbxout_type()
2153 stabstr_D (TYPE_PRECISION (type)); in dbxout_type()
[all …]
HDdojump.c199 if ((TYPE_PRECISION (TREE_TYPE (exp)) in do_jump()
200 < TYPE_PRECISION (TREE_TYPE (TREE_OPERAND (exp, 0))))) in do_jump()
225 && TYPE_PRECISION (TREE_TYPE (exp0)) in do_jump()
226 <= TYPE_PRECISION (TREE_TYPE (TREE_OPERAND (exp0, 0)))) in do_jump()
273 && TYPE_PRECISION (TREE_TYPE (exp)) <= HOST_BITS_PER_WIDE_INT in do_jump()
277 && TYPE_PRECISION (type) < TYPE_PRECISION (TREE_TYPE (exp)) in do_jump()
336 && TYPE_PRECISION (type) < TYPE_PRECISION (TREE_TYPE (exp)) in do_jump()
HDtree-vect-patterns.c104 || (TYPE_PRECISION (type) < (TYPE_PRECISION (*half_type) * 2))) in widened_name_p()
286 if (TYPE_PRECISION (prod_type) != TYPE_PRECISION (half_type0) * 2) in vect_recog_dot_prod_pattern()
HDfold-const.c226 prec = TYPE_PRECISION (TREE_TYPE (t)); in force_fit_type()
1039 prec = TYPE_PRECISION (type); in may_negate_without_overflow_p()
1155 && (unsigned HOST_WIDE_INT) (TYPE_PRECISION (type) - 1) in negate_expr_p()
1335 && (unsigned HOST_WIDE_INT) (TYPE_PRECISION (type) - 1) in fold_negate_expr()
1561 lshift_double (int1l, int1h, int2l, TYPE_PRECISION (type), in int_const_binop()
1568 lrotate_double (int1l, int1h, int2l, TYPE_PRECISION (type), in int_const_binop()
2641 if (TYPE_PRECISION (TREE_TYPE (arg0)) != TYPE_PRECISION (TREE_TYPE (arg1))) in operand_equal_p()
2945 correct_width = TYPE_PRECISION (TREE_TYPE (arg1)); in operand_equal_for_comparison_p()
2947 && TYPE_PRECISION (TREE_TYPE (primarg1)) < correct_width in operand_equal_for_comparison_p()
2948 && TYPE_PRECISION (TREE_TYPE (primother)) < correct_width) in operand_equal_for_comparison_p()
[all …]
HDtree-chrec.c1153 must_check_src_overflow = TYPE_PRECISION (ct) < TYPE_PRECISION (type); in convert_affine_scev()
1177 && TYPE_PRECISION (ct) == TYPE_PRECISION (type)) in convert_affine_scev()
1202 if (TYPE_PRECISION (type) > TYPE_PRECISION (ct) && TYPE_UNSIGNED (ct)) in convert_affine_scev()
1330 if (TYPE_PRECISION (type) > TYPE_PRECISION (inner_type)) in chrec_convert_aggressive()
HDtree.c734 bits = TYPE_PRECISION (type); in build_int_cst_type()
922 gcc_assert (bits <= TYPE_PRECISION (type)); in build_low_bits_mask()
924 if (bits == TYPE_PRECISION (type) in build_low_bits_mask()
955 if (TYPE_PRECISION (TREE_TYPE (x)) > HOST_BITS_PER_WIDE_INT) in cst_and_fits_in_hwi()
1369 ? POINTER_SIZE : TYPE_PRECISION (TREE_TYPE (expr))); in integer_pow2p()
1425 ? POINTER_SIZE : TYPE_PRECISION (TREE_TYPE (expr))); in tree_log2()
1463 ? POINTER_SIZE : TYPE_PRECISION (TREE_TYPE (expr))); in tree_floor_log2()
3414 unsigned int precision = TYPE_PRECISION (ntype); in build_type_attribute_qual_variant()
5136 TYPE_PRECISION (itype) = TYPE_PRECISION (sizetype); in build_index_type()
5160 TYPE_PRECISION (itype) = precision; in build_nonstandard_integer_type()
[all …]
HDstor-layout.c1575 if (TYPE_PRECISION (type) == 0) in layout_type()
1576 TYPE_PRECISION (type) = 1; /* default to one byte/boolean. */ in layout_type()
1586 TYPE_MODE (type) = smallest_mode_for_size (TYPE_PRECISION (type), in layout_type()
1593 TYPE_MODE (type) = mode_for_size (TYPE_PRECISION (type), MODE_FLOAT, 0); in layout_type()
1601 = mode_for_size (2 * TYPE_PRECISION (TREE_TYPE (type)), in layout_type()
1700 TYPE_PRECISION (type) = nbits; in layout_type()
1881 TYPE_PRECISION (type) = precision; in make_signed_type()
1894 TYPE_PRECISION (type) = precision; in make_unsigned_type()
1916 TYPE_PRECISION (t) = precision; in initialize_sizetypes()
1934 int oprecision = TYPE_PRECISION (type); in set_sizetype()
[all …]
HDc-cppbuiltin.c72 builtin_define_with_int_value (name, TYPE_PRECISION (type)); in builtin_define_type_precision()
494 if (TYPE_PRECISION (long_integer_type_node) == 64 in c_cpp_builtins()
496 && TYPE_PRECISION (integer_type_node) == 32) in c_cpp_builtins()
745 switch (TYPE_PRECISION (type)) in builtin_define_type_max()
HDtree-vect-generic.c61 if (TYPE_PRECISION (type) < HOST_BITS_PER_WIDE_INT) in build_replicated_const()
62 low &= ((HOST_WIDE_INT)1 << TYPE_PRECISION (type)) - 1, high = 0; in build_replicated_const()
63 else if (TYPE_PRECISION (type) == HOST_BITS_PER_WIDE_INT) in build_replicated_const()
65 else if (TYPE_PRECISION (type) == 2 * HOST_BITS_PER_WIDE_INT) in build_replicated_const()
HDtree-ssa-forwprop.c462 if (TYPE_PRECISION (def_rhs_inner_type) in find_equivalent_equality_comparison()
463 > TYPE_PRECISION (TREE_TYPE (def_rhs))) in find_equivalent_equality_comparison()
942 need_precision = TYPE_PRECISION (ti); in simplify_switch_expr()
950 if (TYPE_PRECISION (to) < need_precision) in simplify_switch_expr()
HDtree-ssa-loop-ivopts.c2546 unsigned bitno = TYPE_PRECISION (TREE_TYPE (t)) - 1; in tree_int_cst_sign_bit()
2571 unsigned precision = TYPE_PRECISION (TREE_TYPE (top)); in constant_multiple_of()
2631 unsigned prec = TYPE_PRECISION (type); in aff_combination_const()
2646 unsigned prec = TYPE_PRECISION (type); in aff_combination_elt()
2773 unsigned prec = TYPE_PRECISION (type); in aff_combination_convert()
2779 if (prec == TYPE_PRECISION (comb->type)) in aff_combination_convert()
2981 if (TYPE_PRECISION (type) > HOST_BITS_PER_WIDE_INT) in fold_affine_expr()
3005 if (TYPE_PRECISION (wider_type) < TYPE_PRECISION (atype)) in determine_common_wider_type()
3015 if (TYPE_PRECISION (wider_type) != TYPE_PRECISION (TREE_TYPE (subb))) in determine_common_wider_type()
3050 if (TYPE_PRECISION (utype) > TYPE_PRECISION (ctype)) in get_computation_aff()
[all …]
HDc-omp.c167 || TYPE_PRECISION (TREE_TYPE (exp)) < TYPE_PRECISION (TREE_TYPE (decl))) in check_omp_for_incr_expr()
HDc-opts.c1172 cpp_opts->precision = TYPE_PRECISION (intmax_type_node); in c_common_init()
1173 cpp_opts->char_precision = TYPE_PRECISION (char_type_node); in c_common_init()
1174 cpp_opts->int_precision = TYPE_PRECISION (integer_type_node); in c_common_init()
1175 cpp_opts->wchar_precision = TYPE_PRECISION (wchar_type_node); in c_common_init()
HDc-decl.c3424 && TYPE_PRECISION (type) < TYPE_PRECISION (integer_type_node)) in start_decl()
4330 max_width = TYPE_PRECISION (*type); in check_bitfield_type_and_width()
5858 TYPE_PRECISION (ref) = TYPE_PRECISION (unsigned_type_node); in parser_xref_tag()
6196 if (width != TYPE_PRECISION (type)) in finish_struct()
6416 if (TYPE_PACKED (enumtype) || precision > TYPE_PRECISION (integer_type_node)) in finish_enum()
6435 if (TYPE_PRECISION (enumtype)) in finish_enum()
6437 if (precision > TYPE_PRECISION (enumtype)) in finish_enum()
6441 TYPE_PRECISION (enumtype) = TYPE_PRECISION (tem); in finish_enum()
6500 TYPE_PRECISION (tem) = TYPE_PRECISION (enumtype); in finish_enum()
6569 type = c_common_type_for_size (MAX (TYPE_PRECISION (type), in build_enumerator()
[all …]
HDvarasm.c2560 if (TYPE_PRECISION (TREE_TYPE (t1)) != TYPE_PRECISION (TREE_TYPE (t2))) in compare_constant()
2568 if (TYPE_PRECISION (TREE_TYPE (t1)) != TYPE_PRECISION (TREE_TYPE (t2))) in compare_constant()
3804 && (TYPE_PRECISION (dest_type) == TYPE_PRECISION (src_type))) in initializer_constant_valid_p()
3819 && (TYPE_PRECISION (dest_type) >= TYPE_PRECISION (src_type))) in initializer_constant_valid_p()
3829 && TYPE_PRECISION (dest_type) >= TYPE_PRECISION (src_type)) in initializer_constant_valid_p()
3833 else if (TYPE_PRECISION (dest_type) <= TYPE_PRECISION (src_type)) in initializer_constant_valid_p()
3847 || TYPE_PRECISION (endtype) >= POINTER_SIZE) in initializer_constant_valid_p()
3863 || TYPE_PRECISION (endtype) >= POINTER_SIZE) in initializer_constant_valid_p()
HDtree-ssa-loop-niter.c94 if (TYPE_PRECISION (type) <= HOST_BITS_PER_WIDE_INT) in inverse()
177 (TYPE_PRECISION (niter_type) in number_of_iterations_ne()
1613 cst = double_int_sext (cst, TYPE_PRECISION (type)); in derive_constant_upper_bound()
1956 if (TYPE_PRECISION (nit_type) > TYPE_PRECISION (bound_type)) in n_of_executions_at_most()
HDc-lex.c815 value = build_string (TYPE_PRECISION (wchar_type_node) in lex_string()
816 / TYPE_PRECISION (char_type_node), in lex_string()
HDdouble-int.c298 cst = double_int_ext (cst, TYPE_PRECISION (type), TYPE_UNSIGNED (type)); in double_int_to_tree()
HDtree-dump.c443 dump_int (di, "prec", TYPE_PRECISION (t)); in dequeue_and_dump()
453 dump_int (di, "prec", TYPE_PRECISION (t)); in dequeue_and_dump()
HDtree-ssa.c972 && TYPE_PRECISION (inner_type) == TYPE_PRECISION (outer_type) in tree_ssa_useless_type_conversion_1()
/NextBSD/contrib/gcc/cp/
HDtypeck.c314 if (TYPE_PRECISION (t1) > TYPE_PRECISION (t2)) in type_after_usual_arithmetic_conversions()
316 else if (TYPE_PRECISION (t2) > TYPE_PRECISION (t1)) in type_after_usual_arithmetic_conversions()
3337 if (compare_tree_int (op1, TYPE_PRECISION (type0)) >= 0) in build_binary_op()
3358 else if (compare_tree_int (op1, TYPE_PRECISION (type0)) >= 0) in build_binary_op()
3380 else if (compare_tree_int (op1, TYPE_PRECISION (type0)) >= 0) in build_binary_op()
3650 if ((TYPE_PRECISION (TREE_TYPE (arg0)) in build_binary_op()
3651 < TYPE_PRECISION (result_type)) in build_binary_op()
3652 && (TYPE_PRECISION (TREE_TYPE (arg1)) in build_binary_op()
3653 == TYPE_PRECISION (TREE_TYPE (arg0))) in build_binary_op()
3660 && (TYPE_PRECISION (TREE_TYPE (arg1)) in build_binary_op()
[all …]
HDcvt.c271 if (TYPE_PRECISION (intype) == POINTER_SIZE) in cp_convert_to_pointer()
1238 int precision = MAX (TYPE_PRECISION (type), in type_promotes_to()
1239 TYPE_PRECISION (integer_type_node)); in type_promotes_to()
1251 && TYPE_PRECISION (type) == TYPE_PRECISION (integer_type_node)) in type_promotes_to()

123