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