add isl_set_plain_is_fixed
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 22 Sep 2011 14:31:29 +0000 (16:31 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 22 Sep 2011 14:31:29 +0000 (16:31 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
doc/user.pod
include/isl/set.h
isl_map.c

index 8dd6fd3..4386843 100644 (file)
@@ -1551,6 +1551,9 @@ is already known to be empty.
                __isl_keep isl_basic_map *bmap,
                enum isl_dim_type type, unsigned pos,
                isl_int *val);
+       int isl_set_plain_is_fixed(__isl_keep isl_set *set,
+               enum isl_dim_type type, unsigned pos,
+               isl_int *val);
        int isl_map_plain_is_fixed(__isl_keep isl_map *map,
                enum isl_dim_type type, unsigned pos,
                isl_int *val);
index b48a230..35c4aba 100644 (file)
@@ -327,6 +327,8 @@ struct isl_set *isl_set_drop_basic_set(struct isl_set *set,
 int isl_basic_set_plain_dim_is_fixed(__isl_keep isl_basic_set *bset,
        unsigned dim, isl_int *val);
 
+int isl_set_plain_is_fixed(__isl_keep isl_set *set,
+       enum isl_dim_type type, unsigned pos, isl_int *val);
 int isl_set_plain_dim_is_fixed(__isl_keep isl_set *set,
        unsigned dim, isl_int *val);
 int isl_set_fast_dim_is_fixed(__isl_keep isl_set *set,
index bb1e341..d311a4c 100644 (file)
--- a/isl_map.c
+++ b/isl_map.c
@@ -7380,6 +7380,12 @@ int isl_map_plain_is_fixed(__isl_keep isl_map *map,
                map_offset(map, type) - 1 + pos, val);
 }
 
+int isl_set_plain_is_fixed(__isl_keep isl_set *set,
+       enum isl_dim_type type, unsigned pos, isl_int *val)
+{
+       return isl_map_plain_is_fixed(set, type, pos, val);
+}
+
 int isl_map_fast_is_fixed(__isl_keep isl_map *map,
        enum isl_dim_type type, unsigned pos, isl_int *val)
 {