aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-threadbackward.h
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2015-10-11 19:17:51 -0600
committerJeff Law <law@gcc.gnu.org>2015-10-11 19:17:51 -0600
commit0732f75fce0fb24a4989b510d57ebd2b05c1a67f (patch)
tree86e6f50206bca4e720230f106668d3606296f1e2 /gcc/tree-ssa-threadbackward.h
parentf29dc665c7db077b8748fec1eae8fbe39d1b57b7 (diff)
downloadgcc-0732f75fce0fb24a4989b510d57ebd2b05c1a67f.zip
gcc-0732f75fce0fb24a4989b510d57ebd2b05c1a67f.tar.gz
gcc-0732f75fce0fb24a4989b510d57ebd2b05c1a67f.tar.bz2
[PATCH] Refactoring FSM bits into their own file
[PATCH] Refactoring FSM bits into their own file * tree-ssa-threadedge.c (fsm_find_thread_path): Moved from here into tree-ssa-threadbackward.c. (fsm_find_control_statement_thread_paths): Likewise. (thread_through_normal_block): Break out FSM bits and move them into a new function in tree-ssa-threadbackward.c. Call new function instead. Minimize header file usage. * tree-ssa-threadbackward.h: New file. * tree-ssa-threadbackward.c: Likewise. * Makefile.in (OBJS): Add tree-ssa-threadbackward.o From-SVN: r228700
Diffstat (limited to 'gcc/tree-ssa-threadbackward.h')
-rw-r--r--gcc/tree-ssa-threadbackward.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/gcc/tree-ssa-threadbackward.h b/gcc/tree-ssa-threadbackward.h
new file mode 100644
index 0000000..f055f43
--- /dev/null
+++ b/gcc/tree-ssa-threadbackward.h
@@ -0,0 +1,25 @@
+/* Header file for SSA dominator optimizations.
+ Copyright (C) 2013-2015 Free Software Foundation, Inc.
+
+This file is part of GCC.
+
+GCC is free software; you can redistribute it and/or modify it under
+the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3, or (at your option) any later
+version.
+
+GCC is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or
+FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ for more details.
+
+You should have received a copy of the GNU General Public License
+along with GCC; see the file COPYING3. If not see
+<http://www.gnu.org/licenses/>. */
+
+#ifndef GCC_TREE_SSA_THREADFSM_H
+#define GCC_TREE_SSA_THREADFSM_H
+
+extern void find_jump_threads_backwards (tree, basic_block);
+
+#endif /* GCC_TREE_SSA_THREADFSM_H */