aboutsummaryrefslogtreecommitdiff
path: root/gcc/flags.h
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1997-08-28 03:35:22 +0000
committerJeff Law <law@gcc.gnu.org>1997-08-27 21:35:22 -0600
commite5eb27e51fe9f28375a7ae5a8a9ed5719968b482 (patch)
tree480e183f65e682922ade7ab74d0bbc0d16008908 /gcc/flags.h
parent73624c403d6bc189395af0c8b7c47c0262d38ca0 (diff)
downloadgcc-e5eb27e51fe9f28375a7ae5a8a9ed5719968b482.zip
gcc-e5eb27e51fe9f28375a7ae5a8a9ed5719968b482.tar.gz
gcc-e5eb27e51fe9f28375a7ae5a8a9ed5719968b482.tar.bz2
flags.h (flag_move_all_movables): Declare.
* flags.h (flag_move_all_movables): Declare. (flag_reduce_all_givs): Likewise. * loop.c (move_movables): Handle flag_move_all_movables. (strength_reduce): Handle flag_reduce_all_givs. * toplev.c (flag_move_all_movables): Define. (flag_reduce_all_givs): Likewise. (f_options): Add -fmove-all-movables and -freduce-all-givs. * invoke.texi: Document new options, including alias stuff that wasn't included last time. Two of the "Tooning" options :-) From-SVN: r14987
Diffstat (limited to 'gcc/flags.h')
-rw-r--r--gcc/flags.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/flags.h b/gcc/flags.h
index 58f5bc0..5b3c763 100644
--- a/gcc/flags.h
+++ b/gcc/flags.h
@@ -216,6 +216,16 @@ extern int flag_unroll_loops;
extern int flag_unroll_all_loops;
+/* Nonzero forces all invariant computations in loops to be moved
+ outside the loop. */
+
+extern int flag_move_all_movables;
+
+/* Nonzero forces all general induction variables in loops to be
+ strength reduced. */
+
+extern int flag_reduce_all_givs;
+
/* Nonzero for -fcse-follow-jumps:
have cse follow jumps to do a more extensive job. */