remove remnants of old "primitive" naming
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 9 Aug 2008 11:54:54 +0000 (13:54 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 25 Aug 2008 07:24:18 +0000 (09:24 +0200)
include/isl_map.h
include/isl_set.h
isl_map.c

index f707cd7..0ce4df2 100644 (file)
@@ -35,7 +35,7 @@ extern "C" {
  */
 struct isl_basic_map {
        int ref;
-#define ISL_PRIMITIVE_MAP_FINAL                (1 << 0)
+#define ISL_BASIC_MAP_FINAL            (1 << 0)
        unsigned flags;
 
        unsigned nparam;
index eb49fd9..2bdc27a 100644 (file)
@@ -12,7 +12,7 @@ extern "C" {
  */
 struct isl_basic_set {
        int ref;
-#define ISL_PRIMITIVE_SET_FINAL                (1 << 0)
+#define ISL_BASIC_SET_FINAL            (1 << 0)
        unsigned flags;
 
        unsigned nparam;
index 68e8527..97621bd 100644 (file)
--- a/isl_map.c
+++ b/isl_map.c
@@ -118,7 +118,7 @@ static void dup_constraints(struct isl_ctx *ctx,
                int j = isl_basic_map_alloc_div(ctx, dst);
                isl_seq_cpy(dst->div[j], src->div[i], 1+1+total);
        }
-       F_SET(dst, ISL_PRIMITIVE_SET_FINAL);
+       F_SET(dst, ISL_BASIC_SET_FINAL);
 }
 
 struct isl_basic_map *isl_basic_map_dup(struct isl_ctx *ctx,
@@ -150,7 +150,7 @@ struct isl_basic_set *isl_basic_set_copy(struct isl_ctx *ctx,
        if (!bset)
                return NULL;
 
-       if (F_ISSET(bset, ISL_PRIMITIVE_SET_FINAL)) {
+       if (F_ISSET(bset, ISL_BASIC_SET_FINAL)) {
                bset->ref++;
                return bset;
        }
@@ -172,7 +172,7 @@ struct isl_basic_map *isl_basic_map_copy(struct isl_ctx *ctx,
        if (!bmap)
                return NULL;
 
-       if (F_ISSET(bmap, ISL_PRIMITIVE_SET_FINAL)) {
+       if (F_ISSET(bmap, ISL_BASIC_SET_FINAL)) {
                bmap->ref++;
                return bmap;
        }
@@ -440,7 +440,7 @@ struct isl_basic_map *isl_basic_map_cow(struct isl_ctx *ctx,
                bmap->ref--;
                bmap = isl_basic_map_dup(ctx, bmap);
        }
-       F_CLR(bmap, ISL_PRIMITIVE_SET_FINAL);
+       F_CLR(bmap, ISL_BASIC_SET_FINAL);
        return bmap;
 }
 
@@ -2272,7 +2272,7 @@ struct isl_basic_map *isl_basic_map_finalize(struct isl_ctx *ctx,
        bmap = remove_redundant_divs(ctx, bmap);
        if (!bmap)
                return NULL;
-       F_SET(bmap, ISL_PRIMITIVE_SET_FINAL);
+       F_SET(bmap, ISL_BASIC_SET_FINAL);
        return bmap;
 }