ipa-fnsummary.c (ipa_dump_hints): Do not dump array_index.
authorJan Hubicka <hubicka@ucw.cz>
Sun, 14 Jul 2019 11:57:10 +0000 (13:57 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 14 Jul 2019 11:57:10 +0000 (11:57 +0000)
commita20f263ba1a76af40eb4e6734529739a2a30ed65
tree0374cc07418b7f7254bf3fb1678943287f0c7fa7
parentd67dfb85ba4f89f5f3045f2483005c290bc18108
ipa-fnsummary.c (ipa_dump_hints): Do not dump array_index.

* ipa-fnsummary.c (ipa_dump_hints): Do not dump array_index.
(ipa_fn_summary::~ipa_fn_summary): Do not destroy array_index.
(ipa_fn_summary_t::duplicate): Do not duplicate array_index.
(array_index_predicate): Remove.
(analyze_function_body): Account cost for variable ofsetted array
indexing.
(estimate_node_size_and_time): Do not compute array index hint.
(ipa_merge_fn_summary_after_inlining): Do not merge array index hint.
(inline_read_section): Do not read array index hint.
(ipa_fn_summary_write): Do not write array index hint.
* doc/invoke.texi (ipa-cp-array-index-hint-bonus): Remove.
* ipa-cp.c (hint_time_bonus): Remove.
* ipa-fnsummary.h (ipa_hints_vals): Remove array_index.
(ipa_fnsummary): Remove array_index.
* ipa-inline.c (want_inline_small_function_p): Do not use
array_index.
(edge_badness): Likewise.
* params.def (PARAM_IPA_CP_ARRAY_INDEX_HINT_BONUS): Remove.

From-SVN: r273479
gcc/ChangeLog
gcc/doc/invoke.texi
gcc/ipa-cp.c
gcc/ipa-fnsummary.c
gcc/ipa-fnsummary.h
gcc/ipa-inline.c
gcc/params.def