Home
last modified time | relevance | path

Searched refs:base_binfo (Results 1 – 15 of 15) sorted by relevance

/freebsd-11-stable/contrib/gcc/cp/
HDsearch.c642 tree base_binfo; in dfs_access_in_type() local
648 for (i = 0; BINFO_BASE_ITERATE (binfo, i, base_binfo); i++) in dfs_access_in_type()
651 access_kind base_access_now = BINFO_ACCESS (base_binfo); in dfs_access_in_type()
1546 tree base_binfo; in dfs_walk_all() local
1561 for (ix = 0; BINFO_BASE_ITERATE (binfo, ix, base_binfo); ix++) in dfs_walk_all()
1563 rval = dfs_walk_all (base_binfo, pre_fn, post_fn, data); in dfs_walk_all()
1589 tree base_binfo; in dfs_walk_once_r() local
1605 for (ix = 0; BINFO_BASE_ITERATE (binfo, ix, base_binfo); ix++) in dfs_walk_once_r()
1607 if (BINFO_VIRTUAL_P (base_binfo)) in dfs_walk_once_r()
1609 if (BINFO_MARKED (base_binfo)) in dfs_walk_once_r()
[all …]
HDclass.c1233 tree base_binfo; in check_bases() local
1239 BINFO_BASE_ITERATE (binfo, i, base_binfo); i++) in check_bases()
1241 tree basetype = TREE_TYPE (base_binfo); in check_bases()
1262 if (BINFO_VIRTUAL_P (base_binfo)) in check_bases()
1312 tree base_binfo; in determine_primary_bases() local
1315 for (base_binfo = TREE_CHAIN (type_binfo); base_binfo; in determine_primary_bases()
1316 base_binfo = TREE_CHAIN (base_binfo)) in determine_primary_bases()
1318 tree primary = CLASSTYPE_PRIMARY_BINFO (BINFO_TYPE (base_binfo)); in determine_primary_bases()
1322 if (!BINFO_VIRTUAL_P (base_binfo)) in determine_primary_bases()
1324 tree parent = BINFO_INHERITANCE_CHAIN (base_binfo); in determine_primary_bases()
[all …]
HDmethod.c558 tree binfo, base_binfo; in do_build_copy_constructor() local
578 BINFO_BASE_ITERATE (binfo, i, base_binfo); i++) in do_build_copy_constructor()
580 if (BINFO_VIRTUAL_P (base_binfo)) in do_build_copy_constructor()
584 = tree_cons (base_binfo, in do_build_copy_constructor()
587 base_binfo, 1)), in do_build_copy_constructor()
658 tree binfo, base_binfo; in do_build_assign_ref() local
662 BINFO_BASE_ITERATE (binfo, i, base_binfo); i++) in do_build_assign_ref()
668 converted_parm = build_base_path (PLUS_EXPR, parm, base_binfo, 1); in do_build_assign_ref()
675 base_binfo, in do_build_assign_ref()
831 tree binfo, base_binfo; in synthesize_exception_spec() local
[all …]
HDdump.c272 tree base_binfo; in cp_dump_tree() local
275 BINFO_BASE_ITERATE (binfo, i, base_binfo); ++i) in cp_dump_tree()
277 dump_child ("base", BINFO_TYPE (base_binfo)); in cp_dump_tree()
278 if (BINFO_VIRTUAL_P (base_binfo)) in cp_dump_tree()
280 dump_access (di, base_binfo); in cp_dump_tree()
HDrtti.c1025 tree base_binfo = BINFO_BASE_BINFO (TYPE_BINFO (type), 0); in get_pseudo_ti_init() local
1026 tree tinfo = get_tinfo_ptr (BINFO_TYPE (base_binfo)); in get_pseudo_ti_init()
1049 tree base_binfo = BINFO_BASE_BINFO (binfo, ix); in get_pseudo_ti_init() local
1057 tinfo = get_tinfo_ptr (BINFO_TYPE (base_binfo)); in get_pseudo_ti_init()
1058 if (BINFO_VIRTUAL_P (base_binfo)) in get_pseudo_ti_init()
1062 offset = BINFO_VPTR_FIELD (base_binfo); in get_pseudo_ti_init()
1067 offset = BINFO_OFFSET (base_binfo); in get_pseudo_ti_init()
1214 tree base_binfo = BINFO_BASE_BINFO (binfo, 0); in get_pseudo_ti_index() local
1219 && !BINFO_VIRTUAL_P (base_binfo) in get_pseudo_ti_index()
1220 && integer_zerop (BINFO_OFFSET (base_binfo))) in get_pseudo_ti_index()
HDinit.c473 tree base, binfo, base_binfo; in sort_mem_initializers() local
493 BINFO_BASE_ITERATE (binfo, i, base_binfo); ++i) in sort_mem_initializers()
494 if (!BINFO_VIRTUAL_P (base_binfo)) in sort_mem_initializers()
495 sorted_inits = tree_cons (base_binfo, NULL_TREE, sorted_inits); in sort_mem_initializers()
2870 tree binfo, base_binfo; in push_base_cleanups() local
2887 VEC_iterate (tree, vbases, i, base_binfo); i++) in push_base_cleanups()
2889 if (TYPE_HAS_NONTRIVIAL_DESTRUCTOR (BINFO_TYPE (base_binfo))) in push_base_cleanups()
2894 base_binfo, in push_base_cleanups()
2906 BINFO_BASE_ITERATE (binfo, i, base_binfo); i++) in push_base_cleanups()
2909 tree dtor = CLASSTYPE_DESTRUCTORS (BINFO_TYPE (base_binfo)); in push_base_cleanups()
[all …]
HDtree.c652 tree base_binfo; in copy_binfo() local
664 for (ix = 0; BINFO_BASE_ITERATE (binfo, ix, base_binfo); ix++) in copy_binfo()
668 gcc_assert (!BINFO_DEPENDENT_BASE_P (base_binfo)); in copy_binfo()
669 new_base_binfo = copy_binfo (base_binfo, BINFO_TYPE (base_binfo), in copy_binfo()
671 BINFO_VIRTUAL_P (base_binfo)); in copy_binfo()
HDdecl.c10444 tree binfo, base_binfo; in xref_basetypes() local
10554 base_binfo = NULL_TREE; in xref_basetypes()
10557 base_binfo = TYPE_BINFO (basetype); in xref_basetypes()
10559 basetype = BINFO_TYPE (base_binfo); in xref_basetypes()
10586 base_binfo = copy_binfo (base_binfo, basetype, ref, in xref_basetypes()
10588 if (!BINFO_INHERITANCE_CHAIN (base_binfo)) in xref_basetypes()
10589 BINFO_INHERITANCE_CHAIN (base_binfo) = binfo; in xref_basetypes()
10591 BINFO_BASE_APPEND (binfo, base_binfo); in xref_basetypes()
10601 for (i = 0; BINFO_BASE_ITERATE (binfo, i, base_binfo); i++) in xref_basetypes()
10602 TYPE_MARKED_P (BINFO_TYPE (base_binfo)) = 0; in xref_basetypes()
[all …]
HDname-lookup.c2802 tree base_binfo; in do_class_using_decl() local
2840 BINFO_BASE_ITERATE (binfo, i, base_binfo); in do_class_using_decl()
2842 if (dependent_type_p (TREE_TYPE (base_binfo))) in do_class_using_decl()
4371 tree binfo, base_binfo; in friend_of_associated_class_p() local
4375 BINFO_BASE_ITERATE (binfo, i, base_binfo); in friend_of_associated_class_p()
4377 if (is_friend (BINFO_TYPE (base_binfo), fn)) in friend_of_associated_class_p()
4507 tree binfo, base_binfo; in arg_assoc_class() local
4510 BINFO_BASE_ITERATE (binfo, i, base_binfo); i++) in arg_assoc_class()
4511 if (arg_assoc_class (k, BINFO_TYPE (base_binfo))) in arg_assoc_class()
HDdecl2.c1911 tree binfo, base_binfo; in typeinfo_comdat() local
1918 BINFO_BASE_ITERATE (binfo, j, base_binfo); ++j) in typeinfo_comdat()
1920 if (typeinfo_comdat (BINFO_TYPE (base_binfo))) in typeinfo_comdat()
HDcall.c4874 tree base_binfo; in build_over_call() local
4902 base_binfo = lookup_base (TREE_TYPE (TREE_TYPE (converted_arg)), in build_over_call()
4905 base_binfo, 1); in build_over_call()
HDChangeLog-19972604 * class.c (base_binfo): Remove unused base_has_virtual member.
/freebsd-11-stable/contrib/gcc/
HDipa-type-escape.c526 tree binfo, base_binfo; in parent_type_p() local
529 BINFO_BASE_ITERATE (binfo, i, base_binfo); i++) in parent_type_p()
531 tree binfotype = BINFO_TYPE (base_binfo); in parent_type_p()
1448 tree binfo, base_binfo; in close_type_seen() local
1465 BINFO_BASE_ITERATE (binfo, i, base_binfo); i++) in close_type_seen()
1467 tree binfo_type = BINFO_TYPE (base_binfo); in close_type_seen()
1551 tree binfo, base_binfo; in close_type_full_escape() local
1572 BINFO_BASE_ITERATE (binfo, i, base_binfo); i++) in close_type_full_escape()
1574 tree binfotype = BINFO_TYPE (base_binfo); in close_type_full_escape()
HDalias.c732 tree binfo, base_binfo; in record_component_aliases() local
735 BINFO_BASE_ITERATE (binfo, i, base_binfo); i++) in record_component_aliases()
737 get_alias_set (BINFO_TYPE (base_binfo))); in record_component_aliases()
/freebsd-11-stable/contrib/gcc/config/i386/
HDi386.c3312 tree binfo, base_binfo; in classify_argument() local
3316 BINFO_BASE_ITERATE (binfo, basenum, base_binfo); basenum++) in classify_argument()
3319 int offset = tree_low_cst (BINFO_OFFSET (base_binfo), 0) * 8; in classify_argument()
3320 tree type = BINFO_TYPE (base_binfo); in classify_argument()
4095 tree binfo, base_binfo; in contains_128bit_aligned_vector_p() local
4099 BINFO_BASE_ITERATE (binfo, i, base_binfo); i++) in contains_128bit_aligned_vector_p()
4101 (BINFO_TYPE (base_binfo))) in contains_128bit_aligned_vector_p()