Home
last modified time | relevance | path

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

1234

/dflybsd-src/contrib/gdb-7/gdb/
H A Dvalarith.c109 struct type *type1, *type2; in value_ptrdiff() local
115 type2 = check_typedef (value_type (arg2)); in value_ptrdiff()
118 gdb_assert (TYPE_CODE (type2) == TYPE_CODE_PTR); in value_ptrdiff()
121 != TYPE_LENGTH (check_typedef (TYPE_TARGET_TYPE (type2)))) in value_ptrdiff()
231 struct type *type1, struct type *type2) in binop_types_user_defined_p() argument
240 type2 = check_typedef (type2); in binop_types_user_defined_p()
241 if (TYPE_CODE (type2) == TYPE_CODE_REF) in binop_types_user_defined_p()
242 type2 = check_typedef (TYPE_TARGET_TYPE (type2)); in binop_types_user_defined_p()
245 || TYPE_CODE (type2) == TYPE_CODE_STRUCT); in binop_types_user_defined_p()
636 struct type *type2 = check_typedef (value_type (arg2)); in value_concat() local
[all …]
H A Dopencl-lang.c639 struct type *type1, *type2, *eltype1, *eltype2, *rettype; in vector_relop() local
644 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()
653 eltype2 = check_typedef (TYPE_TARGET_TYPE (type2)); in vector_relop()
656 || !get_array_bounds (type2, &lowb2, &highb2)) in vector_relop()
746 struct type *type2 = check_typedef (value_type (arg2)); in opencl_relop() local
749 int t2_is_vec = (TYPE_CODE (type2) == TYPE_CODE_ARRAY in opencl_relop()
750 && TYPE_VECTOR (type2)); 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 Dvalops.c314 struct type *type2 = check_typedef (value_type (arg2)); in value_cast_pointers() local
316 struct type *t2 = check_typedef (TYPE_TARGET_TYPE (type2)); in value_cast_pointers()
324 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()
[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 …]
/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
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()
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-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()
381 if (TREE_CODE (type2) == METHOD_TYPE) 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()
[all …]
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));
409 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))))
448 if (TREE_CODE (type1) != TREE_CODE (type2))
452 != (TYPE_BINFO (type2) == NULL_TREE))
456 != (BINFO_VTABLE (TYPE_BINFO (type2)) == NULL_TREE))
[all …]
H A Dtree-ssa-math-opts.c2333 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()
2355 from_unsigned2 = TYPE_UNSIGNED (type2); in convert_mult_to_widen()
2376 || (TYPE_UNSIGNED (type2) in convert_mult_to_widen()
2377 && TYPE_PRECISION (type2) == GET_MODE_PRECISION (from_mode))) in convert_mult_to_widen()
2408 if (actual_precision != TYPE_PRECISION (type2) in convert_mult_to_widen()
2409 || from_unsigned2 != TYPE_UNSIGNED (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()
[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()
/dflybsd-src/contrib/gcc-4.7/gcc/
H A Dtree-ssa-math-opts.c2113 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()
2132 from_unsigned2 = TYPE_UNSIGNED (type2); in convert_mult_to_widen()
2153 || (TYPE_UNSIGNED (type2) in convert_mult_to_widen()
2154 && TYPE_PRECISION (type2) == GET_MODE_PRECISION (from_mode))) 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()
[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
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
1028 const_tree t2 = type2; in comptypes_internal()
3334 tree type2 = (arg2.original_type in parser_build_binary_op() local
3381 && TREE_CODE (type2) == ENUMERAL_TYPE in parser_build_binary_op()
[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-4.7/gcc/cp/
H A Dcall.c2115 tree type1, tree type2, tree *args, tree *argtypes, in build_builtin_candidate() argument
2126 types[1] = type2; in build_builtin_candidate()
2221 tree type2, tree *args, tree *argtypes, int flags) in add_builtin_candidate() argument
2228 type2 = integer_type_node; in add_builtin_candidate()
2319 && TYPE_PTR_TO_MEMBER_P (type2)) in add_builtin_candidate()
2322 tree c2 = TYPE_PTRMEM_CLASS_TYPE (type2); in add_builtin_candidate()
2325 && (TYPE_PTRMEMFUNC_P (type2) in add_builtin_candidate()
2326 || is_complete (TYPE_PTRMEM_POINTED_TO_TYPE (type2)))) in add_builtin_candidate()
2374 if (TYPE_PTROB_P (type1) && TYPE_PTROB_P (type2)) in add_builtin_candidate()
2377 && INTEGRAL_OR_UNSCOPED_ENUMERATION_TYPE_P (type2)) in add_builtin_candidate()
[all …]
/dflybsd-src/contrib/gcc-8.0/gcc/cp/
H A Dcall.c2348 tree type1, tree type2, tree *args, tree *argtypes, in build_builtin_candidate() argument
2359 types[1] = type2; in build_builtin_candidate()
2457 tree type2, tree *args, tree *argtypes, int flags, in add_builtin_candidate() argument
2465 type2 = integer_type_node; in add_builtin_candidate()
2556 if (TYPE_PTR_P (type1) && TYPE_PTRMEM_P (type2)) in add_builtin_candidate()
2559 tree c2 = TYPE_PTRMEM_CLASS_TYPE (type2); in add_builtin_candidate()
2562 && (TYPE_PTRMEMFUNC_P (type2) in add_builtin_candidate()
2563 || is_complete (TYPE_PTRMEM_POINTED_TO_TYPE (type2)))) in add_builtin_candidate()
2611 if (TYPE_PTROB_P (type1) && TYPE_PTROB_P (type2)) in add_builtin_candidate()
2614 && INTEGRAL_OR_UNSCOPED_ENUMERATION_TYPE_P (type2)) in add_builtin_candidate()
[all …]
/dflybsd-src/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()
/dflybsd-src/contrib/gcc-4.7/gcc/objc/
H A Dobjc-act.c2330 objc_common_type (tree type1, tree type2) in objc_common_type() argument
2332 tree inner1 = TREE_TYPE (type1), inner2 = TREE_TYPE (type2); in objc_common_type()
2344 return type2; in objc_common_type()
8387 objc_types_are_equivalent (tree type1, tree type2) in objc_types_are_equivalent() argument
8389 if (type1 == type2) in objc_types_are_equivalent()
8394 && (TREE_CODE (type1) == TREE_CODE (type2))) in objc_types_are_equivalent()
8395 type1 = TREE_TYPE (type1), type2 = TREE_TYPE (type2); in objc_types_are_equivalent()
8396 if (TYPE_MAIN_VARIANT (type1) != TYPE_MAIN_VARIANT (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()
[all …]
/dflybsd-src/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 $
/dflybsd-src/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()
/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
1071 const_tree t2 = type2; in comptypes_internal()
3631 tree type2 = (arg2.original_type in parser_build_binary_op() local
3734 && char_type_p (type2) in parser_build_binary_op()
[all …]

1234