From: Sven Verdoolaege Date: Sat, 9 Aug 2008 11:54:54 +0000 (+0200) Subject: remove remnants of old "primitive" naming X-Git-Tag: isl-0.01~460 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b56edff9c791e1c7a3320df2971bf4c19066e250;p=platform%2Fupstream%2Fisl.git remove remnants of old "primitive" naming --- diff --git a/include/isl_map.h b/include/isl_map.h index f707cd7..0ce4df2 100644 --- a/include/isl_map.h +++ b/include/isl_map.h @@ -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; diff --git a/include/isl_set.h b/include/isl_set.h index eb49fd9..2bdc27a 100644 --- a/include/isl_set.h +++ b/include/isl_set.h @@ -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; diff --git a/isl_map.c b/isl_map.c index 68e8527..97621bd 100644 --- 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; }