export isl_pw_aff_foreach_piece
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 29 Jul 2011 16:37:24 +0000 (18:37 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 29 Jul 2011 18:30:40 +0000 (20:30 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
doc/user.pod
include/isl/aff.h

index c959e2a..c99469b 100644 (file)
@@ -2422,6 +2422,11 @@ The expression can be inspected using
        __isl_give isl_div *isl_aff_get_div(
                __isl_keep isl_aff *aff, int pos);
 
+       int isl_pw_aff_foreach_piece(__isl_keep isl_pw_aff *pwaff,
+               int (*fn)(__isl_take isl_set *set,
+                         __isl_take isl_aff *aff,
+                         void *user), void *user);
+
        int isl_aff_is_cst(__isl_keep isl_aff *aff);
        int isl_pw_aff_is_cst(__isl_keep isl_pw_aff *pwaff);
 
index 2490c93..87ea0ff 100644 (file)
@@ -151,6 +151,10 @@ __isl_give isl_pw_aff *isl_pw_aff_coalesce(__isl_take isl_pw_aff *pwqp);
 __isl_give isl_pw_aff *isl_pw_aff_gist(__isl_take isl_pw_aff *pwaff,
        __isl_take isl_set *context);
 
+int isl_pw_aff_foreach_piece(__isl_keep isl_pw_aff *pwaff,
+       int (*fn)(__isl_take isl_set *set, __isl_take isl_aff *aff,
+                   void *user), void *user);
+
 __isl_give isl_map *isl_map_from_pw_aff(__isl_take isl_pw_aff *pwaff);
 
 __isl_give isl_set *isl_pw_aff_nonneg_set(__isl_take isl_pw_aff *pwaff);