GCC Middle and Back End API Reference
modref_summary_lto Struct Reference
Collaboration diagram for modref_summary_lto:

Public Member Functions

 modref_summary_lto ()
 
 ~modref_summary_lto ()
 
void dump (FILE *)
 
bool useful_p (int ecf_flags, bool check_flags=true)
 

Data Fields

modref_records_ltoloads
 
modref_records_ltostores
 
auto_vec< modref_access_nodekills
 
auto_vec< eaf_flags_targ_flags
 
eaf_flags_t retslot_flags
 
eaf_flags_t static_chain_flags
 
unsigned writes_errno: 1
 
unsigned side_effects: 1
 
unsigned nondeterministic: 1
 
unsigned calls_interposable: 1
 

Constructor & Destructor Documentation

◆ modref_summary_lto()

modref_summary_lto::modref_summary_lto ( )
Summary for a single function which this pass produces.   

◆ ~modref_summary_lto()

modref_summary_lto::~modref_summary_lto ( )

References ggc_delete(), loads, and stores.

Member Function Documentation

◆ dump()

◆ useful_p()

bool modref_summary_lto::useful_p ( int ecf_flags,
bool check_flags = true )
Return true if lto summary is potentially useful for optimization.
If CHECK_FLAGS is false assume that arg_flags are useful.   

References arg_flags, eaf_flags_useful_p(), ECF_CONST, ECF_LOOPING_CONST_OR_PURE, ECF_NOVOPS, ECF_PURE, modref_tree< T >::every_base, ggc_alloc(), kills, loads, nondeterministic, remove_useless_eaf_flags(), retslot_flags, side_effects, static_chain_flags, and stores.

Field Documentation

◆ arg_flags

auto_vec<eaf_flags_t> modref_summary_lto::arg_flags

Referenced by dump(), and useful_p().

◆ calls_interposable

unsigned modref_summary_lto::calls_interposable

Referenced by dump().

◆ kills

auto_vec<modref_access_node> modref_summary_lto::kills

Referenced by dump(), and useful_p().

◆ loads

modref_records_lto* modref_summary_lto::loads

Referenced by dump(), useful_p(), and ~modref_summary_lto().

◆ nondeterministic

unsigned modref_summary_lto::nondeterministic

Referenced by dump(), and useful_p().

◆ retslot_flags

eaf_flags_t modref_summary_lto::retslot_flags

Referenced by dump(), and useful_p().

◆ side_effects

unsigned modref_summary_lto::side_effects

Referenced by dump(), and useful_p().

◆ static_chain_flags

eaf_flags_t modref_summary_lto::static_chain_flags

Referenced by dump(), and useful_p().

◆ stores

modref_records_lto* modref_summary_lto::stores

Referenced by dump(), useful_p(), and ~modref_summary_lto().

◆ writes_errno

unsigned modref_summary_lto::writes_errno

Referenced by dump().


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