From 079bbc65e98504a20fafd1f6cd603ed4c7af3193 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Tue, 28 Jul 2009 16:21:42 +0200 Subject: [PATCH] add isl_basic_set_free_div --- isl_map.c | 5 +++++ isl_map_private.h | 1 + 2 files changed, 6 insertions(+) diff --git a/isl_map.c b/isl_map.c index 93dc6ff5..29f520dc 100644 --- a/isl_map.c +++ b/isl_map.c @@ -665,6 +665,11 @@ int isl_basic_map_free_div(struct isl_basic_map *bmap, unsigned n) return 0; } +int isl_basic_set_free_div(struct isl_basic_set *bset, unsigned n) +{ + return isl_basic_map_free_div((struct isl_basic_map *)bset, n); +} + /* Copy constraint from src to dst, putting the vars of src at offset * dim_off in dst and the divs of src at offset div_off in dst. * If both sets are actually map, then dim_off applies to the input diff --git a/isl_map_private.h b/isl_map_private.h index 0594d1e4..6cad8f86 100644 --- a/isl_map_private.h +++ b/isl_map_private.h @@ -45,6 +45,7 @@ int isl_basic_map_free_inequality(struct isl_basic_map *bmap, unsigned n); int isl_basic_map_alloc_div(struct isl_basic_map *bmap); int isl_basic_set_alloc_div(struct isl_basic_set *bset); int isl_basic_map_free_div(struct isl_basic_map *bmap, unsigned n); +int isl_basic_set_free_div(struct isl_basic_set *bset, unsigned n); void isl_basic_map_inequality_to_equality( struct isl_basic_map *bmap, unsigned pos); int isl_basic_map_drop_equality(struct isl_basic_map *bmap, unsigned pos); -- 2.11.4.GIT