2 * Copyright 2008-2009 Katholieke Universiteit Leuven
4 * Use of this software is governed by the GNU LGPLv2.1 license
6 * Written by Sven Verdoolaege, K.U.Leuven, Departement
7 * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium
13 #include <isl/map_type.h>
14 #include <isl/aff_type.h>
17 #include <isl/point.h>
18 #include <isl/local_space.h>
20 #if defined(__cplusplus)
24 unsigned isl_basic_set_n_dim(__isl_keep isl_basic_set *bset);
25 unsigned isl_basic_set_n_param(__isl_keep isl_basic_set *bset);
26 unsigned isl_basic_set_total_dim(const struct isl_basic_set *bset);
27 unsigned isl_basic_set_dim(__isl_keep isl_basic_set *bset,
28 enum isl_dim_type type);
30 unsigned isl_set_n_dim(__isl_keep isl_set *set);
31 unsigned isl_set_n_param(__isl_keep isl_set *set);
32 unsigned isl_set_dim(__isl_keep isl_set *set, enum isl_dim_type type);
34 isl_ctx *isl_basic_set_get_ctx(__isl_keep isl_basic_set *bset);
35 isl_ctx *isl_set_get_ctx(__isl_keep isl_set *set);
36 __isl_give isl_space *isl_basic_set_get_space(__isl_keep isl_basic_set *bset);
37 __isl_give isl_space *isl_set_get_space(__isl_keep isl_set *set);
38 __isl_give isl_set *isl_set_reset_space(__isl_take isl_set *set,
39 __isl_take isl_space *dim);
41 __isl_give isl_aff *isl_basic_set_get_div(__isl_keep isl_basic_set *bset,
44 __isl_give isl_local_space *isl_basic_set_get_local_space(
45 __isl_keep isl_basic_set *bset);
47 const char *isl_basic_set_get_tuple_name(__isl_keep isl_basic_set *bset);
48 const char *isl_set_get_tuple_name(__isl_keep isl_set *set);
49 __isl_give isl_basic_set *isl_basic_set_set_tuple_name(
50 __isl_take isl_basic_set *set, const char *s);
51 __isl_give isl_set *isl_set_set_tuple_name(__isl_take isl_set *set,
53 const char *isl_basic_set_get_dim_name(__isl_keep isl_basic_set *bset,
54 enum isl_dim_type type, unsigned pos);
55 __isl_give isl_basic_set *isl_basic_set_set_dim_name(
56 __isl_take isl_basic_set *bset,
57 enum isl_dim_type type, unsigned pos, const char *s);
58 const char *isl_set_get_dim_name(__isl_keep isl_set *set,
59 enum isl_dim_type type, unsigned pos);
60 __isl_give isl_set *isl_set_set_dim_name(__isl_take isl_set *set,
61 enum isl_dim_type type, unsigned pos, const char *s);
63 __isl_give isl_set *isl_set_set_dim_id(__isl_take isl_set *set,
64 enum isl_dim_type type, unsigned pos, __isl_take isl_id *id);
65 int isl_set_has_dim_id(__isl_keep isl_set *set,
66 enum isl_dim_type type, unsigned pos);
67 __isl_give isl_id *isl_set_get_dim_id(__isl_keep isl_set *set,
68 enum isl_dim_type type, unsigned pos);
69 __isl_give isl_set *isl_set_set_tuple_id(__isl_take isl_set *set,
70 __isl_take isl_id *id);
71 __isl_give isl_set *isl_set_reset_tuple_id(__isl_take isl_set *set);
72 int isl_set_has_tuple_id(__isl_keep isl_set *set);
73 __isl_give isl_id *isl_set_get_tuple_id(__isl_keep isl_set *set);
75 int isl_set_find_dim_by_id(__isl_keep isl_set *set, enum isl_dim_type type,
76 __isl_keep isl_id *id);
77 int isl_set_find_dim_by_name(__isl_keep isl_set *set, enum isl_dim_type type,
80 int isl_basic_set_is_rational(__isl_keep isl_basic_set *bset);
82 struct isl_basic_set *isl_basic_set_alloc(struct isl_ctx *ctx,
83 unsigned nparam, unsigned dim, unsigned extra,
84 unsigned n_eq, unsigned n_ineq);
85 struct isl_basic_set *isl_basic_set_extend(struct isl_basic_set *base,
86 unsigned nparam, unsigned dim, unsigned extra,
87 unsigned n_eq, unsigned n_ineq);
88 struct isl_basic_set *isl_basic_set_extend_constraints(
89 struct isl_basic_set *base, unsigned n_eq, unsigned n_ineq);
90 struct isl_basic_set *isl_basic_set_finalize(struct isl_basic_set *bset);
91 void isl_basic_set_free(__isl_take isl_basic_set *bset);
92 __isl_give isl_basic_set *isl_basic_set_copy(__isl_keep isl_basic_set *bset);
93 struct isl_basic_set *isl_basic_set_dup(struct isl_basic_set *bset);
94 __isl_give isl_basic_set *isl_basic_set_empty(__isl_take isl_space *dim);
95 struct isl_basic_set *isl_basic_set_empty_like(struct isl_basic_set *bset);
96 __isl_give isl_basic_set *isl_basic_set_universe(__isl_take isl_space *dim);
97 __isl_give isl_basic_set *isl_basic_set_nat_universe(__isl_take isl_space *dim);
98 struct isl_basic_set *isl_basic_set_universe_like(struct isl_basic_set *bset);
99 __isl_give isl_basic_set *isl_basic_set_universe_like_set(
100 __isl_keep isl_set *model);
101 struct isl_basic_set *isl_basic_set_interval(struct isl_ctx *ctx,
102 isl_int min, isl_int max);
103 __isl_give isl_basic_set *isl_basic_set_positive_orthant(
104 __isl_take isl_space *space);
105 void isl_basic_set_print_internal(__isl_keep isl_basic_set *bset,
106 FILE *out, int indent);
108 __isl_give isl_basic_set *isl_basic_set_intersect(
109 __isl_take isl_basic_set *bset1,
110 __isl_take isl_basic_set *bset2);
112 __isl_give isl_basic_set *isl_basic_set_intersect_params(
113 __isl_take isl_basic_set *bset1, __isl_take isl_basic_set *bset2);
115 __isl_give isl_basic_set *isl_basic_set_apply(
116 __isl_take isl_basic_set *bset,
117 __isl_take isl_basic_map *bmap);
119 __isl_give isl_basic_set *isl_basic_set_affine_hull(
120 __isl_take isl_basic_set *bset);
121 __isl_give isl_basic_set *isl_basic_set_remove_dims(
122 __isl_take isl_basic_set *bset,
123 enum isl_dim_type type, unsigned first, unsigned n);
124 struct isl_basic_set *isl_basic_set_simplify(struct isl_basic_set *bset);
126 __isl_give isl_basic_set *isl_basic_set_detect_equalities(
127 __isl_take isl_basic_set *bset);
128 __isl_give isl_basic_set *isl_basic_set_remove_redundancies(
129 __isl_take isl_basic_set *bset);
130 __isl_give isl_set *isl_set_remove_redundancies(__isl_take isl_set *set);
131 __isl_give isl_basic_set *isl_basic_set_list_product(
132 __isl_take struct isl_basic_set_list *list);
134 __isl_give isl_basic_set *isl_basic_set_read_from_file(isl_ctx *ctx,
137 __isl_give isl_basic_set *isl_basic_set_read_from_str(isl_ctx *ctx,
139 __isl_give isl_set *isl_set_read_from_file(isl_ctx *ctx, FILE *input);
141 __isl_give isl_set *isl_set_read_from_str(isl_ctx *ctx, const char *str);
142 void isl_basic_set_dump(__isl_keep isl_basic_set *bset);
143 void isl_set_dump(__isl_keep isl_set *set);
144 __isl_give isl_printer *isl_printer_print_basic_set(
145 __isl_take isl_printer *printer, __isl_keep isl_basic_set *bset);
146 __isl_give isl_printer *isl_printer_print_set(__isl_take isl_printer *printer,
147 __isl_keep isl_set *map);
148 void isl_basic_set_print(__isl_keep isl_basic_set *bset, FILE *out, int indent,
149 const char *prefix, const char *suffix, unsigned output_format);
150 void isl_set_print(__isl_keep struct isl_set *set, FILE *out, int indent,
151 unsigned output_format);
152 __isl_give isl_basic_set *isl_basic_set_fix(__isl_take isl_basic_set *bset,
153 enum isl_dim_type type, unsigned pos, isl_int value);
154 __isl_give isl_basic_set *isl_basic_set_fix_si(__isl_take isl_basic_set *bset,
155 enum isl_dim_type type, unsigned pos, int value);
156 __isl_give isl_set *isl_set_fix_si(__isl_take isl_set *set,
157 enum isl_dim_type type, unsigned pos, int value);
158 __isl_give isl_set *isl_set_lower_bound_si(__isl_take isl_set *set,
159 enum isl_dim_type type, unsigned pos, int value);
160 __isl_give isl_set *isl_set_upper_bound_si(__isl_take isl_set *set,
161 enum isl_dim_type type, unsigned pos, int value);
163 __isl_give isl_set *isl_set_equate(__isl_take isl_set *set,
164 enum isl_dim_type type1, int pos1, enum isl_dim_type type2, int pos2);
166 struct isl_basic_set *isl_basic_set_from_underlying_set(
167 struct isl_basic_set *bset, struct isl_basic_set *like);
168 struct isl_set *isl_set_from_underlying_set(
169 struct isl_set *set, struct isl_basic_set *like);
170 struct isl_set *isl_set_to_underlying_set(struct isl_set *set);
173 int isl_basic_set_is_equal(
174 struct isl_basic_set *bset1, struct isl_basic_set *bset2);
176 __isl_give isl_set *isl_basic_set_partial_lexmin(
177 __isl_take isl_basic_set *bset, __isl_take isl_basic_set *dom,
178 __isl_give isl_set **empty);
179 __isl_give isl_set *isl_basic_set_partial_lexmax(
180 __isl_take isl_basic_set *bset, __isl_take isl_basic_set *dom,
181 __isl_give isl_set **empty);
182 __isl_give isl_set *isl_set_partial_lexmin(
183 __isl_take isl_set *set, __isl_take isl_set *dom,
184 __isl_give isl_set **empty);
185 __isl_give isl_set *isl_set_partial_lexmax(
186 __isl_take isl_set *set, __isl_take isl_set *dom,
187 __isl_give isl_set **empty);
189 __isl_give isl_set *isl_basic_set_lexmin(__isl_take isl_basic_set *bset);
191 __isl_give isl_set *isl_basic_set_lexmax(__isl_take isl_basic_set *bset);
193 __isl_give isl_set *isl_set_lexmin(__isl_take isl_set *set);
195 __isl_give isl_set *isl_set_lexmax(__isl_take isl_set *set);
196 __isl_give isl_pw_multi_aff *isl_basic_set_partial_lexmin_pw_multi_aff(
197 __isl_take isl_basic_set *bset, __isl_take isl_basic_set *dom,
198 __isl_give isl_set **empty);
199 __isl_give isl_pw_multi_aff *isl_basic_set_partial_lexmax_pw_multi_aff(
200 __isl_take isl_basic_set *bset, __isl_take isl_basic_set *dom,
201 __isl_give isl_set **empty);
204 __isl_give isl_set *isl_basic_set_union(
205 __isl_take isl_basic_set *bset1,
206 __isl_take isl_basic_set *bset2);
208 int isl_basic_set_compare_at(struct isl_basic_set *bset1,
209 struct isl_basic_set *bset2, int pos);
210 int isl_set_follows_at(__isl_keep isl_set *set1,
211 __isl_keep isl_set *set2, int pos);
213 __isl_give isl_basic_set *isl_basic_set_params(__isl_take isl_basic_set *bset);
214 __isl_give isl_set *isl_set_params(__isl_take isl_set *set);
215 __isl_give isl_set *isl_set_from_params(__isl_take isl_set *set);
217 int isl_basic_set_dims_get_sign(__isl_keep isl_basic_set *bset,
218 enum isl_dim_type type, unsigned pos, unsigned n, int *signs);
220 int isl_basic_set_is_universe(__isl_keep isl_basic_set *bset);
221 int isl_basic_set_plain_is_empty(__isl_keep isl_basic_set *bset);
222 int isl_basic_set_fast_is_empty(__isl_keep isl_basic_set *bset);
224 int isl_basic_set_is_empty(__isl_keep isl_basic_set *bset);
225 int isl_basic_set_is_bounded(__isl_keep isl_basic_set *bset);
227 struct isl_set *isl_set_alloc(struct isl_ctx *ctx,
228 unsigned nparam, unsigned dim, int n, unsigned flags);
229 struct isl_set *isl_set_extend(struct isl_set *base,
230 unsigned nparam, unsigned dim);
231 __isl_give isl_set *isl_set_empty(__isl_take isl_space *dim);
232 struct isl_set *isl_set_empty_like(struct isl_set *set);
233 __isl_give isl_set *isl_set_universe(__isl_take isl_space *dim);
234 __isl_give isl_set *isl_set_nat_universe(__isl_take isl_space *dim);
235 __isl_give isl_set *isl_set_universe_like(__isl_keep isl_set *model);
236 __isl_give isl_set *isl_set_add_basic_set(__isl_take isl_set *set,
237 __isl_take isl_basic_set *bset);
238 struct isl_set *isl_set_finalize(struct isl_set *set);
239 __isl_give isl_set *isl_set_copy(__isl_keep isl_set *set);
240 void isl_set_free(__isl_take isl_set *set);
241 struct isl_set *isl_set_dup(struct isl_set *set);
243 __isl_give isl_set *isl_set_from_basic_set(__isl_take isl_basic_set *bset);
245 __isl_give isl_basic_set *isl_set_sample(__isl_take isl_set *set);
246 __isl_give isl_point *isl_basic_set_sample_point(__isl_take isl_basic_set *bset);
247 __isl_give isl_point *isl_set_sample_point(__isl_take isl_set *set);
249 __isl_give isl_set *isl_set_detect_equalities(__isl_take isl_set *set);
251 __isl_give isl_basic_set *isl_set_affine_hull(__isl_take isl_set *set);
252 __isl_give isl_basic_set *isl_set_convex_hull(__isl_take isl_set *set);
254 __isl_give isl_basic_set *isl_set_polyhedral_hull(__isl_take isl_set *set);
255 __isl_give isl_basic_set *isl_set_simple_hull(__isl_take isl_set *set);
256 struct isl_basic_set *isl_set_bounded_simple_hull(struct isl_set *set);
257 __isl_give isl_set *isl_set_recession_cone(__isl_take isl_set *set);
259 struct isl_set *isl_set_union_disjoint(
260 struct isl_set *set1, struct isl_set *set2);
262 __isl_give isl_set *isl_set_union(
263 __isl_take isl_set *set1,
264 __isl_take isl_set *set2);
265 __isl_give isl_set *isl_set_product(__isl_take isl_set *set1,
266 __isl_take isl_set *set2);
267 __isl_give isl_basic_set *isl_basic_set_flat_product(
268 __isl_take isl_basic_set *bset1, __isl_take isl_basic_set *bset2);
269 __isl_give isl_set *isl_set_flat_product(__isl_take isl_set *set1,
270 __isl_take isl_set *set2);
272 __isl_give isl_set *isl_set_intersect(
273 __isl_take isl_set *set1,
274 __isl_take isl_set *set2);
276 __isl_give isl_set *isl_set_intersect_params(__isl_take isl_set *set,
277 __isl_take isl_set *params);
279 __isl_give isl_set *isl_set_subtract(
280 __isl_take isl_set *set1,
281 __isl_take isl_set *set2);
283 __isl_give isl_set *isl_set_complement(__isl_take isl_set *set);
285 __isl_give isl_set *isl_set_apply(
286 __isl_take isl_set *set,
287 __isl_take isl_map *map);
288 __isl_give isl_set *isl_set_fix(__isl_take isl_set *set,
289 enum isl_dim_type type, unsigned pos, isl_int value);
290 struct isl_set *isl_set_fix_dim_si(struct isl_set *set,
291 unsigned dim, int value);
292 struct isl_set *isl_set_lower_bound_dim(struct isl_set *set,
293 unsigned dim, isl_int value);
294 __isl_give isl_set *isl_set_insert_dims(__isl_take isl_set *set,
295 enum isl_dim_type type, unsigned pos, unsigned n);
296 __isl_give isl_basic_set *isl_basic_set_add(__isl_take isl_basic_set *bset,
297 enum isl_dim_type type, unsigned n);
298 __isl_give isl_set *isl_set_add_dims(__isl_take isl_set *set,
299 enum isl_dim_type type, unsigned n);
300 __isl_give isl_basic_set *isl_basic_set_move_dims(__isl_take isl_basic_set *bset,
301 enum isl_dim_type dst_type, unsigned dst_pos,
302 enum isl_dim_type src_type, unsigned src_pos, unsigned n);
303 __isl_give isl_set *isl_set_move_dims(__isl_take isl_set *set,
304 enum isl_dim_type dst_type, unsigned dst_pos,
305 enum isl_dim_type src_type, unsigned src_pos, unsigned n);
306 __isl_give isl_basic_set *isl_basic_set_project_out(
307 __isl_take isl_basic_set *bset,
308 enum isl_dim_type type, unsigned first, unsigned n);
309 __isl_give isl_set *isl_set_project_out(__isl_take isl_set *set,
310 enum isl_dim_type type, unsigned first, unsigned n);
311 __isl_give isl_basic_set *isl_basic_set_remove_divs(
312 __isl_take isl_basic_set *bset);
313 __isl_give isl_set *isl_set_eliminate(__isl_take isl_set *set,
314 enum isl_dim_type type, unsigned first, unsigned n);
315 struct isl_set *isl_set_eliminate_dims(struct isl_set *set,
316 unsigned first, unsigned n);
317 __isl_give isl_set *isl_set_remove_dims(__isl_take isl_set *bset,
318 enum isl_dim_type type, unsigned first, unsigned n);
319 __isl_give isl_set *isl_set_remove_divs_involving_dims(__isl_take isl_set *set,
320 enum isl_dim_type type, unsigned first, unsigned n);
321 __isl_give isl_set *isl_set_remove_unknown_divs(__isl_take isl_set *set);
322 __isl_give isl_set *isl_set_remove_divs(__isl_take isl_set *set);
323 __isl_give isl_set *isl_set_split_dims(__isl_take isl_set *set,
324 enum isl_dim_type type, unsigned first, unsigned n);
326 int isl_basic_set_involves_dims(__isl_keep isl_basic_set *bset,
327 enum isl_dim_type type, unsigned first, unsigned n);
328 int isl_set_involves_dims(__isl_keep isl_set *set,
329 enum isl_dim_type type, unsigned first, unsigned n);
331 void isl_set_print_internal(__isl_keep isl_set *set, FILE *out, int indent);
332 int isl_set_plain_is_empty(__isl_keep isl_set *set);
333 int isl_set_fast_is_empty(__isl_keep isl_set *set);
334 int isl_set_plain_is_universe(__isl_keep isl_set *set);
335 int isl_set_fast_is_universe(__isl_keep isl_set *set);
336 int isl_set_is_params(__isl_keep isl_set *set);
338 int isl_set_is_empty(__isl_keep isl_set *set);
339 int isl_set_is_bounded(__isl_keep isl_set *set);
341 int isl_set_is_subset(__isl_keep isl_set *set1, __isl_keep isl_set *set2);
343 int isl_set_is_strict_subset(__isl_keep isl_set *set1, __isl_keep isl_set *set2);
345 int isl_set_is_equal(__isl_keep isl_set *set1, __isl_keep isl_set *set2);
346 int isl_set_is_singleton(__isl_keep isl_set *set);
347 int isl_set_is_box(__isl_keep isl_set *set);
348 int isl_set_has_equal_space(__isl_keep isl_set *set1, __isl_keep isl_set *set2);
350 __isl_give isl_set *isl_set_sum(__isl_take isl_set *set1,
351 __isl_take isl_set *set2);
352 __isl_give isl_basic_set *isl_basic_set_neg(__isl_take isl_basic_set *bset);
353 __isl_give isl_set *isl_set_neg(__isl_take isl_set *set);
355 __isl_give isl_set *isl_set_make_disjoint(__isl_take isl_set *set);
356 struct isl_set *isl_basic_set_compute_divs(struct isl_basic_set *bset);
357 __isl_give isl_set *isl_set_compute_divs(__isl_take isl_set *set);
358 __isl_give isl_set *isl_set_align_divs(__isl_take isl_set *set);
360 struct isl_basic_set *isl_set_copy_basic_set(struct isl_set *set);
361 struct isl_set *isl_set_drop_basic_set(struct isl_set *set,
362 struct isl_basic_set *bset);
364 int isl_basic_set_plain_dim_is_fixed(__isl_keep isl_basic_set *bset,
365 unsigned dim, isl_int *val);
367 int isl_set_plain_is_fixed(__isl_keep isl_set *set,
368 enum isl_dim_type type, unsigned pos, isl_int *val);
369 int isl_set_plain_dim_is_fixed(__isl_keep isl_set *set,
370 unsigned dim, isl_int *val);
371 int isl_set_fast_dim_is_fixed(__isl_keep isl_set *set,
372 unsigned dim, isl_int *val);
373 int isl_set_plain_dim_has_fixed_lower_bound(__isl_keep isl_set *set,
374 unsigned dim, isl_int *val);
375 int isl_set_dim_is_bounded(__isl_keep isl_set *set,
376 enum isl_dim_type type, unsigned pos);
377 int isl_set_dim_has_lower_bound(__isl_keep isl_set *set,
378 enum isl_dim_type type, unsigned pos);
379 int isl_set_dim_has_upper_bound(__isl_keep isl_set *set,
380 enum isl_dim_type type, unsigned pos);
383 __isl_give isl_basic_set *isl_basic_set_gist(__isl_take isl_basic_set *bset,
384 __isl_take isl_basic_set *context);
385 __isl_give isl_set *isl_set_gist_basic_set(__isl_take isl_set *set,
386 __isl_take isl_basic_set *context);
388 __isl_give isl_set *isl_set_gist(__isl_take isl_set *set,
389 __isl_take isl_set *context);
390 __isl_give isl_set *isl_set_gist_params(__isl_take isl_set *set,
391 __isl_take isl_set *context);
392 int isl_basic_set_dim_residue_class(struct isl_basic_set *bset,
393 int pos, isl_int *modulo, isl_int *residue);
394 int isl_set_dim_residue_class(struct isl_set *set,
395 int pos, isl_int *modulo, isl_int *residue);
398 __isl_give isl_set *isl_set_coalesce(__isl_take isl_set *set);
400 int isl_set_plain_is_equal(__isl_keep isl_set *set1, __isl_keep isl_set *set2);
401 int isl_set_fast_is_equal(__isl_keep isl_set *set1, __isl_keep isl_set *set2);
402 int isl_set_plain_is_disjoint(__isl_keep isl_set *set1,
403 __isl_keep isl_set *set2);
404 int isl_set_fast_is_disjoint(__isl_keep isl_set *set1,
405 __isl_keep isl_set *set2);
407 uint32_t isl_set_get_hash(struct isl_set *set);
409 int isl_set_dim_is_unique(struct isl_set *set, unsigned dim);
411 int isl_set_n_basic_set(__isl_keep isl_set *set);
413 int isl_set_foreach_basic_set(__isl_keep isl_set *set,
414 int (*fn)(__isl_take isl_basic_set *bset, void *user), void *user);
416 int isl_set_foreach_point(__isl_keep isl_set *set,
417 int (*fn)(__isl_take isl_point *pnt, void *user), void *user);
418 int isl_set_count(__isl_keep isl_set *set, isl_int *count);
419 int isl_basic_set_count_upto(__isl_keep isl_basic_set *bset,
420 isl_int max, isl_int *count);
421 int isl_set_count_upto(__isl_keep isl_set *set, isl_int max, isl_int *count);
423 __isl_give isl_basic_set *isl_basic_set_from_point(__isl_take isl_point *pnt);
424 __isl_give isl_set *isl_set_from_point(__isl_take isl_point *pnt);
425 __isl_give isl_basic_set *isl_basic_set_box_from_points(
426 __isl_take isl_point *pnt1, __isl_take isl_point *pnt2);
427 __isl_give isl_set *isl_set_box_from_points(__isl_take isl_point *pnt1,
428 __isl_take isl_point *pnt2);
430 __isl_give isl_basic_set *isl_basic_set_lift(__isl_take isl_basic_set *bset);
431 __isl_give isl_set *isl_set_lift(__isl_take isl_set *set);
433 __isl_give isl_map *isl_set_lex_le_set(__isl_take isl_set *set1,
434 __isl_take isl_set *set2);
435 __isl_give isl_map *isl_set_lex_lt_set(__isl_take isl_set *set1,
436 __isl_take isl_set *set2);
437 __isl_give isl_map *isl_set_lex_ge_set(__isl_take isl_set *set1,
438 __isl_take isl_set *set2);
439 __isl_give isl_map *isl_set_lex_gt_set(__isl_take isl_set *set1,
440 __isl_take isl_set *set2);
442 int isl_set_size(__isl_keep isl_set *set);
444 __isl_give isl_set *isl_set_align_params(__isl_take isl_set *set,
445 __isl_take isl_space *model);
447 __isl_give isl_mat *isl_basic_set_equalities_matrix(
448 __isl_keep isl_basic_set *bset, enum isl_dim_type c1,
449 enum isl_dim_type c2, enum isl_dim_type c3, enum isl_dim_type c4);
450 __isl_give isl_mat *isl_basic_set_inequalities_matrix(
451 __isl_keep isl_basic_set *bset, enum isl_dim_type c1,
452 enum isl_dim_type c2, enum isl_dim_type c3, enum isl_dim_type c4);
453 __isl_give isl_basic_set *isl_basic_set_from_constraint_matrices(
454 __isl_take isl_space *dim,
455 __isl_take isl_mat *eq, __isl_take isl_mat *ineq, enum isl_dim_type c1,
456 enum isl_dim_type c2, enum isl_dim_type c3, enum isl_dim_type c4);
458 __isl_give isl_mat *isl_basic_set_reduced_basis(__isl_keep isl_basic_set *bset);
460 __isl_give isl_basic_set *isl_basic_set_coefficients(
461 __isl_take isl_basic_set *bset);
462 __isl_give isl_basic_set *isl_set_coefficients(__isl_take isl_set *set);
463 __isl_give isl_basic_set *isl_basic_set_solutions(
464 __isl_take isl_basic_set *bset);
465 __isl_give isl_basic_set *isl_set_solutions(__isl_take isl_set *set);
467 __isl_give isl_pw_aff *isl_set_dim_max(__isl_take isl_set *set, int pos);
468 __isl_give isl_pw_aff *isl_set_dim_min(__isl_take isl_set *set, int pos);
470 __isl_give char *isl_set_to_str(__isl_keep isl_set *set);
472 #if defined(__cplusplus)