GCC Middle and Back End API Reference
ana::record_layout Class Reference

#include <record-layout.h>

Collaboration diagram for ana::record_layout:

Data Structures

struct  item

Public Member Functions

 record_layout (tree record_type)
void dump_to_pp (pretty_printer *pp) const
DEBUG_FUNCTION void dump () const
const record_layout::itemget_item_at (bit_offset_t offset) const

Private Member Functions

void maybe_pad_to (bit_offset_t next_offset)

Private Attributes

auto_vec< itemm_items

Detailed Description

Information of the layout of a RECORD_TYPE, capturing it as a vector
of items, where each item is either a field or padding.   

Constructor & Destructor Documentation

◆ record_layout()

ana::record_layout::record_layout ( tree record_type)

Member Function Documentation

◆ dump()

DEBUG_FUNCTION void ana::record_layout::dump ( ) const

◆ dump_to_pp()

void ana::record_layout::dump_to_pp ( pretty_printer * pp) const

◆ get_item_at()

const record_layout::item * ana::record_layout::get_item_at ( bit_offset_t offset) const

◆ maybe_pad_to()

void ana::record_layout::maybe_pad_to ( bit_offset_t next_offset)

Field Documentation

◆ m_items

auto_vec<item> ana::record_layout::m_items

The documentation for this class was generated from the following file: