summaryrefslogtreecommitdiffstats
path: root/gcc/cfgloop.h
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-19 22:40:34 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-19 22:40:34 +0000
commit75cc36a4b69a5f8c3afb6b256b885d2783e859b3 (patch)
tree07b4151376678a25dbd81f59058d37f2a765165b /gcc/cfgloop.h
parent4e11e0fcfb96a3ff9d4a8445b22bcfdaabc5c226 (diff)
downloadppe42-gcc-75cc36a4b69a5f8c3afb6b256b885d2783e859b3.tar.gz
ppe42-gcc-75cc36a4b69a5f8c3afb6b256b885d2783e859b3.zip
* cfgloop.h (DLTHE_RECORD_COPY_NUMBER): New flag.
* cfgloopmanip.c (duplicate_loop_to_header_edge): Set aux flags only when asked for. * loop-unroll.c (peel_loop_completely, unroll_loop_constant_iterations, unroll_loop_runtime_iterations, peel_loop_simple, unroll_loop_stupid): Update call of duplicate_loop_to_header_edge. (apply_opt_in_copies): Clear out aux pointers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101193 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgloop.h')
-rw-r--r--gcc/cfgloop.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h
index 048802bb85a..bfcb0b9bb58 100644
--- a/gcc/cfgloop.h
+++ b/gcc/cfgloop.h
@@ -296,6 +296,8 @@ extern bool can_duplicate_loop_p (struct loop *loop);
#define DLTHE_FLAG_UPDATE_FREQ 1 /* Update frequencies in
duplicate_loop_to_header_edge. */
+#define DLTHE_RECORD_COPY_NUMBER 2 /* Record copy number in the aux
+ field of newly create BB. */
extern struct loop * duplicate_loop (struct loops *, struct loop *,
struct loop *);
OpenPOWER on IntegriCloud