void isl_basic_map_dump(struct isl_basic_map *bmap, FILE *out, int indent);
+int isl_basic_map_fast_is_fixed(struct isl_basic_map *bmap,
+ enum isl_dim_type type, unsigned pos, isl_int *val);
+
int isl_basic_map_is_universe(struct isl_basic_map *bmap);
int isl_basic_map_is_empty(struct isl_basic_map *bmap);
int isl_basic_map_is_subset(struct isl_basic_map *bmap1,
return isl_map_fast_has_fixed_var((struct isl_map *)set, pos, val);
}
+int isl_basic_map_fast_is_fixed(struct isl_basic_map *bmap,
+ enum isl_dim_type type, unsigned pos, isl_int *val)
+{
+ if (pos >= isl_basic_map_dim(bmap, type))
+ return -1;
+ return isl_basic_map_fast_has_fixed_var(bmap,
+ basic_map_offset(bmap, type) - 1 + pos, val);
+}
+
/* Check if dimension dim has fixed value and if so and if val is not NULL,
* then return this fixed value in *val.
*/