2004-07-09 05:19:14 +02:00
|
|
|
/* Scalar evolution detector.
|
crtstuff.c, [...]: Update copyright.
* crtstuff.c, integrate.h, tree-scalar-evolution.h,
config/alpha/unicosmk.h, config/arc/arc.md,
config/arm/bpabi.h, config/arm/coff.h, config/arm/elf.h,
config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
config/arm/netbsd.h, config/arm/pe.c, config/arm/pe.h,
config/arm/semi.h, config/arm/uclinux-elf.h,
config/arm/wince-pe.h, config/fr30/fr30.c,
config/rs6000/altivec.h: Update copyright.
From-SVN: r99447
2005-05-09 18:26:26 +02:00
|
|
|
Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
|
2004-07-09 05:19:14 +02:00
|
|
|
Contributed by Sebastian Pop <s.pop@laposte.net>
|
|
|
|
|
|
|
|
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 2, 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 COPYING. If not, write to the Free
|
2005-06-25 04:02:01 +02:00
|
|
|
Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
|
|
|
|
02110-1301, USA. */
|
2004-07-09 05:19:14 +02:00
|
|
|
|
|
|
|
#ifndef GCC_TREE_SCALAR_EVOLUTION_H
|
|
|
|
#define GCC_TREE_SCALAR_EVOLUTION_H
|
|
|
|
|
2004-07-12 21:31:16 +02:00
|
|
|
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);
|
2004-07-09 05:19:14 +02:00
|
|
|
extern tree instantiate_parameters (struct loop *, tree);
|
2004-07-12 21:31:16 +02:00
|
|
|
extern void gather_stats_on_scev_database (void);
|
|
|
|
extern void scev_analysis (void);
|
2006-03-02 20:00:11 +01:00
|
|
|
unsigned int scev_const_prop (void);
|
2004-07-09 05:19:14 +02:00
|
|
|
|
2006-01-06 21:22:56 +01:00
|
|
|
extern bool simple_iv (struct loop *, tree, tree, affine_iv *, bool);
|
|
|
|
|
2004-07-09 05:19:14 +02:00
|
|
|
#endif /* GCC_TREE_SCALAR_EVOLUTION_H */
|