aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-flow.h
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2006-01-11 13:39:42 -0700
committerJeff Law <law@gcc.gnu.org>2006-01-11 13:39:42 -0700
commit8702a557abed70e1b369f033acc2ad57632ecb8a (patch)
tree7ab263d630f4add5c8eae0cdd38bbfdecac5c634 /gcc/tree-flow.h
parent9be0cc75f123329373c012d9379e63d992f717bf (diff)
downloadgcc-8702a557abed70e1b369f033acc2ad57632ecb8a.zip
gcc-8702a557abed70e1b369f033acc2ad57632ecb8a.tar.gz
gcc-8702a557abed70e1b369f033acc2ad57632ecb8a.tar.bz2
tree-ssa-threadupdate.c (threaded_edges): New VEC to hold edge pairs.
* tree-ssa-threadupdate.c (threaded_edges): New VEC to hold edge pairs. (mark_threaded_blocks, register_jump_thread): New functions. (thread_through_all_blocks): Remove unwanted argument. No longer rely on e->aux to communicate thread target info. Call mark_threaded_blocks. Release the threaded_blocks bitmap and threaded_edges vector when complete. * tree-ssa-dom.c (struct edge_info): Remove redirection_target field. (threaded_blocks): Remove. (tree_ssa_dominator_optimize): Remove initialization and finalization of threaded_blocks. Simplify call to thread_through_all_blocks. (thread_across_edge): Call register_jump_thread rather than storing thread information into e->aux. (free_all_edge_infos): Simplify now that e->aux is no longer used to communicate with thread_through_all_blocks. * tree-flow.h (thread_through_all_blocks): Update prototype. (register_jump_thread): Prototype. From-SVN: r109602
Diffstat (limited to 'gcc/tree-flow.h')
-rw-r--r--gcc/tree-flow.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h
index 0c68552..92a6035 100644
--- a/gcc/tree-flow.h
+++ b/gcc/tree-flow.h
@@ -807,7 +807,8 @@ bool multiplier_allowed_in_address_p (HOST_WIDE_INT);
unsigned multiply_by_cost (HOST_WIDE_INT, enum machine_mode);
/* In tree-ssa-threadupdate.c. */
-extern bool thread_through_all_blocks (bitmap);
+extern bool thread_through_all_blocks (void);
+extern void register_jump_thread (edge, edge);
/* In gimplify.c */
tree force_gimple_operand (tree, tree *, bool, tree);