diff options
Diffstat (limited to 'gcc/cfgloop.h')
-rw-r--r-- | gcc/cfgloop.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h index b3c862c..a731354 100644 --- a/gcc/cfgloop.h +++ b/gcc/cfgloop.h @@ -22,8 +22,6 @@ along with GCC; see the file COPYING3. If not see #define GCC_CFGLOOP_H #include "basic-block.h" -/* For rtx_code. */ -#include "rtl.h" #include "vecprim.h" #include "double-int.h" @@ -46,6 +44,14 @@ struct GTY (()) lpt_decision { unsigned times; }; +/* The type of extend applied to an IV. */ +enum iv_extend_code +{ + IV_SIGN_EXTEND, + IV_ZERO_EXTEND, + IV_UNKNOWN_EXTEND +}; + /* The structure describing a bound on number of iterations of a loop. */ struct GTY ((chain_next ("%h.next"))) nb_iter_bound { @@ -342,8 +348,9 @@ struct rtx_iv see the description above). */ rtx base, step; - /* The type of extend applied to it (SIGN_EXTEND, ZERO_EXTEND or UNKNOWN). */ - enum rtx_code extend; + /* The type of extend applied to it (IV_SIGN_EXTEND, IV_ZERO_EXTEND, + or IV_UNKNOWN_EXTEND). */ + enum iv_extend_code extend; /* Operations applied in the extended mode. */ rtx delta, mult; |