aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-dom.h
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2013-10-02 17:57:54 +0000
committerAndrew Macleod <amacleod@gcc.gnu.org>2013-10-02 17:57:54 +0000
commit3d9c733eb19c1fa07f0adecc083a4c2a053fd903 (patch)
tree4e565c339cd910e920e36af879ee13b02dd89c3d /gcc/tree-ssa-dom.h
parentcc1a9ac808c9f04cb0deeff138b5da114f113c76 (diff)
downloadgcc-3d9c733eb19c1fa07f0adecc083a4c2a053fd903.zip
gcc-3d9c733eb19c1fa07f0adecc083a4c2a053fd903.tar.gz
gcc-3d9c733eb19c1fa07f0adecc083a4c2a053fd903.tar.bz2
tree-flow.h: Remove some prototypes.
* tree-flow.h: Remove some prototypes. * tree-ssa-dce.c (mark_virtual_operand_for_renaming, mark_virtual_phi_result_for_renaming): Move to tree-into-ssa.c. * tree-into-ssa.c (mark_virtual_operand_for_renaming, mark_virtual_phi_result_for_renaming): Relocate here. * tree-into-ssa.h: Add prototypes. * tree-ssa-phiopt.c: (tree_ssa_phiopt_worker) Use single_pred_before_succ_order. (blocks_in_phiopt_order): Rename and move to cfganal.c. (nonfreeing_call_p) Move to gimple.c. * cfganal.c (single_pred_before_succ_order): Move and renamed from tree-ssa-phiopt.c. * basic-block.h (single_pred_before_succ_order): Add prototype. * gimple.c (nonfreeing_call_p): Relocate here. * gimple.h: Add prototype. * tree-ssa-ifcombine.c: Include tree-ssa-phiopt.h. * tree-ssa-dom.h: New file. Relocate prototypes here. * tree-ssa.h: Include tree-ssa-dom.h. From-SVN: r203122
Diffstat (limited to 'gcc/tree-ssa-dom.h')
-rw-r--r--gcc/tree-ssa-dom.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/gcc/tree-ssa-dom.h b/gcc/tree-ssa-dom.h
new file mode 100644
index 0000000..89742b0
--- /dev/null
+++ b/gcc/tree-ssa-dom.h
@@ -0,0 +1,29 @@
+/* Header file for SSA dominator optimizations.
+ Copyright (C) 2013 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_DOM_H
+#define GCC_TREE_SSA_DOM_H
+
+extern void dump_dominator_optimization_stats (FILE *);
+extern void debug_dominator_optimization_stats (void);
+extern int loop_depth_of_name (tree);
+extern bool simple_iv_increment_p (gimple);
+extern tree degenerate_phi_result (gimple);
+
+#endif /* GCC_TREE_SSA_DOM_H */