summaryrefslogtreecommitdiff
path: root/gcc/loop.h
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-15 17:07:13 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-15 17:07:13 +0000
commitbcfc9e7de416d7cf7cf069b4a51df194a05ef12f (patch)
treebfb662e2c39c364781f468e95d92e16b99123bcd /gcc/loop.h
parent9dd2e2687ccde4a7f0dd0d80183771ccc6fa1fa7 (diff)
downloadgcc-bcfc9e7de416d7cf7cf069b4a51df194a05ef12f.tar.gz
* loop.c (scan_loop, strength_reduce, loop_optimize): Change unroll_p
and bct_p parameters to flags. * loop.h (LOOP_UNROLL, LOOP_BCT): New constants. * rtl.h (loop_optimize): Update prototype. * toplev.c (rest_of_compilation): Update call of loop_optimize. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33912 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop.h')
-rw-r--r--gcc/loop.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/loop.h b/gcc/loop.h
index 9c4affb8442..046196fb235 100644
--- a/gcc/loop.h
+++ b/gcc/loop.h
@@ -20,6 +20,10 @@ Boston, MA 02111-1307, USA. */
#include "varray.h"
#include "basic-block.h"
+/* Flags passed to loop_optimize. */
+#define LOOP_UNROLL 1
+#define LOOP_BCT 2
+
/* Get the loop info pointer of a loop. */
#define LOOP_INFO(LOOP) ((struct loop_info *) (LOOP)->aux)