GCC Middle and Back End API Reference
|
#include <ipa-prop.h>
Public Member Functions | |
ipa_edge_args_sum_t (symbol_table *table, bool ggc) | |
void | remove (cgraph_edge *edge) |
void | remove (cgraph_edge *cs, ipa_edge_args *args) final override |
void | duplicate (cgraph_edge *src, cgraph_edge *dst, ipa_edge_args *old_args, ipa_edge_args *new_args) final override |
Summary to manange ipa_edge_args structures.
|
inline |
|
finaloverride |
Method invoked when an edge is duplicated. Copy ipa_edge_args and adjust reference count data strucutres accordingly.
References cgraph_edge::call_stmt, cgraph_edge::caller, symtab_node::clone_reference(), symtab_node::find_reference(), gcc_assert, gcc_checking_assert, ggc_alloc(), i, cgraph_node::inlined_to, ipa_get_controlled_uses(), ipa_get_ith_jump_func(), ipa_get_jf_pass_through_formal_id(), IPA_JF_CONST, IPA_JF_PASS_THROUGH, ipa_node_params_sum, IPA_REF_ADDR, ipa_refdesc_pool, ipa_set_controlled_uses(), IPA_UNDESCRIBED_USE, jfunc_rdesc_usable(), cgraph_edge::lto_stmt_uid, NULL, ipa_ref::stmt, symtab_node_for_jfunc(), vec_safe_copy(), and vec_safe_length().
|
finaloverride |
Hook that is called by cgraph.cc when an edge is removed. Adjust reference count data structures accordingly.
References ipa_cst_ref_desc::cs, FOR_EACH_VEC_ELT, ggc_alloc(), i, ipa_get_jf_constant_rdesc(), IPA_JF_CONST, NULL, and try_decrement_rdesc_refcount().
|
inline |
References ggc_alloc().
Referenced by ipa_propagate_indirect_call_infos().