Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/usr.bin/binutils/gdb/
H A Dvalarith.c92 struct type *type1, *type2, *valptrtype; in value_add() local
97 type2 = check_typedef (VALUE_TYPE (arg2)); in value_add()
100 || TYPE_CODE (type2) == TYPE_CODE_PTR) in value_add()
102 (is_integral_type (type1) || is_integral_type (type2))) in value_add()
117 valptrtype = type2; in value_add()
135 struct type *type1, *type2; in value_sub() local
139 type2 = check_typedef (VALUE_TYPE (arg2)); in value_sub()
143 if (is_integral_type (type2)) in value_sub()
152 else if (TYPE_CODE (type2) == TYPE_CODE_PTR in value_sub()
154 == TYPE_LENGTH (check_typedef (TYPE_TARGET_TYPE (type2)))) in value_sub()
[all …]
H A Dax-gdb.c91 static int type_wider_than (struct type *type1, struct type *type2);
92 static struct type *max_type (struct type *type1, struct type *type2);
756 type_wider_than (struct type *type1, struct type *type2) in type_wider_than() argument
758 return (TYPE_LENGTH (type1) > TYPE_LENGTH (type2) in type_wider_than()
759 || (TYPE_LENGTH (type1) == TYPE_LENGTH (type2) in type_wider_than()
761 && !TYPE_UNSIGNED (type2))); in type_wider_than()
767 max_type (struct type *type1, struct type *type2) in max_type() argument
769 return type_wider_than (type1, type2) ? type1 : type2; in max_type()
H A Dvalops.c205 struct type *type2; in value_cast() local
215 type2 = check_typedef (VALUE_TYPE (arg2)); in value_cast()
228 int val_length = TYPE_LENGTH (type2); in value_cast()
248 && TYPE_CODE (type2) == TYPE_CODE_ARRAY) in value_cast()
251 if (TYPE_CODE (type2) == TYPE_CODE_FUNC) in value_cast()
254 type2 = check_typedef (VALUE_TYPE (arg2)); in value_cast()
255 COERCE_VARYING_ARRAY (arg2, type2); in value_cast()
256 code2 = TYPE_CODE (type2); in value_cast()
281 arg2, 0, type2, 1); in value_cast()
302 switch (TYPE_CODE (TYPE_TARGET_TYPE (type2))) in value_cast()
[all …]
/openbsd-src/lib/libform/
H A Dfld_ftlink.c54 link_fieldtype(FIELDTYPE *type1, FIELDTYPE *type2) in FORM_EXPORT()
58 T((T_CALLED("link_fieldtype(%p,%p)"), (void *)type1, (void *)type2)); in FORM_EXPORT()
59 if (type1 && type2) in FORM_EXPORT()
68 if ((type1->status & _HAS_ARGS) || (type2->status & _HAS_ARGS)) in FORM_EXPORT()
70 if ((type1->status & _HAS_CHOICE) || (type2->status & _HAS_CHOICE)) in FORM_EXPORT()
73 nftyp->right = type2; in FORM_EXPORT()
75 type2->ref++; in FORM_EXPORT()
/openbsd-src/gnu/usr.bin/gcc/gcc/java/
H A Dverify.c129 merge_types (type1, type2) in merge_types() argument
130 tree type1, type2; in merge_types()
132 if (type1 == type2)
134 if (type1 == TYPE_UNKNOWN || type2 == TYPE_UNKNOWN
135 || type1 == TYPE_RETURN_ADDR || type2 == TYPE_RETURN_ADDR)
137 if (TREE_CODE (type1) == POINTER_TYPE && TREE_CODE (type2) == POINTER_TYPE)
143 if (type1 == ptr_type_node || type2 == object_ptr_type_node)
144 return type2;
145 if (type2 == ptr_type_node || type1 == object_ptr_type_node)
149 tt2 = TREE_TYPE (type2);
[all …]
H A Dclass.c425 interface_of_p (type1, type2) in interface_of_p() argument
426 tree type1, type2; in interface_of_p()
431 if (!(basetype_vec = TYPE_BINFO_BASETYPES (type2)))
453 inherits_from_p (type1, type2) in inherits_from_p() argument
454 tree type1, type2; in inherits_from_p()
458 if (type1 == type2)
468 enclosing_context_p (type1, type2) in enclosing_context_p() argument
469 tree type1, type2; in enclosing_context_p()
471 if (!INNER_CLASS_TYPE_P (type2))
474 for (type2 = TREE_TYPE (DECL_CONTEXT (TYPE_NAME (type2)));
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.pt/
H A Dtypename28.C14 typedef typename T::template X<Ptr> type2; typedef
18 void baz (type2);
/openbsd-src/gnu/usr.bin/gcc/gcc/cp/
H A Dcall.c1624 build_builtin_candidate (candidates, fnname, type1, type2, in build_builtin_candidate() argument
1627 tree fnname, type1, type2, *args, *argtypes;
1636 types[1] = type2;
1711 add_builtin_candidate (candidates, code, code2, fnname, type1, type2, in add_builtin_candidate() argument
1715 tree fnname, type1, type2, *args, *argtypes;
1723 type2 = integer_type_node;
1814 && (TYPE_PTRMEMFUNC_P (type2) || TYPE_PTRMEM_P (type2)))
1817 tree c2 = (TYPE_PTRMEMFUNC_P (type2)
1818 ? TYPE_METHOD_BASETYPE (TREE_TYPE (TYPE_PTRMEMFUNC_FN_TYPE (type2)))
1819 : TYPE_OFFSET_BASETYPE (TREE_TYPE (type2)));
[all …]
H A Dtypeck.c1271 at_least_as_qualified_p (type1, type2) in at_least_as_qualified_p() argument
1273 tree type2;
1276 return ((cp_type_quals (type1) & cp_type_quals (type2))
1277 == cp_type_quals (type2));
1283 more_qualified_p (type1, type2) in more_qualified_p() argument
1285 tree type2;
1287 return (cp_type_quals (type1) != cp_type_quals (type2)
1288 && at_least_as_qualified_p (type1, type2));
1295 comp_cv_qualification (type1, type2) in comp_cv_qualification() argument
1297 tree type2;
[all …]
/openbsd-src/gnu/gcc/gcc/cp/
H A Dcall.c1536 tree type1, tree type2, tree *args, tree *argtypes, in build_builtin_candidate() argument
1546 types[1] = type2; in build_builtin_candidate()
1625 tree type2, tree *args, tree *argtypes, int flags) in add_builtin_candidate() argument
1632 type2 = integer_type_node; in add_builtin_candidate()
1722 && TYPE_PTR_TO_MEMBER_P (type2)) in add_builtin_candidate()
1725 tree c2 = TYPE_PTRMEM_CLASS_TYPE (type2); in add_builtin_candidate()
1728 && (TYPE_PTRMEMFUNC_P (type2) in add_builtin_candidate()
1729 || is_complete (TYPE_PTRMEM_POINTED_TO_TYPE (type2)))) in add_builtin_candidate()
1777 if (TYPE_PTROB_P (type1) && TYPE_PTROB_P (type2)) in add_builtin_candidate()
1779 if (TYPE_PTROB_P (type1) && INTEGRAL_TYPE_P (type2)) in add_builtin_candidate()
[all …]
/openbsd-src/gnu/gcc/gcc/objcp/
H A Dobjcp-decl.c97 objcp_comptypes (tree type1, tree type2) in objcp_comptypes() argument
99 return comptypes (type1, type2, COMPARE_STRICT); in objcp_comptypes()
H A Dobjcp-decl.h50 #define comptypes(type1, type2) \ argument
51 objcp_comptypes (type1, type2)
/openbsd-src/gnu/llvm/lld/ELF/Arch/
H A DMips.cpp495 RelType type2 = (type >> 8) & 0xff; in calculateMipsRelChain() local
497 if (type2 == R_MIPS_NONE && type3 == R_MIPS_NONE) in calculateMipsRelChain()
499 if (type2 == R_MIPS_64 && type3 == R_MIPS_NONE) in calculateMipsRelChain()
500 return std::make_pair(type2, val); in calculateMipsRelChain()
501 if (type2 == R_MIPS_SUB && (type3 == R_MIPS_HI16 || type3 == R_MIPS_LO16)) in calculateMipsRelChain()
/openbsd-src/gnu/usr.bin/binutils/gas/config/
H A Dobj-vms.c135 int type2; member
1339 return find_symbol (spnt->type2); in find_symbol()
1427 spnt = find_symbol (spnt->type2); in array_suffix()
1437 spnt1 = find_symbol (spnt1->type2); in array_suffix()
1457 spnt1 = find_symbol (spnt1->type2); in array_suffix()
1464 spnt1 = find_symbol (spnt1->type2); in array_suffix()
1538 spnt1 = find_symbol (spnt->type2); in gen1()
1541 new_forward_ref (spnt->type2); in gen1()
1556 spnt1 = find_symbol (spnt1->type2); in gen1()
1560 spnt->type2); in gen1()
[all …]
/openbsd-src/gnu/gcc/gcc/
H A Dtarget.h406 int (* comp_type_attributes) (tree type1, tree type2);
740 const char *(*invalid_binary_op) (int op, tree type1, tree type2);
H A Dipa-cp.c239 enum cvalue_type type1, enum cvalue_type type2) in ipcp_cval_equal_cvalues() argument
241 gcc_assert (ipcp_type_is_const (type1) && ipcp_type_is_const (type2)); in ipcp_cval_equal_cvalues()
242 if (type1 != type2) in ipcp_cval_equal_cvalues()
H A Dc-typeck.c769 comptypes (tree type1, tree type2) in comptypes() argument
774 val = comptypes_internal (type1, type2); in comptypes()
786 comptypes_internal (tree type1, tree type2) in comptypes_internal() argument
789 tree t2 = type2; in comptypes_internal()
3263 tree type2; in build_conditional_expr() local
3283 type2 = TREE_TYPE (op2); in build_conditional_expr()
3284 code2 = TREE_CODE (type2); in build_conditional_expr()
3296 if (TYPE_MAIN_VARIANT (type1) == TYPE_MAIN_VARIANT (type2)) in build_conditional_expr()
3298 if (type1 == type2) in build_conditional_expr()
3308 result_type = c_common_type (type1, type2); in build_conditional_expr()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/Target/
H A DGenericOpcodes.td1048 let InOperandList = (ins ptype1:$base, type2:$offset, unknown:$am);
1056 let InOperandList = (ins ptype1:$base, type2:$offset, unknown:$am);
1064 let InOperandList = (ins ptype1:$base, type2:$offset, unknown:$am);
1090 let InOperandList = (ins type2:$addr, type0:$cmpval, type0:$newval);
1311 let InOperandList = (ins type0:$src, type1:$elt, type2:$idx);
1318 let InOperandList = (ins type1:$src, type2:$idx);
1344 let InOperandList = (ins type1:$acc, type2:$v);
1350 let InOperandList = (ins type1:$acc, type2:$v);
1388 …let InOperandList = (ins ptype0:$dst_addr, ptype1:$src_addr, type2:$size, untyped_imm_0:$tailcall);
1396 let InOperandList = (ins ptype0:$dst_addr, ptype1:$src_addr, type2:$size);
[all …]
/openbsd-src/gnu/gcc/gcc/objc/
H A Dobjc-act.c8391 objc_types_are_equivalent (tree type1, tree type2) in objc_types_are_equivalent() argument
8393 if (type1 == type2) in objc_types_are_equivalent()
8398 && (TREE_CODE (type1) == TREE_CODE (type2))) in objc_types_are_equivalent()
8399 type1 = TREE_TYPE (type1), type2 = TREE_TYPE (type2); in objc_types_are_equivalent()
8400 if (TYPE_MAIN_VARIANT (type1) != TYPE_MAIN_VARIANT (type2)) in objc_types_are_equivalent()
8406 type2 = (TYPE_HAS_OBJC_INFO (type2) in objc_types_are_equivalent()
8407 ? TYPE_OBJC_PROTOCOL_LIST (type2) in objc_types_are_equivalent()
8410 if (list_length (type1) == list_length (type2)) in objc_types_are_equivalent()
8412 for (; type2; type2 = TREE_CHAIN (type2)) in objc_types_are_equivalent()
8413 if (!lookup_protocol_in_reflist (type1, TREE_VALUE (type2))) in objc_types_are_equivalent()
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dtarget.h233 int (* comp_type_attributes) PARAMS ((tree type1, tree type2));
H A Dc-typeck.c463 comptypes (type1, type2) in comptypes() argument
464 tree type1, type2; in comptypes()
467 tree t2 = type2;
3368 tree type2; local
3407 type2 = TREE_TYPE (op2);
3408 code2 = TREE_CODE (type2);
3412 if (TYPE_MAIN_VARIANT (type1) == TYPE_MAIN_VARIANT (type2))
3414 if (type1 == type2)
3424 result_type = common_type (type1, type2);
3463 if (comp_target_types (type1, type2, 1))
[all …]
/openbsd-src/lib/libcurses/
H A Dterm.priv.h120 TERMTYPE2 type2; /* extended terminal type description */ member
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSIInstructions.td3360 let InOperandList = (ins type1:$rsrc, type2:$vindex, type2:$voffset,
3361 type2:$soffset, untyped_imm_0:$offset,
3369 let InOperandList = (ins type1:$rsrc, type2:$vindex, type2:$voffset,
3370 type2:$soffset, untyped_imm_0:$offset, untyped_imm_0:$format,
3389 let InOperandList = (ins type0:$vdata, type1:$rsrc, type2:$vindex, type2:$voffset,
3390 type2:$soffset, untyped_imm_0:$offset,
3398 let InOperandList = (ins type0:$vdata, type1:$rsrc, type2:$vindex, type2:$voffset,
3399 type2:$soffset, untyped_imm_0:$offset,
3470 let InOperandList = (ins type2:$arg0, type2:$arg1, type0:$arg2);
3497 let InOperandList = (ins type0:$vdata, type1:$rsrc, type2:$vindex, type2:$voffset,
[all …]
/openbsd-src/gnu/gcc/gcc/treelang/
H A Dparse.y83 struct prod_token_parm_item *type2);
837 struct prod_token_parm_item *type2) in get_common_type() argument
841 if (NUMERIC_TYPE (type2) == UNSIGNED_INT) in get_common_type()
/openbsd-src/gnu/usr.bin/gcc/gcc/treelang/
H A Dparse.y80 static int get_common_type (struct prod_token_parm_item *type1, struct prod_token_parm_item *type2);
903 get_common_type (struct prod_token_parm_item *type1, struct prod_token_parm_item *type2) in get_common_type() argument
907 if (NUMERIC_TYPE (type2) == UNSIGNED_INT) in get_common_type()

123