diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-12 19:31:16 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-12 19:31:16 +0000 |
commit | c2c3fd2498db32a99024a8de72f2d8e01b630b56 (patch) | |
tree | 3c802a37a69533f1e5eac9a5138ce105450e9411 /gcc/tree-scalar-evolution.h | |
parent | 207355adb285abe9ff09b7b0467db35a73d58eb9 (diff) | |
download | gcc-c2c3fd2498db32a99024a8de72f2d8e01b630b56.tar.gz |
* cfgloop.h (struct loop): Add nb_iterations field.
(current_loops): Declare.
* tree-chrec.c (chrec_not_analyzed_yet,
chrec_dont_know, chrec_known, count_ev_in_wider_type,
chrec_contains_symbols_defined_in_loop): Remove the temporary
hooks.
* tree-flow-inline.h (loop_containing_stmt): New function.
* tree-scalar-evolution.c: Add implementation.
* tree-scalar-evolution.h: Add declarations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84573 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-scalar-evolution.h')
-rw-r--r-- | gcc/tree-scalar-evolution.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/tree-scalar-evolution.h b/gcc/tree-scalar-evolution.h index d39fd935423..e8d2eb453fb 100644 --- a/gcc/tree-scalar-evolution.h +++ b/gcc/tree-scalar-evolution.h @@ -22,7 +22,17 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #ifndef GCC_TREE_SCALAR_EVOLUTION_H #define GCC_TREE_SCALAR_EVOLUTION_H +extern tree number_of_iterations_in_loop (struct loop *); +extern tree get_loop_exit_condition (struct loop *); + +extern void scev_initialize (struct loops *loops); +extern void scev_reset (void); +extern void scev_finalize (void); +extern tree analyze_scalar_evolution (struct loop *, tree); extern tree instantiate_parameters (struct loop *, tree); +extern void eliminate_redundant_checks (void); +extern void gather_stats_on_scev_database (void); +extern void scev_analysis (void); extern bool simple_iv (struct loop *, tree, tree, tree *, tree *); #endif /* GCC_TREE_SCALAR_EVOLUTION_H */ |