Home
last modified time | relevance | path

Searched refs:type2 (Results 1 – 25 of 83) sorted by relevance

1234

/dragonfly/contrib/gdb-7/gdb/
H A Dvalarith.c240 type2 = check_typedef (type2); in binop_types_user_defined_p()
242 type2 = check_typedef (TYPE_TARGET_TYPE (type2)); in binop_types_user_defined_p()
650 tmp = type2; in value_concat()
677 char_type = type2; in value_concat()
868 TYPE_NAME (type2)); in value_args_as_decimal()
927 result_type = type2; in scalar_binop()
931 result_type = type2; in scalar_binop()
1011 result_type = type2; in scalar_binop()
1015 result_type = type2; in scalar_binop()
1078 result_type = type2; in scalar_binop()
[all …]
H A Dopencl-lang.c644 type2 = check_typedef (value_type (val2)); in vector_relop()
647 t2_is_vec = (TYPE_CODE (type2) == TYPE_CODE_ARRAY && TYPE_VECTOR (type2)); in vector_relop()
750 && TYPE_VECTOR (type2)); in opencl_relop()
791 struct type *type1, *type2; in evaluate_subexp_opencl() local
890 type2 = check_typedef (value_type (arg2)); in evaluate_subexp_opencl()
893 || (TYPE_CODE (type2) == TYPE_CODE_ARRAY && TYPE_VECTOR (type2))) in evaluate_subexp_opencl()
937 type2 = check_typedef (value_type (arg2)); in evaluate_subexp_opencl()
940 = TYPE_CODE (type2) == TYPE_CODE_ARRAY && TYPE_VECTOR (type2); in evaluate_subexp_opencl()
947 arg3 = opencl_value_cast (type2, arg3); in evaluate_subexp_opencl()
953 type2 = value_type (arg2); in evaluate_subexp_opencl()
[all …]
H A Dvalops.c324 if (TYPE_CODE (type2) == TYPE_CODE_REF) in value_cast_pointers()
360 struct type *type2; in value_cast() local
391 type2 = check_typedef (value_type (arg2)); in value_cast()
408 int val_length = TYPE_LENGTH (type2); in value_cast()
432 && TYPE_CODE (type2) == TYPE_CODE_ARRAY in value_cast()
433 && !TYPE_VECTOR (type2)) in value_cast()
436 if (TYPE_CODE (type2) == TYPE_CODE_FUNC) in value_cast()
439 type2 = check_typedef (value_type (arg2)); in value_cast()
440 code2 = TYPE_CODE (type2); in value_cast()
551 && TYPE_LENGTH (type) != TYPE_LENGTH (type2)) in value_cast()
[all …]
H A Dax-gdb.c103 static int type_wider_than (struct type *type1, struct type *type2);
104 static struct type *max_type (struct type *type1, struct type *type2);
893 type_wider_than (struct type *type1, struct type *type2) in type_wider_than() argument
895 return (TYPE_LENGTH (type1) > TYPE_LENGTH (type2) in type_wider_than()
896 || (TYPE_LENGTH (type1) == TYPE_LENGTH (type2) in type_wider_than()
898 && !TYPE_UNSIGNED (type2))); in type_wider_than()
904 max_type (struct type *type1, struct type *type2) in max_type() argument
906 return type_wider_than (type1, type2) ? type1 : type2; in max_type()
H A Deval.c464 struct type *type2; in binop_promote() local
470 type2 = check_typedef (value_type (*arg2)); in binop_promote()
475 || (TYPE_CODE (type2) != TYPE_CODE_FLT in binop_promote()
476 && TYPE_CODE (type2) != TYPE_CODE_DECFLOAT in binop_promote()
477 && !is_integral_type (type2))) in binop_promote()
481 || TYPE_CODE (type2) == TYPE_CODE_DECFLOAT) in binop_promote()
486 || TYPE_CODE (type2) == TYPE_CODE_FLT) in binop_promote()
504 || TYPE_LENGTH (type2) * 8 > gdbarch_double_bit (gdbarch)) in binop_promote()
512 && TYPE_CODE (type2) == TYPE_CODE_BOOL) in binop_promote()
522 unsigned int promoted_len2 = TYPE_LENGTH (type2); in binop_promote()
[all …]
/dragonfly/contrib/gdb-7/gdb/python/
H A Dpy-type.c980 struct type *type1, *type2; member
1009 CHECK_TYPEDEF (type2); in check_types_equal()
1011 if (type1 == type2) in check_types_equal()
1014 if (TYPE_CODE (type1) != TYPE_CODE (type2) in check_types_equal()
1026 TYPE_TAG_NAME (type2))) in check_types_equal()
1093 entry.type2 = FIELD_TYPE (*field2); in check_types_equal()
1102 if (TYPE_TARGET_TYPE (type2) == NULL) in check_types_equal()
1106 entry.type2 = TYPE_TARGET_TYPE (type2); in check_types_equal()
1109 else if (TYPE_TARGET_TYPE (type2) != NULL) in check_types_equal()
1161 if (type1 == type2) in typy_richcompare()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
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 Dubsan.c365 tree type2 = type; in ubsan_type_descriptor() local
375 type2 = TREE_TYPE (type); in ubsan_type_descriptor()
378 while (POINTER_TYPE_P (type2)) in ubsan_type_descriptor()
379 deref_depth++, type2 = TREE_TYPE (type2); in ubsan_type_descriptor()
382 type2 = TYPE_METHOD_BASETYPE (type2); in ubsan_type_descriptor()
386 type2 = strip_array_types (type2); in ubsan_type_descriptor()
390 while (POINTER_TYPE_P (type2)) in ubsan_type_descriptor()
391 deref_depth++, type2 = TREE_TYPE (type2); in ubsan_type_descriptor()
394 if (TYPE_NAME (type2) != NULL) in ubsan_type_descriptor()
414 TREE_CODE (type2) == RECORD_TYPE in ubsan_type_descriptor()
[all …]
H A Dipa-devirt.c409 type2 = main_odr_variant (type2);
413 type2 = TYPE_MAIN_VARIANT (type2);
416 if (type1 == type2)
425 || (type_with_linkage_p (type2) && type_in_anonymous_namespace_p (type2)))
442 || (!TYPE_NAME (type2) || !DECL_ASSEMBLER_NAME_SET_P (TYPE_NAME (type2))))
452 != (TYPE_BINFO (type2) == NULL_TREE))
467 && BINFO_VTABLE (TYPE_BINFO (type2)))
1655 && odr_or_derived_type_p (type2));
1773 tree type2 = BINFO_TYPE (base2);
1777 if (!types_same_for_odr (type1, type2))
[all …]
H A Dtree-ssa-math-opts.c2333 tree lhs, rhs1, rhs2, type, type1, type2; in convert_mult_to_widen() local
2355 from_unsigned2 = TYPE_UNSIGNED (type2); in convert_mult_to_widen()
2376 || (TYPE_UNSIGNED (type2) in convert_mult_to_widen()
2408 if (actual_precision != TYPE_PRECISION (type2) in convert_mult_to_widen()
2418 rhs2 = fold_convert (type2, rhs2); in convert_mult_to_widen()
2440 tree type, type1, type2, optype; in convert_plusminus_to_widen() local
2525 &type2, &mult_rhs2)) in convert_plusminus_to_widen()
2534 &type2, &mult_rhs2)) in convert_plusminus_to_widen()
2548 from_unsigned2 = TYPE_UNSIGNED (type2); in convert_plusminus_to_widen()
2621 if (actual_precision != TYPE_PRECISION (type2) in convert_plusminus_to_widen()
[all …]
H A Dtree-ssa-alias.c734 same_type_for_tbaa (tree type1, tree type2) in same_type_for_tbaa() argument
737 type2 = TYPE_MAIN_VARIANT (type2); in same_type_for_tbaa()
741 || TYPE_STRUCTURAL_EQUALITY_P (type2)) in same_type_for_tbaa()
745 if (TYPE_CANONICAL (type1) == TYPE_CANONICAL (type2)) in same_type_for_tbaa()
752 && TREE_CODE (type2) == ARRAY_TYPE) in same_type_for_tbaa()
763 if (get_alias_set (type1) == get_alias_set (type2)) in same_type_for_tbaa()
795 tree type1, type2; in aliasing_component_refs_p() local
807 type2 = TREE_TYPE (base2); in aliasing_component_refs_p()
832 && same_type_for_tbaa (TREE_TYPE (*refp), type2) == 0) in aliasing_component_refs_p()
834 same_p = same_type_for_tbaa (TREE_TYPE (*refp), type2); in aliasing_component_refs_p()
[all …]
H A Dtree-ssa-loop-split.c467 tree type2 = TREE_TYPE (newbound); in compute_new_first_bound() local
468 if (POINTER_TYPE_P (type2)) in compute_new_first_bound()
469 type2 = sizetype; in compute_new_first_bound()
475 build_int_cst (type2, addbound)); in compute_new_first_bound()
/dragonfly/contrib/gcc-4.7/gcc/
H A Dtree-ssa-math-opts.c2132 from_unsigned2 = TYPE_UNSIGNED (type2); in convert_mult_to_widen()
2153 || (TYPE_UNSIGNED (type2) in convert_mult_to_widen()
2186 if (actual_precision != TYPE_PRECISION (type2) in convert_mult_to_widen()
2187 || from_unsigned2 != TYPE_UNSIGNED (type2)) in convert_mult_to_widen()
2201 rhs2 = fold_convert (type2, rhs2); in convert_mult_to_widen()
2223 tree type, type1, type2, optype, tmp = NULL; in convert_plusminus_to_widen() local
2304 &type2, &mult_rhs2)) in convert_plusminus_to_widen()
2312 &type2, &mult_rhs2)) in convert_plusminus_to_widen()
2323 from_unsigned2 = TYPE_UNSIGNED (type2); in convert_plusminus_to_widen()
2398 if (actual_precision != TYPE_PRECISION (type2) in convert_plusminus_to_widen()
[all …]
H A Dtree-ssa-alias.c533 same_type_for_tbaa (tree type1, tree type2) in same_type_for_tbaa() argument
536 type2 = TYPE_MAIN_VARIANT (type2); in same_type_for_tbaa()
540 || TYPE_STRUCTURAL_EQUALITY_P (type2)) in same_type_for_tbaa()
544 if (TYPE_CANONICAL (type1) == TYPE_CANONICAL (type2)) in same_type_for_tbaa()
551 && TREE_CODE (type2) == ARRAY_TYPE) in same_type_for_tbaa()
562 if (get_alias_set (type1) == get_alias_set (type2)) in same_type_for_tbaa()
594 tree type1, type2; in aliasing_component_refs_p() local
606 type2 = TREE_TYPE (base2); in aliasing_component_refs_p()
630 && same_type_for_tbaa (TREE_TYPE (*refp), type2) == 0) in aliasing_component_refs_p()
632 same_p = same_type_for_tbaa (TREE_TYPE (*refp), type2); in aliasing_component_refs_p()
H A Dgraphite-clast-to-gimple.c264 max_precision_type (tree type1, tree type2) in max_precision_type() argument
273 if (POINTER_TYPE_P (type2)) in max_precision_type()
274 return type2; in max_precision_type()
277 && TYPE_UNSIGNED (type2)) in max_precision_type()
278 return TYPE_PRECISION (type1) > TYPE_PRECISION (type2) ? type1 : type2; in max_precision_type()
281 p2 = TYPE_PRECISION (type2); in max_precision_type()
286 precision = TYPE_UNSIGNED (type2) ? p2 * 2 : p2; in max_precision_type()
H A Dc-typeck.c968 comptypes (tree type1, tree type2) in comptypes() argument
1028 const_tree t2 = type2; in comptypes_internal()
3385 type1, type2); in parser_build_binary_op()
4139 tree type2; in build_conditional_expr() local
4173 type2 = TREE_TYPE (op2); in build_conditional_expr()
4174 code2 = TREE_CODE (type2); in build_conditional_expr()
4201 type2 = TREE_TYPE (op2); in build_conditional_expr()
4224 if (type1 == type2) in build_conditional_expr()
4322 result_type = type2; in build_conditional_expr()
4338 TREE_TYPE (type2))); in build_conditional_expr()
[all …]
/dragonfly/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)
/dragonfly/contrib/gcc-4.7/gcc/cp/
H A Dcall.c2126 types[1] = type2; in build_builtin_candidate()
2395 type2 = type1; in add_builtin_candidate()
2400 type1 = type2; in add_builtin_candidate()
2421 type2 = type1; in add_builtin_candidate()
2425 && TYPE_PTR_P (type2) in add_builtin_candidate()
2428 type1 = type2; in add_builtin_candidate()
2542 type2 = type1; in add_builtin_candidate()
2575 || !(TYPE_PTR_P (type2) || TYPE_PTR_TO_MEMBER_P (type2))) in add_builtin_candidate()
2596 if (type2 && !same_type_p (type1, type2) in add_builtin_candidate()
2623 (candidates, fnname, type2, type2, args, argtypes, flags); in add_builtin_candidate()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/cp/
H A Dcall.c2359 types[1] = type2; in build_builtin_candidate()
2633 type2 = type1; in add_builtin_candidate()
2638 type1 = type2; in add_builtin_candidate()
2658 type2 = type1; in add_builtin_candidate()
2664 type1 = type2; in add_builtin_candidate()
2833 bool u2 = type2 ? uses_template_parms (type2) : false; in add_builtin_candidate()
2838 if (!type2) in add_builtin_candidate()
2848 type1 = type2; in add_builtin_candidate()
2850 type2 = type1; in add_builtin_candidate()
2855 if (type2 && !same_type_p (type1, type2) in add_builtin_candidate()
[all …]
/dragonfly/contrib/gcc-8.0/libgomp/
H A Dpriority_queue.c250 enum priority_queue_type type2, in priority_tree_next_task() argument
262 struct gomp_task *t2 = priority_tree_next_task_1 (type2, q2->t.root); in priority_tree_next_task()
/dragonfly/contrib/gcc-4.7/gcc/objc/
H A Dobjc-act.c2330 objc_common_type (tree type1, tree type2) in objc_common_type() argument
2344 return type2; in objc_common_type()
8389 if (type1 == type2) in objc_types_are_equivalent()
8395 type1 = TREE_TYPE (type1), type2 = TREE_TYPE (type2); in objc_types_are_equivalent()
8403 type2 = (TYPE_HAS_OBJC_INFO (type2) in objc_types_are_equivalent()
8404 ? TYPE_OBJC_PROTOCOL_LIST (type2) in objc_types_are_equivalent()
8455 tree type1, type2; in comp_proto_with_proto() local
8464 type2 = TREE_VALUE (TREE_TYPE (proto2)); in comp_proto_with_proto()
8488 type2 = TREE_VALUE (TREE_TYPE (arg2)); in comp_proto_with_proto()
8492 type2 = objc_decay_parm_type (type2); in comp_proto_with_proto()
[all …]
/dragonfly/tools/regression/bin/sh/builtins/
H A Dtype2.01 # $FreeBSD: head/bin/sh/tests/builtins/type2.0 201344 2009-12-31 17:44:24Z jilles $
/dragonfly/contrib/byacc/
H A Dreader.c1044 save_param(int k, char *buffer, int name, int type2) in save_param() argument
1051 p->type2 = strdup(buffer + type2); in save_param()
1052 NO_SPACE(p->type2); in save_param()
1053 buffer[type2] = '\0'; in save_param()
1054 (void)trim_blanks(p->type2); in save_param()
1094 int name, type2; in copy_param() local
1236 type2 = i--; in copy_param()
1240 type2 = i + 1; in copy_param()
1251 save_param(k, parms, name, type2); in copy_param()
3956 free(list->type2); in free_declarations()
/dragonfly/contrib/gcc-8.0/gcc/c/
H A Dc-typeck.c1071 const_tree t2 = type2; in comptypes_internal()
3734 && char_type_p (type2) in parser_build_binary_op()
3765 type1, type2); in parser_build_binary_op()
4909 tree type2; in build_conditional_expr() local
4943 type2 = TREE_TYPE (op2); in build_conditional_expr()
4944 code2 = TREE_CODE (type2); in build_conditional_expr()
4977 type2 = TREE_TYPE (op2); in build_conditional_expr()
5000 if (type1 == type2) in build_conditional_expr()
5015 tree eptype2 = type2; in build_conditional_expr()
5132 result_type = type2; in build_conditional_expr()
[all …]

1234