Searched refs:binfo (Results 1 - 25 of 51) sorted by relevance

123

/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/tree-ssa/
H A D20030710-1.c15 tree binfo; member in struct:tree_type
26 if (type->type.binfo->vec.length)
30 const tree __z = type->type.binfo;
31 if (type->type.binfo->vec.length)
33 type->type.binfo->vec.a[4];}
36 if (4 >= type->type.binfo->vec.length)
50 /* There should be a single load of type.binfo. */
51 /* { dg-final { scan-tree-dump-times "type\\.binfo" 1 "dom2"} } */
H A D20030711-1.c16 tree binfo; member in struct:tree_type
29 if (4 >= type->type.binfo->vec.length)
33 const tree __t = type->type.binfo;
35 abort (); type->type.binfo->vec.a[4];}
38 if (4 >= type->type.binfo->vec.length)
50 /* There should be two loads of type.binfo. */
51 /* { dg-final { scan-tree-dump-times "type\\.binfo" 2 "dom2"} } */
H A D20030709-3.c18 tree binfo; member in struct:tree_type
29 const tree __z = type->type.binfo;
30 if (type->type.binfo->common.code != TREE_VEC)
37 /* There should be precisely one load of type.binfo. If there is
39 /* { dg-final { scan-tree-dump-times "type\\.binfo" 1 "dom2"} } */
/haiku-buildtools/legacy/gcc/gcc/cp/
H A Dsearch.c197 /* Get a virtual binfo that is found inside BINFO's hierarchy that is
206 get_vbase_1 (parent, binfo, depth)
207 tree parent, binfo;
214 if (BINFO_TYPE (binfo) == parent && TREE_VIA_VIRTUAL (binfo))
217 return binfo;
222 binfos = BINFO_BASETYPES (binfo);
246 get_vbase (parent, binfo)
248 tree binfo;
251 return get_vbase_1 (parent, binfo,
792 tree binfo = TYPE_BINFO (type); local
978 tree binfo; local
1797 tree binfo; local
2073 tree binfo = BINFO_BASETYPE (binfo_of_derived, i); local
2291 tree binfo = binfo_member (vbase, vi->vbase_types); local
2385 tree binfo = TYPE_BINFO (type); local
2882 tree binfo; local
3255 tree binfo; local
[all...]
H A Dclass.c307 tree binfo = get_binfo (last, TYPE_MAIN_VARIANT (TREE_TYPE (TREE_TYPE (nonnull_expr))), 0); local
308 nonnull_expr = convert_pointer_to_real (binfo, nonnull_expr);
361 tree binfo = get_binfo (last, TYPE_MAIN_VARIANT (intype), 0); local
362 offset = BINFO_OFFSET (binfo);
635 get_vfield_offset (binfo)
636 tree binfo;
640 DECL_FIELD_BITPOS (CLASSTYPE_VFIELD (BINFO_TYPE (binfo))),
643 return size_binop (PLUS_EXPR, tmp, BINFO_OFFSET (binfo));
646 /* Get the offset to the start of the original binfo that we derived
647 this binfo fro
1514 tree fdecl, binfo; local
1871 tree binfo = TYPE_BINFO (t); local
2176 tree binfo = TYPE_BINFO (t); local
4191 tree binfo = get_binfo (DECL_FIELD_CONTEXT (vfield), t, 0); local
4286 tree binfo = TREE_VEC_ELT (TYPE_BINFO_BASETYPES (t), first_vfn_base_index); local
5541 tree binfo = TYPE_BINFO (type); local
[all...]
H A Dcvt.c151 tree binfo = get_binfo (TREE_TYPE (type), TREE_TYPE (intype), 1);
152 if (binfo == error_mark_node)
154 if (binfo == NULL_TREE)
156 binfo = get_binfo (TREE_TYPE (intype), TREE_TYPE (type), 1);
157 if (binfo == error_mark_node)
161 if (binfo)
165 || ! BINFO_OFFSET_ZEROP (binfo))
185 tree binfo = get_binfo (b2, b1, 1);
188 if (binfo == NULL_TREE)
190 binfo
150 tree binfo = get_binfo (TREE_TYPE (type), TREE_TYPE (intype), 1); local
184 tree binfo = get_binfo (b2, b1, 1); local
376 tree binfo = get_binfo (target_type, argtype, 1); local
[all...]
H A Dinit.c93 virtual base classes. Initialize binfo's vtable pointer, if
108 BINFO_TYPE (real_binfo) must be BINFO_TYPE (binfo).
110 Relies upon binfo being inside TYPE_BINFO (TREE_TYPE (TREE_TYPE
114 expand_direct_vtbls_init (real_binfo, binfo, init_self, can_elide, addr)
115 tree real_binfo, binfo, addr;
119 tree binfos = BINFO_BASETYPES (binfo);
134 if (can_elide && ! BINFO_MODIFIED (binfo))
140 tree base_ptr = convert_pointer_to_real (binfo, addr);
375 tree binfo = NULL_TREE;
394 binfo
374 tree binfo = NULL_TREE; local
448 tree binfo = TREE_PURPOSE (x); local
[all...]
H A Dtypeck2.c63 tree binfo; local
66 if ((binfo = get_binfo (parent_or_type, TYPE_MAIN_VARIANT (type), 0)))
68 if (binfo == error_mark_node)
70 return binfo;
1237 tree binfo = TYPE_BINFO (basetype);
1238 if (binfo != TYPE_BINFO (type))
1240 binfo = get_binfo (binfo, type, 1);
1241 if (binfo == error_mark_node)
1243 if (binfo
1232 tree binfo = TYPE_BINFO (basetype); local
1364 tree binfo; local
[all...]
H A Drtti.c84 tree binfo = get_binfo (basetype, type, 0);
86 exp = convert_pointer_to_real (binfo, exp);
863 tree binfo = TREE_VEC_ELT (binfos, i);
865 expand_expr_stmt (get_typeid_1 (BINFO_TYPE (binfo)));
866 base = decay_conversion (get_tinfo_var (BINFO_TYPE (binfo)));
868 if (TREE_VIA_VIRTUAL (binfo))
870 tree t = BINFO_TYPE (binfo);
881 offset = BINFO_OFFSET (binfo);
883 if (TREE_VIA_PUBLIC (binfo))
885 else if (TREE_VIA_PROTECTED (binfo))
83 tree binfo = get_binfo (basetype, type, 0); local
860 tree binfo = TREE_VEC_ELT (binfos, i); local
[all...]
H A Dtree.c529 propagate_binfo_offsets (binfo, offset)
530 tree binfo;
533 tree binfos = BINFO_BASETYPES (binfo);
582 unshare_base_binfos (binfo)
583 tree binfo;
585 tree binfos = BINFO_BASETYPES (binfo);
605 BINFO_INHERITANCE_CHAIN (new_binfo) = binfo;
1084 BINFO is the base binfo to use, if we are deriving from one. This
1095 make_binfo (offset, binfo, vtable, virtuals)
1096 tree offset, binfo;
[all...]
H A Dtypeck.c1939 tree binfo = binfo_or_else (basetype, dtype);
1940 if (binfo)
1942 field, binfo, 1);
2248 tree binfo = get_binfo (base,
2250 addr = convert_pointer_to_real (binfo, addr);
5467 tree intype, binfo;
5514 tree binfo;
5518 && (binfo = get_binfo (TREE_TYPE (intype), TREE_TYPE (type), 0))
5519 && ! TREE_VIA_VIRTUAL (binfo))
5528 && (binfo
1933 tree binfo = binfo_or_else (basetype, dtype); local
2242 tree binfo = get_binfo (base, local
5452 tree intype, binfo; local
5499 tree binfo; local
6355 tree binfo; local
6630 tree binfo = binfo_or_else (orig_class, fn_class); local
6837 tree binfo; local
[all...]
/haiku-buildtools/gcc/gcc/cp/
H A Dsearch.c91 tree binfo; /* Found binfo. */
96 bool want_any; /* Whether we want any matching binfo. */
103 dfs_lookup_base (tree binfo, void *data_)
107 if (SAME_BINFO_TYPE_P (BINFO_TYPE (binfo), data->base))
109 if (!data->binfo)
111 data->binfo = binfo;
113 = binfo_via_virtual (data->binfo, data->t) != NULL_TREE;
117 return binfo;
89 tree binfo; /* Found binfo. */ member in struct:lookup_base_data_s
101 dfs_lookup_base(tree binfo, void *data_) argument
196 tree binfo; local
314 dfs_dcast_hint_pre(tree binfo, void *data_) argument
342 dfs_dcast_hint_post(tree binfo, void *data_) argument
609 dfs_access_in_type(tree binfo, void *data) argument
703 tree binfo = TYPE_BINFO (type); local
725 protected_accessible_p(tree decl, tree derived, tree binfo) argument
778 friend_accessible_p(tree scope, tree decl, tree binfo) argument
831 dfs_accessible_post(tree binfo, void * ) argument
868 tree binfo; local
1014 is_subobject_of_p(tree parent, tree binfo) argument
1035 lookup_field_r(tree binfo, void *data) argument
1143 build_baselink(tree binfo, tree access_binfo, tree functions, tree optype) argument
1584 dfs_walk_all(tree binfo, tree (*pre_fn) (tree, void *), tree (*post_fn) (tree, void *), void *data) argument
1627 dfs_walk_once_r(tree binfo, tree (*pre_fn) (tree, void *), tree (*post_fn) (tree, void *), void *data) argument
1678 dfs_unmark_r(tree binfo) argument
1704 dfs_walk_once(tree binfo, tree (*pre_fn) (tree, void *), tree (*post_fn) (tree, void *), void *data) argument
1749 dfs_walk_once_accessible_r(tree binfo, bool friends_p, bool once, tree (*pre_fn) (tree, void *), tree (*post_fn) (tree, void *), void *data) argument
1819 dfs_walk_once_accessible(tree binfo, bool friends_p, tree (*pre_fn) (tree, void *), tree (*post_fn) (tree, void *), void *data) argument
1896 tree binfo = lookup_base (over_return, base_return, local
1997 tree binfo = TYPE_BINFO (type); local
2093 dfs_get_pure_virtuals(tree binfo, void *data) argument
2177 dfs_debug_mark(tree binfo, void * ) argument
2247 check_hidden_convs(tree binfo, int virtual_depth, int virtualness, tree to_type, tree parent_convs, tree other_convs) argument
2368 lookup_conversions_r(tree binfo, int virtual_depth, int virtualness, tree parent_convs, tree parent_tpl_convs, tree other_convs, tree other_tpl_convs, tree *convs, tree *tpl_convs) argument
2561 binfo_from_vbase(tree binfo) argument
2576 binfo_via_virtual(tree binfo, tree limit) argument
2596 copied_binfo(tree binfo, tree here) argument
2638 tree binfo; local
2654 original_binfo(tree binfo, tree here) argument
[all...]
H A Dclass.c92 tree binfo; member in struct:vtbl_init_data_s
95 /* The binfo for the dynamic type. This will be TYPE_BINFO (derived),
101 /* The binfo for the virtual base for which we're building
155 static tree build_simple_base_path (tree expr, tree binfo);
245 convert A to a base B, CODE is PLUS_EXPR and BINFO is the binfo for
247 is MINUS_EXPR and BINFO is the binfo for the A instance within B.
256 tree binfo,
273 if (expr == error_mark_node || binfo == error_mark_node || !binfo)
276 for (probe = binfo; prob
254 build_base_path(enum tree_code code, tree expr, tree binfo, int nonnull, tsubst_flags_t complain) argument
531 build_simple_base_path(tree expr, tree binfo) argument
607 tree binfo; local
713 tree binfo = lookup_base (fixed_type, basetype, local
868 build_primary_vtable(tree binfo, tree type) argument
922 build_secondary_vtable(tree binfo) argument
946 make_new_vtable(tree t, tree binfo) argument
968 modify_vtable_entry(tree t, tree binfo, tree fndecl, tree delta, tree *virtuals) argument
1690 tree binfo; local
2121 tree binfo = TYPE_BINFO (t); local
2320 layout_vtable_decl(tree binfo, int n) argument
2410 dfs_find_final_overrider_1(tree binfo, find_final_overrider_data *ffod, unsigned depth) argument
2456 dfs_find_final_overrider_pre(tree binfo, void *data) argument
2482 find_final_overrider(tree derived, tree binfo, tree fn) argument
2550 update_vtable_entry_for_fn(tree t, tree binfo, tree fn, tree* virtuals, unsigned ix) argument
2788 dfs_modify_vtables(tree binfo, void* data) argument
2842 tree binfo = TYPE_BINFO (t); local
2981 tree binfo; local
3163 dfs_declare_virt_assop_and_dtor(tree binfo, void *data) argument
4017 tree binfo; local
4228 layout_nonempty_base_or_field(record_layout_info rli, tree decl, tree binfo, splay_tree offsets) argument
4353 layout_empty_base(record_layout_info rli, tree binfo, tree eoc, splay_tree offsets) argument
4415 build_base_field(record_layout_info rli, tree binfo, splay_tree offsets, tree *next_field) argument
4924 tree binfo = TYPE_BINFO (type); local
5189 tree binfo = TYPE_BINFO (type); local
5214 tree t, r, binfo; local
5620 tree binfo, base_binfo, field; int i; local
5752 tree binfo = TYPE_BINFO (t); local
5938 propagate_binfo_offsets(tree binfo, tree offset) argument
6014 end_of_base(tree binfo) argument
6040 tree binfo; local
6087 tree binfo; local
7956 tree binfo, base_binfo; local
8046 tree binfo; local
8141 get_vtbl_decl_for_binfo(tree binfo) argument
8164 get_primary_binfo(tree binfo) argument
8191 dump_class_hierarchy_r(FILE *stream, int flags, tree binfo, tree igo, int indent) argument
8343 dump_vtable(tree t, tree binfo, tree vtable) argument
8466 initialize_vtable(tree binfo, vec<constructor_elt, va_gc> *inits) argument
8473 dump_vtable (BINFO_TYPE (binfo), binfo, decl); local
8526 binfo_ctor_vtable(tree binfo) argument
8569 build_vtt_inits(tree binfo, tree t, vec<constructor_elt, va_gc> **inits, tree *index) argument
8642 dfs_build_secondary_vptr_vtt_inits(tree binfo, void *data_) argument
8698 dfs_fixup_binfo_vtbls(tree binfo, void* data) argument
8724 build_ctor_vtbl_group(tree binfo, tree t) argument
8793 accumulate_vtbl_inits(tree binfo, tree orig_binfo, tree rtti_binfo, tree vtbl, tree t, vec<constructor_elt, va_gc> **inits) argument
8841 dfs_accumulate_vtbl_inits(tree binfo, tree orig_binfo, tree rtti_binfo, tree orig_vtbl, tree t, vec<constructor_elt, va_gc> **l) argument
8964 build_vtbl_initializer(tree binfo, tree orig_binfo, tree t, tree rtti_binfo, int* non_fn_entries_p, vec<constructor_elt, va_gc> **inits) argument
9173 build_vcall_and_vbase_vtbl_entries(tree binfo, vtbl_init_data* vid) argument
9195 build_vbase_offset_vtbl_entries(tree binfo, vtbl_init_data* vid) argument
9287 build_vcall_offset_vtbl_entries(tree binfo, vtbl_init_data* vid) argument
9332 add_vcall_offset_vtbl_entries_r(tree binfo, vtbl_init_data* vid) argument
9362 add_vcall_offset_vtbl_entries_1(tree binfo, vtbl_init_data* vid) argument
9379 add_vcall_offset(tree orig_fn, tree binfo, vtbl_init_data *vid) argument
9450 build_rtti_vtbl_entries(tree binfo, vtbl_init_data* vid) argument
[all...]
H A Dcvt.c148 tree binfo;
158 binfo = NULL_TREE;
161 binfo = lookup_base (intype_class, type_class, ba_check,
163 if (!same_p && !binfo)
166 binfo = lookup_base (type_class, intype_class, ba_check,
170 if (binfo == error_mark_node)
172 if (binfo || same_p)
174 if (binfo)
175 expr = build_base_path (code, expr, binfo, 0, complain);
286 tree binfo;
147 tree binfo; local
285 tree binfo; local
361 tree binfo = lookup_base (argtype, target_type, ba_check, local
[all...]
H A Dmethod.c93 thunks VIRTUAL_OFFSET is the virtual binfo. You must post process
505 add_one_base_init (tree binfo, tree parm, bool move_p, tree inh,
513 if (BINFO_TYPE (binfo) != inh)
530 init = build_base_path (PLUS_EXPR, parm, binfo, 1,
536 return tree_cons (binfo, init, member_init_list);
568 tree binfo, base_binfo;
575 deal with the binfo's directly as a direct base might be
578 vec_safe_iterate (vbases, i, &binfo); i++)
580 member_init_list = add_one_base_init (binfo, parm, move_p, inh,
584 for (binfo
503 add_one_base_init(tree binfo, tree parm, bool move_p, tree inh, tree member_init_list) argument
566 tree binfo, base_binfo; local
668 tree binfo, base_binfo; local
875 tree ob, fn, fns, binfo, rval; local
1327 tree binfo, base_binfo, scope, fnname, rval, argtype; local
[all...]
H A Dtypeck2.c69 tree binfo = lookup_base (type, base, ba_unique, local
72 if (binfo == error_mark_node)
74 else if (!binfo)
76 return binfo;
1652 binfo for the specific base subobject we want to convert to. */ local
1657 tree binfo;
1662 binfo = *binfo_p;
1664 binfo = lookup_base (TREE_TYPE (datum), basetype, ba_check,
1667 if (!binfo || binfo
1780 tree binfo; local
[all...]
H A Ddump.c287 tree binfo; local
290 for (binfo = TYPE_BINFO (t), i = 0;
291 BINFO_BASE_ITERATE (binfo, i, base_binfo); ++i)
H A Dvtable-class-hierarchy.c615 register_other_binfo_vtables (tree binfo, tree base_class, argument
623 if (binfo == NULL_TREE)
626 for (ix = 0; BINFO_BASE_ITERATE (binfo, ix, base_binfo); ix++)
957 tree binfo = TYPE_BINFO (class_type); local
973 tree vtable_address = build_vtbl_address (binfo);
992 register_other_binfo_vtables (binfo, base_class,
1297 tree binfo = TYPE_BINFO (type); local
1312 for (i = 0; BINFO_BASE_ITERATE (binfo, i, base_binfo); i++)
H A Drtti.c632 tree binfo = lookup_base (TREE_TYPE (exprtype), TREE_TYPE (type),
634 if (binfo)
1134 tree binfo = TYPE_BINFO (type);
1135 int nbases = BINFO_N_BASE_BINFOS (binfo);
1136 vec<tree, va_gc> *base_accesses = BINFO_BASE_ACCESSES (binfo);
1149 tree base_binfo = BINFO_BASE_BINFO (binfo, ix);
1312 tree binfo = TYPE_BINFO (type);
1313 vec<tree, va_gc> *base_accesses = BINFO_BASE_ACCESSES (binfo);
1314 tree base_binfo = BINFO_BASE_BINFO (binfo, 0);
1315 int num_bases = BINFO_N_BASE_BINFOS (binfo);
630 tree binfo = lookup_base (TREE_TYPE (exprtype), TREE_TYPE (type), local
1132 tree binfo = TYPE_BINFO (type); local
1310 tree binfo = TYPE_BINFO (type); local
[all...]
H A Dinit.c103 dfs_initialize_vtbl_ptrs (tree binfo, void *data) argument
105 if (!TYPE_CONTAINS_VPTR_P (BINFO_TYPE (binfo)))
108 if (!BINFO_PRIMARY_P (binfo) || BINFO_VIRTUAL_P (binfo))
112 base_ptr = build_base_path (PLUS_EXPR, base_ptr, binfo, /*nonnull=*/1,
115 expand_virtual_init (binfo, base_ptr);
878 tree base, binfo, base_binfo; local
897 for (binfo = TYPE_BINFO (t), i = 0;
898 BINFO_BASE_ITERATE (binfo, i, base_binfo); ++i)
1176 build_vtbl_address (tree binfo) argument
1210 expand_virtual_init(tree binfo, tree decl) argument
1262 expand_cleanup_for_base(tree binfo, tree flag) argument
1605 expand_default_init(tree binfo, tree true_exp, tree exp, tree init, int flags, tsubst_flags_t complain) argument
1785 expand_aggr_init_1(tree binfo, tree true_exp, tree exp, tree init, int flags, tsubst_flags_t complain) argument
4189 tree binfo, base_binfo; local
[all...]
H A Dsemantics.c263 if (probe->binfo == chk->binfo &&
297 ok &= enforce_access (chk->binfo, chk->decl, chk->diag_decl, complain);
331 perform_or_defer_access_check (tree binfo, tree decl, tree diag_decl, argument
344 gcc_assert (TREE_CODE (binfo) == TREE_BINFO);
351 bool ok = enforce_access (binfo, decl, diag_decl, complain);
358 if (chk->decl == decl && chk->binfo == binfo &&
365 deferred_access_check new_access = {binfo, decl, diag_decl, input_location};
1792 tree binfo local
3745 tree binfo; local
3790 dfs_calculate_bases_pre(tree binfo, void * ) argument
3797 dfs_calculate_bases_post(tree binfo, void *data_) argument
3827 tree binfo; local
4831 tree binfo = TYPE_BINFO (type), base_binfo, ret = NULL_TREE; local
[all...]
/haiku-buildtools/legacy/gcc/gcc/
H A Dprofile.c1024 struct bb_info *binfo = &bb_graph[i];
1025 if (! binfo->count_valid)
1027 if (binfo->succ_count == 0)
1030 for (arcptr = binfo->succ; arcptr;
1033 binfo->exec_count = total;
1034 binfo->count_valid = 1;
1037 else if (binfo->pred_count == 0)
1040 for (arcptr = binfo->pred; arcptr;
1043 binfo->exec_count = total;
1044 binfo
1022 struct bb_info *binfo = &bb_graph[i]; local
1108 struct bb_info *binfo = &bb_graph[i]; local
1123 struct bb_info *binfo = &bb_graph[i]; local
1280 struct bb_info *binfo = &bb_graph[0]; local
[all...]
/haiku-buildtools/gcc/gcc/
H A Dipa-utils.h182 polymorphic_type_binfo_p (const_tree binfo) argument
187 return (BINFO_TYPE (binfo) && TYPE_BINFO (BINFO_TYPE (binfo))
188 && BINFO_VTABLE (TYPE_BINFO (BINFO_TYPE (binfo))));
H A Dipa-devirt.c65 binfo associated to the base type).
630 set_type_binfo (tree type, tree binfo) argument
634 TYPE_BINFO (type) = binfo;
1981 tree binfo = TYPE_BINFO (type); local
1987 for (i = 0; i < BINFO_N_BASE_BINFOS (binfo); i++)
1991 if (polymorphic_type_binfo_p (BINFO_BASE_BINFO (binfo, i)))
1993 tree base_type= BINFO_TYPE (BINFO_BASE_BINFO (binfo, i));
2348 tree binfo,
2359 tree type = BINFO_TYPE (binfo);
2364 if (BINFO_VTABLE (binfo))
2459 tree binfo = TYPE_BINFO (type->type); variable
2603 subbinfo_with_vtable_at_offset(tree binfo, unsigned HOST_WIDE_INT offset, tree vtable) argument
2842 tree binfo, target; local
[all...]
/haiku-buildtools/gcc/gcc/java/
H A Dclass.c395 /* Unfortunately we must create the binfo here, so that class
608 tree binfo, base_binfo; local
613 for (binfo = TYPE_BINFO (type2), i = 0;
614 BINFO_BASE_ITERATE (binfo, i, base_binfo); i++)
618 for (binfo = TYPE_BINFO (type2), i = 0;
619 BINFO_BASE_ITERATE (binfo, i, base_binfo); i++) /* */
721 tree binfo, base_binfo; local
724 for (binfo = TYPE_BINFO (this_class), i = 0;
725 BINFO_BASE_ITERATE (binfo, i, base_binfo); i++)
2508 tree binfo local
2535 tree binfo, base_binfo; local
[all...]

Completed in 477 milliseconds

123