Searched refs:basetype (Results 1 - 25 of 37) sorted by relevance

12

/haiku-buildtools/legacy/gcc/gcc/cp/
H A Dclass.c264 tree basetype; local
288 basetype = BINFO_TYPE (path);
339 /* LAST is now the last basetype assoc on the path. */
370 CLASSTYPE_VBASECLASSES (basetype)));
482 build_vtable_entry_ref (basetype, vtbl, idx)
483 tree basetype, vtbl, idx;
488 s = build_unary_op (ADDR_EXPR, TYPE_BINFO_VTABLE (basetype), 0);
514 tree basetype = TREE_TYPE (instance); local
516 if (TREE_CODE (basetype) == REFERENCE_TYPE)
517 basetype
787 tree basetype; local
1633 tree basetype = BINFO_TYPE (base_binfo); local
1873 tree basetype; local
2822 tree basetype = BINFO_TYPE (base_binfo); local
2948 tree basetype = BINFO_TYPE (base_binfo); local
4170 tree basetype = BINFO_TYPE (base_binfo); local
[all...]
H A Dcall.c171 check_dtor_name (basetype, name)
172 tree basetype, name;
186 if ((IS_AGGR_TYPE (basetype) && name == constructor_name (basetype))
187 || (TREE_CODE (basetype) == ENUMERAL_TYPE
188 && name == TYPE_IDENTIFIER (basetype)))
189 name = basetype;
196 if (name && TYPE_MAIN_VARIANT (basetype) == TYPE_MAIN_VARIANT (name))
205 build_scoped_method_call (exp, basetype, name, parms)
206 tree exp, basetype, nam
445 tree basetype, instance_ptr; local
2494 tree basetype = TREE_PURPOSE (fns); local
3432 tree basetype, mem_args = NULL_TREE, fns, instance_ptr; local
[all...]
H A Dtree.c367 build_cplus_method_type (basetype, rettype, argtypes)
368 tree basetype, rettype, argtypes;
377 TYPE_METHOD_BASETYPE (t) = TYPE_MAIN_VARIANT (basetype);
379 if (IS_SIGNATURE (basetype))
380 ptype = build_signature_pointer_type (basetype);
382 ptype = build_pointer_type (basetype);
393 hashcode = TYPE_HASH (basetype) + TYPE_HASH (rettype) + type_hash_list (argtypes);
550 /* The next basetype offset must take into account the space
654 tree basetype = BINFO_TYPE (vbase_types);
657 desired_align = TYPE_ALIGN (basetype);
651 tree basetype = BINFO_TYPE (vbase_types); local
701 register tree basetype = BINFO_TYPE (base_binfo); local
729 tree basetype = BINFO_TYPE (vbase_types); local
782 register tree basetype = BINFO_TYPE (base_binfo); local
870 register tree basetype = BINFO_TYPE (base_binfo); local
[all...]
H A Dtypeck2.c50 error_not_base_type (basetype, type)
51 tree basetype, type;
53 if (TREE_CODE (basetype) == FUNCTION_DECL)
54 basetype = DECL_CLASS_CONTEXT (basetype);
55 cp_error ("type `%T' is not a base type for type `%T'", basetype, type);
1219 build_scoped_ref (datum, basetype)
1221 tree basetype;
1235 if (is_aggr_type (basetype, 1))
1237 tree binfo = TYPE_BINFO (basetype);
[all...]
H A Dinit.c40 type basetype. This allows the possibly anachronistic form
374 tree basetype = TREE_PURPOSE (x);
377 if (basetype == NULL_TREE)
396 else if (is_aggr_type (basetype, 1))
398 binfo = binfo_or_else (basetype, t);
423 basetype, current_class_type);
1028 tree basetype = NULL_TREE, field;
1038 basetype = TYPE_MAIN_VARIANT (TREE_TYPE (name));
1049 basetype = TYPE_BINFO_BASETYPE (type, 0);
1068 if (name == NULL_TREE || basetype)
373 tree basetype = TREE_PURPOSE (x); local
1027 tree basetype = NULL_TREE, field; local
1897 tree basetype, addr; local
[all...]
H A Dtypeck.c116 tree basetype = TYPE_OFFSET_BASETYPE (type); local
118 base = convert_pointer_to (basetype, current_class_ptr);
696 tree basetype;
704 basetype = TREE_TYPE (TREE_VALUE (TYPE_ARG_TYPES (t2)));
709 basetype = TREE_TYPE (TREE_VALUE (TYPE_ARG_TYPES (t1)));
722 t3 = build_cplus_method_type (basetype, TREE_TYPE (t3),
1251 /* If two types share a common base type, return that basetype.
1272 tree basetype = TYPE_BINFO_BASETYPE (tt1, i);
1273 tree trial = common_base_type (basetype, tt2);
1288 tree basetype
695 tree basetype; local
1270 tree basetype = TYPE_BINFO_BASETYPE (tt1, i); local
1286 tree basetype = TYPE_BINFO_BASETYPE (tt2, i); local
2033 register tree basetype; local
2633 tree basetype = NULL_TREE; local
2838 tree instance, basetype; local
4255 tree basetype = decl_type_context (field); local
[all...]
H A Dcvt.c973 tree basetype = TREE_TYPE (expr);
985 basetype = TREE_TYPE (expr);
987 if (! IS_AGGR_TYPE (basetype))
988 switch (TREE_CODE (basetype))
1015 if (! TYPE_HAS_CONVERSION (basetype))
1018 for (conv = lookup_conversions (basetype); conv; conv = TREE_CHAIN (conv))
1054 basetype);
970 tree basetype = TREE_TYPE (expr); local
H A Dsig.c945 tree basetype = DECL_CONTEXT (function); local
946 tree basetype_path = TYPE_BINFO (basetype);
947 tree tbl_entry = build_component_ref (build1 (INDIRECT_REF, basetype,
967 new_object_ptr = build (PLUS_EXPR, build_pointer_type (basetype),
972 cp_convert (build_pointer_type (basetype), object_ptr),
981 = build_qualified_type (build_pointer_type (basetype),
H A Dmethod.c2277 tree arg_types, parms, parm, basetype, pbasetype;
2286 basetype = TREE_TYPE (pbasetype);
2298 fntype = build_cplus_method_type (basetype, TREE_TYPE (TREE_TYPE (fn)),
2341 ctors = CLASSTYPE_METHOD_VEC (basetype);
2351 add_method (basetype, 0, decl);
2557 tree basetype = BINFO_TYPE (TREE_VEC_ELT (binfos, i));
2559 (build_reference_type (basetype), parm,
2562 p = build_member_call (basetype, ansi_opname [MODIFY_EXPR],
2271 tree arg_types, parms, parm, basetype, pbasetype; local
2550 tree basetype = BINFO_TYPE (TREE_VEC_ELT (binfos, i)); local
H A Ddecl.c9121 tree basetype = TYPE_OFFSET_BASETYPE (type);
9124 DECL_CONTEXT (decl) = basetype;
9125 DECL_CLASS_CONTEXT (decl) = basetype;
9126 DECL_ASSEMBLER_NAME (decl) = build_static_name (basetype, declarator);
10943 basetype :: member . */
12955 tree basetype = TREE_VALUE (binfo);
12958 if (basetype && TREE_CODE (basetype) == TYPE_DECL)
12959 basetype = TREE_TYPE (basetype);
9102 tree basetype = TYPE_OFFSET_BASETYPE (type); local
12933 tree basetype = TREE_VALUE (binfo); local
13037 tree basetype = BINFO_TYPE (TREE_VEC_ELT (binfos, 0)); local
[all...]
H A Drtti.c83 tree basetype = CLASSTYPE_RTTI (type);
84 tree binfo = get_binfo (basetype, type, 0);
82 tree basetype = CLASSTYPE_RTTI (type); local
/haiku-buildtools/gcc/gcc/cp/
H A Dclass.c710 tree basetype = non_reference (TREE_TYPE (instance));
714 tree binfo = lookup_base (fixed_type, basetype,
721 vtbl = build_vfield_ref (instance, basetype);
955 /* This is our very own copy of `basetype' to play with. Later,
1704 tree basetype = TREE_TYPE (base_binfo);
1706 gcc_assert (COMPLETE_TYPE_P (basetype));
1708 if (CLASSTYPE_FINAL (basetype))
1710 basetype, t);
1713 if (!CLASSTYPE_LITERAL_P (basetype))
1720 if (TYPE_HAS_COPY_CTOR (basetype)
709 tree basetype = non_reference (TREE_TYPE (instance)); local
1701 tree basetype = TREE_TYPE (base_binfo); local
1884 tree basetype = BINFO_TYPE (base_binfo); local
1919 tree basetype = BINFO_TYPE (primary); local
2912 tree basetype = BINFO_TYPE (BINFO_BASE_BINFO (TYPE_BINFO (t), i)); local
2994 tree basetype = BINFO_TYPE (base_binfo); local
4357 tree basetype = BINFO_TYPE (binfo); local
4419 tree basetype = BINFO_TYPE (binfo); local
4632 tree basetype; local
4839 tree basetype = TYPE_METHOD_BASETYPE (TREE_TYPE (clone)); local
4930 tree o, basetype = BINFO_TYPE (base_binfo); local
5624 tree basetype = TREE_TYPE (base_binfo); local
5759 tree basetype = TREE_TYPE (base_binfo); local
6086 tree basetype; local
[all...]
H A Dmethod.c1475 tree basetype = BINFO_TYPE (base_binfo);
1482 argtype = build_stub_type (basetype, quals, move_p);
1483 else if (basetype == inherited_base)
1490 constexpr_p, diag, basetype);
1504 basetype, /*dtor_from_ctor*/true);
1507 if (check_vdtor && type_has_virtual_destructor (basetype))
1522 && vbase_has_user_provided_move_assign (basetype))
1526 ctype, basetype);
1538 tree basetype = BINFO_TYPE (base_binfo);
1540 argtype = build_stub_type (basetype, qual
1473 tree basetype = BINFO_TYPE (base_binfo); local
1536 tree basetype = BINFO_TYPE (base_binfo); local
[all...]
H A Dcvt.c1538 tree basetype = TREE_TYPE (expr);
1553 if (basetype == error_mark_node)
1556 if (! MAYBE_CLASS_TYPE_P (basetype))
1557 switch (TREE_CODE (basetype))
1583 switch (TREE_CODE (TREE_TYPE (basetype)))
1602 if (!complete_type_or_maybe_complain (basetype, expr, complain))
1604 if (!TYPE_HAS_CONVERSION (basetype))
1607 for (conv = lookup_conversions (basetype); conv; conv = TREE_CHAIN (conv))
1681 basetype);
1536 tree basetype = TREE_TYPE (expr); local
H A Dtypeck2.c58 error_not_base_type (tree basetype, tree type) argument
60 if (TREE_CODE (basetype) == FUNCTION_DECL)
61 basetype = DECL_CONTEXT (basetype);
62 error ("type %qT is not a base type for type %qT", basetype, type);
1655 build_scoped_ref (tree datum, tree basetype, tree* binfo_p)
1664 binfo = lookup_base (TREE_TYPE (datum), basetype, ba_check,
1671 error_not_base_type (basetype, TREE_TYPE (datum));
1650 build_scoped_ref(tree datum, tree basetype, tree* binfo_p) argument
H A Dcall.c245 check_dtor_name (tree basetype, tree name) argument
257 if ((MAYBE_CLASS_TYPE_P (basetype)
258 && name == constructor_name (basetype))
259 || (TREE_CODE (basetype) == ENUMERAL_TYPE
260 && name == TYPE_IDENTIFIER (basetype)))
280 return same_type_p (TYPE_MAIN_VARIANT (basetype), TYPE_MAIN_VARIANT (name));
7942 tree basetype = NULL_TREE; local
7997 basetype = TYPE_MAIN_VARIANT (TREE_TYPE (instance));
7998 gcc_assert (CLASS_TYPE_P (basetype));
8018 basetype, nam
[all...]
H A Ddecl.c12550 tree basetype = TREE_VALUE (*basep);
12557 && CLASS_TYPE_P (basetype) && TYPE_BEING_DEFINED (basetype))
12558 cxx_incomplete_type_diagnostic (NULL_TREE, basetype, DK_PEDWARN);
12559 if (!dependent_type_p (basetype)
12560 && !complete_type_or_else (basetype, NULL))
12568 if (CLASS_TYPE_P (basetype))
12569 max_vbases += vec_safe_length (CLASSTYPE_VBASECLASSES (basetype));
12632 tree basetype = TREE_VALUE (base_list);
12637 if (PACK_EXPANSION_P (basetype))
12532 tree basetype = TREE_VALUE (*basep); local
12614 tree basetype = TREE_VALUE (base_list); local
[all...]
H A Dinit.c1398 tree basetype; local
1415 basetype = BINFO_TYPE
1426 basetype = TYPE_MAIN_VARIANT (name);
1430 basetype = TYPE_MAIN_VARIANT (TREE_TYPE (name));
1432 basetype = NULL_TREE;
1434 if (basetype)
1442 || same_type_p (basetype, current_class_type))
1443 return basetype;
1451 if (SAME_BINFO_TYPE_P (BINFO_TYPE (direct_binfo), basetype))
1457 virtual_binfo = binfo_for_vbase (basetype, current_class_typ
[all...]
H A Dsearch.c2012 tree basetype = BINFO_TYPE (base_binfo);
2014 if (TYPE_POLYMORPHIC_P (basetype))
2015 found += look_for_overrides_r (basetype, fndecl);
2009 tree basetype = BINFO_TYPE (base_binfo); local
H A Dtypeck.c884 tree basetype = class_of_this_parm (t2);
900 t3 = build_method_type_directly (basetype, TREE_TYPE (t3),
3229 This used to avoid checking for virtual functions if basetype
3249 tree basetype = TYPE_METHOD_BASETYPE (TREE_TYPE (fntype));
3274 nonvirtual = (COMPLETE_TYPE_P (basetype)
3275 && !TYPE_POLYMORPHIC_P (basetype)
3332 (basetype, TREE_TYPE (TREE_TYPE (instance_ptr))))
3334 basetype = lookup_base (TREE_TYPE (TREE_TYPE (instance_ptr)),
3335 basetype, ba_check, NULL, complain);
3336 instance_ptr = build_base_path (PLUS_EXPR, instance_ptr, basetype,
883 tree basetype = class_of_this_parm (t2); local
3243 tree basetype = TYPE_METHOD_BASETYPE (TREE_TYPE (fntype)); local
[all...]
/haiku-buildtools/gcc/gcc/fortran/
H A Dtrans-types.c1084 tree basetype;
1099 basetype = ptr_type_node;
1101 basetype = pfunc_type_node;
1104 basetype = gfc_get_int_type (spec->kind);
1108 basetype = gfc_get_real_type (spec->kind);
1112 basetype = gfc_get_complex_type (spec->kind);
1116 basetype = gfc_get_logical_type (spec->kind);
1120 basetype = gfc_get_character_type (spec->kind, spec->u.cl);
1125 basetype = gfc_get_character_type_len (gfc_default_character_kind,
1131 basetype
1081 tree basetype; local
[all...]
/haiku-buildtools/gcc/gcc/objc/
H A Dobjc-act.c1534 tree basetype = TYPE_MAIN_VARIANT (rtype); local
1538 if (basetype != NULL_TREE && TREE_CODE (basetype) == POINTER_TYPE)
1539 basetype = TREE_TYPE (basetype);
1544 while (basetype != NULL_TREE
1545 && TREE_CODE (basetype) == RECORD_TYPE
1546 && OBJC_TYPE_NAME (basetype)
1547 && TREE_CODE (OBJC_TYPE_NAME (basetype)) == TYPE_DECL
1548 && DECL_ORIGINAL_TYPE (OBJC_TYPE_NAME (basetype)))
2719 objc_xref_basetypes(tree ref, tree basetype) argument
6401 tree basetype, decl; local
[all...]
H A Dobjc-next-runtime-abi-02.c1322 tree basetype = TYPE_MAIN_VARIANT (TREE_TYPE (expr)); local
1324 if (TREE_CODE (basetype) == RECORD_TYPE
1325 && TYPE_HAS_OBJC_INFO (basetype) && TYPE_OBJC_INTERFACE (basetype))
1327 *klass = lookup_interface (OBJC_TYPE_NAME (basetype));
/haiku-buildtools/legacy/gcc/gcc/
H A Dtree.c4443 build_method_type (basetype, type)
4444 tree basetype, type;
4455 TYPE_METHOD_BASETYPE (t) = TYPE_MAIN_VARIANT (basetype);
4463 build_pointer_type (basetype), TYPE_ARG_TYPES (type));
4466 hashcode = TYPE_HASH (basetype) + TYPE_HASH (type);
4480 build_offset_type (basetype, type)
4481 tree basetype, type;
4489 TYPE_OFFSET_BASETYPE (t) = TYPE_MAIN_VARIANT (basetype);
4493 hashcode = TYPE_HASH (basetype) + TYPE_HASH (type);
/haiku-buildtools/gcc/gcc/
H A Dtree.c8293 build_method_type_directly (tree basetype,
8306 TYPE_METHOD_BASETYPE (t) = TYPE_MAIN_VARIANT (basetype);
8308 ptype = build_pointer_type (basetype);
8316 hstate.add_object (TYPE_HASH (basetype));
8323 = (TYPE_STRUCTURAL_EQUALITY_P (basetype)
8326 = (TYPE_CANONICAL (basetype) != basetype
8335 = build_method_type_directly (TYPE_CANONICAL (basetype),
8350 build_method_type (tree basetype, tree type)
8354 return build_method_type_directly (basetype,
8270 build_method_type_directly(tree basetype, tree rettype, tree argtypes) argument
8327 build_method_type(tree basetype, tree type) argument
8341 build_offset_type(tree basetype, tree type) argument
[all...]

Completed in 2503 milliseconds

12