diff options
author | amacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-02 17:57:54 +0000 |
---|---|---|
committer | amacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-02 17:57:54 +0000 |
commit | ba4d2b2f28479db60842a014a93613da093fd150 (patch) | |
tree | 4e565c339cd910e920e36af879ee13b02dd89c3d /gcc/tree-ssa-dom.h | |
parent | 11f8ac85df3620e926f8eb0d132fa3a71a9b433a (diff) | |
download | gcc-ba4d2b2f28479db60842a014a93613da093fd150.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203122 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-dom.h')
-rw-r--r-- | gcc/tree-ssa-dom.h | 29 |
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 00000000000..89742b03a0e --- /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 */ |