Home
last modified time | relevance | path

Searched refs:unsignedp (Results 1 – 25 of 198) sorted by relevance

12345678

/netbsd-src/external/gpl3/gcc/dist/libcpp/
H A Dexpr.cc877 result.unsignedp = !!(type & CPP_N_UNSIGNED); in cpp_interpret_integer()
945 else if (!result.unsignedp in cpp_interpret_integer()
972 result.unsignedp = true; in cpp_interpret_integer()
1007 result.unsignedp = num.unsignedp; in append_digit()
1112 result.unsignedp = false; in parse_defined()
1128 int unsignedp = 0; in eval_token() local
1130 result.unsignedp = false; in eval_token()
1167 &temp, &unsignedp); in eval_token()
1172 if (!unsignedp && (cppchar_signed_t) cc < 0) in eval_token()
1226 result.unsignedp = !!unsignedp; in eval_token()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libcpp/
H A Dexpr.c854 result.unsignedp = !!(type & CPP_N_UNSIGNED); in cpp_interpret_integer()
922 else if (!result.unsignedp in cpp_interpret_integer()
949 result.unsignedp = true; in cpp_interpret_integer()
984 result.unsignedp = num.unsignedp; in append_digit()
1086 result.unsignedp = false; in parse_defined()
1102 int unsignedp = 0; in eval_token() local
1104 result.unsignedp = false; in eval_token()
1141 &temp, &unsignedp); in eval_token()
1146 if (!unsignedp && (cppchar_signed_t) cc < 0) in eval_token()
1200 result.unsignedp = !!unsignedp; in eval_token()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/jit/
H A Ddummy-frontend.c167 jit_langhook_type_for_mode (machine_mode mode, int unsignedp) in jit_langhook_type_for_mode() argument
174 inner = jit_langhook_type_for_mode (GET_MODE_INNER (mode), unsignedp); in jit_langhook_type_for_mode()
187 return unsignedp ? unsigned_intQI_type_node : intQI_type_node; in jit_langhook_type_for_mode()
189 return unsignedp ? unsigned_intHI_type_node : intHI_type_node; in jit_langhook_type_for_mode()
191 return unsignedp ? unsigned_intSI_type_node : intSI_type_node; in jit_langhook_type_for_mode()
193 return unsignedp ? unsigned_intDI_type_node : intDI_type_node; in jit_langhook_type_for_mode()
195 return unsignedp ? unsigned_intTI_type_node : intTI_type_node; in jit_langhook_type_for_mode()
198 return unsignedp ? unsigned_type_node : integer_type_node; in jit_langhook_type_for_mode()
201 return unsignedp ? long_unsigned_type_node : long_integer_type_node; in jit_langhook_type_for_mode()
204 return unsignedp ? long_long_unsigned_type_node : long_long_integer_type_node; in jit_langhook_type_for_mode()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Doptabs.c197 int unsignedp, int no_extend) in widen_operand() argument
212 && SUBREG_CHECK_PROMOTED_SIGN (op, unsignedp))) in widen_operand()
213 return convert_modes (mode, oldmode, op, unsignedp); in widen_operand()
251 rtx target, int unsignedp) in expand_widen_pattern_expr() argument
323 create_convert_operand_from (&eops[op++], op0, tmode0, unsignedp); in expand_widen_pattern_expr()
325 create_convert_operand_from (&eops[op++], op1, tmode1, unsignedp); in expand_widen_pattern_expr()
327 create_convert_operand_from (&eops[op++], wide_op, wmode, unsignedp); in expand_widen_pattern_expr()
345 rtx op1, rtx op2, rtx target, int unsignedp) in expand_ternary_op() argument
353 create_convert_operand_from (&ops[1], op0, mode, unsignedp); in expand_ternary_op()
354 create_convert_operand_from (&ops[2], op1, mode, unsignedp); in expand_ternary_op()
[all …]
H A Dexpmed.c1497 machine_mode tmode, bool unsignedp) in convert_extracted_bit_field() argument
1508 x = convert_to_mode (int_mode, x, unsignedp); in convert_extracted_bit_field()
1513 return convert_to_mode (tmode, x, unsignedp); in convert_extracted_bit_field()
1527 int unsignedp, rtx target, in extract_bit_field_using_extv() argument
1596 return convert_extracted_bit_field (target, mode, tmode, unsignedp); in extract_bit_field_using_extv()
1625 int unsignedp, rtx target, machine_mode mode, in extract_bit_field_1() argument
1823 return convert_extracted_bit_field (sub, mode, tmode, unsignedp); in extract_bit_field_1()
1834 return convert_extracted_bit_field (op0, mode, tmode, unsignedp); in extract_bit_field_1()
1854 bitnum.to_constant (), unsignedp, in extract_bit_field_1()
1866 unsigned HOST_WIDE_INT bitnum, int unsignedp, in extract_integral_bit_field() argument
[all …]
H A Dlanghooks.c521 lhd_type_for_size (unsigned precision, int unsignedp) in lhd_type_for_size() argument
526 return unsignedp ? unsigned_type_node : integer_type_node; in lhd_type_for_size()
529 return unsignedp ? unsigned_char_type_node : signed_char_type_node; in lhd_type_for_size()
532 return unsignedp ? short_unsigned_type_node : short_integer_type_node; in lhd_type_for_size()
535 return unsignedp ? long_unsigned_type_node : long_integer_type_node; in lhd_type_for_size()
538 return unsignedp in lhd_type_for_size()
545 return (unsignedp ? int_n_trees[i].unsigned_type in lhd_type_for_size()
549 return unsignedp ? unsigned_intQI_type_node : intQI_type_node; in lhd_type_for_size()
552 return unsignedp ? unsigned_intHI_type_node : intHI_type_node; in lhd_type_for_size()
555 return unsignedp ? unsigned_intSI_type_node : intSI_type_node; in lhd_type_for_size()
[all …]
H A Dgimple.c2430 gimple_signed_or_unsigned_type (bool unsignedp, tree type) in gimple_signed_or_unsigned_type() argument
2439 return unsignedp ? unsigned_char_type_node : signed_char_type_node; in gimple_signed_or_unsigned_type()
2441 return unsignedp ? unsigned_type_node : integer_type_node; in gimple_signed_or_unsigned_type()
2443 return unsignedp ? short_unsigned_type_node : short_integer_type_node; in gimple_signed_or_unsigned_type()
2445 return unsignedp ? long_unsigned_type_node : long_integer_type_node; in gimple_signed_or_unsigned_type()
2448 return unsignedp in gimple_signed_or_unsigned_type()
2456 return unsignedp in gimple_signed_or_unsigned_type()
2462 return unsignedp ? unsigned_intTI_type_node : intTI_type_node; in gimple_signed_or_unsigned_type()
2465 return unsignedp ? unsigned_intDI_type_node : intDI_type_node; in gimple_signed_or_unsigned_type()
2467 return unsignedp ? unsigned_intSI_type_node : intSI_type_node; in gimple_signed_or_unsigned_type()
[all …]
H A Ddojump.c640 do_jump_by_parts_greater_rtx (scalar_int_mode mode, int unsignedp, rtx op0, in do_jump_by_parts_greater_rtx() argument
691 do_compare_rtx_and_jump (op0_word, op1_word, code, (unsignedp || i > 0), in do_jump_by_parts_greater_rtx()
700 do_compare_rtx_and_jump (op0_word, op1_word, NE, unsignedp, word_mode, in do_jump_by_parts_greater_rtx()
724 int unsignedp = TYPE_UNSIGNED (TREE_TYPE (treeop0)); in do_jump_by_parts_greater() local
726 do_jump_by_parts_greater_rtx (mode, unsignedp, op0, op1, if_false_label, in do_jump_by_parts_greater()
962 do_compare_rtx_and_jump (rtx op0, rtx op1, enum rtx_code code, int unsignedp, in do_compare_rtx_and_jump() argument
1008 code = unsignedp ? unsigned_condition (code) : code; in do_compare_rtx_and_jump()
1026 unsignedp = (code == GTU || code == LTU || code == GEU || code == LEU); in do_compare_rtx_and_jump()
1157 do_compare_rtx_and_jump (op0, op1, first_code, unsignedp, mode, in do_compare_rtx_and_jump()
1163 do_compare_rtx_and_jump (op0, op1, first_code, unsignedp, mode, in do_compare_rtx_and_jump()
[all …]
H A Doptabs-query.c277 int unsignedp) in can_extend_p() argument
279 if (unsignedp < 0 && targetm.have_ptr_extend ()) in can_extend_p()
282 convert_optab tab = unsignedp ? zext_optab : sext_optab; in can_extend_p()
292 int unsignedp) in can_float_p() argument
294 convert_optab tab = unsignedp ? ufloat_optab : sfloat_optab; in can_float_p()
307 int unsignedp, bool *truncp_ptr) in can_fix_p() argument
312 tab = unsignedp ? ufixtrunc_optab : sfixtrunc_optab; in can_fix_p()
323 tab = unsignedp ? ufix_optab : sfix_optab; in can_fix_p()
H A Dexpr.c213 convert_move (rtx to, rtx from, int unsignedp) in convert_move() argument
236 && SUBREG_CHECK_PROMOTED_SIGN (from, unsignedp)) in convert_move()
256 optab op = unsignedp ? zext_optab : sext_optab; in convert_move()
261 unsignedp ? ZERO_EXTEND : SIGN_EXTEND); in convert_move()
292 convert_move (XEXP (to, 0), XEXP (from, 0), unsignedp); in convert_move()
293 convert_move (XEXP (to, 1), XEXP (from, 1), unsignedp); in convert_move()
297 convert_mode_scalar (to, from, unsignedp); in convert_move()
303 convert_mode_scalar (rtx to, rtx from, int unsignedp) in convert_mode_scalar() argument
316 enum rtx_code equiv_code = (unsignedp < 0 ? UNKNOWN in convert_mode_scalar()
317 : (unsignedp ? ZERO_EXTEND : SIGN_EXTEND)); in convert_mode_scalar()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Doptabs.cc201 int unsignedp, int no_extend) in widen_operand() argument
216 && SUBREG_CHECK_PROMOTED_SIGN (op, unsignedp))) in widen_operand()
217 return convert_modes (mode, oldmode, op, unsignedp); in widen_operand()
255 rtx target, int unsignedp) in expand_widen_pattern_expr() argument
349 create_convert_operand_from (&eops[op++], op0, tmode0, unsignedp); in expand_widen_pattern_expr()
351 create_convert_operand_from (&eops[op++], op1, tmode1, unsignedp); in expand_widen_pattern_expr()
353 create_convert_operand_from (&eops[op++], wide_op, wmode, unsignedp); in expand_widen_pattern_expr()
371 rtx op1, rtx op2, rtx target, int unsignedp) in expand_ternary_op() argument
379 create_convert_operand_from (&ops[1], op0, mode, unsignedp); in expand_ternary_op()
380 create_convert_operand_from (&ops[2], op1, mode, unsignedp); in expand_ternary_op()
[all …]
H A Dexpmed.cc1502 machine_mode tmode, bool unsignedp) in convert_extracted_bit_field() argument
1513 x = convert_to_mode (int_mode, x, unsignedp); in convert_extracted_bit_field()
1518 return convert_to_mode (tmode, x, unsignedp); in convert_extracted_bit_field()
1532 int unsignedp, rtx target, in extract_bit_field_using_extv() argument
1603 return convert_extracted_bit_field (target, mode, tmode, unsignedp); in extract_bit_field_using_extv()
1634 int unsignedp, rtx target, machine_mode mode, in extract_bit_field_1() argument
1835 return convert_extracted_bit_field (sub, mode, tmode, unsignedp); in extract_bit_field_1()
1846 return convert_extracted_bit_field (op0, mode, tmode, unsignedp); in extract_bit_field_1()
1866 bitnum.to_constant (), unsignedp, in extract_bit_field_1()
1878 unsigned HOST_WIDE_INT bitnum, int unsignedp, in extract_integral_bit_field() argument
[all …]
H A Dlanghooks.cc543 lhd_type_for_size (unsigned precision, int unsignedp) in lhd_type_for_size() argument
548 return unsignedp ? unsigned_type_node : integer_type_node; in lhd_type_for_size()
551 return unsignedp ? unsigned_char_type_node : signed_char_type_node; in lhd_type_for_size()
554 return unsignedp ? short_unsigned_type_node : short_integer_type_node; in lhd_type_for_size()
557 return unsignedp ? long_unsigned_type_node : long_integer_type_node; in lhd_type_for_size()
560 return unsignedp in lhd_type_for_size()
567 return (unsignedp ? int_n_trees[i].unsigned_type in lhd_type_for_size()
571 return unsignedp ? unsigned_intQI_type_node : intQI_type_node; in lhd_type_for_size()
574 return unsignedp ? unsigned_intHI_type_node : intHI_type_node; in lhd_type_for_size()
577 return unsignedp ? unsigned_intSI_type_node : intSI_type_node; in lhd_type_for_size()
[all …]
H A Dgimple-isel.cc125 bool unsignedp; in gimple_expand_vec_cond_expr() local
247 unsignedp = TYPE_UNSIGNED (TREE_TYPE (op0a)); in gimple_expand_vec_cond_expr()
252 icode = get_vcond_icode (mode, cmp_op_mode, unsignedp); in gimple_expand_vec_cond_expr()
258 && ((icode = get_vcond_icode (mode, cmp_op_mode, !unsignedp)) in gimple_expand_vec_cond_expr()
260 unsignedp = !unsignedp; in gimple_expand_vec_cond_expr()
289 return gimple_build_call_internal (unsignedp ? IFN_VCONDU : IFN_VCOND, in gimple_expand_vec_cond_expr()
H A Dgimple.cc2520 gimple_signed_or_unsigned_type (bool unsignedp, tree type) in gimple_signed_or_unsigned_type() argument
2529 return unsignedp ? unsigned_char_type_node : signed_char_type_node; in gimple_signed_or_unsigned_type()
2531 return unsignedp ? unsigned_type_node : integer_type_node; in gimple_signed_or_unsigned_type()
2533 return unsignedp ? short_unsigned_type_node : short_integer_type_node; in gimple_signed_or_unsigned_type()
2535 return unsignedp ? long_unsigned_type_node : long_integer_type_node; in gimple_signed_or_unsigned_type()
2538 return unsignedp in gimple_signed_or_unsigned_type()
2546 return unsignedp in gimple_signed_or_unsigned_type()
2552 return unsignedp ? unsigned_intTI_type_node : intTI_type_node; in gimple_signed_or_unsigned_type()
2555 return unsignedp ? unsigned_intDI_type_node : intDI_type_node; in gimple_signed_or_unsigned_type()
2557 return unsignedp ? unsigned_intSI_type_node : intSI_type_node; in gimple_signed_or_unsigned_type()
[all …]
H A Ddojump.cc640 do_jump_by_parts_greater_rtx (scalar_int_mode mode, int unsignedp, rtx op0, in do_jump_by_parts_greater_rtx() argument
691 do_compare_rtx_and_jump (op0_word, op1_word, code, (unsignedp || i > 0), in do_jump_by_parts_greater_rtx()
700 do_compare_rtx_and_jump (op0_word, op1_word, NE, unsignedp, word_mode, in do_jump_by_parts_greater_rtx()
724 int unsignedp = TYPE_UNSIGNED (TREE_TYPE (treeop0)); in do_jump_by_parts_greater() local
726 do_jump_by_parts_greater_rtx (mode, unsignedp, op0, op1, if_false_label, in do_jump_by_parts_greater()
962 do_compare_rtx_and_jump (rtx op0, rtx op1, enum rtx_code code, int unsignedp, in do_compare_rtx_and_jump() argument
1008 code = unsignedp ? unsigned_condition (code) : code; in do_compare_rtx_and_jump()
1026 unsignedp = (code == GTU || code == LTU || code == GEU || code == LEU); in do_compare_rtx_and_jump()
1182 do_compare_rtx_and_jump (op0, op1, first_code, unsignedp, mode, in do_compare_rtx_and_jump()
1197 do_compare_rtx_and_jump (op0, op1, first_code, unsignedp, mode, in do_compare_rtx_and_jump()
[all …]
H A Doptabs-query.cc277 int unsignedp) in can_extend_p() argument
279 if (unsignedp < 0 && targetm.have_ptr_extend ()) in can_extend_p()
282 convert_optab tab = unsignedp ? zext_optab : sext_optab; in can_extend_p()
292 int unsignedp) in can_float_p() argument
294 convert_optab tab = unsignedp ? ufloat_optab : sfloat_optab; in can_float_p()
307 int unsignedp, bool *truncp_ptr) in can_fix_p() argument
312 tab = unsignedp ? ufixtrunc_optab : sfixtrunc_optab; in can_fix_p()
323 tab = unsignedp ? ufix_optab : sfix_optab; in can_fix_p()
H A Dexpr.cc214 convert_move (rtx to, rtx from, int unsignedp) in convert_move() argument
237 && SUBREG_CHECK_PROMOTED_SIGN (from, unsignedp)) in convert_move()
258 SUBREG_PROMOTED_SET (from, unsignedp); in convert_move()
276 optab op = unsignedp ? zext_optab : sext_optab; in convert_move()
281 unsignedp ? ZERO_EXTEND : SIGN_EXTEND); in convert_move()
312 convert_move (XEXP (to, 0), XEXP (from, 0), unsignedp); in convert_move()
313 convert_move (XEXP (to, 1), XEXP (from, 1), unsignedp); in convert_move()
317 convert_mode_scalar (to, from, unsignedp); in convert_move()
323 convert_mode_scalar (rtx to, rtx from, int unsignedp) in convert_mode_scalar() argument
336 enum rtx_code equiv_code = (unsignedp < 0 ? UNKNOWN in convert_mode_scalar()
[all …]
H A Doptabs.h178 int unsignedp);
180 rtx op0, rtx op1, rtx target, int unsignedp,
376 extern enum rtx_code get_rtx_code_1 (enum tree_code tcode, bool unsignedp);
377 extern enum rtx_code get_rtx_code (enum tree_code tcode, bool unsignedp);
379 tree t_op0, tree t_op1, bool unsignedp,
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c-family/
H A Dc-common.c2094 c_common_type_for_size (unsigned int bits, int unsignedp) in c_common_type_for_size() argument
2099 return unsignedp ? unsigned_type_node : integer_type_node; in c_common_type_for_size()
2102 return unsignedp ? unsigned_char_type_node : signed_char_type_node; in c_common_type_for_size()
2105 return unsignedp ? short_unsigned_type_node : short_integer_type_node; in c_common_type_for_size()
2108 return unsignedp ? long_unsigned_type_node : long_integer_type_node; in c_common_type_for_size()
2111 return (unsignedp ? long_long_unsigned_type_node in c_common_type_for_size()
2117 return (unsignedp ? int_n_trees[i].unsigned_type in c_common_type_for_size()
2121 return (unsignedp ? widest_unsigned_literal_type_node in c_common_type_for_size()
2125 return unsignedp ? unsigned_intQI_type_node : intQI_type_node; in c_common_type_for_size()
2128 return unsignedp ? unsigned_intHI_type_node : intHI_type_node; in c_common_type_for_size()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/jit/
H A Ddummy-frontend.cc619 jit_langhook_type_for_mode (machine_mode mode, int unsignedp) in jit_langhook_type_for_mode() argument
626 inner = jit_langhook_type_for_mode (GET_MODE_INNER (mode), unsignedp); in jit_langhook_type_for_mode()
639 return unsignedp ? unsigned_intQI_type_node : intQI_type_node; in jit_langhook_type_for_mode()
641 return unsignedp ? unsigned_intHI_type_node : intHI_type_node; in jit_langhook_type_for_mode()
643 return unsignedp ? unsigned_intSI_type_node : intSI_type_node; in jit_langhook_type_for_mode()
645 return unsignedp ? unsigned_intDI_type_node : intDI_type_node; in jit_langhook_type_for_mode()
647 return unsignedp ? unsigned_intTI_type_node : intTI_type_node; in jit_langhook_type_for_mode()
650 return unsignedp ? unsigned_type_node : integer_type_node; in jit_langhook_type_for_mode()
653 return unsignedp ? long_unsigned_type_node : long_integer_type_node; in jit_langhook_type_for_mode()
656 return unsignedp ? long_long_unsigned_type_node : long_long_integer_type_node; in jit_langhook_type_for_mode()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Dd-lang.cc1351 d_type_for_mode (machine_mode mode, int unsignedp) in d_type_for_mode() argument
1354 return unsignedp ? d_ubyte_type : d_byte_type; in d_type_for_mode()
1357 return unsignedp ? d_ushort_type : d_short_type; in d_type_for_mode()
1360 return unsignedp ? d_uint_type : d_int_type; in d_type_for_mode()
1363 return unsignedp ? d_ulong_type : d_long_type; in d_type_for_mode()
1366 return unsignedp ? d_ucent_type : d_cent_type; in d_type_for_mode()
1387 if (unsignedp) in d_type_for_mode()
1407 inner_type = d_type_for_mode (inner_mode, unsignedp); in d_type_for_mode()
1414 tree inner_type = d_type_for_mode (inner_mode, unsignedp); in d_type_for_mode()
1425 d_type_for_size (unsigned bits, int unsignedp) in d_type_for_size() argument
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/c-family/
H A Dc-common.cc2288 c_common_type_for_size (unsigned int bits, int unsignedp) in c_common_type_for_size() argument
2293 return unsignedp ? unsigned_type_node : integer_type_node; in c_common_type_for_size()
2296 return unsignedp ? unsigned_char_type_node : signed_char_type_node; in c_common_type_for_size()
2299 return unsignedp ? short_unsigned_type_node : short_integer_type_node; in c_common_type_for_size()
2302 return unsignedp ? long_unsigned_type_node : long_integer_type_node; in c_common_type_for_size()
2305 return (unsignedp ? long_long_unsigned_type_node in c_common_type_for_size()
2311 return (unsignedp ? int_n_trees[i].unsigned_type in c_common_type_for_size()
2315 return (unsignedp ? widest_unsigned_literal_type_node in c_common_type_for_size()
2319 return unsignedp ? unsigned_intQI_type_node : intQI_type_node; in c_common_type_for_size()
2322 return unsignedp ? unsigned_intHI_type_node : intHI_type_node; in c_common_type_for_size()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A Dtypes.cc50 d_signed_or_unsigned_type (int unsignedp, tree type) in d_signed_or_unsigned_type() argument
52 if (TYPE_UNSIGNED (type) == (unsigned) unsignedp) in d_signed_or_unsigned_type()
56 return unsignedp ? d_ucent_type : d_cent_type; in d_signed_or_unsigned_type()
59 return unsignedp ? d_ulong_type : d_long_type; in d_signed_or_unsigned_type()
62 return unsignedp ? d_uint_type : d_int_type; in d_signed_or_unsigned_type()
65 return unsignedp ? d_ushort_type : d_short_type; in d_signed_or_unsigned_type()
68 return unsignedp ? d_ubyte_type : d_byte_type; in d_signed_or_unsigned_type()
70 return signed_or_unsigned_type_for (unsignedp, type); in d_signed_or_unsigned_type()
280 d_build_bitfield_integer_type (unsigned HOST_WIDE_INT width, int unsignedp) in d_build_bitfield_integer_type() argument
284 return unsignedp ? d_ubyte_type : d_byte_type; in d_build_bitfield_integer_type()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/brig/
H A Dbrig-c.h46 extern tree brig_type_for_size (unsigned int bits, int unsignedp);
47 extern tree brig_type_for_mode (machine_mode, int unsignedp);

12345678