This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 3/4] First usage of cgraph_summary in ipa-prop pass.
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Martin Liška <mliska at suse dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 18 Dec 2014 20:42:05 +0100
- Subject: Re: [PATCH 3/4] First usage of cgraph_summary in ipa-prop pass.
- Authentication-results: sourceware.org; auth=none
- References: <cd4c62522f43eb2d2ad92769431e91c8d8bd15bc dot 1415888515 dot git dot mliska at suse dot cz> <41b2e0b63ddcc5cdccb868c1df63fbc59b78d2f7 dot 1415888515 dot git dot mliska at suse dot cz> <54660C43 dot 6040104 at suse dot cz> <54661E7D dot 3060007 at suse dot cz> <5485D9AC dot 3050303 at suse dot cz>
>
> gcc/lto/ChangeLog:
>
> 2014-12-08 Martin Liska <mliska@suse.cz>
>
> * lto-partition.c: Include of symbol-summary.h is added.
> * lto-symtab.c: Likewise.
> * lto.c: Likewise.
I must say I am not friend of flattening. Hope this will be resolved for 5.1
>
> gcc/ChangeLog:
>
> 2014-12-08 Martin Liska <mliska@suse.cz>
>
> * auto-profile.c: Include of symtab-summary.h is added.
> * cgraph.c: Likewise.
> * cgraphbuild.c: Likewise.
> * cgraphclones.c: Likewise.
> * cgraphunit.c: Likewise.
> * ipa-cp.c: Likewise.
> * ipa-devirt.c: Likewise.
> * ipa-icf.c: Likewise.
> * ipa-inline-analysis.c (evaluate_properties_for_edge): New
> ipa_node_params_d data structure is used.
> (inline_node_duplication_hook): Likewise.
> (estimate_function_body_sizes): Likewise.
> (remap_edge_change_prob): Likewise.
> (inline_merge_summary): Likewise.
> * ipa-inline-transform.c: Include of symtab-summary.h is added.
> * ipa-inline.c (early_inliner): New ipa_node_params_d data structure
> is used.
> * ipa-polymorphic-call.c: Include of symtab-summary.h is added.
> * ipa-profile.c: Include of symtab-summary.h is added.
> * ipa-prop.c (ipa_propagate_indirect_call_infos): New ipa_node_params_d
> data structure is used.
> (ipa_node_params::~ipa_node_params): New function.
> (ipa_free_all_node_params): Destruction is simplified.
> (ipa_node_removal_hook): Removed.
> (ipa_add_new_function): Renamed from ipa_node_duplication_hook.
> (ipa_node_params_t::duplicate): New function.
> (ipa_register_cgraph_hooks): Few hooks are removed.
> (ipa_unregister_cgraph_hooks): Likewise.
> (ipa_prop_write_jump_functions): New ipa_node_params_d is used.
> * ipa-prop.h (struct ipa_node_params): Destructor instroduced for
> the structure.
> (ipa_check_create_node_params): Vector for ipa_node_params is replaced
> with function_summary.
> * ipa-split.c: Include of symtab-summary.h is added.
> * ipa-utils.c: Include of symtab-summary.h is added.
> * ipa.c: Include of symtab-summary.h is added.
> * omp-low.c: Include of symtab-summary.h is added.
> * tree-inline.c: Include of symtab-summary.h is added.
> * tree-sra.c: Include of symtab-summary.h is added.
> * tree-ssa-pre.c: Include of symtab-summary.h is added.
OK.
Honza