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 (const_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
auto begin () const
auto end () 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 ( const_tree record_type)

References record_type().

Member Function Documentation

◆ begin()

auto ana::record_layout::begin ( ) const
inline

References m_items.

◆ dump()

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

References DEBUG_FUNCTION.

◆ dump_to_pp()

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

◆ end()

auto ana::record_layout::end ( ) const
inline

References m_items.

◆ 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)
private

Field Documentation

◆ m_items

auto_vec<item> ana::record_layout::m_items
private

Referenced by begin(), and end().


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