Home
last modified time | relevance | path

Searched refs:expr_type (Results 1 – 19 of 19) sorted by relevance

/dflybsd-src/contrib/gcc-8.0/gcc/
H A Dtree-vrp.c1093 zero_nonzero_bits_from_vr (const tree expr_type, in zero_nonzero_bits_from_vr() argument
1098 *may_be_nonzero = wi::minus_one (TYPE_PRECISION (expr_type)); in zero_nonzero_bits_from_vr()
1099 *must_be_nonzero = wi::zero (TYPE_PRECISION (expr_type)); in zero_nonzero_bits_from_vr()
1284 enum tree_code code, tree expr_type, in extract_range_from_binary_expr_1() argument
1293 if (!INTEGRAL_TYPE_P (expr_type) in extract_range_from_binary_expr_1()
1294 && !POINTER_TYPE_P (expr_type)) in extract_range_from_binary_expr_1()
1348 set_value_range_to_nonnull (vr, expr_type); in extract_range_from_binary_expr_1()
1357 extract_range_from_binary_expr_1 (vr, code, expr_type, &vrtem0, vr1_); in extract_range_from_binary_expr_1()
1361 extract_range_from_binary_expr_1 (&vrres, code, expr_type, in extract_range_from_binary_expr_1()
1371 extract_range_from_binary_expr_1 (vr, code, expr_type, vr0_, &vrtem0); in extract_range_from_binary_expr_1()
[all …]
H A Dtree-ssa-dom.c1504 tree expr_type; in eliminate_redundant_computations() local
1536 expr_type = TREE_TYPE (gimple_assign_lhs (stmt)); in eliminate_redundant_computations()
1540 expr_type = boolean_type_node; in eliminate_redundant_computations()
1544 expr_type = TREE_TYPE (gimple_call_lhs (stmt)); in eliminate_redundant_computations()
1548 expr_type = TREE_TYPE (gimple_switch_index (swtch_stmt)); in eliminate_redundant_computations()
1572 || useless_type_conversion_p (expr_type, TREE_TYPE (cached_lhs)))) in eliminate_redundant_computations()
1590 && !useless_type_conversion_p (expr_type, TREE_TYPE (cached_lhs))) in eliminate_redundant_computations()
1591 cached_lhs = fold_convert (expr_type, cached_lhs); in eliminate_redundant_computations()
H A Dubsan.c1794 tree expr_type = TREE_TYPE (expr); in ubsan_instrument_float_cast() local
1796 machine_mode mode = TYPE_MODE (expr_type); in ubsan_instrument_float_cast()
1816 max = build_real (expr_type, maxval); in ubsan_instrument_float_cast()
1820 min = build_minus_one_cst (expr_type); in ubsan_instrument_float_cast()
1847 min = build_real (expr_type, minval2); in ubsan_instrument_float_cast()
1866 max = build_real (expr_type, maxval); in ubsan_instrument_float_cast()
1870 min = build_minus_one_cst (expr_type); in ubsan_instrument_float_cast()
1880 min = build_real (expr_type, minval); in ubsan_instrument_float_cast()
1909 ubsan_type_descriptor (expr_type), in ubsan_instrument_float_cast()
H A Dvr-values.c754 tree expr_type, tree op0, tree op1) in extract_range_from_binary_expr() argument
783 vr0.min = vrp_val_min (expr_type); in extract_range_from_binary_expr()
784 vr0.max = vrp_val_max (expr_type); in extract_range_from_binary_expr()
789 vr1.min = vrp_val_min (expr_type); in extract_range_from_binary_expr()
790 vr1.max = vrp_val_max (expr_type); in extract_range_from_binary_expr()
794 extract_range_from_binary_expr_1 (vr, code, expr_type, &vr0, &vr1); in extract_range_from_binary_expr()
812 set_value_range (&n_vr1, VR_RANGE, vrp_val_min (expr_type), op1, NULL); in extract_range_from_binary_expr()
816 set_value_range (&n_vr1, VR_RANGE, op1, vrp_val_max (expr_type), NULL); in extract_range_from_binary_expr()
822 extract_range_from_binary_expr_1 (vr, code, expr_type, &vr0, &n_vr1); in extract_range_from_binary_expr()
836 set_value_range (&n_vr0, VR_RANGE, vrp_val_min (expr_type), op0, NULL); in extract_range_from_binary_expr()
[all …]
H A Dgenmatch.c641 ops (vNULL), expr_type (NULL), is_commutative (is_commutative_), in operand()
645 ops (vNULL), expr_type (e->expr_type), is_commutative (e->is_commutative), in expr()
652 const char *expr_type; member
2300 const char *expr_type, in get_operand_type() argument
2321 if (expr_type) in get_operand_type()
2322 return expr_type; in get_operand_type()
2345 const char *type = expr_type; in gen_transform()
2401 = get_operand_type (opr, i, in_type, expr_type, in gen_transform()
3286 "type", e->expr_type, in gen_1()
3376 "type", e->expr_type, in gen_1()
[all …]
/dflybsd-src/contrib/gcc-4.7/gcc/cp/
H A Dmethod.c549 tree expr_type; in do_build_copy_constructor() local
554 expr_type = TREE_TYPE (field); in do_build_copy_constructor()
560 else if (ANON_AGGR_TYPE_P (expr_type) && TYPE_FIELDS (expr_type)) in do_build_copy_constructor()
572 if (TREE_CODE (expr_type) != REFERENCE_TYPE) in do_build_copy_constructor()
578 quals |= cp_type_quals (expr_type); in do_build_copy_constructor()
579 expr_type = cp_build_qualified_type (expr_type, quals); in do_build_copy_constructor()
582 init = build3 (COMPONENT_REF, expr_type, parm, field, NULL_TREE); in do_build_copy_constructor()
583 if (move_p && TREE_CODE (expr_type) != REFERENCE_TYPE) in do_build_copy_constructor()
654 tree expr_type; in do_build_copy_assign() local
660 expr_type = TREE_TYPE (field); in do_build_copy_assign()
[all …]
H A Dcvt.c1692 tree expr_type; in perform_qualification_conversions() local
1694 expr_type = TREE_TYPE (expr); in perform_qualification_conversions()
1696 if (same_type_p (type, expr_type)) in perform_qualification_conversions()
1698 else if (TYPE_PTR_P (type) && TYPE_PTR_P (expr_type) in perform_qualification_conversions()
1699 && comp_ptr_ttypes (TREE_TYPE (type), TREE_TYPE (expr_type))) in perform_qualification_conversions()
1702 && TYPE_PTR_TO_MEMBER_P (expr_type) in perform_qualification_conversions()
1704 TYPE_PTRMEM_CLASS_TYPE (expr_type)) in perform_qualification_conversions()
1706 TYPE_PTRMEM_POINTED_TO_TYPE (expr_type))) in perform_qualification_conversions()
H A Dpt.c5366 tree expr_type; in convert_nontype_argument() local
5403 expr_type = TREE_TYPE (expr); in convert_nontype_argument()
5466 expr_type = TREE_TYPE (expr); in convert_nontype_argument()
5483 expr_type = TREE_TYPE (expr); in convert_nontype_argument()
5556 && TREE_CODE (expr_type) != ARRAY_TYPE) in convert_nontype_argument()
5617 expr_type)) in convert_nontype_argument()
5620 if (!at_least_as_qualified_p (TREE_TYPE (type), expr_type)) in convert_nontype_argument()
5682 if (!type_unknown_p (expr_type)) in convert_nontype_argument()
H A Dclass.c580 tree expr_type; in convert_to_base_statically() local
582 expr_type = TREE_TYPE (expr); in convert_to_base_statically()
583 if (!SAME_BINFO_TYPE_P (BINFO_TYPE (base), expr_type)) in convert_to_base_statically()
/dflybsd-src/contrib/gcc-8.0/gcc/cp/
H A Dmethod.c709 tree expr_type; in do_build_copy_constructor() local
716 expr_type = TREE_TYPE (field); in do_build_copy_constructor()
722 else if (ANON_AGGR_TYPE_P (expr_type) && TYPE_FIELDS (expr_type)) in do_build_copy_constructor()
734 if (TREE_CODE (expr_type) != REFERENCE_TYPE) in do_build_copy_constructor()
740 quals |= cp_type_quals (expr_type); in do_build_copy_constructor()
741 expr_type = cp_build_qualified_type (expr_type, quals); in do_build_copy_constructor()
744 init = build3 (COMPONENT_REF, expr_type, parm, field, NULL_TREE); in do_build_copy_constructor()
745 if (move_p && TREE_CODE (expr_type) != REFERENCE_TYPE in do_build_copy_constructor()
747 && !scalarish_type_p (expr_type)) in do_build_copy_constructor()
818 tree expr_type; in do_build_copy_assign() local
[all …]
H A Dcvt.c1925 tree expr_type = TREE_TYPE (expr); in can_convert_qual() local
1926 gcc_assert (!same_type_p (type, expr_type)); in can_convert_qual()
1928 if (TYPE_PTR_P (type) && TYPE_PTR_P (expr_type)) in can_convert_qual()
1929 return comp_ptr_ttypes (TREE_TYPE (type), TREE_TYPE (expr_type)); in can_convert_qual()
1930 else if (TYPE_PTRMEM_P (type) && TYPE_PTRMEM_P (expr_type)) in can_convert_qual()
1932 TYPE_PTRMEM_CLASS_TYPE (expr_type)) in can_convert_qual()
1934 TYPE_PTRMEM_POINTED_TO_TYPE (expr_type))); in can_convert_qual()
1947 tree expr_type; in perform_qualification_conversions() local
1949 expr_type = TREE_TYPE (expr); in perform_qualification_conversions()
1951 if (same_type_p (type, expr_type)) in perform_qualification_conversions()
H A Dpt.c6610 tree expr_type; in convert_nontype_argument() local
6655 expr_type = TREE_TYPE (expr); in convert_nontype_argument()
6668 if (NULLPTR_TYPE_P (expr_type) && TYPE_PTR_OR_PTRMEM_P (type)) in convert_nontype_argument()
6736 expr_type = TREE_TYPE (probe_type); in convert_nontype_argument()
6819 expr_type = TREE_TYPE (expr); in convert_nontype_argument()
6852 if (POINTER_TYPE_P (expr_type)) in convert_nontype_argument()
6941 expr_type)) in convert_nontype_argument()
6944 if (!at_least_as_qualified_p (TREE_TYPE (type), expr_type)) in convert_nontype_argument()
7023 if (!type_unknown_p (expr_type)) in convert_nontype_argument()
H A Dclass.c630 tree expr_type; in convert_to_base_statically() local
632 expr_type = TREE_TYPE (expr); in convert_to_base_statically()
633 if (!SAME_BINFO_TYPE_P (BINFO_TYPE (base), expr_type)) in convert_to_base_statically()
/dflybsd-src/contrib/gcc-4.7/gcc/
H A Dtree-vrp.c2353 enum tree_code code, tree expr_type, in extract_range_from_binary_expr_1() argument
2361 if (!INTEGRAL_TYPE_P (expr_type) in extract_range_from_binary_expr_1()
2362 && !POINTER_TYPE_P (expr_type)) in extract_range_from_binary_expr_1()
2434 if (POINTER_TYPE_P (expr_type)) in extract_range_from_binary_expr_1()
2443 set_value_range_to_nonnull (vr, expr_type); in extract_range_from_binary_expr_1()
2445 set_value_range_to_null (vr, expr_type); in extract_range_from_binary_expr_1()
2454 set_value_range_to_nonnull (vr, expr_type); in extract_range_from_binary_expr_1()
2456 set_value_range_to_null (vr, expr_type); in extract_range_from_binary_expr_1()
2465 set_value_range_to_nonnull (vr, expr_type); in extract_range_from_binary_expr_1()
2467 set_value_range_to_null (vr, expr_type); in extract_range_from_binary_expr_1()
[all …]
H A Dtree-ssa-dom.c1888 tree expr_type; in eliminate_redundant_computations() local
1920 expr_type = TREE_TYPE (gimple_assign_lhs (stmt)); in eliminate_redundant_computations()
1924 expr_type = boolean_type_node; in eliminate_redundant_computations()
1928 expr_type = TREE_TYPE (gimple_call_lhs (stmt)); in eliminate_redundant_computations()
1932 expr_type = TREE_TYPE (gimple_switch_index (stmt)); in eliminate_redundant_computations()
1956 || useless_type_conversion_p (expr_type, TREE_TYPE (cached_lhs)))) in eliminate_redundant_computations()
1974 && !useless_type_conversion_p (expr_type, TREE_TYPE (cached_lhs))) in eliminate_redundant_computations()
1975 cached_lhs = fold_convert (expr_type, cached_lhs); in eliminate_redundant_computations()
/dflybsd-src/contrib/gcc-8.0/gcc/c-family/
H A Dc-common.c1228 tree expr_type = TREE_TYPE (expr); in unsafe_conversion_p() local
1244 if (TREE_CODE (expr_type) == REAL_TYPE in unsafe_conversion_p()
1247 if (!real_isinteger (TREE_REAL_CST_PTR (expr), TYPE_MODE (expr_type))) in unsafe_conversion_p()
1251 else if (TREE_CODE (expr_type) == INTEGER_TYPE in unsafe_conversion_p()
1255 if (TYPE_UNSIGNED (type) && !TYPE_UNSIGNED (expr_type) in unsafe_conversion_p()
1264 expr_type, type, expr, result); in unsafe_conversion_p()
1269 expr_type, type, expr); in unsafe_conversion_p()
1272 else if (!TYPE_UNSIGNED (type) && TYPE_UNSIGNED (expr_type)) in unsafe_conversion_p()
1278 expr_type, type, expr, result); in unsafe_conversion_p()
1283 expr_type, type, expr); in unsafe_conversion_p()
[all …]
H A Dc-warn.c1074 tree expr_type = TREE_TYPE (expr); in conversion_warning() local
1126 expr_type, type, expr, result); in conversion_warning()
1130 expr_type, type, expr); in conversion_warning()
1150 expr_type, type); in conversion_warning()
1162 expr_type, type); in conversion_warning()
/dflybsd-src/contrib/gcc-4.7/gcc/c-family/
H A Dc-common.c1980 tree expr_type = TREE_TYPE (expr); in unsafe_conversion_p() local
1987 if (TREE_CODE (expr_type) == REAL_TYPE in unsafe_conversion_p()
1990 if (!real_isinteger (TREE_REAL_CST_PTR (expr), TYPE_MODE (expr_type))) in unsafe_conversion_p()
1994 else if (TREE_CODE (expr_type) == INTEGER_TYPE in unsafe_conversion_p()
1998 if (TYPE_UNSIGNED (type) && !TYPE_UNSIGNED (expr_type) in unsafe_conversion_p()
2005 else if (!TYPE_UNSIGNED (type) && TYPE_UNSIGNED (expr_type)) in unsafe_conversion_p()
2017 if (TREE_CODE (expr_type) == INTEGER_TYPE) in unsafe_conversion_p()
2025 else if (TREE_CODE (expr_type) == REAL_TYPE in unsafe_conversion_p()
2026 && TYPE_PRECISION (type) < TYPE_PRECISION (expr_type)) in unsafe_conversion_p()
2037 if (TREE_CODE (expr_type) == REAL_TYPE in unsafe_conversion_p()
[all …]
/dflybsd-src/contrib/gcc-8.0/gcc/c/
H A Dc-typeck.c2059 tree expr_type = TREE_TYPE (exp.value); in convert_lvalue_to_rvalue() local
2063 gcc_assert (TYPE_ATOMIC (expr_type)); in convert_lvalue_to_rvalue()
2071 nonatomic_type = build_qualified_type (expr_type, TYPE_UNQUALIFIED); in convert_lvalue_to_rvalue()