Reduce SCCs in IPA postorder.
authorMartin Liska <mliska@suse.cz>
Mon, 10 Jun 2019 11:07:24 +0000 (13:07 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 10 Jun 2019 11:07:24 +0000 (11:07 +0000)
commit97e59627567757759b047479c75be2f238ea45c3
tree6ab525ca7d4657f2ef09734d2df43aa84ed4caf4
parent54e2d83caf591eb1ca3e6e8df44d67a4ac44d8fe
Reduce SCCs in IPA postorder.

2019-06-10  Martin Liska  <mliska@suse.cz>

* ipa-cp.c (ignore_edge_p): New function.
(build_toporder_info): Use it.
* ipa-inline.c (ignore_edge_p): New function/
(inline_small_functions): Use it.
* ipa-pure-const.c (ignore_edge_for_nothrow):
Verify opt_for_fn for caller and callee.
(ignore_edge_for_pure_const): Likewise.
* ipa-reference.c (ignore_edge_p): Extend to check
for opt_for_fn.
* ipa-utils.c (searchc): Refactor.
* ipa-utils.h: Fix coding style.

From-SVN: r272115
gcc/ChangeLog
gcc/ipa-cp.c
gcc/ipa-inline.c
gcc/ipa-pure-const.c
gcc/ipa-reference.c
gcc/ipa-utils.c
gcc/ipa-utils.h