add isl_set_lower_bound_si
authorSven Verdoolaege <sven@nestor.cs.kuleuven.be>
Tue, 16 Feb 2010 11:26:10 +0000 (12:26 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 17 Feb 2010 18:45:21 +0000 (19:45 +0100)
include/isl_set.h
isl_map.c

index d863dd8..1884c4d 100644 (file)
@@ -148,6 +148,8 @@ struct isl_basic_set *isl_basic_set_fix_si(struct isl_basic_set *bset,
                enum isl_dim_type type, unsigned pos, int value);
 __isl_give isl_set *isl_set_fix_si(__isl_take isl_set *set,
                enum isl_dim_type type, unsigned pos, int value);
+__isl_give isl_set *isl_set_lower_bound_si(__isl_take isl_set *set,
+               enum isl_dim_type type, unsigned pos, int value);
 
 struct isl_basic_set *isl_basic_set_from_underlying_set(
        struct isl_basic_set *bset, struct isl_basic_set *like);
index 305a204..6840726 100644 (file)
--- a/isl_map.c
+++ b/isl_map.c
@@ -3572,6 +3572,13 @@ error:
        return NULL;
 }
 
+__isl_give isl_set *isl_set_lower_bound_si(__isl_take isl_set *set,
+               enum isl_dim_type type, unsigned pos, int value)
+{
+       return (struct isl_set *)
+               isl_map_lower_bound_si((struct isl_map *)set, type, pos, value);
+}
+
 struct isl_set *isl_set_lower_bound_dim(struct isl_set *set, unsigned dim,
                                        isl_int value)
 {