GCC Middle and Back End API Reference
growing_rtx_properties< Base > Class Template Reference

#include <rtlanal.h>

Inheritance diagram for growing_rtx_properties< Base >:
Collaboration diagram for growing_rtx_properties< Base >:

Public Member Functions

template<typename... Args>
 growing_rtx_properties (Args...)
 
template<typename AddFn>
void repeat (AddFn add)
 
void add_dest (const_rtx x, unsigned int flags=0)
 
void add_src (const_rtx x, unsigned int flags=0)
 
void add_pattern (const_rtx pat)
 
void add_note (const_rtx x)
 
void add_insn (const rtx_insn *insn, bool include_notes)
 

Detailed Description

template<typename Base>
class growing_rtx_properties< Base >
BASE is derived from rtx_properties and provides backing storage for REF_BEGIN. It has a grow () method that increases the amount of memory available if the initial allocation was too small.

Constructor & Destructor Documentation

◆ growing_rtx_properties()

template<typename Base>
template<typename... Args>
growing_rtx_properties< Base >::growing_rtx_properties ( Args... args)

Member Function Documentation

◆ add_dest()

template<typename Base>
void growing_rtx_properties< Base >::add_dest ( const_rtx x,
unsigned int flags = 0 )
inline

References repeat().

◆ add_insn()

template<typename Base>
void growing_rtx_properties< Base >::add_insn ( const rtx_insn * insn,
bool include_notes )
inline

References repeat().

◆ add_note()

template<typename Base>
void growing_rtx_properties< Base >::add_note ( const_rtx x)
inline

References repeat().

◆ add_pattern()

template<typename Base>
void growing_rtx_properties< Base >::add_pattern ( const_rtx pat)
inline

References repeat().

◆ add_src()

template<typename Base>
void growing_rtx_properties< Base >::add_src ( const_rtx x,
unsigned int flags = 0 )
inline

References repeat().

◆ repeat()

template<typename Base>
template<typename AddFn>
void growing_rtx_properties< Base >::repeat ( AddFn add)
inline
Perform ADD until there is enough room to hold the result.

References count, and LIKELY.

Referenced by add_dest(), add_insn(), add_note(), add_pattern(), and add_src().


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