Add Optimization for various IPA parameters.
authorMartin Liska <mliska@suse.cz>
Thu, 9 Jan 2020 11:29:23 +0000 (12:29 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 9 Jan 2020 11:29:23 +0000 (11:29 +0000)
commitfdfd7f53ba8f363c31a1cbb5310f92ecfc52cbfe
tree93fae6aadf99180ec22f987d23046a1809c59d0e
parent00294b189cf3285b17b4ca4135341e2614783553
Add Optimization for various IPA parameters.

2020-01-09  Martin Liska  <mliska@suse.cz>

* auto-profile.c (auto_profile): Use opt_for_fn
for a parameter.
* ipa-cp.c (ipcp_lattice::add_value): Likewise.
(propagate_vals_across_arith_jfunc): Likewise.
(hint_time_bonus): Likewise.
(incorporate_penalties): Likewise.
(good_cloning_opportunity_p): Likewise.
(perform_estimation_of_a_value): Likewise.
(estimate_local_effects): Likewise.
(ipcp_propagate_stage): Likewise.
* ipa-fnsummary.c (decompose_param_expr): Likewise.
(set_switch_stmt_execution_predicate): Likewise.
(analyze_function_body): Likewise.
* ipa-inline-analysis.c (offline_size): Likewise.
* ipa-inline.c (early_inliner): Likewise.
* ipa-prop.c (ipa_analyze_node): Likewise.
(ipcp_transform_function): Likewise.
* ipa-sra.c (process_scan_results): Likewise.
(ipa_sra_summarize_function): Likewise.
* params.opt: Rename ipcp-unit-growth to
ipa-cp-unit-growth.  Add Optimization for various
IPA-related parameters.

From-SVN: r280040
gcc/ChangeLog
gcc/auto-profile.c
gcc/ipa-cp.c
gcc/ipa-fnsummary.c
gcc/ipa-inline-analysis.c
gcc/ipa-inline.c
gcc/ipa-prop.c
gcc/ipa-sra.c
gcc/params.opt