Home | History | Annotate | Download | only in cp

Lines Matching defs:rli

4349    non-static data member of the type indicated by RLI.  BINFO is the
4355 layout_nonempty_base_or_field (record_layout_info rli,
4384 struct record_layout_info_s old_rli = *rli;
4387 place_field (rli, decl);
4407 if (TREE_CODE (rli->t) == UNION_TYPE)
4415 *rli = old_rli;
4418 rli->bitpos
4419 = size_binop (PLUS_EXPR, rli->bitpos,
4423 normalize_rli (rli);
4481 layout_empty_base_or_field (record_layout_info rli, tree binfo_or_decl,
4503 rli_size_unit_so_far (rli),
4517 if (TREE_CODE (rli->t) != UNION_TYPE
4543 rli->record_align = MAX (rli->record_align, DECL_ALIGN (decl));
4545 rli->unpacked_align = MAX (rli->unpacked_align, DECL_ALIGN (decl));
4546 TYPE_USER_ALIGN (rli->t) = 1;
4550 rli->record_align = MAX (rli->record_align, CLASSTYPE_ALIGN (type));
4552 rli->unpacked_align = MAX (rli->unpacked_align, CLASSTYPE_ALIGN (type));
4553 TYPE_USER_ALIGN (rli->t) = 1;
4611 /* Layout the base given by BINFO in the class indicated by RLI.
4621 build_base_field (record_layout_info rli, tree binfo, tree access,
4624 tree t = rli->t;
4647 layout_nonempty_base_or_field (rli, decl, binfo, offsets);
4651 bool atend = layout_empty_base_or_field (rli, binfo, offsets);
4702 build_base_fields (record_layout_info rli,
4707 tree t = rli->t;
4727 next_field = build_base_field (rli, primary_binfo,
4747 next_field = build_base_field (rli, base_binfo,
6346 /* Set BINFO_OFFSET for all of the virtual bases for RLI->T. Update
6351 layout_virtual_bases (record_layout_info rli, splay_tree offsets)
6354 tree t = rli->t;
6378 next_field = build_base_field (rli, vbase,
6580 /* Increase the size indicated in RLI to account for empty classes
6584 include_empty_classes (record_layout_info rli)
6590 zero-sized base class. That won't be reflected in RLI, yet,
6592 offset. However, now we need to make sure that RLI is big enough
6594 eoc = end_of_class (rli->t, eoc_vsize);
6595 rli_size = rli_size_unit_so_far (rli);
6601 (rli->bitpos, round_down (rli->bitpos, BITS_PER_UNIT)));
6602 rli->bitpos
6604 rli->bitpos,
6610 normalize_rli (rli);
6624 record_layout_info rli;
6637 rli = start_record_layout (t);
6651 place_field (rli, vptr);
6659 build_base_fields (rli, empty_base_offsets, next_field);
6671 place_field (rli, field);
6771 layout_nonempty_base_or_field (rli, field, NULL_TREE,
6785 layout_empty_base_or_field (rli, field, empty_base_offsets);
6788 layout_nonempty_base_or_field (rli, field, NULL_TREE,
6855 layout_nonempty_base_or_field (rli, padding_field,
6863 if (!integer_zerop (rli->bitpos))
6868 rli->bitpos = round_up_loc (input_location, rli->bitpos, BITS_PER_UNIT);
6869 normalize_rli (rli);
6905 field was a bit-field, RLI may not be on a byte
6918 rli_size_so_far (rli),
6923 rli_size_so_far (rli),
6927 SET_TYPE_ALIGN (base_t, rli->record_align);
6970 layout_virtual_bases (rli, empty_base_offsets);
6972 /* Make sure that empty classes are reflected in RLI at this
6974 include_empty_classes (rli);
6977 if (integer_zerop (rli_size_unit_so_far (rli)) && CLASSTYPE_EMPTY_P (t))
6978 place_field (rli,
6985 rli->packed_maybe_necessary = true;
6988 finish_record_layout (rli, /*free_p=*/true);