Home
last modified time | relevance | path

Searched refs:TYPE_UNSIGNED (Results 1 – 25 of 298) sorted by relevance

12345678910>>...12

/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Doptabs-tree.c57 return TYPE_UNSIGNED (type) ? umul_highpart_optab : smul_highpart_optab; in optab_for_tree_code()
70 return TYPE_UNSIGNED (type) ? umod_optab : smod_optab; in optab_for_tree_code()
87 return TYPE_UNSIGNED (type) ? usdiv_optab : ssdiv_optab; in optab_for_tree_code()
88 return TYPE_UNSIGNED (type) ? udiv_optab : sdiv_optab; in optab_for_tree_code()
99 return TYPE_UNSIGNED (type) ? usashl_optab : ssashl_optab; in optab_for_tree_code()
106 return TYPE_UNSIGNED (type) ? vlshr_optab : vashr_optab; in optab_for_tree_code()
110 return TYPE_UNSIGNED (type) ? lshr_optab : ashr_optab; in optab_for_tree_code()
133 return TYPE_UNSIGNED (type) ? umax_optab : smax_optab; in optab_for_tree_code()
136 return TYPE_UNSIGNED (type) ? umin_optab : smin_optab; in optab_for_tree_code()
142 return TYPE_UNSIGNED (type) ? usum_widen_optab : ssum_widen_optab; in optab_for_tree_code()
[all …]
H A Dconvert.c378 TYPE_UNSIGNED (typex)); in do_narrow()
383 && !TYPE_UNSIGNED (typex) in do_narrow()
403 if (TYPE_UNSIGNED (TREE_TYPE (expr)) in do_narrow()
404 || (TYPE_UNSIGNED (TREE_TYPE (arg0)) in do_narrow()
405 && (TYPE_UNSIGNED (TREE_TYPE (arg1)) in do_narrow()
429 if (!TYPE_UNSIGNED (typex)) in do_narrow()
434 if (TYPE_UNSIGNED (typex)) in do_narrow()
508 && !TYPE_UNSIGNED (type))) in convert_to_integer_1()
511 && !TYPE_UNSIGNED (type)) in convert_to_integer_1()
514 && !TYPE_UNSIGNED (type)) in convert_to_integer_1()
[all …]
H A Dvalue-range.h184 && !TYPE_UNSIGNED (type ()) in nonzero_p()
190 && TYPE_UNSIGNED (type ()) in nonzero_p()
H A Dtree-ssa-math-opts.c2313 if ((TYPE_UNSIGNED (inner_op_type) in widening_mult_conversion_strippable_p()
2314 || TYPE_UNSIGNED (op_type) == TYPE_UNSIGNED (inner_op_type)) in widening_mult_conversion_strippable_p()
2551 from_unsigned1 = TYPE_UNSIGNED (type1); in convert_mult_to_widen()
2552 from_unsigned2 = TYPE_UNSIGNED (type2); in convert_mult_to_widen()
2571 if ((TYPE_UNSIGNED (type1) in convert_mult_to_widen()
2573 || (TYPE_UNSIGNED (type2) in convert_mult_to_widen()
2601 || from_unsigned1 != TYPE_UNSIGNED (type1)) in convert_mult_to_widen()
2606 || from_unsigned2 != TYPE_UNSIGNED (type2)) in convert_mult_to_widen()
2748 from_unsigned1 = TYPE_UNSIGNED (type1); in convert_plusminus_to_widen()
2749 from_unsigned2 = TYPE_UNSIGNED (type2); in convert_plusminus_to_widen()
[all …]
H A Dtree-vect-patterns.c288 || ((TYPE_UNSIGNED (type) != TYPE_UNSIGNED (*orig_type)) && check_sign)) in type_conversion_p()
487 (precision, TYPE_UNSIGNED (*common_type)); in vect_joust_widened_integer()
502 && (TYPE_UNSIGNED (new_type) || !TYPE_UNSIGNED (*common_type))) in vect_joust_widened_type()
507 && (TYPE_UNSIGNED (*common_type) || !TYPE_UNSIGNED (new_type))) in vect_joust_widened_type()
770 (TYPE_PRECISION (type), TYPE_UNSIGNED (unprom->type)); in vect_convert_input()
1130 if (TYPE_UNSIGNED (abs_type)) in vect_recog_sad_pattern()
1144 && TYPE_UNSIGNED (unprom_diff.type)) in vect_recog_sad_pattern()
1223 || TYPE_UNSIGNED (type) != TYPE_UNSIGNED (half_type)) in vect_recog_widen_op_pattern()
1225 TYPE_UNSIGNED (half_type)); in vect_recog_widen_op_pattern()
1882 (target_precision, TYPE_UNSIGNED (new_type)); in vect_recog_mulhs_pattern()
[all …]
H A Dfold-const.c363 if (TYPE_UNSIGNED (type)) in may_negate_without_overflow_p()
386 if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)) in negate_expr_p()
451 if (TYPE_UNSIGNED (type)) in negate_expr_p()
476 if (TYPE_UNSIGNED (type)) in negate_expr_p()
635 if (TYPE_UNSIGNED (type)) in fold_negate_expr_1()
657 if (TYPE_UNSIGNED (type)) in fold_negate_expr_1()
709 tree ntype = TYPE_UNSIGNED (type) in fold_negate_expr_1()
965 return TYPE_UNSIGNED (type1) == TYPE_UNSIGNED (type2) in int_binop_types_match_p()
1971 if (!TYPE_UNSIGNED (type)) in size_diffop_loc()
2135 && (TYPE_UNSIGNED (type) in fold_convert_const_int_from_fixed()
[all …]
H A Dmatch.pd118 && !TYPE_UNSIGNED (TREE_TYPE (@0))
302 (if ((TYPE_UNSIGNED (type) || tree_expr_nonnegative_p (@0))
308 && (TYPE_UNSIGNED (TREE_TYPE (@1))
331 (if (!TYPE_UNSIGNED (type))
362 && TYPE_UNSIGNED (type))
379 (if (TYPE_UNSIGNED (type)
526 (if (!TYPE_UNSIGNED (type))
551 (if (!TYPE_UNSIGNED (TREE_TYPE (@0)))
570 && !TYPE_UNSIGNED (type)
598 (if ((TYPE_UNSIGNED (type) || tree_expr_nonnegative_p (@0))
[all …]
H A Dgimple-ssa-warn-alloca.c303 && !TYPE_UNSIGNED (TREE_TYPE (gimple_assign_rhs1 (def)))) in cast_from_signed_p()
401 if (TYPE_UNSIGNED (rhs1type)) in alloca_call_type()
464 gcc_assert (!len_casted || TYPE_UNSIGNED (TREE_TYPE (len_casted))); in alloca_call_type()
H A Dtree-chrec.c259 && TYPE_UNSIGNED (optype)) in chrec_fold_plus_1()
292 && TYPE_UNSIGNED (optype)) in chrec_fold_plus_1()
1341 if (TYPE_UNSIGNED (type) && !TYPE_UNSIGNED (ct)) in convert_affine_scev()
1346 else if (TYPE_UNSIGNED (ct) == TYPE_UNSIGNED (type) in convert_affine_scev()
1371 if (TYPE_PRECISION (step_type) > TYPE_PRECISION (ct) && TYPE_UNSIGNED (ct)) in convert_affine_scev()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Doptabs-tree.cc57 return TYPE_UNSIGNED (type) ? umul_highpart_optab : smul_highpart_optab; in optab_for_tree_code()
70 return TYPE_UNSIGNED (type) ? umod_optab : smod_optab; in optab_for_tree_code()
87 return TYPE_UNSIGNED (type) ? usdiv_optab : ssdiv_optab; in optab_for_tree_code()
88 return TYPE_UNSIGNED (type) ? udiv_optab : sdiv_optab; in optab_for_tree_code()
99 return TYPE_UNSIGNED (type) ? usashl_optab : ssashl_optab; in optab_for_tree_code()
106 return TYPE_UNSIGNED (type) ? vlshr_optab : vashr_optab; in optab_for_tree_code()
110 return TYPE_UNSIGNED (type) ? lshr_optab : ashr_optab; in optab_for_tree_code()
133 return TYPE_UNSIGNED (type) ? umax_optab : smax_optab; in optab_for_tree_code()
136 return TYPE_UNSIGNED (type) ? umin_optab : smin_optab; in optab_for_tree_code()
142 return TYPE_UNSIGNED (type) ? usum_widen_optab : ssum_widen_optab; in optab_for_tree_code()
[all …]
H A Dconvert.cc378 TYPE_UNSIGNED (typex)); in do_narrow()
383 && !TYPE_UNSIGNED (typex) in do_narrow()
403 if (TYPE_UNSIGNED (TREE_TYPE (expr)) in do_narrow()
404 || (TYPE_UNSIGNED (TREE_TYPE (arg0)) in do_narrow()
405 && (TYPE_UNSIGNED (TREE_TYPE (arg1)) in do_narrow()
429 if (!TYPE_UNSIGNED (typex)) in do_narrow()
434 if (TYPE_UNSIGNED (typex)) in do_narrow()
508 && !TYPE_UNSIGNED (type))) in convert_to_integer_1()
511 && !TYPE_UNSIGNED (type)) in convert_to_integer_1()
514 && !TYPE_UNSIGNED (type)) in convert_to_integer_1()
[all …]
H A Dtree-ssa-math-opts.cc2451 if ((TYPE_UNSIGNED (inner_op_type) in widening_mult_conversion_strippable_p()
2452 || TYPE_UNSIGNED (op_type) == TYPE_UNSIGNED (inner_op_type)) in widening_mult_conversion_strippable_p()
2697 from_unsigned1 = TYPE_UNSIGNED (type1); in convert_mult_to_widen()
2698 from_unsigned2 = TYPE_UNSIGNED (type2); in convert_mult_to_widen()
2717 if ((TYPE_UNSIGNED (type1) in convert_mult_to_widen()
2719 || (TYPE_UNSIGNED (type2) in convert_mult_to_widen()
2756 || from_unsigned1 != TYPE_UNSIGNED (type1)) in convert_mult_to_widen()
2761 || from_unsigned2 != TYPE_UNSIGNED (type2)) in convert_mult_to_widen()
2904 from_unsigned1 = TYPE_UNSIGNED (type1); in convert_plusminus_to_widen()
2905 from_unsigned2 = TYPE_UNSIGNED (type2); in convert_plusminus_to_widen()
[all …]
H A Dmatch.pd161 && !TYPE_UNSIGNED (TREE_TYPE (@0))
171 && !TYPE_UNSIGNED (TREE_TYPE (@0))
370 (if ((TYPE_UNSIGNED (type) || tree_expr_nonnegative_p (@0))
376 && (TYPE_UNSIGNED (TREE_TYPE (@1))
403 (if (!TYPE_UNSIGNED (type))
447 && TYPE_UNSIGNED (type))
461 (if (TYPE_UNSIGNED (type))
482 (if (TYPE_UNSIGNED (type)
629 (if (!TYPE_UNSIGNED (type))
654 (if (!TYPE_UNSIGNED (TREE_TYPE (@0)))
[all …]
H A Dtree-vect-patterns.cc295 || ((TYPE_UNSIGNED (type) != TYPE_UNSIGNED (*orig_type)) && check_sign)) in type_conversion_p()
494 (precision, TYPE_UNSIGNED (*common_type)); in vect_joust_widened_integer()
509 && (TYPE_UNSIGNED (new_type) || !TYPE_UNSIGNED (*common_type))) in vect_joust_widened_type()
514 && (TYPE_UNSIGNED (*common_type) || !TYPE_UNSIGNED (new_type))) in vect_joust_widened_type()
818 (TYPE_PRECISION (type), TYPE_UNSIGNED (unprom->type)); in vect_convert_input()
1154 ? TYPE_UNSIGNED (unprom_mult.type) in vect_recog_dot_prod_pattern()
1287 if (TYPE_UNSIGNED (abs_type)) in vect_recog_sad_pattern()
1301 && TYPE_UNSIGNED (unprom_diff.type)) in vect_recog_sad_pattern()
1380 || TYPE_UNSIGNED (type) != TYPE_UNSIGNED (half_type)) in vect_recog_widen_op_pattern()
1382 TYPE_UNSIGNED (half_type)); in vect_recog_widen_op_pattern()
[all …]
H A Dtree-chrec.cc259 && TYPE_UNSIGNED (optype)) in chrec_fold_plus_1()
292 && TYPE_UNSIGNED (optype)) in chrec_fold_plus_1()
1339 if (TYPE_UNSIGNED (type) && !TYPE_UNSIGNED (ct)) in convert_affine_scev()
1344 else if (TYPE_UNSIGNED (ct) == TYPE_UNSIGNED (type) in convert_affine_scev()
1369 if (TYPE_PRECISION (step_type) > TYPE_PRECISION (ct) && TYPE_UNSIGNED (ct)) in convert_affine_scev()
H A Dfold-const.cc375 if (TYPE_UNSIGNED (type)) in may_negate_without_overflow_p()
398 if (INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type)) in negate_expr_p()
463 if (TYPE_UNSIGNED (type)) in negate_expr_p()
488 if (TYPE_UNSIGNED (type)) in negate_expr_p()
647 if (TYPE_UNSIGNED (type)) in fold_negate_expr_1()
669 if (TYPE_UNSIGNED (type)) in fold_negate_expr_1()
721 tree ntype = TYPE_UNSIGNED (type) in fold_negate_expr_1()
977 return TYPE_UNSIGNED (type1) == TYPE_UNSIGNED (type2) in int_binop_types_match_p()
1976 if (!TYPE_UNSIGNED (type)) in size_diffop_loc()
2140 && (TYPE_UNSIGNED (type) in fold_convert_const_int_from_fixed()
[all …]
H A Dinternal-fn.cc668 if (TYPE_UNSIGNED (TREE_TYPE (arg))) in get_min_precision()
704 if (TYPE_UNSIGNED (TREE_TYPE (arg))) in get_min_precision()
739 && !TYPE_UNSIGNED (TREE_TYPE (TREE_TYPE (lhs)))) in expand_arith_set_overflow()
760 int uns = TYPE_UNSIGNED (TREE_TYPE (TREE_TYPE (lhs))); in expand_arith_overflow_result_store()
774 int uns = TYPE_UNSIGNED (TREE_TYPE (TREE_TYPE (lhs))); in expand_arith_overflow_result_store()
2463 int uns0_p = TYPE_UNSIGNED (TREE_TYPE (arg0)); in expand_arith_overflow()
2464 int uns1_p = TYPE_UNSIGNED (TREE_TYPE (arg1)); in expand_arith_overflow()
2465 int unsr_p = TYPE_UNSIGNED (type); in expand_arith_overflow()
2578 unsr_p = TYPE_UNSIGNED (optype); in expand_arith_overflow()
2621 unsr_p = TYPE_UNSIGNED (optype); in expand_arith_overflow()
[all …]
H A Dstor-layout.cc660 DECL_UNSIGNED (decl) = TYPE_UNSIGNED (type); in layout_decl()
2409 TYPE_UNSIGNED (type) = TYPE_UNSIGNED (TREE_TYPE (type)); in layout_type()
2429 TYPE_UNSIGNED (type) = TYPE_UNSIGNED (TREE_TYPE (type)); in layout_type()
2491 TYPE_UNSIGNED (type) = 1; in layout_type()
2524 && TYPE_UNSIGNED (TREE_TYPE (lb)) in layout_type()
2726 TYPE_UNSIGNED (type) = unsignedp; in make_fract_type()
2748 TYPE_UNSIGNED (type) = unsignedp; in make_accum_type()
2804 TYPE_UNSIGNED (sizetype) = 1; in initialize_sizetypes()
2808 TYPE_UNSIGNED (bitsizetype) = 1; in initialize_sizetypes()
2883 TYPE_UNSIGNED (type) = 1; in fixup_unsigned_type()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/
H A Dbrig-util.cc271 if (TYPE_UNSIGNED (tree_type)) in gccbrig_tree_type_to_hsa_type()
313 = TYPE_UNSIGNED (element_type) ? BRIG_TYPE_U8 : BRIG_TYPE_S8; in gccbrig_tree_type_to_hsa_type()
317 = TYPE_UNSIGNED (element_type) ? BRIG_TYPE_U16 : BRIG_TYPE_S16; in gccbrig_tree_type_to_hsa_type()
321 = TYPE_UNSIGNED (element_type) ? BRIG_TYPE_U32 : BRIG_TYPE_S32; in gccbrig_tree_type_to_hsa_type()
325 = TYPE_UNSIGNED (element_type) ? BRIG_TYPE_U64 : BRIG_TYPE_S64; in gccbrig_tree_type_to_hsa_type()
/netbsd-src/external/bsd/pcc/dist/pcc/driver/
H A Dtarget.c56 #define TYPE_UNSIGNED unsigned int macro
124 #define PCC_WINT_TYPE TYPE_UNSIGNED
133 #define PCC_SIZE_TYPE TYPE_UNSIGNED
/netbsd-src/external/gpl3/gcc/dist/gcc/objc/
H A Dobjc-encoding.cc631 case 8: c = TYPE_UNSIGNED (type) ? 'C' : 'c'; break; in encode_type()
632 case 16: c = TYPE_UNSIGNED (type) ? 'S' : 's'; break; in encode_type()
651 c = TYPE_UNSIGNED (type) ? 'L' : 'l'; in encode_type()
653 c = TYPE_UNSIGNED (type) ? 'I' : 'i'; in encode_type()
656 case 64: c = TYPE_UNSIGNED (type) ? 'Q' : 'q'; break; in encode_type()
657 case 128: c = TYPE_UNSIGNED (type) ? 'T' : 't'; break; in encode_type()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/objc/
H A Dobjc-encoding.c631 case 8: c = TYPE_UNSIGNED (type) ? 'C' : 'c'; break; in encode_type()
632 case 16: c = TYPE_UNSIGNED (type) ? 'S' : 's'; break; in encode_type()
651 c = TYPE_UNSIGNED (type) ? 'L' : 'l'; in encode_type()
653 c = TYPE_UNSIGNED (type) ? 'I' : 'i'; in encode_type()
656 case 64: c = TYPE_UNSIGNED (type) ? 'Q' : 'q'; break; in encode_type()
657 case 128: c = TYPE_UNSIGNED (type) ? 'T' : 't'; break; in encode_type()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c-family/
H A Dc-warn.c1205 if (TYPE_PRECISION (type) == 1 && !TYPE_UNSIGNED (type)) in conversion_warning()
1228 if (TYPE_UNSIGNED (type)) in conversion_warning()
1323 if (TYPE_UNSIGNED (TREE_TYPE (op)) && int_fits_type_p (op, type)) in conversion_warning()
1357 && INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type) in conversion_warning()
1418 if (TYPE_UNSIGNED (type)) in warnings_for_convert_and_check()
1426 (TYPE_UNSIGNED (exprtype) in warnings_for_convert_and_check()
1434 (TYPE_UNSIGNED (exprtype) in warnings_for_convert_and_check()
2265 int op0_signed = !TYPE_UNSIGNED (TREE_TYPE (orig_op0)); in warn_for_sign_compare()
2266 int op1_signed = !TYPE_UNSIGNED (TREE_TYPE (orig_op1)); in warn_for_sign_compare()
2284 if (!TYPE_UNSIGNED (result_type)) in warn_for_sign_compare()
[all …]
H A Dc-common.c1176 TYPE_UNSIGNED (TREE_TYPE (op))); in c_common_get_narrower()
1225 uns = TYPE_UNSIGNED (result_type); in shorten_binary_op()
1233 unsigned0 = TYPE_UNSIGNED (TREE_TYPE (op0)); in shorten_binary_op()
1237 unsigned1 = TYPE_UNSIGNED (TREE_TYPE (op1)); in shorten_binary_op()
1355 if (TYPE_UNSIGNED (type) && !TYPE_UNSIGNED (expr_type) in unsafe_conversion_p()
1361 else if (!TYPE_UNSIGNED (type) && TYPE_UNSIGNED (expr_type)) in unsafe_conversion_p()
1467 bool unsigned0 = TYPE_UNSIGNED (TREE_TYPE (op0)); in unsafe_conversion_p()
1468 bool unsigned1 = TYPE_UNSIGNED (TREE_TYPE (op1)); in unsafe_conversion_p()
1499 && TYPE_UNSIGNED (expr_type) != TYPE_UNSIGNED (type)) in unsafe_conversion_p()
1503 || (TYPE_UNSIGNED (type) && !TYPE_UNSIGNED (expr_type))) in unsafe_conversion_p()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/c-family/
H A Dc-warn.cc1207 if (TYPE_PRECISION (type) == 1 && !TYPE_UNSIGNED (type)) in conversion_warning()
1230 if (TYPE_UNSIGNED (type)) in conversion_warning()
1325 if (TYPE_UNSIGNED (TREE_TYPE (op)) && int_fits_type_p (op, type)) in conversion_warning()
1359 && INTEGRAL_TYPE_P (type) && TYPE_UNSIGNED (type) in conversion_warning()
1420 if (TYPE_UNSIGNED (type)) in warnings_for_convert_and_check()
1428 (TYPE_UNSIGNED (exprtype) in warnings_for_convert_and_check()
1436 (TYPE_UNSIGNED (exprtype) in warnings_for_convert_and_check()
2267 int op0_signed = !TYPE_UNSIGNED (TREE_TYPE (orig_op0)); in warn_for_sign_compare()
2268 int op1_signed = !TYPE_UNSIGNED (TREE_TYPE (orig_op1)); in warn_for_sign_compare()
2274 if (!TYPE_UNSIGNED (result_type)) in warn_for_sign_compare()
[all …]

12345678910>>...12