Home
last modified time | relevance | path

Searched refs:unsigned_type (Results 1 – 25 of 40) sorted by relevance

12

/netbsd-src/usr.bin/xlint/common/
H A Dinittyp.c52 #define typeinfo(name, signed_type, unsigned_type, size_in_bits, rv, c) \ argument
60 signed_type, unsigned_type, \
72 #define typeinfo(name, signed_type, unsigned_type, size_in_bits, rank, c) \ argument
74 signed_type, unsigned_type, \
H A Dlint.h139 #define unsigned_type(t) (type_properties(t)->tt_unsigned_counterpart)
138 #define unsigned_type( global() macro
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dtree-ssa-loop-niter.cc3628 tree type = TREE_TYPE (base), unsigned_type; in record_nonwrapping_iv() local
3647 unsigned_type = unsigned_type_for (type); in record_nonwrapping_iv()
3648 base = fold_convert (unsigned_type, base); in record_nonwrapping_iv()
3649 step = fold_convert (unsigned_type, step); in record_nonwrapping_iv()
3658 extreme = fold_convert (unsigned_type, low); in record_nonwrapping_iv()
3665 base = wide_int_to_tree (unsigned_type, max); in record_nonwrapping_iv()
3669 base = fold_convert (unsigned_type, high); in record_nonwrapping_iv()
3670 delta = fold_build2 (MINUS_EXPR, unsigned_type, base, extreme); in record_nonwrapping_iv()
3671 step = fold_build1 (NEGATE_EXPR, unsigned_type, step); in record_nonwrapping_iv()
3680 extreme = fold_convert (unsigned_type, high); in record_nonwrapping_iv()
[all …]
H A Dfold-const.cc4538 tree unsigned_type; in optimize_bit_field_compare() local
4608 unsigned_type = lang_hooks.types.type_for_mode (nmode, 1); in optimize_bit_field_compare()
4623 mask = build_int_cst_type (unsigned_type, -1); in optimize_bit_field_compare()
4635 tree t1 = make_bit_field_ref (loc, linner, lhs, unsigned_type, in optimize_bit_field_compare()
4637 t1 = fold_build2_loc (loc, BIT_AND_EXPR, unsigned_type, t1, mask); in optimize_bit_field_compare()
4638 tree t2 = make_bit_field_ref (loc, rinner, rhs, unsigned_type, in optimize_bit_field_compare()
4640 t2 = fold_build2_loc (loc, BIT_AND_EXPR, unsigned_type, t2, mask); in optimize_bit_field_compare()
4686 lhs = make_bit_field_ref (loc, linner, lhs, unsigned_type, in optimize_bit_field_compare()
4691 fold_convert_loc (loc, unsigned_type, rhs), in optimize_bit_field_compare()
4696 build2 (BIT_AND_EXPR, unsigned_type, lhs, mask), rhs); in optimize_bit_field_compare()
[all …]
H A Dlanghooks.cc567 return (unsignedp ? int_n_trees[i].unsigned_type in lhd_type_for_size()
H A Dgimple.cc2544 && (type1 == int_n_trees[i].unsigned_type in gimple_signed_or_unsigned_type()
2547 ? int_n_trees[i].unsigned_type in gimple_signed_or_unsigned_type()
2668 ? int_n_trees[i].unsigned_type in gimple_signed_or_unsigned_type()
H A Dtree.cc9142 return (unsignedp ? int_n_trees[i].unsigned_type in make_or_reuse_type()
9304 int_n_trees[i].unsigned_type = make_unsigned_type (int_n_data[i].bitsize); in build_common_tree_nodes()
9309 integer_types[itk_unsigned_intN_0 + i * 2] = int_n_trees[i].unsigned_type; in build_common_tree_nodes()
9344 size_type_node = int_n_trees[i].unsigned_type; in build_common_tree_nodes()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dtree-ssa-loop-niter.c3514 tree type = TREE_TYPE (base), unsigned_type; in record_nonwrapping_iv() local
3533 unsigned_type = unsigned_type_for (type); in record_nonwrapping_iv()
3534 base = fold_convert (unsigned_type, base); in record_nonwrapping_iv()
3535 step = fold_convert (unsigned_type, step); in record_nonwrapping_iv()
3540 extreme = fold_convert (unsigned_type, low); in record_nonwrapping_iv()
3547 base = wide_int_to_tree (unsigned_type, max); in record_nonwrapping_iv()
3551 base = fold_convert (unsigned_type, high); in record_nonwrapping_iv()
3552 delta = fold_build2 (MINUS_EXPR, unsigned_type, base, extreme); in record_nonwrapping_iv()
3553 step = fold_build1 (NEGATE_EXPR, unsigned_type, step); in record_nonwrapping_iv()
3558 extreme = fold_convert (unsigned_type, high); in record_nonwrapping_iv()
[all …]
H A Dlanghooks.c545 return (unsignedp ? int_n_trees[i].unsigned_type in lhd_type_for_size()
H A Dfold-const.c4455 tree unsigned_type; in optimize_bit_field_compare() local
4525 unsigned_type = lang_hooks.types.type_for_mode (nmode, 1); in optimize_bit_field_compare()
4540 mask = build_int_cst_type (unsigned_type, -1); in optimize_bit_field_compare()
4552 tree t1 = make_bit_field_ref (loc, linner, lhs, unsigned_type, in optimize_bit_field_compare()
4554 t1 = fold_build2_loc (loc, BIT_AND_EXPR, unsigned_type, t1, mask); in optimize_bit_field_compare()
4555 tree t2 = make_bit_field_ref (loc, rinner, rhs, unsigned_type, in optimize_bit_field_compare()
4557 t2 = fold_build2_loc (loc, BIT_AND_EXPR, unsigned_type, t2, mask); in optimize_bit_field_compare()
4603 lhs = make_bit_field_ref (loc, linner, lhs, unsigned_type, in optimize_bit_field_compare()
4608 fold_convert_loc (loc, unsigned_type, rhs), in optimize_bit_field_compare()
4613 build2 (BIT_AND_EXPR, unsigned_type, lhs, mask), rhs); in optimize_bit_field_compare()
[all …]
H A Dgimple.c2454 && (type1 == int_n_trees[i].unsigned_type in gimple_signed_or_unsigned_type()
2457 ? int_n_trees[i].unsigned_type in gimple_signed_or_unsigned_type()
2578 ? int_n_trees[i].unsigned_type in gimple_signed_or_unsigned_type()
H A Dtree.c10052 return (unsignedp ? int_n_trees[i].unsigned_type in make_or_reuse_type()
10214 int_n_trees[i].unsigned_type = make_unsigned_type (int_n_data[i].bitsize); in build_common_tree_nodes()
10219 integer_types[itk_unsigned_intN_0 + i * 2] = int_n_trees[i].unsigned_type; in build_common_tree_nodes()
10254 size_type_node = int_n_trees[i].unsigned_type; in build_common_tree_nodes()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/lto/
H A Dlto-lang.c975 return (unsigned_p ? int_n_trees[i].unsigned_type in lto_type_for_mode()
1277 uintmax_type_node = int_n_trees[i].unsigned_type; in lto_build_c_type_nodes()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Dd-lang.cc1388 return int_n_trees[i].unsigned_type; in d_type_for_mode()
1447 return int_n_trees[i].unsigned_type; in d_type_for_size()
/netbsd-src/external/gpl3/gcc/dist/gcc/lto/
H A Dlto-lang.cc976 return (unsigned_p ? int_n_trees[i].unsigned_type in lto_type_for_mode()
1281 uintmax_type_node = int_n_trees[i].unsigned_type; in lto_build_c_type_nodes()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A Dd-lang.cc1499 return int_n_trees[i].unsigned_type; in d_type_for_mode()
1558 return int_n_trees[i].unsigned_type; in d_type_for_size()
H A Dtypes.cc303 return int_n_trees[i].unsigned_type; in d_build_bitfield_integer_type()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c-family/
H A Dc-common.c2117 return (unsignedp ? int_n_trees[i].unsigned_type in c_common_type_for_size()
2207 return (unsignedp ? int_n_trees[i].unsigned_type in c_common_type_for_mode()
2449 && (type1 == int_n_trees[i].unsigned_type in c_common_signed_or_unsigned_type()
2451 return (unsignedp ? int_n_trees[i].unsigned_type in c_common_signed_or_unsigned_type()
2571 return (unsignedp ? int_n_trees[i].unsigned_type in c_common_signed_or_unsigned_type()
2618 return (unsignedp ? int_n_trees[i].unsigned_type in c_build_bitfield_integer_type()
4043 record_builtin_type (RID_MAX, name, int_n_trees[i].unsigned_type); in c_common_nodes_and_builtins()
4045 record_builtin_type (RID_MAX, name, int_n_trees[i].unsigned_type); in c_common_nodes_and_builtins()
/netbsd-src/external/gpl3/gcc/dist/gcc/c-family/
H A Dc-common.cc2311 return (unsignedp ? int_n_trees[i].unsigned_type in c_common_type_for_size()
2401 return (unsignedp ? int_n_trees[i].unsigned_type in c_common_type_for_mode()
2643 && (type1 == int_n_trees[i].unsigned_type in c_common_signed_or_unsigned_type()
2645 return (unsignedp ? int_n_trees[i].unsigned_type in c_common_signed_or_unsigned_type()
2765 return (unsignedp ? int_n_trees[i].unsigned_type in c_common_signed_or_unsigned_type()
2812 return (unsignedp ? int_n_trees[i].unsigned_type in c_build_bitfield_integer_type()
4290 record_builtin_type (RID_MAX, name, int_n_trees[i].unsigned_type); in c_common_nodes_and_builtins()
4292 record_builtin_type (RID_MAX, name, int_n_trees[i].unsigned_type); in c_common_nodes_and_builtins()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/brig/
H A Dbrig-lang.c876 uintmax_type_node = int_n_trees[i].unsigned_type; in brig_build_c_type_nodes()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Drtti.c1587 emit_support_tinfo_1 (int_n_trees[ix].unsigned_type); in emit_support_tinfos()
H A Dtypeck.c385 || same_type_p (TYPE_MAIN_VARIANT (t1), int_n_trees[i].unsigned_type) in cp_common_type()
386 || same_type_p (TYPE_MAIN_VARIANT (t2), int_n_trees[i].unsigned_type))) in cp_common_type()
389 ? int_n_trees[i].unsigned_type in cp_common_type()
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Drtti.cc1630 emit_support_tinfo_1 (int_n_trees[ix].unsigned_type); in emit_support_tinfos()
H A Dtypeck.cc404 || same_type_p (TYPE_MAIN_VARIANT (t1), int_n_trees[i].unsigned_type) in cp_common_type()
405 || same_type_p (TYPE_MAIN_VARIANT (t2), int_n_trees[i].unsigned_type))) in cp_common_type()
408 ? int_n_trees[i].unsigned_type in cp_common_type()
/netbsd-src/usr.bin/xlint/lint1/
H A Dtree.c945 return unsigned_type(t); in fold_signed_integer()
1458 if (rt != szt && rt != unsigned_type(szt)) in build_assignment()

12