GCC Middle and Back End API Reference
cfa_reg Struct Reference

#include <dwarf2out.h>

Public Member Functions

cfa_regset_by_dwreg (unsigned int r)
 
bool operator== (const cfa_reg &other) const
 
bool operator!= (const cfa_reg &other) const
 

Data Fields

unsigned int reg
 
unsigned short span
 
unsigned short span_width
 

Detailed Description

This represents a register, in DWARF_FRAME_REGNUM space, for use in CFA
definitions and expressions.
Most architectures only need a single register number, but some (amdgcn)
have pointers that span multiple registers.  DWARF permits arbitrary
register sets but existing use-cases only require contiguous register
sets, as represented here.   

Member Function Documentation

◆ operator!=()

bool cfa_reg::operator!= ( const cfa_reg & other) const
inline

◆ operator==()

bool cfa_reg::operator== ( const cfa_reg & other) const
inline

References reg, span, and span_width.

◆ set_by_dwreg()

Field Documentation

◆ reg

◆ span

◆ span_width


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