summaryrefslogtreecommitdiff
path: root/gcc/graphite-poly.h
diff options
context:
space:
mode:
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2009-08-12 14:26:42 +0000
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2009-08-12 14:26:42 +0000
commit19b42529ceeca3b4536cf667b12d739e1e5dc9e6 (patch)
tree6dc43a4bb5b95b0c2043a3ae6d3e1a5142f09e5a /gcc/graphite-poly.h
parent9daa88108a80798c2b10d58fed3a64cfba88e613 (diff)
downloadgcc-19b42529ceeca3b4536cf667b12d739e1e5dc9e6.tar.gz
Undo changes to the PDR representation.
2009-08-11 Sebastian Pop <sebastian.pop@amd.com> * graphite-interchange.c (compute_array_size): Remove use of PDR_DATA_CONTAINER. * graphite-poly.c (new_poly_dr): Remove argument data_container. Do not initialize PDR_DATA_CONTAINER. (print_pdr): Do not print PDR_DATA_CONTAINER. * graphite-poly.h (struct poly_dr): Remove data_container field. (PDR_DATA_CONTAINER): Removed. * graphite-sese-to-poly.c (pdr_add_data_dimensions): Remove use of PDR_DATA_CONTAINER. (build_poly_dr): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150689 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/graphite-poly.h')
-rw-r--r--gcc/graphite-poly.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/gcc/graphite-poly.h b/gcc/graphite-poly.h
index 28fca705832..c6d902a34de 100644
--- a/gcc/graphite-poly.h
+++ b/gcc/graphite-poly.h
@@ -101,12 +101,8 @@ struct poly_dr
| 0 0 0 1 0 0 -5 = 0
|-1 0 0 0 1 0 0 = 0
| 0 -1 -1 0 0 1 0 = 0
-
- The constraints on the data container A[1335][123] are:
-
- | i j k a s0 s1 1
- | 0 0 0 0 1 0 0 >= 0
- | 0 0 0 0 0 1 0 >= 0
+ | 0 0 0 0 1 0 0 >= 0 # The last four lines describe the
+ | 0 0 0 0 0 1 0 >= 0 # array size.
| 0 0 0 0 -1 0 1335 >= 0
| 0 0 0 0 0 -1 123 >= 0
@@ -132,17 +128,14 @@ struct poly_dr
| i j k a 1
| 0 0 0 -1 15 = 0 */
ppl_Pointset_Powerset_C_Polyhedron_t accesses;
- ppl_Pointset_Powerset_C_Polyhedron_t data_container;
};
#define PDR_CDR(PDR) (PDR->compiler_dr)
#define PDR_PBB(PDR) (PDR->pbb)
#define PDR_TYPE(PDR) (PDR->type)
#define PDR_ACCESSES(PDR) (PDR->accesses)
-#define PDR_DATA_CONTAINER(PDR) (PDR->data_container)
void new_poly_dr (poly_bb_p, ppl_Pointset_Powerset_C_Polyhedron_t,
- ppl_Pointset_Powerset_C_Polyhedron_t,
enum POLY_DR_TYPE, void *);
void free_poly_dr (poly_dr_p);
void debug_pdr (poly_dr_p);