Home
last modified time | relevance | path

Searched refs:TYPE_BINFO (Results 1 – 25 of 84) sorted by relevance

1234

/openbsd-src/gnu/usr.bin/gcc/gcc/objc/
H A Dobjc-act.h93 #define CLASS_IVARS(CLASS) TREE_VEC_ELT (TYPE_BINFO (CLASS), 0)
94 #define CLASS_RAW_IVARS(CLASS) TREE_VEC_ELT (TYPE_BINFO (CLASS), 1)
97 #define CLASS_STATIC_TEMPLATE(CLASS) TREE_VEC_ELT (TYPE_BINFO (CLASS), 2)
98 #define CLASS_CATEGORY_LIST(CLASS) TREE_VEC_ELT (TYPE_BINFO (CLASS), 3)
99 #define CLASS_PROTOCOL_LIST(CLASS) TREE_VEC_ELT (TYPE_BINFO (CLASS), 4)
100 #define CLASS_OWN_IVARS(CLASS) TREE_VEC_ELT (TYPE_BINFO (CLASS), 5)
102 #define PROTOCOL_LIST(CLASS) TREE_VEC_ELT (TYPE_BINFO (CLASS), 0)
105 #define PROTOCOL_FORWARD_DECL(CLASS) TREE_VEC_ELT (TYPE_BINFO (CLASS), 1)
/openbsd-src/gnu/usr.bin/gcc/gcc/cp/
H A Dsearch.c313 t_binfo = TYPE_BINFO (t);
431 int boff = dynamic_cast_base_recurse (subtype, TYPE_BINFO (target),
641 ? TYPE_BINFO (BINFO_TYPE (binfo)) : binfo);
815 tree binfo = TYPE_BINFO (type);
1061 binfo = TYPE_BINFO (type);
1094 binfo = TYPE_BINFO (type);
1493 basetype_path = TYPE_BINFO (type);
2098 tree binfo = TYPE_BINFO (type);
2289 dfs_walk (TYPE_BINFO (type), dfs_get_pure_virtuals,
2291 dfs_walk (TYPE_BINFO (type), dfs_unmark,
[all …]
H A Dclass.c445 vtable = get_vtbl_decl_for_binfo (TYPE_BINFO (basetype));
679 SET_BINFO_NEW_VTABLE_MARKED (TYPE_BINFO (type), type);
729 if (binfo == TYPE_BINFO (t))
735 return build_primary_vtable (TYPE_BINFO (DECL_CONTEXT (TYPE_VFIELD (t))),
1533 if (binfo != TYPE_BINFO (t))
1564 for (binfo = TYPE_BINFO (type); binfo; binfo = TREE_CHAIN (binfo))
1592 dfs_walk (TYPE_BINFO (type), dfs_unshared_virtual_bases, NULL, type);
1625 type_binfo = TYPE_BINFO (t);
1714 for (base_binfo = TYPE_BINFO (t);
1801 tree binfo = TYPE_BINFO (t);
[all …]
H A Drtti.c930 if (!TREE_VIA_PUBLIC (binfo) && TYPE_BINFO (basetype) != binfo)
958 dfs_walk (TYPE_BINFO (type), dfs_class_hint_mark, NULL, &hint_flags);
959 dfs_walk (TYPE_BINFO (type), dfs_class_hint_unmark, NULL, NULL);
963 tree base_binfo = BINFO_BASETYPE (TYPE_BINFO (type), i);
1060 tree base_binfos = BINFO_BASETYPES (TYPE_BINFO (type));
1070 tree binfo = TYPE_BINFO (type);
1221 TREE_VEC_ELT (BINFO_BASETYPES (TYPE_BINFO (type)), 0);
1222 int num_bases = BINFO_N_BASETYPES (TYPE_BINFO (type));
H A Dcall.c1065 TYPE_BINFO (s),
1089 TYPE_BINFO (s),
2614 ctors = lookup_fnfields (TYPE_BINFO (totype),
2649 TYPE_BINFO (totype),
2650 TYPE_BINFO (totype),
2655 args, TYPE_BINFO (totype),
2656 TYPE_BINFO (totype),
2693 TYPE_BINFO (fromtype),
2700 TYPE_BINFO (fromtype),
2979 fns = lookup_fnfields (TYPE_BINFO (type), ansi_opname (CALL_EXPR), 1);
[all …]
H A Dinit.c152 dfs_walk_real (TYPE_BINFO (type), dfs_initialize_vtbl_ptrs,
154 dfs_walk (TYPE_BINFO (type), dfs_unmark,
507 base = BINFO_BASETYPE (TYPE_BINFO (t), i); in sort_mem_initializers()
1010 != TYPE_BINFO (current_class_type)) in expand_member_init()
1139 expand_aggr_init_1 (TYPE_BINFO (type), exp, exp,
1492 && ((t = lookup_field (TYPE_BINFO (type), name, 1, 0))))
2295 TYPE_BINFO (true_type),
2390 init, TYPE_BINFO (true_type),
3074 TYPE_BINFO (TREE_TYPE (exp)), flags);
3290 binfos = BINFO_BASETYPES (TYPE_BINFO (current_class_type)); in push_base_cleanups()
H A Dcp-lang.c224 if (TYPE_BINFO (t) != NULL && TYPE_BINFO_BASETYPES (t) != NULL)
H A Drepo.c107 vtable = get_vtbl_decl_for_binfo (TYPE_BINFO (t));
H A Ddump.c284 tree base_binfo = BINFO_BASETYPE (TYPE_BINFO (t), i);
/openbsd-src/gnu/gcc/gcc/cp/
H A Dclass.c798 BINFO_VTABLE (TYPE_BINFO (type)) = decl; in build_primary_vtable()
799 BINFO_VIRTUALS (TYPE_BINFO (type)) = virtuals; in build_primary_vtable()
800 SET_BINFO_NEW_VTABLE_MARKED (TYPE_BINFO (type)); in build_primary_vtable()
845 if (binfo == TYPE_BINFO (t)) in make_new_vtable()
1149 perform_or_defer_access_check (TYPE_BINFO (t), fdecl, fdecl); in alter_access()
1238 for (binfo = TYPE_BINFO (t), i = 0; in check_bases()
1305 tree type_binfo = TYPE_BINFO (t); in determine_primary_bases()
1415 primary = TYPE_BINFO (basetype); in determine_primary_bases()
1445 TYPE_BINFO (variants) = TYPE_BINFO (t); in finish_struct_bits()
1453 if (BINFO_N_BASE_BINFOS (TYPE_BINFO (t)) && TYPE_POLYMORPHIC_P (t)) in finish_struct_bits()
[all …]
H A Dptree.c128 if (TYPE_BINFO (node)) in cxx_print_type()
130 BINFO_N_BASE_BINFOS (TYPE_BINFO (node))); in cxx_print_type()
H A Dsearch.c213 t_binfo = TYPE_BINFO (t); in lookup_base()
366 dfs_walk_once_accessible (TYPE_BINFO (target), /*friends=*/false, in dcast_base_hint()
693 tree binfo = TYPE_BINFO (type); in access_in_type()
889 binfo = TYPE_BINFO (type); in accessible_p()
926 binfo = TYPE_BINFO (type); in accessible_p()
1220 basetype_path = TYPE_BINFO (type); in lookup_member()
1918 tree binfo = TYPE_BINFO (type); in look_for_overrides()
2045 dfs_walk_once (TYPE_BINFO (type), NULL, dfs_get_pure_virtuals, type); in get_pure_virtuals()
2122 dfs_walk_all (TYPE_BINFO (type), dfs_debug_mark, NULL, 0); in note_debug_info_needed()
2432 if (!TYPE_BINFO (type)) in lookup_conversions()
[all …]
H A Ddump.c268 if (!dump_flag (di, TDF_SLIM, t) && TYPE_BINFO (t)) in cp_dump_tree()
274 for (binfo = TYPE_BINFO (t), i = 0; in cp_dump_tree()
H A Dinit.c134 dfs_walk_once (TYPE_BINFO (type), dfs_initialize_vtbl_ptrs, NULL, list); in initialize_vtbl_ptrs()
492 for (binfo = TYPE_BINFO (t), i = 0; in sort_mem_initializers()
963 switch (BINFO_N_BASE_BINFOS (TYPE_BINFO (current_class_type))) in expand_member_init()
971 (BINFO_BASE_BINFO (TYPE_BINFO (current_class_type), 0)); in expand_member_init()
999 class_binfo = TYPE_BINFO (current_class_type); in expand_member_init()
1141 expand_aggr_init_1 (TYPE_BINFO (type), exp, exp, in build_aggr_init()
1385 perform_or_defer_access_check (TYPE_BINFO (type), t, t); in build_offset_ref()
1400 perform_or_defer_access_check (TYPE_BINFO (type), member, member); in build_offset_ref()
2903 for (binfo = TYPE_BINFO (current_class_type), i = 0; in push_base_cleanups()
H A Dcall.c959 TYPE_BINFO (s), in convert_class_to_reference()
983 TYPE_BINFO (s), in convert_class_to_reference()
2576 TYPE_BINFO (totype), in build_user_type_conversion_1()
2577 TYPE_BINFO (totype), in build_user_type_conversion_1()
2582 args, TYPE_BINFO (totype), in build_user_type_conversion_1()
2583 TYPE_BINFO (totype), in build_user_type_conversion_1()
2621 TYPE_BINFO (fromtype), in build_user_type_conversion_1()
2628 TYPE_BINFO (fromtype), in build_user_type_conversion_1()
2972 if (TYPE_BINFO (type)) in build_object_call()
2974 fns = lookup_fnfields (TYPE_BINFO (type), ansi_opname (CALL_EXPR), 1); in build_object_call()
[all …]
H A Drtti.c1024 tree base_binfo = BINFO_BASE_BINFO (TYPE_BINFO (type), 0); in get_pseudo_ti_init()
1037 tree binfo = TYPE_BINFO (type); in get_pseudo_ti_init()
1204 else if (!BINFO_N_BASE_BINFOS (TYPE_BINFO (type))) in get_pseudo_ti_index()
1211 tree binfo = TYPE_BINFO (type); in get_pseudo_ti_index()
H A Dmethod.c575 for (binfo = TYPE_BINFO (current_class_type), i = 0; in do_build_copy_constructor()
659 for (binfo = TYPE_BINFO (current_class_type), i = 0; in do_build_assign_ref()
832 for (binfo = TYPE_BINFO (type), i = 0; in synthesize_exception_spec()
H A Dfriend.c174 perform_or_defer_access_check (TYPE_BINFO (ctx), decl, decl); in add_friend()
H A Dtypeck2.c882 gcc_assert (!TYPE_BINFO (type) in process_init_constructor_record()
883 || !BINFO_N_BASE_BINFOS (TYPE_BINFO (type))); in process_init_constructor_record()
H A Dsemantics.c1448 perform_or_defer_access_check (TYPE_BINFO (access_type), decl, in finish_non_static_data_member()
1528 perform_or_defer_access_check (TYPE_BINFO (qualifying_type), decl, in check_accessibility_of_qualified_id()
2438 cl = TYPE_BINFO (cl); in baselink_for_fns()
2864 perform_or_defer_access_check (TYPE_BINFO (path), decl, decl); in finish_id_expression()
/openbsd-src/gnu/gcc/gcc/
H A Dipa-type-escape.c527 if (TYPE_BINFO (parent)) in parent_type_p()
528 for (binfo = TYPE_BINFO (parent), i = 0; in parent_type_p()
1463 if (TYPE_BINFO (type)) in close_type_seen()
1464 for (binfo = TYPE_BINFO (type), i = 0; in close_type_seen()
1570 if (TYPE_BINFO (type)) in close_type_full_escape()
1571 for (binfo = TYPE_BINFO (type), i = 0; in close_type_full_escape()
H A Dsdbout.c1143 if (TREE_CODE (type) != ENUMERAL_TYPE && TYPE_BINFO (type)) in sdbout_one_type()
1148 for (binfo = TYPE_BINFO (type), i = 0; in sdbout_one_type()
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dtree.h1038 #define TYPE_BINFO(NODE) (TYPE_CHECK (NODE)->type.binfo) macro
1318 #define TYPE_BINFO_OFFSET(NODE) BINFO_OFFSET (TYPE_BINFO (NODE))
1326 #define TYPE_BINFO_VTABLE(NODE) BINFO_VTABLE (TYPE_BINFO (NODE))
1332 #define TYPE_BINFO_VIRTUALS(NODE) BINFO_VIRTUALS (TYPE_BINFO (NODE))
1346 #define TYPE_BINFO_BASETYPES(NODE) TREE_VEC_ELT (TYPE_BINFO (NODE), 4)
1355 BINFO_TYPE (TREE_VEC_ELT (BINFO_BASETYPES (TYPE_BINFO (NODE)), (N)))
1370 #define TYPE_BINFO_SIZE(NODE) BINFO_SIZE (TYPE_BINFO (NODE))
1371 #define TYPE_BINFO_SIZE_UNIT(NODE) BINFO_SIZE_UNIT (TYPE_BINFO (NODE))
H A Dc-tree.h163 #define TYPE_ACTUAL_ARG_TYPES(NODE) TYPE_BINFO (NODE)
H A Dsdbout.c1174 if (TYPE_BINFO (type)
1179 tree child = TREE_VEC_ELT (BINFO_BASETYPES (TYPE_BINFO (type)),

1234