diff options
author | Sebastian Pop <sebastian.pop@amd.com> | 2009-11-25 05:24:14 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2009-11-25 05:24:14 +0000 |
commit | 8e6ef139122f2f2209b7cde869b36de3f68dc82f (patch) | |
tree | 43aa80487a924b18f9032cc266bc872122717ff4 /gcc/cfgloop.h | |
parent | e6dd91b2baa1f73acdd1d6063abe18d3a6942b0d (diff) | |
download | gcc-8e6ef139122f2f2209b7cde869b36de3f68dc82f.zip gcc-8e6ef139122f2f2209b7cde869b36de3f68dc82f.tar.gz gcc-8e6ef139122f2f2209b7cde869b36de3f68dc82f.tar.bz2 |
cfgloop.c (alloc_loop): Initialize loop->single_iv.
2009-10-22 Sebastian Pop <sebastian.pop@amd.com>
* cfgloop.c (alloc_loop): Initialize loop->single_iv.
* cfgloop.h (struct loop): New field single_iv.
* graphite-clast-to-gimple.c (pbb_to_depth_to_oldiv): Do not use
loop->aux anymore: use loop->single_iv.
(graphite_loop_normal_form): Moved...
(build_graphite_loop_normal_form): Removed.
(gloog): Do not call build_graphite_loop_normal_form.
(free_aux_in_new_loops): Moved...
(mark_loops_parallel): Restructure.
* graphite-clast-to-gimple.h (free_aux_in_new_loops): Do not declare.
* graphite-sese-to-poly.c (graphite_loop_normal_form): ...here.
(scop_canonicalize_loops): New.
(build_poly_scop): Call scop_canonicalize_loops.
* graphite.c (free_aux_in_new_loops): ...here.
From-SVN: r154624
Diffstat (limited to 'gcc/cfgloop.h')
-rw-r--r-- | gcc/cfgloop.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h index 4abdf8b..7645207 100644 --- a/gcc/cfgloop.h +++ b/gcc/cfgloop.h @@ -160,6 +160,10 @@ struct GTY ((chain_next ("%h.next"))) loop { /* True if the loop can be parallel. */ bool can_be_parallel; + + /* The single induction variable of the loop when the loop is in + normal form. */ + tree single_iv; }; /* Flags for state of loop structure. */ |