struct isl_set *isl_set_drop_basic_set(struct isl_set *set,
struct isl_basic_set *bset);
+int isl_basic_set_fast_dim_is_fixed(struct isl_basic_set *bset, unsigned dim,
+ isl_int *val);
+
int isl_set_fast_dim_is_fixed(struct isl_set *set, unsigned dim, isl_int *val);
int isl_set_fast_dim_has_fixed_lower_bound(struct isl_set *set,
unsigned dim, isl_int *val);
return fixed;
}
+static int isl_basic_set_fast_has_fixed_var(struct isl_basic_set *bset,
+ unsigned pos, isl_int *val)
+{
+ return isl_basic_map_fast_has_fixed_var((struct isl_basic_map *)bset,
+ pos, val);
+}
+
static int isl_set_fast_has_fixed_var(struct isl_set *set, unsigned pos,
isl_int *val)
{
/* Check if dimension dim has fixed value and if so and if val is not NULL,
* then return this fixed value in *val.
*/
+int isl_basic_set_fast_dim_is_fixed(struct isl_basic_set *bset, unsigned dim,
+ isl_int *val)
+{
+ return isl_basic_set_fast_has_fixed_var(bset,
+ isl_basic_set_n_param(bset) + dim, val);
+}
+
+/* Check if dimension dim has fixed value and if so and if val is not NULL,
+ * then return this fixed value in *val.
+ */
int isl_set_fast_dim_is_fixed(struct isl_set *set, unsigned dim, isl_int *val)
{
return isl_set_fast_has_fixed_var(set, isl_set_n_param(set) + dim, val);