add isl_pw_aff_list
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 25 Jul 2011 06:55:53 +0000 (08:55 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 28 Jul 2011 14:42:25 +0000 (16:42 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
doc/user.pod
include/isl/list.h
isl_list.c
isl_list_private.h
isl_list_templ.h

index 80c0059..3ad2b0a 100644 (file)
@@ -2256,7 +2256,7 @@ In case of union relations, the optimum is computed per space.
 =head2 Lists
 
 Lists are defined over several element types, including
-C<isl_aff>, C<isl_basic_set> and C<isl_set>.
+C<isl_aff>, C<isl_pw_aff>, C<isl_basic_set> and C<isl_set>.
 Here we take lists of C<isl_set>s as an example.
 Lists can be created, copied and freed using the following functions.
 
index 3fa6b11..e0dbfed 100644 (file)
@@ -47,6 +47,7 @@ void isl_##EL##_list_dump(__isl_keep isl_##EL##_list *list);
 ISL_DECLARE_LIST(basic_set)
 ISL_DECLARE_LIST(set)
 ISL_DECLARE_LIST(aff)
+ISL_DECLARE_LIST(pw_aff)
 ISL_DECLARE_LIST(band)
 
 #if defined(__cplusplus)
index ec1dd29..27baab1 100644 (file)
 #include <isl_list_templ.c>
 
 #undef BASE
+#define BASE pw_aff
+
+#include <isl_list_templ.c>
+
+#undef BASE
 #define BASE band
 
 #include <isl_list_templ.c>
index 15c0547..da57f41 100644 (file)
 #include <isl_list_templ.h>
 
 #undef EL
+#define EL isl_pw_aff
+
+#include <isl_list_templ.h>
+
+#undef EL
 #define EL isl_band
 
 #include <isl_list_templ.h>
index a959980..9c60f5a 100644 (file)
@@ -20,4 +20,5 @@ __isl_give isl_##EL##_list *isl_##EL##_list_dup(                      \
 ISL_DECLARE_LIST_PRIVATE(basic_set)
 ISL_DECLARE_LIST_PRIVATE(set)
 ISL_DECLARE_LIST_PRIVATE(aff)
+ISL_DECLARE_LIST_PRIVATE(pw_aff)
 ISL_DECLARE_LIST_PRIVATE(band)