]> git.ipfire.org Git - thirdparty/gcc.git/commit
Make TRUE/FALSE edge calculation available without the outgoing edge class.
authorAndrew MacLeod <amacleod@redhat.com>
Mon, 26 Apr 2021 22:14:15 +0000 (18:14 -0400)
committerAndrew MacLeod <amacleod@redhat.com>
Fri, 7 May 2021 19:00:21 +0000 (15:00 -0400)
commit12f0a54ba9fa25aa13af368af5bb07e345c33dff
tree0dfebd27e05dd05f8fe58a2f3a3b9d2bce703937
parent4c07e591925bb02e71a499f1cf780ce63985dba0
Make TRUE/FALSE edge calculation available without the outgoing edge class.

Rename class to gimple_outoging_edge and provide a non-class routine for
the outgoing edge of a gcond.

* gimple-range-edge.h (gimple_outgoing_range): Rename from
outgoing_range.
(gcond_edge_range): Export prototype.
* gimple-range-edge.cc (gcond_edge_range): New.
(gimple_outgoing_range::edge_range_p): Use gcond_edge_range.
* gimple-range-gori.h (gori_compute): Use gimple_outgoing_range.
gcc/gimple-range-edge.cc
gcc/gimple-range-edge.h
gcc/gimple-range-gori.h