From 08a88144982a21f7275eb430fe0448d75a2c580a Mon Sep 17 00:00:00 2001 From: spop Date: Wed, 11 Aug 2010 20:30:41 +0000 Subject: Introduce compatibility to newer CLooG's CloogState and mask the use with macros where possible. 2010-07-27 Andreas Simbuerger * graphite-clast-to-gimple.c (build_cloog_prog): Extend with CloogState. (set_cloog_options): Same. (print_clast_stmt): Same. (scop_to_clast): Same. (print_generated_program): Same. (gloog): Same. * graphite-clast-to-gimple.h: Include graphite-cloog-util.h. (scop_to_clast): Extend with CloogState. * graphite-cloog-util.c: Include graphite-cloog-compat.h (new_Cloog_Domain_from_ppl_Polyhedron): Extend with CloogState. Use cloog_domain_from_cloog_matrix (CLOOG_ORG). (new_Cloog_Domain_from_ppl_Pointset_Powerset): Extend with CloogState. (new_Cloog_Domain_from_ppl_Polyhedron): Same. * graphite-cloog-util.h (build_cloog_prog): Same. * graphite-cloog-copat.h (build_cloog_prog): New. (CloogState): New. (cloog_state_malloc): New. (cloog_state_free): New. (cloog_loop_malloc): New. (cloog_options_malloc): New. (cloog_statement_alloc): New. (cloog_domain_from_cloog_matrix): New. (new_Cloog_Domain_from_ppl_Pointset_Powerset): New. (new_Cloog_Domain_from_ppl_Polyhedron): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163164 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/graphite-cloog-util.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'gcc/graphite-cloog-util.h') diff --git a/gcc/graphite-cloog-util.h b/gcc/graphite-cloog-util.h index da7b2e61939..eaa48f33f67 100644 --- a/gcc/graphite-cloog-util.h +++ b/gcc/graphite-cloog-util.h @@ -25,9 +25,10 @@ along with GCC; see the file COPYING3. If not see #include "graphite-cloog-compat.h" CloogMatrix *new_Cloog_Matrix_from_ppl_Polyhedron (ppl_const_Polyhedron_t); -CloogDomain *new_Cloog_Domain_from_ppl_Polyhedron (ppl_const_Polyhedron_t); -CloogDomain * new_Cloog_Domain_from_ppl_Pointset_Powerset ( - ppl_Pointset_Powerset_C_Polyhedron_t); +CloogDomain *new_Cloog_Domain_from_ppl_Polyhedron (ppl_const_Polyhedron_t, + int, CloogState *); +CloogDomain * new_Cloog_Domain_from_ppl_Pointset_Powerset + (ppl_Pointset_Powerset_C_Polyhedron_t, int, CloogState *); void new_C_Polyhedron_from_Cloog_Matrix (ppl_Polyhedron_t *, CloogMatrix *); #endif /* GRAPHITE_CLOOG_UTIL_H */ -- cgit v1.2.1