add isl_basic_set_drop
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 3 May 2010 17:04:17 +0000 (19:04 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 4 May 2010 07:36:00 +0000 (09:36 +0200)
isl_map_private.h
isl_map_simplify.c

index b462eb2..2824996 100644 (file)
@@ -104,6 +104,8 @@ __isl_give isl_basic_set *isl_basic_set_underlying_set(
 struct isl_set *isl_map_underlying_set(struct isl_map *map);
 struct isl_basic_map *isl_basic_map_overlying_set(struct isl_basic_set *bset,
        struct isl_basic_map *like);
+__isl_give isl_basic_set *isl_basic_set_drop(__isl_take isl_basic_set *bset,
+       enum isl_dim_type type, unsigned first, unsigned n);
 struct isl_basic_map *isl_basic_map_drop(struct isl_basic_map *bmap,
        enum isl_dim_type type, unsigned first, unsigned n);
 struct isl_set *isl_set_drop(struct isl_set *set,
index 84e8d1a..9d9e5c2 100644 (file)
@@ -204,6 +204,13 @@ error:
        return NULL;
 }
 
+__isl_give isl_basic_set *isl_basic_set_drop(__isl_take isl_basic_set *bset,
+       enum isl_dim_type type, unsigned first, unsigned n)
+{
+       return (isl_basic_set *)isl_basic_map_drop((isl_basic_map *)bset,
+                                                       type, first, n);
+}
+
 struct isl_basic_map *isl_basic_map_drop_inputs(
                struct isl_basic_map *bmap, unsigned first, unsigned n)
 {