[PATCH 2/6] Introduce new edge_summary class and replace ipa_edge_args_sum.
Martin Liška
mliska@suse.cz
Thu Jul 9 20:45:00 GMT 2015
On 07/09/2015 07:15 PM, Jeff Law wrote:
> On 07/09/2015 03:13 AM, mliska wrote:
>> gcc/ChangeLog:
>>
>> 2015-07-03 Martin Liska <mliska@suse.cz>
>>
>> * cgraph.c (symbol_table::create_edge): Introduce summary_uid
>> for cgraph_edge.
>> * cgraph.h (struct GTY): Likewise.
>> * ipa-inline-analysis.c (estimate_function_body_sizes): Use
>> new data structure.
>> * ipa-profile.c (ipa_profile): Likewise.
>> * ipa-prop.c (ipa_print_node_jump_functions):
>> (ipa_propagate_indirect_call_infos): Likewise.
>> (ipa_free_edge_args_substructures): Likewise.
>> (ipa_free_all_edge_args): Likewise.
>> (ipa_edge_args_t::remove): Likewise.
>> (ipa_edge_removal_hook): Likewise.
>> (ipa_edge_args_t::duplicate): Likewise.
>> (ipa_register_cgraph_hooks): Likewise.
>> (ipa_unregister_cgraph_hooks): Likewise.
>> * ipa-prop.h (ipa_check_create_edge_args): Likewise.
>> (ipa_edge_args_info_available_for_edge_p): Likewise.
>> * symbol-summary.h (gt_ggc_mx): Indent properly.
>> (gt_pch_nx): Likewise.
>> (edge_summary): New class.
>> ---
>> gcc/cgraph.c | 2 +
>> gcc/cgraph.h | 5 +-
>> gcc/ipa-inline-analysis.c | 2 +-
>> gcc/ipa-profile.c | 2 +-
>> gcc/ipa-prop.c | 71 +++-------------
>> gcc/ipa-prop.h | 44 ++++++----
>> gcc/symbol-summary.h | 208 +++++++++++++++++++++++++++++++++++++++++++++-
>> 7 files changed, 252 insertions(+), 82 deletions(-)
>>
>>
> }
>> +
>> + /* Destruction method that can be called for GGT purpose. */
> GGT stands for?
Hi.
Should be 'GGC', fixed in attached patch.
Thanks,
Martin
>
>
> OK for the trunk.
>
> Thanks,
> Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Introduce-new-edge_summary-class-and-replace-ipa_edg.patch
Type: text/x-patch
Size: 18235 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150709/3477e2af/attachment.bin>
More information about the Gcc-patches
mailing list