xref: /dflybsd-src/contrib/gcc-4.7/gcc/graphite-cloog-util.h (revision 04febcfb30580676d3e95f58a16c5137ee478b32)
1*e4b17023SJohn Marino /* Gimple Represented as Polyhedra.
2*e4b17023SJohn Marino    Copyright (C) 2009, 2010 Free Software Foundation, Inc.
3*e4b17023SJohn Marino    Contributed by Sebastian Pop <sebastian.pop@inria.fr>
4*e4b17023SJohn Marino    and Tobias Grosser <grosser@fim.uni-passau.de>.
5*e4b17023SJohn Marino 
6*e4b17023SJohn Marino This file is part of GCC.
7*e4b17023SJohn Marino 
8*e4b17023SJohn Marino GCC is free software; you can redistribute it and/or modify
9*e4b17023SJohn Marino it under the terms of the GNU General Public License as published by
10*e4b17023SJohn Marino the Free Software Foundation; either version 3, or (at your option)
11*e4b17023SJohn Marino any later version.
12*e4b17023SJohn Marino 
13*e4b17023SJohn Marino GCC is distributed in the hope that it will be useful,
14*e4b17023SJohn Marino but WITHOUT ANY WARRANTY; without even the implied warranty of
15*e4b17023SJohn Marino MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16*e4b17023SJohn Marino GNU General Public License for more details.
17*e4b17023SJohn Marino 
18*e4b17023SJohn Marino You should have received a copy of the GNU General Public License
19*e4b17023SJohn Marino along with GCC; see the file COPYING3.  If not see
20*e4b17023SJohn Marino <http://www.gnu.org/licenses/>.  */
21*e4b17023SJohn Marino #ifndef GRAPHITE_CLOOG_UTIL_H
22*e4b17023SJohn Marino #define GRAPHITE_CLOOG_UTIL_H
23*e4b17023SJohn Marino 
24*e4b17023SJohn Marino #include "cloog/cloog.h"
25*e4b17023SJohn Marino #include "graphite-cloog-compat.h"
26*e4b17023SJohn Marino 
27*e4b17023SJohn Marino CloogMatrix *new_Cloog_Matrix_from_ppl_Polyhedron (ppl_const_Polyhedron_t);
28*e4b17023SJohn Marino CloogDomain *new_Cloog_Domain_from_ppl_Polyhedron (ppl_const_Polyhedron_t,
29*e4b17023SJohn Marino 						   int, CloogState *);
30*e4b17023SJohn Marino CloogScattering *new_Cloog_Scattering_from_ppl_Polyhedron
31*e4b17023SJohn Marino   (ppl_const_Polyhedron_t, int, int, CloogState *);
32*e4b17023SJohn Marino CloogDomain * new_Cloog_Domain_from_ppl_Pointset_Powerset
33*e4b17023SJohn Marino   (ppl_Pointset_Powerset_C_Polyhedron_t, int, CloogState *);
34*e4b17023SJohn Marino void new_C_Polyhedron_from_Cloog_Matrix (ppl_Polyhedron_t *, CloogMatrix *);
35*e4b17023SJohn Marino void openscop_print_polyhedron_matrix (FILE *, ppl_const_Polyhedron_t, int,
36*e4b17023SJohn Marino 				       int, int, int);
37*e4b17023SJohn Marino void openscop_read_polyhedron_matrix (FILE *, ppl_Polyhedron_t *, int *, int *,
38*e4b17023SJohn Marino 	       			     int *, int *);
39*e4b17023SJohn Marino 
40*e4b17023SJohn Marino extern int *openscop_read_N_int (FILE *, int);
41*e4b17023SJohn Marino 
42*e4b17023SJohn Marino #endif /* GRAPHITE_CLOOG_UTIL_H */
43