summaryrefslogtreecommitdiff
path: root/gcc/flags.h
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-08-28 03:35:22 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-08-28 03:35:22 +0000
commita539e2e603dc2c55bc70761abad51129c1be1a9d (patch)
tree480e183f65e682922ade7ab74d0bbc0d16008908 /gcc/flags.h
parent240640517a6fa2ce461b21e8809a98e7a7ec74c8 (diff)
downloadgcc-a539e2e603dc2c55bc70761abad51129c1be1a9d.tar.gz
* 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 :-) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14987 138bc75d-0d04-0410-961f-82ee72b054a4
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 58f5bc0af1c..5b3c7639e06 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. */