GCC Middle and Back End API Reference
fixup_expr Class Reference
Inheritance diagram for fixup_expr:
Collaboration diagram for fixup_expr:

Public Member Functions

 fixup_expr (file_location loc, rtx x, const char *desc)
 
 ~fixup_expr ()
 
void apply (function_reader *reader) const final override
 

Protected Attributes

file_location m_loc
 
rtx m_rtx
 

Private Attributes

char * m_desc
 

Detailed Description

A concrete subclass of fixup (not operand_fixup): fix up
the expr of an rtx (REG or MEM) based on a textual dump.   

Constructor & Destructor Documentation

◆ fixup_expr()

fixup_expr::fixup_expr ( file_location loc,
rtx x,
const char * desc )
inline

◆ ~fixup_expr()

fixup_expr::~fixup_expr ( )
inline

References free(), and m_desc.

Member Function Documentation

◆ apply()

void fixup_expr::apply ( function_reader * reader) const
finaloverridevirtual
Fix up the expr of an rtx (REG or MEM) based on a textual dump
read by READER.   

Implements fixup.

References gcc_unreachable, GET_CODE, m_desc, fixup::m_rtx, function_reader::parse_mem_expr(), set_mem_expr(), and set_reg_attrs_for_decl_rtl().

Field Documentation

◆ m_desc

char* fixup_expr::m_desc
private

Referenced by apply(), and ~fixup_expr().

◆ m_loc

file_location fixup::m_loc
protectedinherited

Referenced by fixup_insn_uid::apply().

◆ m_rtx

rtx fixup::m_rtx
protectedinherited

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