aboutsummaryrefslogtreecommitdiff
path: root/gcc/graphite-cloog-util.h
diff options
context:
space:
mode:
authorRiyadh Baghdadi <baghdadi.mr@gmail.com>2010-09-30 21:17:12 +0000
committerSebastian Pop <spop@gcc.gnu.org>2010-09-30 21:17:12 +0000
commit721c8b1e8e60d419cbd86ff82ea8510ef3350511 (patch)
treea0ccbcc73847fed9ec59209131f8140c27a2123a /gcc/graphite-cloog-util.h
parentfd8bb59129cbb672aa4515c4dd1a2424c4ef45a9 (diff)
downloadgcc-721c8b1e8e60d419cbd86ff82ea8510ef3350511.zip
gcc-721c8b1e8e60d419cbd86ff82ea8510ef3350511.tar.gz
gcc-721c8b1e8e60d419cbd86ff82ea8510ef3350511.tar.bz2
Enable graphite to read an OpenScop file.
2010-08-12 Riyadh Baghdadi <baghdadi.mr@gmail.com> * graphite-cloog-util.c (openscop_read_cloog_matrix): New. (openscop_read_polyhedron_matrix): New. * graphite-cloog-util.h (openscop_read_polyhedron_matrix): Declared. (openscop_read_N_int): Same. * graphite-poly.c (openscop_read_N_int): New. (openscop_read_one_int): New. (openscop_read_N_string): New. (openscop_read_one_string): New. (openscop_read_powerset_matrix): New. (graphite_read_transforms): Remove. (graphite_read_scatt): New. (graphite_read_scop_file): New. (apply_poly_transforms): Updated to call graphite_read_scop_file. From-SVN: r164778
Diffstat (limited to 'gcc/graphite-cloog-util.h')
-rw-r--r--gcc/graphite-cloog-util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/graphite-cloog-util.h b/gcc/graphite-cloog-util.h
index 62e2f94..9686e7c 100644
--- a/gcc/graphite-cloog-util.h
+++ b/gcc/graphite-cloog-util.h
@@ -34,5 +34,9 @@ CloogDomain * new_Cloog_Domain_from_ppl_Pointset_Powerset
void new_C_Polyhedron_from_Cloog_Matrix (ppl_Polyhedron_t *, CloogMatrix *);
void openscop_print_polyhedron_matrix (FILE *, ppl_const_Polyhedron_t, int,
int, int, int);
+void openscop_read_polyhedron_matrix (FILE *, ppl_Polyhedron_t *, int *, int *,
+ int *, int *);
+
+extern int *openscop_read_N_int (FILE *, int);
#endif /* GRAPHITE_CLOOG_UTIL_H */