]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ipa-fnsummary.cc
ipa-fnsummary.c (evaluate_conditions_for_known_args): Be ready for some vectors to...
authorJan Hubicka <jh@suse.cz>
Thu, 21 Nov 2019 14:58:08 +0000 (15:58 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 21 Nov 2019 14:58:08 +0000 (14:58 +0000)
commitb0d5547612f08d7112d9284a7b5a862df3373570
treeb47107257744ee912baa2c52e72eef798328f1f5
parent48ffab987ae013a642398ef4fe5ffdce71571ba5
ipa-fnsummary.c (evaluate_conditions_for_known_args): Be ready for some vectors to not be allocated.

* ipa-fnsummary.c (evaluate_conditions_for_known_args): Be
ready for some vectors to not be allocated.
(evaluate_properties_for_edge): Document better; make
known_vals and known_aggs caller allocated; avoid determining
values of parameters which are not used.
(ipa_merge_fn_summary_after_inlining): Pre allocate known_vals and
known_aggs.
* ipa-inline-analysis.c (do_estimate_edge_time): Likewise.
(do_estimate_edge_size): Likewise.
(do_estimate_edge_hints): Likewise.
* ipa-cp.c (ipa_get_indirect_edge_target_1): Do not early exit when
values are not known.
(ipa_release_agg_values): Add option to not release vector itself.

From-SVN: r278553
gcc/ChangeLog
gcc/ipa-cp.c
gcc/ipa-fnsummary.c
gcc/ipa-inline-analysis.c