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);
78 int isl_basic_set_is_rational(__isl_keep isl_basic_set *bset);
80 struct isl_basic_set *isl_basic_set_alloc(struct isl_ctx *ctx,
81 unsigned nparam, unsigned dim, unsigned extra,
82 unsigned n_eq, unsigned n_ineq);
83 struct isl_basic_set *isl_basic_set_extend(struct isl_basic_set *base,
84 unsigned nparam, unsigned dim, unsigned extra,
85 unsigned n_eq, unsigned n_ineq);
86 struct isl_basic_set *isl_basic_set_extend_constraints(
87 struct isl_basic_set *base, unsigned n_eq, unsigned n_ineq);
88 struct isl_basic_set *isl_basic_set_finalize(struct isl_basic_set *bset);
89 void isl_basic_set_free(__isl_take isl_basic_set *bset);
90 __isl_give isl_basic_set *isl_basic_set_copy(__isl_keep isl_basic_set *bset);
91 struct isl_basic_set *isl_basic_set_dup(struct isl_basic_set *bset);
92 __isl_give isl_basic_set *isl_basic_set_empty(__isl_take isl_space *dim);
93 struct isl_basic_set *isl_basic_set_empty_like(struct isl_basic_set *bset);
94 __isl_give isl_basic_set *isl_basic_set_universe(__isl_take isl_space *dim);
95 __isl_give isl_basic_set *isl_basic_set_nat_universe(__isl_take isl_space *dim);
96 struct isl_basic_set *isl_basic_set_universe_like(struct isl_basic_set *bset);
97 __isl_give isl_basic_set *isl_basic_set_universe_like_set(
98 __isl_keep isl_set *model);
99 struct isl_basic_set *isl_basic_set_interval(struct isl_ctx *ctx,
100 isl_int min, isl_int max);
101 __isl_give isl_basic_set *isl_basic_set_positive_orthant(
102 __isl_take isl_space *space);
103 void isl_basic_set_print_internal(__isl_keep isl_basic_set *bset,
104 FILE *out, int indent);
105 __isl_give isl_basic_set *isl_basic_set_intersect(
106 __isl_take isl_basic_set *bset1,
107 __isl_take isl_basic_set *bset2);
108 __isl_give isl_basic_set *isl_basic_set_apply(
109 __isl_take isl_basic_set *bset,
110 __isl_take isl_basic_map *bmap);
111 __isl_give isl_basic_set *isl_basic_set_affine_hull(
112 __isl_take isl_basic_set *bset);
113 __isl_give isl_basic_set *isl_basic_set_remove_dims(
114 __isl_take isl_basic_set *bset,
115 enum isl_dim_type type, unsigned first, unsigned n);
116 struct isl_basic_set *isl_basic_set_simplify(struct isl_basic_set *bset);
117 __isl_give isl_basic_set *isl_basic_set_detect_equalities(
118 __isl_take isl_basic_set *bset);
119 __isl_give isl_basic_set *isl_basic_set_remove_redundancies(
120 __isl_take isl_basic_set *bset);
121 __isl_give isl_set *isl_set_remove_redundancies(__isl_take isl_set *set);
122 __isl_give isl_basic_set *isl_basic_set_list_product(
123 __isl_take struct isl_basic_set_list *list);
125 __isl_give isl_basic_set *isl_basic_set_read_from_file(isl_ctx *ctx,
127 __isl_give isl_basic_set *isl_basic_set_read_from_str(isl_ctx *ctx,
129 __isl_give isl_set *isl_set_read_from_file(isl_ctx *ctx, FILE *input);
130 __isl_give isl_set *isl_set_read_from_str(isl_ctx *ctx, const char *str);
131 void isl_basic_set_dump(__isl_keep isl_basic_set *bset);
132 void isl_set_dump(__isl_keep isl_set *set);
133 __isl_give isl_printer *isl_printer_print_basic_set(
134 __isl_take isl_printer *printer, __isl_keep isl_basic_set *bset);
135 __isl_give isl_printer *isl_printer_print_set(__isl_take isl_printer *printer,
136 __isl_keep isl_set *map);
137 void isl_basic_set_print(__isl_keep isl_basic_set *bset, FILE *out, int indent,
138 const char *prefix, const char *suffix, unsigned output_format);
139 void isl_set_print(__isl_keep struct isl_set *set, FILE *out, int indent,
140 unsigned output_format);
141 __isl_give isl_basic_set *isl_basic_set_fix(__isl_take isl_basic_set *bset,
142 enum isl_dim_type type, unsigned pos, isl_int value);
143 __isl_give isl_basic_set *isl_basic_set_fix_si(__isl_take isl_basic_set *bset,
144 enum isl_dim_type type, unsigned pos, int value);
145 __isl_give isl_set *isl_set_fix_si(__isl_take isl_set *set,
146 enum isl_dim_type type, unsigned pos, int value);
147 __isl_give isl_set *isl_set_lower_bound_si(__isl_take isl_set *set,
148 enum isl_dim_type type, unsigned pos, int value);
150 __isl_give isl_set *isl_set_equate(__isl_take isl_set *set,
151 enum isl_dim_type type1, int pos1, enum isl_dim_type type2, int pos2);
153 struct isl_basic_set *isl_basic_set_from_underlying_set(
154 struct isl_basic_set *bset, struct isl_basic_set *like);
155 struct isl_set *isl_set_from_underlying_set(
156 struct isl_set *set, struct isl_basic_set *like);
157 struct isl_set *isl_set_to_underlying_set(struct isl_set *set);
159 int isl_basic_set_is_equal(
160 struct isl_basic_set *bset1, struct isl_basic_set *bset2);
162 __isl_give isl_set *isl_basic_set_partial_lexmin(
163 __isl_take isl_basic_set *bset, __isl_take isl_basic_set *dom,
164 __isl_give isl_set **empty);
165 __isl_give isl_set *isl_basic_set_partial_lexmax(
166 __isl_take isl_basic_set *bset, __isl_take isl_basic_set *dom,
167 __isl_give isl_set **empty);
168 __isl_give isl_set *isl_set_partial_lexmin(
169 __isl_take isl_set *set, __isl_take isl_set *dom,
170 __isl_give isl_set **empty);
171 __isl_give isl_set *isl_set_partial_lexmax(
172 __isl_take isl_set *set, __isl_take isl_set *dom,
173 __isl_give isl_set **empty);
174 __isl_give isl_set *isl_basic_set_lexmin(__isl_take isl_basic_set *bset);
175 __isl_give isl_set *isl_basic_set_lexmax(__isl_take isl_basic_set *bset);
176 __isl_give isl_set *isl_set_lexmin(__isl_take isl_set *set);
177 __isl_give isl_set *isl_set_lexmax(__isl_take isl_set *set);
178 int isl_basic_set_foreach_lexmax(__isl_keep isl_basic_set *bset,
179 int (*fn)(__isl_take isl_basic_set *dom, __isl_take isl_aff_list *list,
183 __isl_give isl_set *isl_basic_set_union(
184 __isl_take isl_basic_set *bset1,
185 __isl_take isl_basic_set *bset2);
187 int isl_basic_set_compare_at(struct isl_basic_set *bset1,
188 struct isl_basic_set *bset2, int pos);
189 int isl_set_follows_at(__isl_keep isl_set *set1,
190 __isl_keep isl_set *set2, int pos);
192 __isl_give isl_basic_set *isl_basic_set_params(__isl_take isl_basic_set *bset);
193 __isl_give isl_set *isl_set_params(__isl_take isl_set *set);
194 __isl_give isl_set *isl_set_from_params(__isl_take isl_set *set);
196 int isl_basic_set_dims_get_sign(__isl_keep isl_basic_set *bset,
197 enum isl_dim_type type, unsigned pos, unsigned n, int *signs);
199 int isl_basic_set_is_universe(__isl_keep isl_basic_set *bset);
200 int isl_basic_set_plain_is_empty(__isl_keep isl_basic_set *bset);
201 int isl_basic_set_fast_is_empty(__isl_keep isl_basic_set *bset);
202 int isl_basic_set_is_empty(__isl_keep isl_basic_set *bset);
203 int isl_basic_set_is_bounded(__isl_keep isl_basic_set *bset);
205 struct isl_set *isl_set_alloc(struct isl_ctx *ctx,
206 unsigned nparam, unsigned dim, int n, unsigned flags);
207 struct isl_set *isl_set_extend(struct isl_set *base,
208 unsigned nparam, unsigned dim);
209 __isl_give isl_set *isl_set_empty(__isl_take isl_space *dim);
210 struct isl_set *isl_set_empty_like(struct isl_set *set);
211 __isl_give isl_set *isl_set_universe(__isl_take isl_space *dim);
212 __isl_give isl_set *isl_set_nat_universe(__isl_take isl_space *dim);
213 __isl_give isl_set *isl_set_universe_like(__isl_keep isl_set *model);
214 __isl_give isl_set *isl_set_add_basic_set(__isl_take isl_set *set,
215 __isl_take isl_basic_set *bset);
216 struct isl_set *isl_set_finalize(struct isl_set *set);
217 __isl_give isl_set *isl_set_copy(__isl_keep isl_set *set);
218 void isl_set_free(__isl_take isl_set *set);
219 struct isl_set *isl_set_dup(struct isl_set *set);
220 __isl_give isl_set *isl_set_from_basic_set(__isl_take isl_basic_set *bset);
221 __isl_give isl_basic_set *isl_set_sample(__isl_take isl_set *set);
222 __isl_give isl_point *isl_basic_set_sample_point(__isl_take isl_basic_set *bset);
223 __isl_give isl_point *isl_set_sample_point(__isl_take isl_set *set);
224 __isl_give isl_set *isl_set_detect_equalities(__isl_take isl_set *set);
225 __isl_give isl_basic_set *isl_set_affine_hull(__isl_take isl_set *set);
226 __isl_give isl_basic_set *isl_set_convex_hull(__isl_take isl_set *set);
227 __isl_give isl_basic_set *isl_set_polyhedral_hull(__isl_take isl_set *set);
228 __isl_give isl_basic_set *isl_set_simple_hull(__isl_take isl_set *set);
229 struct isl_basic_set *isl_set_bounded_simple_hull(struct isl_set *set);
230 __isl_give isl_set *isl_set_recession_cone(__isl_take isl_set *set);
232 struct isl_set *isl_set_union_disjoint(
233 struct isl_set *set1, struct isl_set *set2);
234 __isl_give isl_set *isl_set_union(
235 __isl_take isl_set *set1,
236 __isl_take isl_set *set2);
237 __isl_give isl_set *isl_set_product(__isl_take isl_set *set1,
238 __isl_take isl_set *set2);
239 __isl_give isl_basic_set *isl_basic_set_flat_product(
240 __isl_take isl_basic_set *bset1, __isl_take isl_basic_set *bset2);
241 __isl_give isl_set *isl_set_flat_product(__isl_take isl_set *set1,
242 __isl_take isl_set *set2);
243 __isl_give isl_set *isl_set_intersect(
244 __isl_take isl_set *set1,
245 __isl_take isl_set *set2);
246 __isl_give isl_set *isl_set_intersect_params(__isl_take isl_set *set,
247 __isl_take isl_set *params);
248 __isl_give isl_set *isl_set_subtract(
249 __isl_take isl_set *set1,
250 __isl_take isl_set *set2);
251 __isl_give isl_set *isl_set_complement(__isl_take isl_set *set);
252 __isl_give isl_set *isl_set_apply(
253 __isl_take isl_set *set,
254 __isl_take isl_map *map);
255 __isl_give isl_set *isl_set_fix(__isl_take isl_set *set,
256 enum isl_dim_type type, unsigned pos, isl_int value);
257 struct isl_set *isl_set_fix_dim_si(struct isl_set *set,
258 unsigned dim, int value);
259 struct isl_set *isl_set_lower_bound_dim(struct isl_set *set,
260 unsigned dim, isl_int value);
261 __isl_give isl_set *isl_set_insert_dims(__isl_take isl_set *set,
262 enum isl_dim_type type, unsigned pos, unsigned n);
263 __isl_give isl_basic_set *isl_basic_set_add(__isl_take isl_basic_set *bset,
264 enum isl_dim_type type, unsigned n);
265 __isl_give isl_set *isl_set_add_dims(__isl_take isl_set *set,
266 enum isl_dim_type type, unsigned n);
267 __isl_give isl_basic_set *isl_basic_set_move_dims(__isl_take isl_basic_set *bset,
268 enum isl_dim_type dst_type, unsigned dst_pos,
269 enum isl_dim_type src_type, unsigned src_pos, unsigned n);
270 __isl_give isl_set *isl_set_move_dims(__isl_take isl_set *set,
271 enum isl_dim_type dst_type, unsigned dst_pos,
272 enum isl_dim_type src_type, unsigned src_pos, unsigned n);
273 __isl_give isl_basic_set *isl_basic_set_project_out(
274 __isl_take isl_basic_set *bset,
275 enum isl_dim_type type, unsigned first, unsigned n);
276 __isl_give isl_set *isl_set_project_out(__isl_take isl_set *set,
277 enum isl_dim_type type, unsigned first, unsigned n);
278 __isl_give isl_basic_set *isl_basic_set_remove_divs(
279 __isl_take isl_basic_set *bset);
280 __isl_give isl_set *isl_set_eliminate(__isl_take isl_set *set,
281 enum isl_dim_type type, unsigned first, unsigned n);
282 struct isl_set *isl_set_eliminate_dims(struct isl_set *set,
283 unsigned first, unsigned n);
284 __isl_give isl_set *isl_set_remove_dims(__isl_take isl_set *bset,
285 enum isl_dim_type type, unsigned first, unsigned n);
286 __isl_give isl_set *isl_set_remove_divs_involving_dims(__isl_take isl_set *set,
287 enum isl_dim_type type, unsigned first, unsigned n);
288 __isl_give isl_set *isl_set_remove_unknown_divs(__isl_take isl_set *set);
289 __isl_give isl_set *isl_set_remove_divs(__isl_take isl_set *set);
290 __isl_give isl_set *isl_set_split_dims(__isl_take isl_set *set,
291 enum isl_dim_type type, unsigned first, unsigned n);
293 int isl_basic_set_involves_dims(__isl_keep isl_basic_set *bset,
294 enum isl_dim_type type, unsigned first, unsigned n);
295 int isl_set_involves_dims(__isl_keep isl_set *set,
296 enum isl_dim_type type, unsigned first, unsigned n);
298 void isl_set_print_internal(__isl_keep isl_set *set, FILE *out, int indent);
299 int isl_set_plain_is_empty(__isl_keep isl_set *set);
300 int isl_set_fast_is_empty(__isl_keep isl_set *set);
301 int isl_set_plain_is_universe(__isl_keep isl_set *set);
302 int isl_set_fast_is_universe(__isl_keep isl_set *set);
303 int isl_set_is_params(__isl_keep isl_set *set);
304 int isl_set_is_empty(__isl_keep isl_set *set);
305 int isl_set_is_bounded(__isl_keep isl_set *set);
306 int isl_set_is_subset(__isl_keep isl_set *set1, __isl_keep isl_set *set2);
307 int isl_set_is_strict_subset(__isl_keep isl_set *set1, __isl_keep isl_set *set2);
308 int isl_set_is_equal(__isl_keep isl_set *set1, __isl_keep isl_set *set2);
309 int isl_set_is_singleton(__isl_keep isl_set *set);
310 int isl_set_is_box(__isl_keep isl_set *set);
311 int isl_set_has_equal_space(__isl_keep isl_set *set1, __isl_keep isl_set *set2);
313 __isl_give isl_set *isl_set_sum(__isl_take isl_set *set1,
314 __isl_take isl_set *set2);
315 __isl_give isl_basic_set *isl_basic_set_neg(__isl_take isl_basic_set *bset);
316 __isl_give isl_set *isl_set_neg(__isl_take isl_set *set);
318 __isl_give isl_set *isl_set_make_disjoint(__isl_take isl_set *set);
319 struct isl_set *isl_basic_set_compute_divs(struct isl_basic_set *bset);
320 __isl_give isl_set *isl_set_compute_divs(__isl_take isl_set *set);
321 __isl_give isl_set *isl_set_align_divs(__isl_take isl_set *set);
323 struct isl_basic_set *isl_set_copy_basic_set(struct isl_set *set);
324 struct isl_set *isl_set_drop_basic_set(struct isl_set *set,
325 struct isl_basic_set *bset);
327 int isl_basic_set_plain_dim_is_fixed(__isl_keep isl_basic_set *bset,
328 unsigned dim, isl_int *val);
330 int isl_set_plain_is_fixed(__isl_keep isl_set *set,
331 enum isl_dim_type type, unsigned pos, isl_int *val);
332 int isl_set_plain_dim_is_fixed(__isl_keep isl_set *set,
333 unsigned dim, isl_int *val);
334 int isl_set_fast_dim_is_fixed(__isl_keep isl_set *set,
335 unsigned dim, isl_int *val);
336 int isl_set_plain_dim_has_fixed_lower_bound(__isl_keep isl_set *set,
337 unsigned dim, isl_int *val);
338 int isl_set_dim_is_bounded(__isl_keep isl_set *set,
339 enum isl_dim_type type, unsigned pos);
340 int isl_set_dim_has_lower_bound(__isl_keep isl_set *set,
341 enum isl_dim_type type, unsigned pos);
342 int isl_set_dim_has_upper_bound(__isl_keep isl_set *set,
343 enum isl_dim_type type, unsigned pos);
345 __isl_give isl_basic_set *isl_basic_set_gist(__isl_take isl_basic_set *bset,
346 __isl_take isl_basic_set *context);
347 __isl_give isl_set *isl_set_gist_basic_set(__isl_take isl_set *set,
348 __isl_take isl_basic_set *context);
349 __isl_give isl_set *isl_set_gist(__isl_take isl_set *set,
350 __isl_take isl_set *context);
351 __isl_give isl_set *isl_set_gist_params(__isl_take isl_set *set,
352 __isl_take isl_set *context);
353 int isl_basic_set_dim_residue_class(struct isl_basic_set *bset,
354 int pos, isl_int *modulo, isl_int *residue);
355 int isl_set_dim_residue_class(struct isl_set *set,
356 int pos, isl_int *modulo, isl_int *residue);
358 __isl_give isl_set *isl_set_coalesce(__isl_take isl_set *set);
360 int isl_set_plain_is_equal(__isl_keep isl_set *set1, __isl_keep isl_set *set2);
361 int isl_set_fast_is_equal(__isl_keep isl_set *set1, __isl_keep isl_set *set2);
362 int isl_set_plain_is_disjoint(__isl_keep isl_set *set1,
363 __isl_keep isl_set *set2);
364 int isl_set_fast_is_disjoint(__isl_keep isl_set *set1,
365 __isl_keep isl_set *set2);
367 uint32_t isl_set_get_hash(struct isl_set *set);
369 int isl_set_dim_is_unique(struct isl_set *set, unsigned dim);
371 int isl_set_n_basic_set(__isl_keep isl_set *set);
372 int isl_set_foreach_basic_set(__isl_keep isl_set *set,
373 int (*fn)(__isl_take isl_basic_set *bset, void *user), void *user);
375 int isl_set_foreach_point(__isl_keep isl_set *set,
376 int (*fn)(__isl_take isl_point *pnt, void *user), void *user);
377 int isl_set_count(__isl_keep isl_set *set, isl_int *count);
378 int isl_basic_set_count_upto(__isl_keep isl_basic_set *bset,
379 isl_int max, isl_int *count);
380 int isl_set_count_upto(__isl_keep isl_set *set, isl_int max, isl_int *count);
382 __isl_give isl_basic_set *isl_basic_set_from_point(__isl_take isl_point *pnt);
383 __isl_give isl_set *isl_set_from_point(__isl_take isl_point *pnt);
384 __isl_give isl_basic_set *isl_basic_set_box_from_points(
385 __isl_take isl_point *pnt1, __isl_take isl_point *pnt2);
386 __isl_give isl_set *isl_set_box_from_points(__isl_take isl_point *pnt1,
387 __isl_take isl_point *pnt2);
389 __isl_give isl_basic_set *isl_basic_set_lift(__isl_take isl_basic_set *bset);
390 __isl_give isl_set *isl_set_lift(__isl_take isl_set *set);
392 __isl_give isl_map *isl_set_lex_le_set(__isl_take isl_set *set1,
393 __isl_take isl_set *set2);
394 __isl_give isl_map *isl_set_lex_lt_set(__isl_take isl_set *set1,
395 __isl_take isl_set *set2);
396 __isl_give isl_map *isl_set_lex_ge_set(__isl_take isl_set *set1,
397 __isl_take isl_set *set2);
398 __isl_give isl_map *isl_set_lex_gt_set(__isl_take isl_set *set1,
399 __isl_take isl_set *set2);
401 int isl_set_size(__isl_keep isl_set *set);
403 __isl_give isl_set *isl_set_align_params(__isl_take isl_set *set,
404 __isl_take isl_space *model);
406 __isl_give isl_mat *isl_basic_set_equalities_matrix(
407 __isl_keep isl_basic_set *bset, enum isl_dim_type c1,
408 enum isl_dim_type c2, enum isl_dim_type c3, enum isl_dim_type c4);
409 __isl_give isl_mat *isl_basic_set_inequalities_matrix(
410 __isl_keep isl_basic_set *bset, enum isl_dim_type c1,
411 enum isl_dim_type c2, enum isl_dim_type c3, enum isl_dim_type c4);
412 __isl_give isl_basic_set *isl_basic_set_from_constraint_matrices(
413 __isl_take isl_space *dim,
414 __isl_take isl_mat *eq, __isl_take isl_mat *ineq, enum isl_dim_type c1,
415 enum isl_dim_type c2, enum isl_dim_type c3, enum isl_dim_type c4);
417 __isl_give isl_mat *isl_basic_set_reduced_basis(__isl_keep isl_basic_set *bset);
419 __isl_give isl_basic_set *isl_basic_set_coefficients(
420 __isl_take isl_basic_set *bset);
421 __isl_give isl_basic_set *isl_set_coefficients(__isl_take isl_set *set);
422 __isl_give isl_basic_set *isl_basic_set_solutions(
423 __isl_take isl_basic_set *bset);
424 __isl_give isl_basic_set *isl_set_solutions(__isl_take isl_set *set);
426 __isl_give isl_pw_aff *isl_set_dim_max(__isl_take isl_set *set, int pos);
427 __isl_give isl_pw_aff *isl_set_dim_min(__isl_take isl_set *set, int pos);
429 #if defined(__cplusplus)