Home
last modified time | relevance | path

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

1234

/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Doptabs.c216 widen_operand (op, mode, oldmode, unsignedp, no_extend) in widen_operand() argument
219 int unsignedp;
233 && SUBREG_PROMOTED_UNSIGNED_P (op) == unsignedp))
234 return convert_modes (mode, oldmode, op, unsignedp);
254 unsignedp, methods, class, binoptab) in expand_cmplxdiv_straight() argument
257 int unsignedp;
290 NULL_RTX, unsignedp, methods);
293 NULL_RTX, unsignedp, methods);
299 NULL_RTX, unsignedp, methods);
310 NULL_RTX, unsignedp, methods);
[all …]
H A Dcppexp.c348 result.unsignedp = !!(type & CPP_N_UNSIGNED);
414 else if (!result.unsignedp
422 result.unsignedp = true;
490 result.unsignedp = num.unsignedp;
557 result.unsignedp = false;
574 int unsignedp = 0; local
604 &temp, &unsignedp);
609 if (!unsignedp && (cppchar_signed_t) cc < 0)
654 result.unsignedp = !!unsignedp;
975 top->value.unsignedp = false;
[all …]
H A Dexpmed.c1007 extract_bit_field (str_rtx, bitsize, bitnum, unsignedp, in extract_bit_field() argument
1012 int unsignedp;
1147 return convert_to_mode (tmode, op0, unsignedp);
1198 if (unsignedp)
1260 if (unsignedp)
1537 target, unsignedp);
1541 return convert_to_mode (tmode, target, unsignedp);
1564 target, unsignedp) in extract_fixed_bit_field() argument
1568 int unsignedp;
1577 return extract_split_bit_field (op0, bitsize, bitpos, unsignedp);
[all …]
H A Dexpr.c576 convert_move (to, from, unsignedp) in convert_move() argument
578 int unsignedp;
588 enum rtx_code equiv_code = (unsignedp < 0 ? UNKNOWN
589 : (unsignedp ? ZERO_EXTEND : SIGN_EXTEND));
604 && SUBREG_PROMOTED_UNSIGNED_P (from) == unsignedp)
901 if ((code = can_extend_p (to_mode, from_mode, unsignedp))
915 && ((code = can_extend_p (to_mode, word_mode, unsignedp))
924 convert_move (gen_lowpart (word_mode, to), from, unsignedp);
945 lowfrom = convert_to_mode (lowpart_mode, from, unsignedp);
951 if (unsignedp)
[all …]
H A Dstmt.c2988 int unsignedp = TREE_UNSIGNED (type); local
2992 = promote_mode (type, old_mode, &unsignedp, 1);
2995 val = convert_modes (mode, old_mode, val, unsignedp);
3350 int unsignedp = TREE_UNSIGNED (TREE_TYPE (TREE_VALUE (a))); local
3352 &unsignedp, 0);
3356 convert_move (tmp, argvec[i], unsignedp);
3358 convert_move (DECL_RTL (f), tmp, unsignedp);
3929 int unsignedp = TREE_UNSIGNED (type); local
3931 = promote_mode (type, DECL_MODE (decl), &unsignedp, 0);
5275 int unsignedp; local
[all …]
H A Dc-common.c1950 c_common_type_for_size (bits, unsignedp) in c_common_type_for_size() argument
1952 int unsignedp;
1955 return unsignedp ? unsigned_type_node : integer_type_node;
1958 return unsignedp ? unsigned_char_type_node : signed_char_type_node;
1961 return unsignedp ? short_unsigned_type_node : short_integer_type_node;
1964 return unsignedp ? long_unsigned_type_node : long_integer_type_node;
1967 return (unsignedp ? long_long_unsigned_type_node
1971 return (unsignedp ? widest_unsigned_literal_type_node
1975 return unsignedp ? unsigned_intQI_type_node : intQI_type_node;
1978 return unsignedp ? unsigned_intHI_type_node : intHI_type_node;
[all …]
H A Dfunction.c393 p->fixup_var_refs_queue->unsignedp,
404 queue->unsignedp, list, 0);
863 int unsignedp; local
873 unsignedp = TREE_UNSIGNED (type);
912 mode = promote_mode (type, mode, &unsignedp, 0);
1581 temp->unsignedp = unsigned_p;
1591 fixup_var_refs (var, promoted_mode, unsignedp, may_share, ht) in fixup_var_refs() argument
1594 int unsignedp;
1608 fixup_var_refs_insns_with_hash (ht, var, promoted_mode, unsignedp,
1613 fixup_var_refs_insns (first_insn, var, promoted_mode, unsignedp,
[all …]
/openbsd-src/gnu/gcc/libcpp/
H A Dexpr.c375 result.unsignedp = !!(type & CPP_N_UNSIGNED); in cpp_interpret_integer()
441 else if (!result.unsignedp in cpp_interpret_integer()
449 result.unsignedp = true; in cpp_interpret_integer()
484 result.unsignedp = num.unsignedp; in append_digit()
579 result.unsignedp = false; in parse_defined()
594 int unsignedp = 0; in eval_token() local
596 result.unsignedp = false; in eval_token()
627 &temp, &unsignedp); in eval_token()
632 if (!unsignedp && (cppchar_signed_t) cc < 0) in eval_token()
669 result.unsignedp = !!unsignedp; in eval_token()
[all …]
H A Dcharset.c1382 unsigned int *pchars_seen, int *unsignedp) in narrow_str_to_charconst() argument
1441 *unsignedp = unsigned_p; in narrow_str_to_charconst()
1451 unsigned int *pchars_seen, int *unsignedp) in wide_str_to_charconst() argument
1490 *unsignedp = CPP_OPTION (pfile, unsigned_wchar); in wide_str_to_charconst()
1501 unsigned int *pchars_seen, int *unsignedp) in cpp_interpret_charconst() argument
1517 result = wide_str_to_charconst (pfile, str, pchars_seen, unsignedp); in cpp_interpret_charconst()
1519 result = narrow_str_to_charconst (pfile, str, pchars_seen, unsignedp); in cpp_interpret_charconst()
/openbsd-src/gnu/gcc/gcc/
H A Doptabs.c210 int unsignedp, int no_extend) in widen_operand() argument
223 && SUBREG_PROMOTED_UNSIGNED_P (op) == unsignedp)) in widen_operand()
224 return convert_modes (mode, oldmode, op, unsignedp); in widen_operand()
369 int unsignedp) in expand_widen_pattern_expr() argument
435 xop0, unsignedp); in expand_widen_pattern_expr()
443 xop1, unsignedp); in expand_widen_pattern_expr()
451 wxop, unsignedp); in expand_widen_pattern_expr()
508 rtx op1, rtx op2, rtx target, int unsignedp) in expand_ternary_op() argument
537 xop0, unsignedp); in expand_ternary_op()
544 xop1, unsignedp); in expand_ternary_op()
[all …]
H A Dstmt.c1533 int unsignedp = TYPE_UNSIGNED (type); in expand_value_return() local
1537 = promote_mode (type, old_mode, &unsignedp, 1); in expand_value_return()
1540 val = convert_modes (mode, old_mode, val, unsignedp); in expand_value_return()
1895 int unsignedp = TYPE_UNSIGNED (type); in expand_decl() local
1897 = promote_mode (type, DECL_MODE (decl), &unsignedp, 0); in expand_decl()
2322 int unsignedp = TYPE_UNSIGNED (index_type); in expand_case() local
2489 index = convert_to_mode (wider_mode, index, unsignedp); in expand_case()
2601 int unsignedp) in do_jump_if_equal() argument
2603 do_compare_rtx_and_jump (op0, op1, EQ, unsignedp, mode, in do_jump_if_equal()
2942 int unsignedp = TYPE_UNSIGNED (index_type); in emit_case_nodes() local
[all …]
H A Dexpmed.c1090 unsigned HOST_WIDE_INT bitnum, int unsignedp, rtx target, in extract_bit_field() argument
1278 return convert_to_mode (tmode, op0, unsignedp); in extract_bit_field()
1328 if (unsignedp) in extract_bit_field()
1388 if (unsignedp) in extract_bit_field()
1672 target = convert_to_mode (smode, target, unsignedp); in extract_bit_field()
1677 return convert_to_mode (tmode, target, unsignedp); in extract_bit_field()
1703 int unsignedp) in extract_fixed_bit_field() argument
1712 return extract_split_bit_field (op0, bitsize, bitpos, unsignedp); in extract_fixed_bit_field()
1728 unsignedp); in extract_fixed_bit_field()
1761 if (unsignedp) in extract_fixed_bit_field()
[all …]
H A Ddojump.c322 int unsignedp; in do_jump() local
331 &unsignedp, &volatilep, false); in do_jump()
333 type = lang_hooks.types.type_for_size (bitsize, unsignedp); in do_jump()
618 do_jump_by_parts_greater_rtx (enum machine_mode mode, int unsignedp, rtx op0, in do_jump_by_parts_greater_rtx() argument
650 (unsignedp || i > 0), word_mode, NULL_RTX, in do_jump_by_parts_greater_rtx()
654 do_compare_rtx_and_jump (op0_word, op1_word, NE, unsignedp, word_mode, in do_jump_by_parts_greater_rtx()
676 int unsignedp = TYPE_UNSIGNED (TREE_TYPE (TREE_OPERAND (exp, 0))); in do_jump_by_parts_greater() local
678 do_jump_by_parts_greater_rtx (mode, unsignedp, op0, op1, if_false_label, in do_jump_by_parts_greater()
797 compare_from_rtx (rtx op0, rtx op1, enum rtx_code code, int unsignedp, in compare_from_rtx() argument
815 code = unsignedp ? unsigned_condition (code) : code; in compare_from_rtx()
[all …]
H A Dc-common.c1611 c_common_type_for_size (unsigned int bits, int unsignedp) in c_common_type_for_size() argument
1614 return unsignedp ? unsigned_type_node : integer_type_node; in c_common_type_for_size()
1617 return unsignedp ? unsigned_char_type_node : signed_char_type_node; in c_common_type_for_size()
1620 return unsignedp ? short_unsigned_type_node : short_integer_type_node; in c_common_type_for_size()
1623 return unsignedp ? long_unsigned_type_node : long_integer_type_node; in c_common_type_for_size()
1626 return (unsignedp ? long_long_unsigned_type_node in c_common_type_for_size()
1630 return (unsignedp ? widest_unsigned_literal_type_node in c_common_type_for_size()
1634 return unsignedp ? unsigned_intQI_type_node : intQI_type_node; in c_common_type_for_size()
1637 return unsignedp ? unsigned_intHI_type_node : intHI_type_node; in c_common_type_for_size()
1640 return unsignedp ? unsigned_intSI_type_node : intSI_type_node; in c_common_type_for_size()
[all …]
H A Dexpr.c349 convert_move (rtx to, rtx from, int unsignedp) in convert_move() argument
359 enum rtx_code equiv_code = (unsignedp < 0 ? UNKNOWN in convert_move()
360 : (unsignedp ? ZERO_EXTEND : SIGN_EXTEND)); in convert_move()
377 && SUBREG_PROMOTED_UNSIGNED_P (from) == unsignedp) in convert_move()
404 convert_move (XEXP (to, 0), XEXP (from, 0), unsignedp); in convert_move()
405 convert_move (XEXP (to, 1), XEXP (from, 1), unsignedp); in convert_move()
467 from = convert_to_mode (full_mode, from, unsignedp); in convert_move()
512 if ((code = can_extend_p (to_mode, from_mode, unsignedp)) in convert_move()
526 && ((code = can_extend_p (to_mode, word_mode, unsignedp)) in convert_move()
535 convert_move (gen_lowpart (word_mode, to), from, unsignedp); in convert_move()
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/java/
H A Dtypeck.c174 java_type_for_mode (mode, unsignedp) in java_type_for_mode() argument
176 int unsignedp;
179 return unsignedp ? unsigned_int_type_node : int_type_node;
181 return unsignedp ? unsigned_long_type_node : long_type_node;
183 return unsignedp ? unsigned_short_type_node : short_type_node;
185 return unsignedp ? unsigned_byte_type_node : byte_type_node;
198 java_type_for_size (bits, unsignedp) in java_type_for_size() argument
200 int unsignedp;
203 return unsignedp ? unsigned_byte_type_node : byte_type_node;
205 return unsignedp ? unsigned_short_type_node : short_type_node;
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.mike/
H A Deh52.C5 int unsignedp = *punsignedp; in promote_mode() local
6 *punsignedp = unsignedp; in promote_mode()
/openbsd-src/gnu/gcc/gcc/treelang/
H A Dtreetree.c128 static tree tree_lang_type_for_size (unsigned precision, int unsignedp);
129 static tree tree_lang_type_for_mode (enum machine_mode mode, int unsignedp);
132 static tree tree_lang_signed_or_unsigned_type (int unsignedp, tree type);
845 tree_lang_type_for_size (unsigned precision, int unsignedp) in tree_lang_type_for_size() argument
850 && signed_and_unsigned_types[precision][unsignedp] != 0) in tree_lang_type_for_size()
851 return signed_and_unsigned_types[precision][unsignedp]; in tree_lang_type_for_size()
853 if (unsignedp) in tree_lang_type_for_size()
867 tree_lang_type_for_mode (enum machine_mode mode, int unsignedp) in tree_lang_type_for_mode() argument
870 return tree_lang_type_for_size (GET_MODE_BITSIZE (mode), unsignedp); in tree_lang_type_for_mode()
895 tree_lang_signed_or_unsigned_type (int unsignedp, tree type) in tree_lang_signed_or_unsigned_type() argument
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/
H A Duninit-4.c17 char unsignedp; member
/openbsd-src/gnu/gcc/gcc/config/v850/
H A Dv850.c1023 ep_memory_offset (enum machine_mode mode, int unsignedp ATTRIBUTE_UNUSED) in ep_memory_offset()
1033 && ( ( unsignedp && ! TARGET_US_BIT_SET) in ep_memory_offset()
1034 || (! unsignedp && TARGET_US_BIT_SET))) in ep_memory_offset()
1044 && ( ( unsignedp && ! TARGET_US_BIT_SET) in ep_memory_offset()
1045 || (! unsignedp && TARGET_US_BIT_SET))) in ep_memory_offset()
1164 int unsignedp = FALSE; in substitute_ep_register() local
1184 unsignedp = TRUE; in substitute_ep_register()
1202 unsignedp)) in substitute_ep_register()
1309 int unsignedp = FALSE; in v850_reorg() local
1339 unsignedp = TRUE; in v850_reorg()
[all …]
/openbsd-src/gnu/usr.bin/binutils/binutils/
H A Dieee.c3679 unsigned int unsignedp : 1; member
4240 unsigned int size, bfd_boolean unsignedp, bfd_boolean localp) in ieee_push_type() argument
4249 ts->type.unsignedp = unsignedp; in ieee_push_type()
4421 bfd_boolean unsignedp, bfd_boolean localp) in ieee_define_type() argument
4424 (unsigned int) -1, size, unsignedp, in ieee_define_type()
4433 bfd_boolean unsignedp, bfd_boolean localp, in ieee_define_named_type() argument
4499 if (! ieee_push_type (info, type_indx, size, unsignedp, localp)) in ieee_define_named_type()
5182 ieee_int_type (void *p, unsigned int size, bfd_boolean unsignedp) in ieee_int_type() argument
5206 if (unsignedp) in ieee_int_type()
5209 return ieee_push_type (info, indx, size, unsignedp, FALSE); in ieee_int_type()
[all …]
H A Dstabs.c1821 bfd_boolean unsignedp; in parse_stab_sun_builtin_type() local
1829 unsignedp = FALSE; in parse_stab_sun_builtin_type()
1832 unsignedp = TRUE; in parse_stab_sun_builtin_type()
1883 return debug_make_int_type (dhandle, bits / 8, unsignedp); in parse_stab_sun_builtin_type()
4785 bfd_boolean constp, volatilep, unsignedp, signedp; in stab_demangle_fund_type() local
4792 unsignedp = FALSE; in stab_demangle_fund_type()
4806 unsignedp = TRUE; in stab_demangle_fund_type()
4848 (unsignedp in stab_demangle_fund_type()
4852 *ptype = debug_make_int_type (minfo->dhandle, 8, unsignedp); in stab_demangle_fund_type()
4861 (unsignedp in stab_demangle_fund_type()
[all …]
/openbsd-src/gnu/usr.bin/binutils-2.17/binutils/
H A Dieee.c3680 unsigned int unsignedp : 1; member
4241 unsigned int size, bfd_boolean unsignedp, bfd_boolean localp) in ieee_push_type() argument
4250 ts->type.unsignedp = unsignedp; in ieee_push_type()
4422 bfd_boolean unsignedp, bfd_boolean localp) in ieee_define_type() argument
4425 (unsigned int) -1, size, unsignedp, in ieee_define_type()
4434 bfd_boolean unsignedp, bfd_boolean localp, in ieee_define_named_type() argument
4500 if (! ieee_push_type (info, type_indx, size, unsignedp, localp)) in ieee_define_named_type()
5185 ieee_int_type (void *p, unsigned int size, bfd_boolean unsignedp) in ieee_int_type() argument
5209 if (unsignedp) in ieee_int_type()
5212 return ieee_push_type (info, indx, size, unsignedp, FALSE); in ieee_int_type()
[all …]
H A Dstabs.c1823 bfd_boolean unsignedp; in parse_stab_sun_builtin_type() local
1831 unsignedp = FALSE; in parse_stab_sun_builtin_type()
1834 unsignedp = TRUE; in parse_stab_sun_builtin_type()
1885 return debug_make_int_type (dhandle, bits / 8, unsignedp); in parse_stab_sun_builtin_type()
4794 bfd_boolean constp, volatilep, unsignedp, signedp; in stab_demangle_fund_type() local
4801 unsignedp = FALSE; in stab_demangle_fund_type()
4815 unsignedp = TRUE; in stab_demangle_fund_type()
4857 (unsignedp in stab_demangle_fund_type()
4861 *ptype = debug_make_int_type (minfo->dhandle, 8, unsignedp); in stab_demangle_fund_type()
4870 (unsignedp in stab_demangle_fund_type()
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/config/v850/
H A Dv850.c925 ep_memory_offset (mode, unsignedp) in ep_memory_offset() argument
927 int ATTRIBUTE_UNUSED unsignedp;
937 && ( ( unsignedp && ! TARGET_US_BIT_SET)
938 || (! unsignedp && TARGET_US_BIT_SET)))
948 && ( ( unsignedp && ! TARGET_US_BIT_SET)
949 || (! unsignedp && TARGET_US_BIT_SET)))
1210 int unsignedp = FALSE; local
1230 unsignedp = TRUE;
1248 unsignedp))
1359 int unsignedp = FALSE; local
[all …]

1234