diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-08-28 03:35:22 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-08-28 03:35:22 +0000 |
commit | a539e2e603dc2c55bc70761abad51129c1be1a9d (patch) | |
tree | 480e183f65e682922ade7ab74d0bbc0d16008908 /gcc/flags.h | |
parent | 240640517a6fa2ce461b21e8809a98e7a7ec74c8 (diff) | |
download | gcc-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.h | 10 |
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. */ |