Home
last modified time | relevance | path

Searched refs:type1 (Results 1 – 25 of 92) sorted by relevance

1234

/dflybsd-src/contrib/gdb-7/gdb/
H A Dvalarith.c109 struct type *type1, *type2; in value_ptrdiff() local
114 type1 = check_typedef (value_type (arg1)); in value_ptrdiff()
117 gdb_assert (TYPE_CODE (type1) == TYPE_CODE_PTR); in value_ptrdiff()
120 if (TYPE_LENGTH (check_typedef (TYPE_TARGET_TYPE (type1))) in value_ptrdiff()
126 sz = TYPE_LENGTH (check_typedef (TYPE_TARGET_TYPE (type1))); in value_ptrdiff()
231 struct type *type1, struct type *type2) in binop_types_user_defined_p() argument
236 type1 = check_typedef (type1); in binop_types_user_defined_p()
237 if (TYPE_CODE (type1) == TYPE_CODE_REF) in binop_types_user_defined_p()
238 type1 = check_typedef (TYPE_TARGET_TYPE (type1)); in binop_types_user_defined_p()
244 return (TYPE_CODE (type1) == TYPE_CODE_STRUCT in binop_types_user_defined_p()
[all …]
H A Dopencl-lang.c639 struct type *type1, *type2, *eltype1, *eltype2, *rettype; in vector_relop() local
643 type1 = check_typedef (value_type (val1)); in vector_relop()
646 t1_is_vec = (TYPE_CODE (type1) == TYPE_CODE_ARRAY && TYPE_VECTOR (type1)); in vector_relop()
652 eltype1 = check_typedef (TYPE_TARGET_TYPE (type1)); in vector_relop()
655 if (!get_array_bounds (type1,&lowb1, &highb1) in vector_relop()
745 struct type *type1 = check_typedef (value_type (arg1)); in opencl_relop() local
747 int t1_is_vec = (TYPE_CODE (type1) == TYPE_CODE_ARRAY in opencl_relop()
748 && TYPE_VECTOR (type1)); in opencl_relop()
768 struct type *t = t1_is_vec ? type2 : type1; in opencl_relop()
773 *v = opencl_value_cast (t1_is_vec ? type1 : type2, *v); in opencl_relop()
[all …]
H A Dgnu-v2-abi.c91 struct type *type1 = check_typedef (value_type (arg1)); in gnuv2_virtual_fn_field() local
114 if (TYPE_TARGET_TYPE (context) != type1) in gnuv2_virtual_fn_field()
119 type1 = check_typedef (value_type (arg1)); in gnuv2_virtual_fn_field()
122 context = type1; in gnuv2_virtual_fn_field()
/dflybsd-src/contrib/gdb-7/gdb/python/
H A Dpy-type.c980 struct type *type1, *type2; member
1005 check_types_equal (struct type *type1, struct type *type2, in check_types_equal() argument
1008 CHECK_TYPEDEF (type1); in check_types_equal()
1011 if (type1 == type2) in check_types_equal()
1014 if (TYPE_CODE (type1) != TYPE_CODE (type2) in check_types_equal()
1015 || TYPE_LENGTH (type1) != TYPE_LENGTH (type2) in check_types_equal()
1016 || TYPE_UNSIGNED (type1) != TYPE_UNSIGNED (type2) in check_types_equal()
1017 || TYPE_NOSIGN (type1) != TYPE_NOSIGN (type2) in check_types_equal()
1018 || TYPE_VARARGS (type1) != TYPE_VARARGS (type2) in check_types_equal()
1019 || TYPE_VECTOR (type1) != TYPE_VECTOR (type2) in check_types_equal()
[all …]
/dflybsd-src/contrib/gcc-8.0/gcc/
H A Dgimple.c2303 tree type1; in gimple_signed_or_unsigned_type() local
2306 type1 = TYPE_MAIN_VARIANT (type); in gimple_signed_or_unsigned_type()
2307 if (type1 == signed_char_type_node in gimple_signed_or_unsigned_type()
2308 || type1 == char_type_node in gimple_signed_or_unsigned_type()
2309 || type1 == unsigned_char_type_node) in gimple_signed_or_unsigned_type()
2311 if (type1 == integer_type_node || type1 == unsigned_type_node) in gimple_signed_or_unsigned_type()
2313 if (type1 == short_integer_type_node || type1 == short_unsigned_type_node) in gimple_signed_or_unsigned_type()
2315 if (type1 == long_integer_type_node || type1 == long_unsigned_type_node) in gimple_signed_or_unsigned_type()
2317 if (type1 == long_long_integer_type_node in gimple_signed_or_unsigned_type()
2318 || type1 == long_long_unsigned_type_node) in gimple_signed_or_unsigned_type()
[all …]
H A Dgimple-expr.h63 types_compatible_p (tree type1, tree type2) in types_compatible_p() argument
65 return (type1 == type2 in types_compatible_p()
66 || (useless_type_conversion_p (type1, type2) in types_compatible_p()
67 && useless_type_conversion_p (type2, type1))); in types_compatible_p()
H A Dinternal-fn.h140 signed int type1 : 8; member
184 direct_internal_fn_supported_p (internal_fn fn, tree type0, tree type1, in direct_internal_fn_supported_p() argument
187 return direct_internal_fn_supported_p (fn, tree_pair (type0, type1), in direct_internal_fn_supported_p()
H A Dipa-devirt.c404 types_same_for_odr (const_tree type1, const_tree type2, bool strict)
406 gcc_checking_assert (TYPE_P (type1) && TYPE_P (type2));
408 type1 = main_odr_variant (type1);
412 type1 = TYPE_MAIN_VARIANT (type1);
416 if (type1 == type2)
424 if ((type_with_linkage_p (type1) && type_in_anonymous_namespace_p (type1))
441 if ((!TYPE_NAME (type1) || !DECL_ASSEMBLER_NAME_SET_P (TYPE_NAME (type1)))
448 if (TREE_CODE (type1) != TREE_CODE (type2))
450 if (TREE_CODE (type1) == RECORD_TYPE
451 && (TYPE_BINFO (type1) == NULL_TREE)
[all …]
H A Dtree-ssa-math-opts.c2142 tree type1, rhs1; in is_widening_mult_rhs_p() local
2166 type1 = TREE_TYPE (rhs1); in is_widening_mult_rhs_p()
2168 if (TREE_CODE (type1) != TREE_CODE (type) in is_widening_mult_rhs_p()
2169 || TYPE_PRECISION (type1) * 2 > TYPE_PRECISION (type)) in is_widening_mult_rhs_p()
2173 *type_out = type1; in is_widening_mult_rhs_p()
2333 tree lhs, rhs1, rhs2, type, type1, type2; in convert_mult_to_widen() local
2346 if (!is_widening_mult_p (stmt, &type1, &rhs1, &type2, &rhs2)) in convert_mult_to_widen()
2350 from_mode = SCALAR_INT_TYPE_MODE (type1); in convert_mult_to_widen()
2354 from_unsigned1 = TYPE_UNSIGNED (type1); in convert_mult_to_widen()
2374 if ((TYPE_UNSIGNED (type1) in convert_mult_to_widen()
[all …]
H A Dtree-ssa-loop-niter.c1151 tree type1 = type; in number_of_iterations_lt_to_ne() local
1153 type1 = sizetype; in number_of_iterations_lt_to_ne()
1159 tmod = fold_convert (type1, mod); in number_of_iterations_lt_to_ne()
1188 bound = fold_build2 (MINUS_EXPR, type1, in number_of_iterations_lt_to_ne()
1189 TYPE_MAX_VALUE (type1), tmod); in number_of_iterations_lt_to_ne()
1204 fold_build2 (PLUS_EXPR, type1, in number_of_iterations_lt_to_ne()
1214 bound = fold_build2 (PLUS_EXPR, type1, in number_of_iterations_lt_to_ne()
1215 TYPE_MIN_VALUE (type1), tmod); in number_of_iterations_lt_to_ne()
1227 type1, tmod)), in number_of_iterations_lt_to_ne()
1231 fold_build2 (MINUS_EXPR, type1, in number_of_iterations_lt_to_ne()
[all …]
/dflybsd-src/contrib/gcc-4.7/gcc/
H A Dtree-ssa-math-opts.c2003 tree type1, rhs1; in is_widening_mult_rhs_p() local
2031 type1 = TREE_TYPE (rhs1); in is_widening_mult_rhs_p()
2033 if (TREE_CODE (type1) != TREE_CODE (type) in is_widening_mult_rhs_p()
2034 || TYPE_PRECISION (type1) * 2 > TYPE_PRECISION (type)) in is_widening_mult_rhs_p()
2038 *type_out = type1; in is_widening_mult_rhs_p()
2113 tree lhs, rhs1, rhs2, type, type1, type2, tmp = NULL; in convert_mult_to_widen() local
2126 if (!is_widening_mult_p (stmt, &type1, &rhs1, &type2, &rhs2)) in convert_mult_to_widen()
2130 from_mode = TYPE_MODE (type1); in convert_mult_to_widen()
2131 from_unsigned1 = TYPE_UNSIGNED (type1); in convert_mult_to_widen()
2151 if ((TYPE_UNSIGNED (type1) in convert_mult_to_widen()
[all …]
H A Dtree-affine.c377 tree type1 = type; in add_elt_to_tree() local
379 type1 = sizetype; in add_elt_to_tree()
382 elt = fold_convert (type1, elt); in add_elt_to_tree()
397 return fold_convert (type, fold_build1 (NEGATE_EXPR, type1, elt)); in add_elt_to_tree()
401 elt = fold_build1 (NEGATE_EXPR, type1, elt); in add_elt_to_tree()
409 fold_build2 (MULT_EXPR, type1, elt, in add_elt_to_tree()
410 double_int_to_tree (type1, scale))); in add_elt_to_tree()
420 elt = fold_build2 (MULT_EXPR, type1, elt, in add_elt_to_tree()
421 double_int_to_tree (type1, scale)); in add_elt_to_tree()
425 elt = fold_build1 (NEGATE_EXPR, type1, elt); in add_elt_to_tree()
[all …]
H A Dtree-ssa-loop-niter.c716 tree type1 = type; in number_of_iterations_lt_to_ne() local
718 type1 = sizetype; in number_of_iterations_lt_to_ne()
724 tmod = fold_convert (type1, mod); in number_of_iterations_lt_to_ne()
753 bound = fold_build2 (MINUS_EXPR, type1, in number_of_iterations_lt_to_ne()
754 TYPE_MAX_VALUE (type1), tmod); in number_of_iterations_lt_to_ne()
769 fold_build2 (PLUS_EXPR, type1, in number_of_iterations_lt_to_ne()
779 bound = fold_build2 (PLUS_EXPR, type1, in number_of_iterations_lt_to_ne()
780 TYPE_MIN_VALUE (type1), tmod); in number_of_iterations_lt_to_ne()
792 type1, tmod)), in number_of_iterations_lt_to_ne()
796 fold_build2 (MINUS_EXPR, type1, in number_of_iterations_lt_to_ne()
[all …]
H A Dc-typeck.c968 comptypes (tree type1, tree type2) in comptypes() argument
973 val = comptypes_internal (type1, type2, NULL, NULL); in comptypes()
983 comptypes_check_enum_int (tree type1, tree type2, bool *enum_and_int_p) in comptypes_check_enum_int() argument
988 val = comptypes_internal (type1, type2, enum_and_int_p, NULL); in comptypes_check_enum_int()
998 comptypes_check_different_types (tree type1, tree type2, in comptypes_check_different_types() argument
1004 val = comptypes_internal (type1, type2, NULL, different_types_p); in comptypes_check_different_types()
1024 comptypes_internal (const_tree type1, const_tree type2, bool *enum_and_int_p, in comptypes_internal() argument
1027 const_tree t1 = type1; in comptypes_internal()
2360 tree type1; in build_array_ref() local
2371 type1 = build_pointer_type (TREE_TYPE (array)); in build_array_ref()
[all …]
H A Dgimple.c4851 tree type1; in gimple_signed_or_unsigned_type() local
4853 type1 = TYPE_MAIN_VARIANT (type); in gimple_signed_or_unsigned_type()
4854 if (type1 == signed_char_type_node in gimple_signed_or_unsigned_type()
4855 || type1 == char_type_node in gimple_signed_or_unsigned_type()
4856 || type1 == unsigned_char_type_node) in gimple_signed_or_unsigned_type()
4858 if (type1 == integer_type_node || type1 == unsigned_type_node) in gimple_signed_or_unsigned_type()
4860 if (type1 == short_integer_type_node || type1 == short_unsigned_type_node) in gimple_signed_or_unsigned_type()
4862 if (type1 == long_integer_type_node || type1 == long_unsigned_type_node) in gimple_signed_or_unsigned_type()
4864 if (type1 == long_long_integer_type_node in gimple_signed_or_unsigned_type()
4865 || type1 == long_long_unsigned_type_node) in gimple_signed_or_unsigned_type()
[all …]
/dflybsd-src/usr.bin/mail/
H A Dcmd1.c242 return (type1(msgvec, 1, 1)); in more()
251 return (type1(msgvec, 0, 1)); in More()
260 return (type1(msgvec, 1, 0)); in type()
269 return (type1(msgvec, 0, 0)); in Type()
277 type1(int *msgvec, int doign, int page) in type1() function
/dflybsd-src/contrib/gcc-4.7/gcc/cp/
H A Dcall.c2115 tree type1, tree type2, tree *args, tree *argtypes, in build_builtin_candidate() argument
2125 types[0] = type1; in build_builtin_candidate()
2136 if (type1 != boolean_type_node) in build_builtin_candidate()
2220 enum tree_code code2, tree fnname, tree type1, in add_builtin_candidate() argument
2257 if (TREE_CODE (type1) == BOOLEAN_TYPE) in add_builtin_candidate()
2261 if (ARITHMETIC_TYPE_P (type1) || TYPE_PTROB_P (type1)) in add_builtin_candidate()
2263 type1 = build_reference_type (type1); in add_builtin_candidate()
2278 if (TREE_CODE (type1) == POINTER_TYPE in add_builtin_candidate()
2279 && !uses_template_parms (TREE_TYPE (type1)) in add_builtin_candidate()
2280 && (TYPE_PTROB_P (type1) in add_builtin_candidate()
[all …]
H A Dsemantics.c5388 trait_expr_value (cp_trait_kind kind, tree type1, tree type2) in trait_expr_value() argument
5393 type_code1 = TREE_CODE (type1); in trait_expr_value()
5398 type1 = strip_array_types (type1); in trait_expr_value()
5399 return (!CP_TYPE_CONST_P (type1) && type_code1 != REFERENCE_TYPE in trait_expr_value()
5400 && (trait_expr_value (CPTK_HAS_TRIVIAL_ASSIGN, type1, type2) in trait_expr_value()
5401 || (CLASS_TYPE_P (type1) in trait_expr_value()
5402 && classtype_has_nothrow_assign_or_copy_p (type1, in trait_expr_value()
5408 type1 = strip_array_types (type1); in trait_expr_value()
5409 return (!CP_TYPE_CONST_P (type1) && type_code1 != REFERENCE_TYPE in trait_expr_value()
5410 && (trivial_type_p (type1) in trait_expr_value()
[all …]
/dflybsd-src/contrib/gcc-8.0/gcc/cp/
H A Dsemantics.c8952 trait_expr_value (cp_trait_kind kind, tree type1, tree type2) in trait_expr_value() argument
8957 type_code1 = TREE_CODE (type1); in trait_expr_value()
8962 type1 = strip_array_types (type1); in trait_expr_value()
8963 return (!CP_TYPE_CONST_P (type1) && type_code1 != REFERENCE_TYPE in trait_expr_value()
8964 && (trait_expr_value (CPTK_HAS_TRIVIAL_ASSIGN, type1, type2) in trait_expr_value()
8965 || (CLASS_TYPE_P (type1) in trait_expr_value()
8966 && classtype_has_nothrow_assign_or_copy_p (type1, in trait_expr_value()
8972 type1 = strip_array_types (type1); in trait_expr_value()
8973 return (!CP_TYPE_CONST_P (type1) && type_code1 != REFERENCE_TYPE in trait_expr_value()
8974 && (trivial_type_p (type1) in trait_expr_value()
[all …]
H A Dtypeck.c1507 same_type_ignoring_top_level_qualifiers_p (tree type1, tree type2) in same_type_ignoring_top_level_qualifiers_p() argument
1509 if (type1 == error_mark_node || type2 == error_mark_node) in same_type_ignoring_top_level_qualifiers_p()
1512 type1 = cp_build_qualified_type (type1, TYPE_UNQUALIFIED); in same_type_ignoring_top_level_qualifiers_p()
1514 return same_type_p (type1, type2); in same_type_ignoring_top_level_qualifiers_p()
1520 at_least_as_qualified_p (const_tree type1, const_tree type2) in at_least_as_qualified_p() argument
1522 int q1 = cp_type_quals (type1); in at_least_as_qualified_p()
1547 comp_cv_qualification (const_tree type1, const_tree type2) in comp_cv_qualification() argument
1549 int q1 = cp_type_quals (type1); in comp_cv_qualification()
1559 comp_cv_qual_signature (tree type1, tree type2) in comp_cv_qual_signature() argument
1561 if (comp_ptr_ttypes_real (type2, type1, -1)) in comp_cv_qual_signature()
[all …]
H A Dcall.c2348 tree type1, tree type2, tree *args, tree *argtypes, in build_builtin_candidate() argument
2358 types[0] = type1; in build_builtin_candidate()
2369 if (type1 != boolean_type_node) in build_builtin_candidate()
2456 enum tree_code code2, tree fnname, tree type1, in add_builtin_candidate() argument
2494 if (TREE_CODE (type1) == BOOLEAN_TYPE) in add_builtin_candidate()
2499 if (ARITHMETIC_TYPE_P (type1) || TYPE_PTROB_P (type1)) in add_builtin_candidate()
2501 type1 = build_reference_type (type1); in add_builtin_candidate()
2516 if (TYPE_PTR_P (type1) in add_builtin_candidate()
2517 && (TYPE_PTROB_P (type1) in add_builtin_candidate()
2518 || TREE_CODE (TREE_TYPE (type1)) == FUNCTION_TYPE)) in add_builtin_candidate()
[all …]
/dflybsd-src/contrib/gcc-8.0/gcc/c-family/
H A Dc-common.c2411 tree type1; in c_common_signed_or_unsigned_type() local
2420 type1 = TYPE_MAIN_VARIANT (type); in c_common_signed_or_unsigned_type()
2421 if (type1 == signed_char_type_node || type1 == char_type_node || type1 == unsigned_char_type_node) in c_common_signed_or_unsigned_type()
2423 if (type1 == integer_type_node || type1 == unsigned_type_node) in c_common_signed_or_unsigned_type()
2425 if (type1 == short_integer_type_node || type1 == short_unsigned_type_node) in c_common_signed_or_unsigned_type()
2427 if (type1 == long_integer_type_node || type1 == long_unsigned_type_node) in c_common_signed_or_unsigned_type()
2429 if (type1 == long_long_integer_type_node || type1 == long_long_unsigned_type_node) in c_common_signed_or_unsigned_type()
2434 && (type1 == int_n_trees[i].unsigned_type in c_common_signed_or_unsigned_type()
2435 || type1 == int_n_trees[i].signed_type)) in c_common_signed_or_unsigned_type()
2440 if (type1 == intTI_type_node || type1 == unsigned_intTI_type_node) in c_common_signed_or_unsigned_type()
[all …]
/dflybsd-src/contrib/gcc-4.7/gcc/objcp/
H A Dobjcp-decl.c95 objcp_comptypes (tree type1, tree type2) in objcp_comptypes() argument
97 return comptypes (type1, type2, COMPARE_STRICT); in objcp_comptypes()
H A Dobjcp-decl.h50 #define comptypes(type1, type2) \ argument
51 objcp_comptypes (type1, type2)
/dflybsd-src/contrib/gcc-8.0/gcc/c/
H A Dc-typeck.c1011 comptypes (tree type1, tree type2) in comptypes() argument
1016 val = comptypes_internal (type1, type2, NULL, NULL); in comptypes()
1026 comptypes_check_enum_int (tree type1, tree type2, bool *enum_and_int_p) in comptypes_check_enum_int() argument
1031 val = comptypes_internal (type1, type2, enum_and_int_p, NULL); in comptypes_check_enum_int()
1041 comptypes_check_different_types (tree type1, tree type2, in comptypes_check_different_types() argument
1047 val = comptypes_internal (type1, type2, NULL, different_types_p); in comptypes_check_different_types()
1067 comptypes_internal (const_tree type1, const_tree type2, bool *enum_and_int_p, in comptypes_internal() argument
1070 const_tree t1 = type1; in comptypes_internal()
3444 tree type1 = TREE_TYPE (would_have_been); in convert_arguments() local
3454 else if (formal_prec != TYPE_PRECISION (type1)) in convert_arguments()
[all …]

1234