tree-flow.h (thread_through_all_blocks): Prototype moved into tree-ssa-threadupdate.h.
commit5254eac41daa5fc22a65bfa47d75fa0445dee4ee
authorJeff Law <law@redhat.com>
Thu, 26 Sep 2013 03:28:03 +0000 (25 21:28 -0600)
committerJeff Law <law@gcc.gnu.org>
Thu, 26 Sep 2013 03:28:03 +0000 (25 21:28 -0600)
tree51aec5a2d37e7596f984fc1365e772fdecb9e80b
parent9adc2b3c52c22752ffccfce101959f82e577e0f1
tree-flow.h (thread_through_all_blocks): Prototype moved into tree-ssa-threadupdate.h.

* tree-flow.h (thread_through_all_blocks): Prototype moved into
tree-ssa-threadupdate.h.
(register_jump_thread): Similarly.
* tree-ssa-threadupdate.h: New header file.
* tree-ssa-dom.c: Include tree-ssa-threadupdate.h.
* tree-vrp.c: Likewise.
* tree-ssa-threadedge.c: Include tree-ssa-threadupdate.h.
(thread_around_empty_blocks): Change type of path vector argument to
an edge,type pair from just an edge.  Initialize both elements when
appending to a jump threading path.  Tweak references to elements
appropriately.
(thread_across_edge): Similarly.  Release memory for the elements
as needed.
* tree-ssa-threadupdate.c: Include tree-ssa-threadupdate.h.
(dump_jump_thread_path): New function broken out from
register_jump_thread.
(register_jump_thread): Use dump_jump_thread_path.  Change type of
path vector entries.  Search the path for NULL edges and dump
the path if one is found.  Tweak the conversion of path to 3-edge
form to use the block copy type information embedded in the path.

* gcc.dg/tree-ssa/ssa-dom-thread-3.c: Update expected output.

From-SVN: r202933
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-3.c
gcc/tree-flow.h
gcc/tree-ssa-dom.c
gcc/tree-ssa-threadedge.c
gcc/tree-ssa-threadupdate.c
gcc/tree-ssa-threadupdate.h [new file with mode: 0644]
gcc/tree-vrp.c