Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
__isl_give isl_map *isl_map_make_disjoint(
__isl_take isl_map *map);
+The number of basic sets in a set can be obtained
+from
+
+ int isl_set_n_basic_set(__isl_keep isl_set *set);
+
To iterate over the constraints of a basic set or map, use
#include <isl_constraint.h>
int isl_set_dim_is_unique(struct isl_set *set, unsigned dim);
+int isl_set_n_basic_set(__isl_keep isl_set *set);
int isl_set_foreach_basic_set(__isl_keep isl_set *set,
int (*fn)(__isl_take isl_basic_set *bset, void *user), void *user);
return 1;
}
+int isl_set_n_basic_set(__isl_keep isl_set *set)
+{
+ return set ? set->n : 0;
+}
+
int isl_map_foreach_basic_map(__isl_keep isl_map *map,
int (*fn)(__isl_take isl_basic_map *bmap, void *user), void *user)
{