/openbsd/gnu/usr.bin/gcc/gcc/cp/ |
H A D | search.c | 641 ? TYPE_BINFO (BINFO_TYPE (binfo)) : binfo); 684 binfo = canonical_binfo (binfo); 696 binfo = canonical_binfo (binfo); 1215 binfo = CANONICAL_BINFO (binfo, lfi->type); 2321 return BINFO_MARKED (binfo) ? binfo : NULL_TREE; 2329 return !BINFO_MARKED (binfo) ? binfo : NULL_TREE; 2580 for (; binfo; binfo = BINFO_INHERITANCE_CHAIN (binfo)) 2924 binfo = BINFO_BASETYPE (binfo, 0)) 3003 for (; binfo; binfo = BINFO_INHERITANCE_CHAIN (binfo)) 3021 binfo = BINFO_INHERITANCE_CHAIN (binfo)) [all …]
|
H A D | class.c | 65 tree binfo; member 399 if (!binfo || binfo == error_mark_node) in convert_to_base() 713 BINFO_VIRTUALS (binfo) = copy_virtuals (binfo); 1564 for (binfo = TYPE_BINFO (type); binfo; binfo = TREE_CHAIN (binfo)) 3802 if (binfo && CLASS_TYPE_P (BINFO_TYPE (binfo))) in layout_nonempty_base_or_field() 4851 binfo; 4852 binfo = TREE_CHAIN (binfo)) 6569 binfo = BINFO_BASETYPE (binfo, 0); 7182 dump_vtable (BINFO_TYPE (binfo), binfo, decl); 7471 binfo = BINFO_PRIMARY_BASE_OF (binfo); [all …]
|
H A D | cvt.c | 150 tree binfo; local 160 binfo = NULL_TREE; 164 if (!same_p && !binfo) 172 if (binfo || same_p) 174 if (binfo) 185 tree binfo; local 192 if (!binfo) 219 if (binfo) 310 tree binfo; local 314 if (!binfo) [all …]
|
H A D | init.c | 117 tree binfo; in dfs_initialize_vtbl_ptrs() 120 if ((!BINFO_PRIMARY_P (binfo) || TREE_VIA_VIRTUAL (binfo)) 743 tree binfo; in build_vtbl_address() 748 if (BINFO_VPTR_INDEX (binfo) && TREE_VIA_VIRTUAL (binfo) 836 tree binfo; in expand_cleanup_for_base() 848 binfo, 1005 if (binfo) in expand_member_init() 1024 if (binfo) in expand_member_init() 1025 return binfo; in expand_member_init() 1170 tree binfo; in expand_default_init() [all …]
|
H A D | typeck2.c | 64 if (binfo == error_mark_node) 66 else if (!binfo) 68 return binfo; 1075 tree binfo; local 1080 binfo = *binfo_p; 1084 if (!binfo || binfo == error_mark_node) 1087 if (!binfo) 1092 *binfo_p = binfo; 1193 tree binfo; local 1249 if (!binfo) [all …]
|
H A D | rtti.c | 534 tree binfo; local 539 if (binfo) 542 binfo, 0); 909 dfs_class_hint_mark (binfo, data) in dfs_class_hint_mark() argument 910 tree binfo; in dfs_class_hint_mark() 913 tree basetype = BINFO_TYPE (binfo); 916 if (TREE_VIA_VIRTUAL (binfo)) 930 if (!TREE_VIA_PUBLIC (binfo) && TYPE_BINFO (basetype) != binfo) 938 dfs_class_hint_unmark (binfo, data) in dfs_class_hint_unmark() argument 939 tree binfo; in dfs_class_hint_unmark() [all …]
|
H A D | tree.c | 655 tree binfo; in unshare_base_binfos() 826 tree offset, binfo; in make_binfo() 836 type = binfo; 837 binfo = CLASS_TYPE_P (type) ? TYPE_BINFO (binfo) : NULL_TREE; 845 if (binfo && BINFO_BASETYPES (binfo) != NULL_TREE) 857 reverse_path (binfo) in reverse_path() argument 858 tree binfo; in reverse_path() 863 while (binfo) 866 binfo = BINFO_INHERITANCE_CHAIN (binfo); 1826 tree binfo; local [all …]
|
H A D | method.c | 570 tree binfo = TREE_VALUE (t); local 573 = tree_cons (binfo, 576 binfo, 1)), 582 tree binfo = TREE_VEC_ELT (binfos, i); local 583 if (TREE_VIA_VIRTUAL (binfo)) 587 = tree_cons (binfo, 590 binfo, 1)), 667 tree binfo; local 670 binfo = BINFO_BASETYPE (TYPE_BINFO (current_class_type), i); 673 converted_parm = build_base_path (PLUS_EXPR, parm, binfo, 1); [all …]
|
H A D | cp-lang.c | 229 tree binfo = TREE_VEC_ELT (TYPE_BINFO_BASETYPES (t), i); local 230 if (!ok_to_generate_alias_set_for_type (BINFO_TYPE (binfo)))
|
H A D | call.c | 220 tree binfo, decl; local 245 binfo = basetype; 246 basetype = BINFO_TYPE (binfo); 249 binfo = NULL_TREE; 294 if (binfo) 4691 my_friendly_assert (binfo && binfo != error_mark_node, 20010730); 4861 tree binfo, int flags) in build_special_member_call() argument 4876 class_type = BINFO_TYPE (binfo); in build_special_member_call() 4907 binfo, /*nonnull=*/1); in build_special_member_call() 4939 if (TREE_VIA_VIRTUAL (binfo)) in build_special_member_call() [all …]
|
H A D | typeck.c | 1944 tree binfo; in build_class_member_access_expr() local 1949 if (binfo == error_mark_node) in build_class_member_access_expr() 5579 tree binfo; local 5583 binfo = lookup_base (to, from, ba_check, &kind); 5589 if (!binfo) 5598 if (binfo == 0) 5600 virt_binfo = binfo_from_vbase (binfo); 5610 delta = BINFO_OFFSET (binfo); 5619 virt_binfo = binfo_from_vbase (binfo); 5633 delta = BINFO_OFFSET (binfo); [all …]
|
/openbsd/gnu/gcc/gcc/cp/ |
H A D | search.c | 106 data->binfo = binfo; in dfs_lookup_base() 123 gcc_assert (binfo != data->binfo); in dfs_lookup_base() 137 data->binfo = binfo; in dfs_lookup_base() 193 tree binfo; in lookup_base() local 230 binfo = data.binfo; in lookup_base() 288 return binfo; in lookup_base() 837 return binfo; in dfs_accessible_post() 854 tree binfo; in accessible_p() local 2475 for (; binfo; binfo = BINFO_INHERITANCE_CHAIN (binfo)) in binfo_from_vbase() 2495 binfo = BINFO_INHERITANCE_CHAIN (binfo)) in binfo_via_virtual() [all …]
|
H A D | class.c | 72 tree binfo; member 238 tree binfo, in build_base_path() argument 497 tree binfo; in convert_to_base() local 511 if (!binfo || binfo == error_mark_node) in convert_to_base() 773 if (binfo) in build_primary_vtable() 1234 tree binfo; in check_bases() local 2244 binfo, in dfs_modify_vtables() 3481 if (binfo && CLASS_TYPE_P (BINFO_TYPE (binfo))) in layout_nonempty_base_or_field() 6679 dump_vtable (BINFO_TYPE (binfo), binfo, decl); in initialize_vtable() 6894 binfo = BINFO_INHERITANCE_CHAIN (binfo); in dfs_build_secondary_vptr_vtt_inits() [all …]
|
H A D | cvt.c | 137 tree binfo; in cp_convert_to_pointer() local 147 binfo = NULL_TREE; in cp_convert_to_pointer() 151 if (!same_p && !binfo) in cp_convert_to_pointer() 159 if (binfo || same_p) in cp_convert_to_pointer() 161 if (binfo) in cp_convert_to_pointer() 181 tree binfo; in cp_convert_to_pointer() local 188 if (!binfo) in cp_convert_to_pointer() 215 if (binfo && !integer_zerop (BINFO_OFFSET (binfo))) in cp_convert_to_pointer() 312 tree binfo; in convert_to_pointer_force() local 316 if (!binfo) in convert_to_pointer_force() [all …]
|
H A D | typeck2.c | 65 else if (!binfo) in binfo_or_else() 67 return binfo; in binfo_or_else() 1112 tree binfo; in build_scoped_ref() local 1117 binfo = *binfo_p; in build_scoped_ref() 1121 if (!binfo || binfo == error_mark_node) in build_scoped_ref() 1124 if (!binfo) in build_scoped_ref() 1129 *binfo_p = binfo; in build_scoped_ref() 1221 tree binfo; in build_m_component_ref() local 1252 binfo = NULL; in build_m_component_ref() 1258 if (!binfo) in build_m_component_ref() [all …]
|
H A D | init.c | 106 if (!BINFO_PRIMARY_P (binfo) || BINFO_VIRTUAL_P (binfo)) in dfs_initialize_vtbl_ptrs() 473 tree base, binfo, base_binfo; in sort_mem_initializers() local 492 for (binfo = TYPE_BINFO (t), i = 0; in sort_mem_initializers() 735 build_vtbl_address (tree binfo) in build_vtbl_address() argument 737 tree binfo_for = binfo; in build_vtbl_address() 740 if (BINFO_VPTR_INDEX (binfo) && BINFO_VIRTUAL_P (binfo)) in build_vtbl_address() 776 vtbl = build_vtbl_address (binfo); in expand_virtual_init() 780 vtt_index = BINFO_VPTR_INDEX (binfo); in expand_virtual_init() 808 TREE_TYPE (binfo)); in expand_virtual_init() 834 binfo, in expand_cleanup_for_base() [all …]
|
H A D | method.c | 556 tree binfo, base_binfo; in do_build_copy_constructor() local 565 VEC_iterate (tree, vbases, i, binfo); i++) in do_build_copy_constructor() 568 = tree_cons (binfo, in do_build_copy_constructor() 571 binfo, 1)), in do_build_copy_constructor() 575 for (binfo = TYPE_BINFO (current_class_type), i = 0; in do_build_copy_constructor() 576 BINFO_BASE_ITERATE (binfo, i, base_binfo); i++) in do_build_copy_constructor() 656 tree binfo, base_binfo; in do_build_assign_ref() local 660 BINFO_BASE_ITERATE (binfo, i, base_binfo); i++) in do_build_assign_ref() 829 tree binfo, base_binfo; in synthesize_exception_spec() local 832 for (binfo = TYPE_BINFO (type), i = 0; in synthesize_exception_spec() [all …]
|
H A D | rtti.c | 550 tree binfo; in build_dynamic_cast_1() local 555 if (binfo) in build_dynamic_cast_1() 558 binfo, 0); in build_dynamic_cast_1() 1037 tree binfo = TYPE_BINFO (type); in get_pseudo_ti_init() local 1038 int nbases = BINFO_N_BASE_BINFOS (binfo); in get_pseudo_ti_init() 1039 VEC(tree,gc) *base_accesses = BINFO_BASE_ACCESSES (binfo); in get_pseudo_ti_init() 1048 tree base_binfo = BINFO_BASE_BINFO (binfo, ix); in get_pseudo_ti_init() 1211 tree binfo = TYPE_BINFO (type); in get_pseudo_ti_index() local 1212 VEC(tree,gc) *base_accesses = BINFO_BASE_ACCESSES (binfo); in get_pseudo_ti_index() 1213 tree base_binfo = BINFO_BASE_BINFO (binfo, 0); in get_pseudo_ti_index() [all …]
|
H A D | tree.c | 630 copy_binfo (tree binfo, tree type, tree t, tree *igo_prev, int virt) in copy_binfo() argument 642 new_binfo = make_tree_binfo (binfo ? BINFO_N_BASE_BINFOS (binfo) : 0); in copy_binfo() 649 if (binfo) in copy_binfo() 654 gcc_assert (!BINFO_DEPENDENT_BASE_P (binfo)); in copy_binfo() 655 gcc_assert (SAME_BINFO_TYPE_P (BINFO_TYPE (binfo), type)); in copy_binfo() 657 BINFO_OFFSET (new_binfo) = BINFO_OFFSET (binfo); in copy_binfo() 658 BINFO_VIRTUALS (new_binfo) = BINFO_VIRTUALS (binfo); in copy_binfo() 1697 tree binfo; in maybe_dummy_object() local 1700 && (binfo = lookup_base (current_class_type, type, in maybe_dummy_object() 1707 binfo = TYPE_BINFO (type); in maybe_dummy_object() [all …]
|
H A D | dump.c | 271 tree binfo; in cp_dump_tree() local 274 for (binfo = TYPE_BINFO (t), i = 0; in cp_dump_tree() 275 BINFO_BASE_ITERATE (binfo, i, base_binfo); ++i) in cp_dump_tree()
|
H A D | semantics.c | 248 if (probe->binfo == chk->binfo && in pop_to_parent_deferring_access_checks() 276 enforce_access (chk->binfo, chk->decl, chk->diag_decl); in perform_access_checks() 305 perform_or_defer_access_check (tree binfo, tree decl, tree diag_decl) in perform_or_defer_access_check() argument 318 gcc_assert (TREE_CODE (binfo) == TREE_BINFO); in perform_or_defer_access_check() 325 enforce_access (binfo, decl, diag_decl); in perform_or_defer_access_check() 335 if (chk->decl == decl && chk->binfo == binfo && in perform_or_defer_access_check() 345 new_access->binfo = binfo; in perform_or_defer_access_check() 1455 tree binfo = NULL_TREE; in finish_non_static_data_member() local 1457 &binfo); in finish_non_static_data_member()
|
H A D | call.c | 5019 gcc_assert (binfo && binfo != error_mark_node); in build_over_call() 5176 tree binfo, int flags) in build_special_member_call() argument 5188 if (TYPE_P (binfo)) in build_special_member_call() 5194 binfo = TYPE_BINFO (binfo); in build_special_member_call() 5197 gcc_assert (binfo != NULL_TREE); in build_special_member_call() 5199 class_type = BINFO_TYPE (binfo); in build_special_member_call() 5216 (TREE_TYPE (instance), BINFO_TYPE (binfo))) in build_special_member_call() 5229 binfo, /*nonnull=*/1); in build_special_member_call() 5235 fns = lookup_fnfields (binfo, name, 1); in build_special_member_call() 5259 BINFO_SUBVTT_INDEX (binfo)); in build_special_member_call() [all …]
|
/openbsd/gnu/gcc/gcc/ |
H A D | ipa-type-escape.c | 526 tree binfo, base_binfo; in parent_type_p() local 528 for (binfo = TYPE_BINFO (parent), i = 0; in parent_type_p() 529 BINFO_BASE_ITERATE (binfo, i, base_binfo); i++) in parent_type_p() 1448 tree binfo, base_binfo; in close_type_seen() local 1464 for (binfo = TYPE_BINFO (type), i = 0; in close_type_seen() 1465 BINFO_BASE_ITERATE (binfo, i, base_binfo); i++) in close_type_seen() 1551 tree binfo, base_binfo; in close_type_full_escape() local 1571 for (binfo = TYPE_BINFO (type), i = 0; in close_type_full_escape() 1572 BINFO_BASE_ITERATE (binfo, i, base_binfo); i++) in close_type_full_escape()
|
/openbsd/gnu/gcc/gcc/config/sh/ |
H A D | symbian.c | 615 tree binfo, base_binfo; in symbian_export_vtable_and_rtti_p() local 727 for (i = 0, binfo = TYPE_BINFO (ctype); in symbian_export_vtable_and_rtti_p() 728 BINFO_BASE_ITERATE (binfo, i, base_binfo); i++) in symbian_export_vtable_and_rtti_p()
|
/openbsd/sbin/atactl/ |
H A D | atactl.c | 460 print_bitinfo(const char *f, u_int bits, struct bitinfo *binfo) in print_bitinfo() argument 463 for (; binfo->bitmask != 0; binfo++) in print_bitinfo() 464 if (bits & binfo->bitmask) in print_bitinfo() 465 printf(f, binfo->string); in print_bitinfo()
|