#include <ipa-modref.h>
◆ modref_summary()
| modref_summary::modref_summary |
( |
| ) |
|
Summary for a single function which this pass produces.
References calls_interposable, false, global_memory_read, global_memory_written, loads, modref_summary(), nondeterministic, NULL, retslot_flags, side_effects, static_chain_flags, stores, try_dse, and writes_errno.
Referenced by modref_summary().
◆ ~modref_summary()
| modref_summary::~modref_summary |
( |
| ) |
|
◆ dump()
| void modref_summary::dump |
( |
FILE * | out | ) |
const |
Dump summary.
References arg_flags, calls_interposable, dump_records(), global_memory_read, global_memory_written, i, kill, kills, loads, nondeterministic, retslot_flags, side_effects, static_chain_flags, stores, try_dse, and writes_errno.
Referenced by ipa_merge_modref_summary_after_inlining().
◆ finalize()
| void modref_summary::finalize |
( |
tree | fun | ) |
|
Called after summary is produced and before it is used by local analysis.
Can be called multiple times in case summary needs to update signature.
FUN is decl of function summary is attached to.
References modref_ref_node< T >::accesses, modref_base_node< T >::every_ref, FOR_EACH_VEC_SAFE_ELT, global_memory_read, global_memory_written, i, load_accesses, loads, opt_for_fn, modref_access_node::parm_offset_known, modref_base_node< T >::refs, side_effects, stores, try_dse, and writes_errno.
◆ useful_p()
| bool modref_summary::useful_p |
( |
int | ecf_flags, |
|
|
bool | check_flags = true ) |
Return true if 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_PURE, kills, loads, remove_useless_eaf_flags(), retslot_flags, side_effects, static_chain_flags, and stores.
Referenced by ipa_merge_modref_summary_after_inlining().
◆ arg_flags
◆ calls_interposable
| unsigned modref_summary::calls_interposable |
◆ global_memory_read
| unsigned modref_summary::global_memory_read |
◆ global_memory_written
| unsigned modref_summary::global_memory_written |
◆ kills
◆ load_accesses
| unsigned int modref_summary::load_accesses |
◆ loads
◆ nondeterministic
| unsigned modref_summary::nondeterministic |
◆ retslot_flags
◆ side_effects
| unsigned modref_summary::side_effects |
◆ static_chain_flags
◆ stores
◆ try_dse
| unsigned modref_summary::try_dse |
◆ writes_errno
| unsigned modref_summary::writes_errno |
The documentation for this struct was generated from the following files: