cfganal.c (single_pred_edge_ignoring_loop_edges): New function extracted from tree...
authorJeff Law <law@redhat.com>
Fri, 3 Nov 2017 16:28:28 +0000 (10:28 -0600)
committerJeff Law <law@gcc.gnu.org>
Fri, 3 Nov 2017 16:28:28 +0000 (10:28 -0600)
commit2965f1274ce3c4a4af6f8183e4c20532a6d8d21a
tree4814bac5f4aad32e4d50b6ce78bfbbf51585bd5a
parent63626547937ea54b251ad9480b306d9f8e793a0c
cfganal.c (single_pred_edge_ignoring_loop_edges): New function extracted from tree-ssa-dom.c.

* cfganal.c (single_pred_edge_ignoring_loop_edges): New function
extracted from tree-ssa-dom.c.
* cfganal.h (single_pred_edge_ignoring_loop_edges): Prototype.
* tree-ssa-dom.c (single_incoming_edge_ignoring_loop_edges): Remove.
(record_equivalences_from_incoming_edge): Add additional argument
to single_pred_edge_ignoring_loop_edges call.
* tree-ssa-uncprop.c (single_incoming_edge_ignoring_loop_edges): Remove.
(uncprop_dom_walker::before_dom_children): Add additional argument
to single_pred_edge_ignoring_loop_edges call.
* tree-ssa-sccvn.c (sccvn_dom_walker::before_dom_children): Use
single_pred_edge_ignoring_loop_edges rather than open coding.
* tree-vrp.c (evrp_dom_walker::before_dom_children): Similarly.

From-SVN: r254383
gcc/ChangeLog
gcc/cfganal.c
gcc/cfganal.h
gcc/tree-ssa-dom.c
gcc/tree-ssa-sccvn.c
gcc/tree-ssa-uncprop.c
gcc/tree-vrp.c