From 9e296d08bd98f2ff6cda6499186d35e4ed7258a2 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Fri, 19 Aug 2016 15:02:29 +0200 Subject: [PATCH] drop deprecated isl_set_dim_is_unique This function does not appear to have any inside or outside users. It was deprecated in bdc8703 (mark isl_set_dim_is_unique as deprecated, Wed Oct 12 16:53:51 2016 +0200). Signed-off-by: Sven Verdoolaege --- include/isl/set.h | 3 --- isl_map.c | 20 -------------------- 2 files changed, 23 deletions(-) diff --git a/include/isl/set.h b/include/isl/set.h index 37a0b261..a3de0140 100644 --- a/include/isl/set.h +++ b/include/isl/set.h @@ -440,9 +440,6 @@ isl_bool isl_set_plain_is_disjoint(__isl_keep isl_set *set1, uint32_t isl_set_get_hash(struct isl_set *set); -ISL_DEPRECATED -int isl_set_dim_is_unique(struct isl_set *set, unsigned dim); - int isl_set_n_basic_set(__isl_keep isl_set *set); __isl_export isl_stat isl_set_foreach_basic_set(__isl_keep isl_set *set, diff --git a/isl_map.c b/isl_map.c index e63f0bfd..3d9df597 100644 --- a/isl_map.c +++ b/isl_map.c @@ -9973,26 +9973,6 @@ int isl_basic_set_dim_is_unique(struct isl_basic_set *bset, unsigned dim) return 0; } -/* Check if the value for dimension dim is completely determined - * by the values of the other parameters and variables. - * That is, check if dimension dim is involved in an equality - * for each of the subsets. - */ -int isl_set_dim_is_unique(struct isl_set *set, unsigned dim) -{ - int i; - - if (!set) - return -1; - for (i = 0; i < set->n; ++i) { - int unique; - unique = isl_basic_set_dim_is_unique(set->p[i], dim); - if (unique != 1) - return unique; - } - return 1; -} - /* Return the number of basic maps in the (current) representation of "map". */ int isl_map_n_basic_map(__isl_keep isl_map *map) -- 2.11.4.GIT