add isl_basic_set_detect_equalities
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 28 Sep 2009 13:40:24 +0000 (15:40 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 7 Oct 2009 21:00:18 +0000 (23:00 +0200)
include/isl_set.h
isl_affine_hull.c

index 3128966..509c8eb 100644 (file)
@@ -112,6 +112,8 @@ __isl_give isl_basic_set *isl_basic_set_apply(
 __isl_give isl_basic_set *isl_basic_set_affine_hull(
                __isl_take isl_basic_set *bset);
 struct isl_basic_set *isl_basic_set_simplify(struct isl_basic_set *bset);
+__isl_give isl_basic_set *isl_basic_set_detect_equalities(
+                                               __isl_take isl_basic_set *bset);
 struct isl_basic_set *isl_basic_set_product(struct isl_basic_set_list *list);
 
 #define ISL_FORMAT_POLYLIB             1
index e345151..dcfb319 100644 (file)
@@ -618,6 +618,13 @@ error:
        return NULL;
 }
 
+__isl_give isl_basic_set *isl_basic_set_detect_equalities(
+                                               __isl_take isl_basic_set *bset)
+{
+       return (isl_basic_set *)
+               isl_basic_map_detect_equalities((isl_basic_map *)bset);
+}
+
 struct isl_map *isl_map_detect_equalities(struct isl_map *map)
 {
        struct isl_basic_map *bmap;