Home
last modified time | relevance | path

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

/netbsd/src/external/bsd/pkg_install/dist/lib/
Dlicense.c225 int expr_type = 0; /* 0: unset, 1: or, 2: and */ in acceptable_pkg_license_internal() local
244 if (expr_type == 2) in acceptable_pkg_license_internal()
260 if (expr_type != 2) in acceptable_pkg_license_internal()
262 } else if (expr_type == 2) { in acceptable_pkg_license_internal()
294 if (expr_type == 1) { in acceptable_pkg_license_internal()
298 expr_type = 2; in acceptable_pkg_license_internal()
301 if (expr_type == 2) { in acceptable_pkg_license_internal()
305 expr_type = 1; in acceptable_pkg_license_internal()
/netbsd/src/external/gpl3/gcc/dist/gcc/
Dtree-vrp.cc711 tree expr_type, in extract_range_from_pointer_plus_expr() argument
715 gcc_checking_assert (POINTER_TYPE_P (expr_type) in extract_range_from_pointer_plus_expr()
734 && !TYPE_OVERFLOW_WRAPS (expr_type) in extract_range_from_pointer_plus_expr()
738 vr->set_nonzero (expr_type); in extract_range_from_pointer_plus_expr()
740 vr->set_zero (expr_type); in extract_range_from_pointer_plus_expr()
742 vr->set_varying (expr_type); in extract_range_from_pointer_plus_expr()
751 tree expr_type, in extract_range_from_plus_minus_expr() argument
765 extract_range_from_plus_minus_expr (vr, code, expr_type, &vrtem0, vr1_); in extract_range_from_plus_minus_expr()
769 extract_range_from_plus_minus_expr (&vrres, code, expr_type, in extract_range_from_plus_minus_expr()
779 extract_range_from_plus_minus_expr (vr, code, expr_type, vr0_, &vrtem0); in extract_range_from_plus_minus_expr()
[all …]
Dgcc-rich-location.cc200 tree expr_type = TREE_TYPE (m_expr); in get_text() local
206 range_label_for_type_mismatch inner (expr_type, other_type); in get_text()
Dvr-values.cc826 tree expr_type, tree op0, tree op1) in extract_range_from_binary_expr() argument
851 vr0 = value_range (vrp_val_min (expr_type), vrp_val_max (expr_type)); in extract_range_from_binary_expr()
853 vr1 = value_range (vrp_val_min (expr_type), vrp_val_max (expr_type)); in extract_range_from_binary_expr()
856 range_fold_binary_expr (vr, code, expr_type, &vr0, &vr1); in extract_range_from_binary_expr()
884 tree range_min = build_zero_cst (expr_type); in extract_range_from_binary_expr()
885 tree range_max = wide_int_to_tree (expr_type, wmax - 1); in extract_range_from_binary_expr()
907 n_vr1.set (vrp_val_min (expr_type), op1); in extract_range_from_binary_expr()
911 n_vr1.set (op1, vrp_val_max (expr_type)); in extract_range_from_binary_expr()
917 range_fold_binary_expr (vr, code, expr_type, &vr0, &n_vr1); in extract_range_from_binary_expr()
931 n_vr0.set (vrp_val_min (expr_type), op0); in extract_range_from_binary_expr()
[all …]
Dtree-ssa-dom.cc1608 tree expr_type; in eliminate_redundant_computations() local
1640 expr_type = TREE_TYPE (gimple_assign_lhs (stmt)); in eliminate_redundant_computations()
1644 expr_type = boolean_type_node; in eliminate_redundant_computations()
1648 expr_type = TREE_TYPE (gimple_call_lhs (stmt)); in eliminate_redundant_computations()
1652 expr_type = TREE_TYPE (gimple_switch_index (swtch_stmt)); in eliminate_redundant_computations()
1676 || useless_type_conversion_p (expr_type, TREE_TYPE (cached_lhs)))) in eliminate_redundant_computations()
1694 && !useless_type_conversion_p (expr_type, TREE_TYPE (cached_lhs))) in eliminate_redundant_computations()
1695 cached_lhs = fold_convert (expr_type, cached_lhs); in eliminate_redundant_computations()
Dubsan.cc1824 tree expr_type = TREE_TYPE (expr); in ubsan_instrument_float_cast() local
1826 machine_mode mode = TYPE_MODE (expr_type); in ubsan_instrument_float_cast()
1846 max = build_real (expr_type, maxval); in ubsan_instrument_float_cast()
1850 min = build_minus_one_cst (expr_type); in ubsan_instrument_float_cast()
1877 min = build_real (expr_type, minval2); in ubsan_instrument_float_cast()
1896 max = build_real (expr_type, maxval); in ubsan_instrument_float_cast()
1900 min = build_minus_one_cst (expr_type); in ubsan_instrument_float_cast()
1910 min = build_real (expr_type, minval); in ubsan_instrument_float_cast()
1947 ubsan_type_descriptor (expr_type), in ubsan_instrument_float_cast()
Dgenmatch.cc699 ops (vNULL), expr_type (NULL), is_commutative (is_commutative_), in expr()
704 ops (vNULL), expr_type (e->expr_type), is_commutative (e->is_commutative), in expr()
712 const char *expr_type; member in expr
2378 const char *expr_type, in get_operand_type() argument
2400 if (pos > 0 && expr_type) in get_operand_type()
2401 return expr_type; in get_operand_type()
2411 if (expr_type) in get_operand_type()
2412 return expr_type; in get_operand_type()
2435 const char *type = expr_type; in gen_transform()
2494 = get_operand_type (opr, i, in_type, expr_type, in gen_transform()
[all …]
Dgraphite-isl-ast-to-gimple.cc315 enum isl_ast_op_type expr_type = isl_ast_expr_get_op_type (expr); in binary_op_to_tree() local
324 if ((expr_type == isl_ast_op_pdiv_r in binary_op_to_tree()
325 || expr_type == isl_ast_op_zdiv_r in binary_op_to_tree()
326 || expr_type == isl_ast_op_add) in binary_op_to_tree()
339 switch (expr_type) in binary_op_to_tree()
Dipa-prop.cc5929 ipa_vr::nonzero_p (tree expr_type) const in nonzero_p()
5934 unsigned prec = TYPE_PRECISION (expr_type); in nonzero_p()
5936 && TYPE_UNSIGNED (expr_type) in nonzero_p()
5938 && wi::eq_p (max, wi::max_value (prec, TYPE_SIGN (expr_type)))); in nonzero_p()
Dfold-const.cc9130 tree expr_type = TREE_TYPE (expr); in fold_view_convert_vector_encoding() local
9133 || !poly_int_tree_p (TYPE_SIZE (expr_type), &expr_bits)) in fold_view_convert_vector_encoding()
9137 poly_uint64 expr_units = TYPE_VECTOR_SUBPARTS (expr_type); in fold_view_convert_vector_encoding()
DChangeLog-201919867 (extract_range_from_binary_expr): Pass expr_type down.
DChangeLog-201540445 * genmatch.c (replace_id): Copy expr_type.
/netbsd/src/external/gpl3/gcc/dist/gcc/cp/
Dmethod.cc738 tree expr_type; in do_build_copy_constructor() local
743 expr_type = TREE_TYPE (field); in do_build_copy_constructor()
749 else if (ANON_AGGR_TYPE_P (expr_type) && TYPE_FIELDS (expr_type)) in do_build_copy_constructor()
761 if (!TYPE_REF_P (expr_type)) in do_build_copy_constructor()
767 quals |= cp_type_quals (expr_type); in do_build_copy_constructor()
768 expr_type = cp_build_qualified_type (expr_type, quals); in do_build_copy_constructor()
771 tree init = build3 (COMPONENT_REF, expr_type, parm, field, NULL_TREE); in do_build_copy_constructor()
772 if (move_p && !TYPE_REF_P (expr_type) in do_build_copy_constructor()
774 && !scalarish_type_p (expr_type)) in do_build_copy_constructor()
845 tree expr_type; in do_build_copy_assign() local
[all …]
Dcvt.cc2023 tree expr_type = TREE_TYPE (expr); in can_convert_qual() local
2024 gcc_assert (!same_type_p (type, expr_type)); in can_convert_qual()
2028 if (fnptr_conv_p (type, expr_type)) in can_convert_qual()
2031 if (TYPE_PTR_P (type) && TYPE_PTR_P (expr_type)) in can_convert_qual()
2032 return comp_ptr_ttypes (TREE_TYPE (type), TREE_TYPE (expr_type)); in can_convert_qual()
2033 else if (TYPE_PTRMEM_P (type) && TYPE_PTRMEM_P (expr_type)) in can_convert_qual()
2035 TYPE_PTRMEM_CLASS_TYPE (expr_type)) in can_convert_qual()
2037 TYPE_PTRMEM_POINTED_TO_TYPE (expr_type))); in can_convert_qual()
2050 tree expr_type; in perform_qualification_conversions() local
2052 expr_type = TREE_TYPE (expr); in perform_qualification_conversions()
[all …]
Dtypeck.cc8268 tree expr_type = TREE_TYPE (expr); in build_static_cast() local
8269 if (TYPE_PTR_P (expr_type)) in build_static_cast()
8270 expr_type = TREE_TYPE (expr_type); in build_static_cast()
8271 if (CLASS_TYPE_P (expr_type) && !COMPLETE_TYPE_P (expr_type)) in build_static_cast()
8272 inform (DECL_SOURCE_LOCATION (TYPE_MAIN_DECL (expr_type)), in build_static_cast()
8273 "class type %qT is incomplete", expr_type); in build_static_cast()
Dclass.cc643 tree expr_type; in convert_to_base_statically() local
645 expr_type = TREE_TYPE (expr); in convert_to_base_statically()
646 if (!SAME_BINFO_TYPE_P (BINFO_TYPE (base), expr_type)) in convert_to_base_statically()
Dpt.cc7315 tree expr_type; in convert_nontype_argument() local
7358 expr_type = TREE_TYPE (expr); in convert_nontype_argument()
7374 if (NULLPTR_TYPE_P (expr_type) && TYPE_PTR_OR_PTRMEM_P (type)) in convert_nontype_argument()
7457 expr_type = TREE_TYPE (probe_type); in convert_nontype_argument()
7540 expr_type = TREE_TYPE (expr); in convert_nontype_argument()
7564 && !INDIRECT_TYPE_P (expr_type)) in convert_nontype_argument()
7587 expr_type)) in convert_nontype_argument()
7590 if (!at_least_as_qualified_p (TREE_TYPE (type), expr_type)) in convert_nontype_argument()
7651 if (!type_unknown_p (expr_type)) in convert_nontype_argument()
DChangeLog-2013844 * pt.c (convert_nontype_argument): Set expr_type to