Home
last modified time | relevance | path

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

123

/netbsd/src/external/gpl3/gcc/dist/gcc/
Dipa-devirt.cc280 vtable = BINFO_VTABLE (TYPE_BINFO (t)); in type_possibly_instantiated_p()
543 TYPE_BINFO (type) = binfo; in set_type_binfo()
545 gcc_assert (!TYPE_BINFO (type)); in set_type_binfo()
687 if (!TYPE_BINFO (DECL_CONTEXT (vtable->decl)) in compare_virtual_tables()
688 || !polymorphic_type_binfo_p (TYPE_BINFO (DECL_CONTEXT (vtable->decl)))) in compare_virtual_tables()
1427 if (TYPE_BINFO (t1) && TYPE_BINFO (t2) in odr_types_equivalent_p()
1428 && polymorphic_type_binfo_p (TYPE_BINFO (t1)) in odr_types_equivalent_p()
1429 != polymorphic_type_binfo_p (TYPE_BINFO (t2))) in odr_types_equivalent_p()
1431 if (polymorphic_type_binfo_p (TYPE_BINFO (t1))) in odr_types_equivalent_p()
1617 if ((TREE_CODE (type) == RECORD_TYPE && TYPE_BINFO (type) in add_type_duplicate()
[all …]
Dipa-polymorphic-call.cc59 if (TYPE_BINFO (type) in contains_polymorphic_type_p()
60 && polymorphic_type_binfo_p (TYPE_BINFO (type))) in contains_polymorphic_type_p()
87 || !TYPE_BINFO (type) in possible_placement_new()
89 || !polymorphic_type_binfo_p (TYPE_BINFO (type))) in possible_placement_new()
212 && TYPE_BINFO (type) in restrict_to_inner_class()
213 && polymorphic_type_binfo_p (TYPE_BINFO (type)))) in restrict_to_inner_class()
283 && TYPE_BINFO (type) in restrict_to_inner_class()
284 && polymorphic_type_binfo_p (TYPE_BINFO (type))) in restrict_to_inner_class()
381 && TYPE_BINFO (otr_type) in restrict_to_inner_class()
383 && get_binfo_at_offset (TYPE_BINFO (otr_type), 0, outer_type)) in restrict_to_inner_class()
[all …]
Dipa-free-lang-data.cc113 || !TYPE_BINFO (type) in fld_simplified_type_name()
114 || !BINFO_VTABLE (TYPE_BINFO (type))))) in fld_simplified_type_name()
296 TYPE_BINFO (copy) = NULL; in fld_incomplete_type_of()
477 if (TYPE_BINFO (type)) in free_lang_data_in_type()
479 free_lang_data_in_binfo (TYPE_BINFO (type)); in free_lang_data_in_type()
482 if (!BINFO_VTABLE (TYPE_BINFO (type))) in free_lang_data_in_type()
483 TYPE_BINFO (type) = NULL; in free_lang_data_in_type()
795 if (RECORD_OR_UNION_TYPE_P (t) && TYPE_BINFO (t)) in find_decls_types_r()
799 FOR_EACH_VEC_ELT (*BINFO_BASE_BINFOS (TYPE_BINFO (t)), i, tem) in find_decls_types_r()
801 fld_worklist_push (BINFO_TYPE (TYPE_BINFO (t)), fld); in find_decls_types_r()
[all …]
Dipa-utils.h189 return (BINFO_TYPE (binfo) && TYPE_BINFO (BINFO_TYPE (binfo)) in polymorphic_type_binfo_p()
190 && BINFO_VTABLE (TYPE_BINFO (BINFO_TYPE (binfo)))); in polymorphic_type_binfo_p()
Dvtable-verify.cc693 && TYPE_BINFO (class_type)) in verify_bb_vtables()
696 vtbl_var_decl = BINFO_VTABLE (TYPE_BINFO (class_type)); in verify_bb_vtables()
Dtree-dump.cc494 queue_and_dump_index (di, "binf", TYPE_BINFO (t), in dequeue_and_dump()
Dgimple-array-bounds.cc664 || !TYPE_BINFO (mreftype)) in inbounds_memaccess_p()
Dtree.cc12035 if (!TYPE_BINFO (obj_type_ref_class (target, for_dump_p))) in virtual_method_call_p()
13294 if (RECORD_OR_UNION_TYPE_P (t) && TYPE_BINFO (t) && TYPE_BINFO (tv) in verify_type_variant()
13295 && TYPE_BINFO (t) != TYPE_BINFO (tv) in verify_type_variant()
13304 debug_tree (TYPE_BINFO (tv)); in verify_type_variant()
13306 debug_tree (TYPE_BINFO (t)); in verify_type_variant()
13791 if (!TYPE_BINFO (t)) in verify_type()
13793 else if (TREE_CODE (TYPE_BINFO (t)) != TREE_BINFO) in verify_type()
13796 debug_tree (TYPE_BINFO (t)); in verify_type()
13799 else if (TREE_TYPE (TYPE_BINFO (t)) != TYPE_MAIN_VARIANT (t)) in verify_type()
13802 debug_tree (TREE_TYPE (TYPE_BINFO (t))); in verify_type()
/netbsd/src/external/gpl3/gcc/dist/gcc/cp/
Dclass.cc922 BINFO_VTABLE (TYPE_BINFO (type)) = decl; in build_primary_vtable()
923 BINFO_VIRTUALS (TYPE_BINFO (type)) = virtuals; in build_primary_vtable()
924 SET_BINFO_NEW_VTABLE_MARKED (TYPE_BINFO (type)); in build_primary_vtable()
969 if (binfo == TYPE_BINFO (t)) in make_new_vtable()
1290 perform_or_defer_access_check (TYPE_BINFO (t), fdecl, fdecl, in alter_access()
1791 for (binfo = TYPE_BINFO (t), i = 0; in check_bases()
1928 tree type_binfo = TYPE_BINFO (t); in determine_primary_bases()
2039 primary = TYPE_BINFO (basetype); in determine_primary_bases()
2069 TYPE_BINFO (variant) = TYPE_BINFO (type); in fixup_type_variants()
2158 if (BINFO_N_BASE_BINFOS (TYPE_BINFO (t)) && TYPE_POLYMORPHIC_P (t)) in finish_struct_bits()
[all …]
Dsearch.cc233 t_binfo = TYPE_BINFO (t); in lookup_base()
382 dfs_walk_once_accessible (TYPE_BINFO (target), /*friends=*/false, in dcast_base_hint()
624 tree binfo = TYPE_BINFO (type); in access_in_type()
907 binfo = TYPE_BINFO (type); in accessible_p()
1156 basetype_path = TYPE_BINFO (type); in lookup_member()
1340 basetype_path = TYPE_BINFO (type); in lookup_member_fuzzy()
2112 tree binfo = TYPE_BINFO (type); in look_for_overrides()
2230 dfs_walk_once (TYPE_BINFO (type), NULL, dfs_get_pure_virtuals, type); in get_pure_virtuals()
2307 dfs_walk_all (TYPE_BINFO (type), dfs_debug_mark, NULL, 0); in note_debug_info_needed()
2533 if (!CLASS_TYPE_P (type) || !TYPE_BINFO (type)) in lookup_conversions()
[all …]
Ddump.cc112 if (!dump_flag (di, TDF_SLIM, t) && TYPE_BINFO (t)) in cp_dump_tree()
118 for (binfo = TYPE_BINFO (t), i = 0; in cp_dump_tree()
Dvtable-class-hierarchy.cc945 tree binfo = TYPE_BINFO (class_type); in register_all_pairs()
1215 if (!TYPE_BINFO (base_type) || !BINFO_VTABLE (TYPE_BINFO (base_type))) in vtable_find_or_create_map_decl()
1278 tree binfo = TYPE_BINFO (type); in vtv_insert_single_class_info()
Drtti.cc1173 tree base_binfo = BINFO_BASE_BINFO (TYPE_BINFO (type), 0); in get_pseudo_ti_init()
1185 tree binfo = TYPE_BINFO (type); in get_pseudo_ti_init()
1285 else if (!TYPE_BINFO (type) in get_pseudo_ti_index()
1286 || !BINFO_N_BASE_BINFOS (TYPE_BINFO (type))) in get_pseudo_ti_index()
1290 tree binfo = TYPE_BINFO (type); in get_pseudo_ti_index()
Dptree.cc225 if (TYPE_BINFO (node)) in cxx_print_type()
227 BINFO_N_BASE_BINFOS (TYPE_BINFO (node))); in cxx_print_type()
Dinit.cc131 dfs_walk_once (TYPE_BINFO (type), dfs_initialize_vtbl_ptrs, NULL, list); in initialize_vtbl_ptrs()
1282 for (binfo = TYPE_BINFO (t), i = 0; in sort_mem_initializers()
1838 switch (BINFO_N_BASE_BINFOS (TYPE_BINFO (current_class_type))) in expand_member_init()
1846 (BINFO_BASE_BINFO (TYPE_BINFO (current_class_type), 0)); in expand_member_init()
1875 class_binfo = TYPE_BINFO (current_class_type); in expand_member_init()
2044 bool ok = expand_aggr_init_1 (TYPE_BINFO (type), exp, exp, in build_aggr_init()
2441 ok = perform_or_defer_access_check (TYPE_BINFO (type), t, t, in build_offset_ref()
2460 if (!perform_or_defer_access_check (TYPE_BINFO (type), member, member, in build_offset_ref()
5264 for (binfo = TYPE_BINFO (current_class_type), i = 0; in push_base_cleanups()
Dmethod.cc550 tree binfo = TYPE_BINFO (DECL_CONTEXT (fndecl)); in inherited_ctor_binfo()
638 if (!binfo_inherited_from (TYPE_BINFO (current_class_type), binfo, inh)) in add_one_base_init()
721 for (binfo = TYPE_BINFO (current_class_type), i = 0; in do_build_copy_constructor()
815 for (binfo = TYPE_BINFO (current_class_type), i = 0; in do_build_copy_assign()
1505 for (tree base_binfo : BINFO_BASE_BINFOS (TYPE_BINFO (ctype))) in build_comparison_op()
1924 binfo = TYPE_BINFO (type); in locate_fn_flags()
2645 for (binfo = TYPE_BINFO (ctype), i = 0; in synthesized_method_walk()
Dcp-ubsan.cc356 dfs_walk_once (TYPE_BINFO (type), cp_ubsan_dfs_initialize_vtbl_ptrs, in cp_ubsan_maybe_initialize_vtbl_ptrs()
Dfriend.cc207 perform_or_defer_access_check (TYPE_BINFO (ctx), decl, decl, in add_friend()
Dcall.cc4211 false, TYPE_BINFO (totype), TYPE_BINFO (totype), in build_user_type_conversion_1()
4217 TYPE_BINFO (totype), TYPE_BINFO (totype), in build_user_type_conversion_1()
4281 conversion_path, TYPE_BINFO (fromtype), in build_user_type_conversion_1()
5031 if (TYPE_BINFO (type)) in build_op_call()
5033 fns = lookup_fnfields (TYPE_BINFO (type), call_op_identifier, 1, complain); in build_op_call()
6996 if (TYPE_BINFO (type)) in build_op_subscript()
6998 fns = lookup_fnfields (TYPE_BINFO (type), ovl_op_identifier (ARRAY_REF), in build_op_subscript()
7283 fns = lookup_fnfields (TYPE_BINFO (type), fnname, 1, complain); in build_op_delete_call()
8912 tree binfo = TYPE_BINFO (ctype); in call_copy_ctor()
9988 for (tree base_binfo, binfo = TYPE_BINFO (type); in first_non_static_field()
[all …]
Dexcept.cc777 tree dtor_fn = lookup_fnfields (TYPE_BINFO (TREE_TYPE (object)), in build_throw()
Dtypeck2.cc1613 gcc_assert (!TYPE_BINFO (type) in process_init_constructor_record()
1615 || !BINFO_N_BASE_BINFOS (TYPE_BINFO (type))); in process_init_constructor_record()
Dsemantics.cc2223 perform_or_defer_access_check (TYPE_BINFO (access_type), decl, in finish_non_static_data_member()
2326 return perform_or_defer_access_check (TYPE_BINFO (qualifying_type), decl, in check_accessibility_of_qualified_id()
3819 tree access_path = TYPE_BINFO (cl); in baselink_for_fns()
4313 perform_or_defer_access_check (TYPE_BINFO (path), in finish_id_expression_1()
4434 vec<tree, va_gc> *base_binfos = BINFO_BASE_BINFOS (TYPE_BINFO (type)); in calculate_direct_bases()
4485 if (TYPE_BINFO (type)) in calculate_bases_helper()
4486 dfs_walk_all (TYPE_BINFO (type), in calculate_bases_helper()
5952 if (!id && CLASS_TYPE_P (type) && TYPE_BINFO (type)) in omp_reduction_lookup()
5955 tree binfo = TYPE_BINFO (type), base_binfo, ret = NULL_TREE; in omp_reduction_lookup()
Dtree.cc2137 BINFO_INHERITANCE_CHAIN (new_binfo) = TYPE_BINFO (t); in copy_binfo()
3727 tree binfo = TYPE_BINFO (TREE_TYPE (object)); in build_min_non_dep_op_overload()
3763 tree binfo = TYPE_BINFO (TREE_TYPE (object)); in build_min_non_dep_op_overload()
4334 binfo = TYPE_BINFO (type); in maybe_dummy_object()
Ddecl.cc4316 if (!perform_or_defer_access_check (TYPE_BINFO (context), tmpl, tmpl, in make_unbound_class_template()
5227 if (BINFO_N_BASE_BINFOS (TYPE_BINFO (t))) in fixup_anonymous_aggr()
6620 tree binfo = TYPE_BINFO (type); in reshape_init_class()
8721 for (binfo = TYPE_BINFO (type), i = 0; in find_decomp_class_base()
9493 perform_or_defer_access_check (TYPE_BINFO (type), cleanup, cleanup, in register_dtor_fn()
16015 gcc_assert (!TYPE_BINFO (ref) || TYPE_SIZE (ref)); in xref_basetypes()
16021 TYPE_BINFO (ref) = binfo; in xref_basetypes()
16087 base_binfo = TYPE_BINFO (basetype); in xref_basetypes()
17614 tree binfo = TYPE_BINFO (current_class_type); in begin_destructor_body()
/netbsd/src/external/gpl3/gcc/dist/gcc/objc/
Dobjc-act.cc2784 TYPE_BINFO (child) && BINFO_N_BASE_BINFOS (TYPE_BINFO (child));) in objc_derived_from_p()
2787 (TYPE_BINFO (child), in objc_derived_from_p()
2857 TYPE_BINFO (ref) = binfo; in objc_xref_basetypes()
2863 TYPE_BINFO (variant) = binfo; in objc_xref_basetypes()
2867 tree base_binfo = objc_copy_binfo (TYPE_BINFO (basetype)); in objc_xref_basetypes()

123