diff options
author | Jeff Law <law@redhat.com> | 2013-09-25 21:28:03 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2013-09-25 21:28:03 -0600 |
commit | 5254eac41daa5fc22a65bfa47d75fa0445dee4ee (patch) | |
tree | 51aec5a2d37e7596f984fc1365e772fdecb9e80b /gcc/tree-flow.h | |
parent | 9adc2b3c52c22752ffccfce101959f82e577e0f1 (diff) | |
download | gcc-5254eac41daa5fc22a65bfa47d75fa0445dee4ee.zip gcc-5254eac41daa5fc22a65bfa47d75fa0445dee4ee.tar.gz gcc-5254eac41daa5fc22a65bfa47d75fa0445dee4ee.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-flow.h')
-rw-r--r-- | gcc/tree-flow.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h index 2f64abc..ee69179 100644 --- a/gcc/tree-flow.h +++ b/gcc/tree-flow.h @@ -641,10 +641,6 @@ bool multiplier_allowed_in_address_p (HOST_WIDE_INT, enum machine_mode, addr_space_t); bool may_be_nonaddressable_p (tree expr); -/* In tree-ssa-threadupdate.c. */ -extern bool thread_through_all_blocks (bool); -extern void register_jump_thread (vec<edge>, bool); - /* In gimplify.c */ tree force_gimple_operand_1 (tree, gimple_seq *, gimple_predicate, tree); tree force_gimple_operand (tree, gimple_seq *, bool, tree); |