hide internal isl_map functions
[isl.git] / isl_map_private.h
blob69b945c4fbf7cf33ba41c3b6baa4aef3276f359d
1 /*
2 * Copyright 2008-2009 Katholieke Universiteit Leuven
4 * Use of this software is governed by the MIT license
6 * Written by Sven Verdoolaege, K.U.Leuven, Departement
7 * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium
8 */
10 #ifndef ISL_MAP_PRIVATE_H
11 #define ISL_MAP_PRIVATE_H
13 #define isl_basic_set isl_basic_map
14 #define isl_set isl_map
15 #define isl_basic_set_list isl_basic_map_list
16 #define isl_set_list isl_map_list
17 #include <isl/list.h>
18 #include <isl/set.h>
19 #include <isl/map.h>
20 #include <isl_reordering.h>
21 #include <isl/vec.h>
22 #include <isl/hash.h>
23 #include <isl_blk.h>
25 /* A "basic map" is a relation between two sets of variables,
26 * called the "in" and "out" variables.
27 * A "basic set" is a basic map with a zero-dimensional
28 * domain.
30 * It is implemented as a set with two extra fields:
31 * n_in is the number of in variables
32 * n_out is the number of out variables
33 * n_in + n_out should be equal to set.dim
35 struct isl_basic_map {
36 int ref;
37 #define ISL_BASIC_MAP_FINAL (1 << 0)
38 #define ISL_BASIC_MAP_EMPTY (1 << 1)
39 #define ISL_BASIC_MAP_NO_IMPLICIT (1 << 2)
40 #define ISL_BASIC_MAP_NO_REDUNDANT (1 << 3)
41 #define ISL_BASIC_MAP_RATIONAL (1 << 4)
42 #define ISL_BASIC_MAP_NORMALIZED (1 << 5)
43 #define ISL_BASIC_MAP_NORMALIZED_DIVS (1 << 6)
44 #define ISL_BASIC_MAP_ALL_EQUALITIES (1 << 7)
45 #define ISL_BASIC_MAP_REDUCED_COEFFICIENTS (1 << 8)
46 #define ISL_BASIC_SET_FINAL (1 << 0)
47 #define ISL_BASIC_SET_EMPTY (1 << 1)
48 #define ISL_BASIC_SET_NO_IMPLICIT (1 << 2)
49 #define ISL_BASIC_SET_NO_REDUNDANT (1 << 3)
50 #define ISL_BASIC_SET_RATIONAL (1 << 4)
51 #define ISL_BASIC_SET_NORMALIZED (1 << 5)
52 #define ISL_BASIC_SET_NORMALIZED_DIVS (1 << 6)
53 #define ISL_BASIC_SET_ALL_EQUALITIES (1 << 7)
54 #define ISL_BASIC_SET_REDUCED_COEFFICIENTS (1 << 8)
55 unsigned flags;
57 struct isl_ctx *ctx;
59 isl_space *dim;
60 unsigned extra;
62 unsigned n_eq;
63 unsigned n_ineq;
65 size_t c_size;
66 isl_int **eq;
67 isl_int **ineq;
69 unsigned n_div;
71 isl_int **div;
73 struct isl_vec *sample;
75 struct isl_blk block;
76 struct isl_blk block2;
79 #undef EL
80 #define EL isl_basic_set
82 #include <isl_list_templ.h>
84 /* A "map" is a (possibly disjoint) union of basic maps.
85 * A "set" is a (possibly disjoint) union of basic sets.
87 * Currently, the isl_set structure is identical to the isl_map structure
88 * and the library depends on this correspondence internally.
89 * However, users should not depend on this correspondence.
91 struct isl_map {
92 int ref;
93 #define ISL_MAP_DISJOINT (1 << 0)
94 #define ISL_MAP_NORMALIZED (1 << 1)
95 #define ISL_SET_DISJOINT (1 << 0)
96 #define ISL_SET_NORMALIZED (1 << 1)
97 unsigned flags;
99 struct isl_ctx *ctx;
101 isl_space *dim;
103 int n;
105 size_t size;
106 struct isl_basic_map *p[1];
109 #undef EL
110 #define EL isl_set
112 #include <isl_list_templ.h>
114 __isl_give isl_basic_set *isl_basic_set_alloc(isl_ctx *ctx,
115 unsigned nparam, unsigned dim, unsigned extra,
116 unsigned n_eq, unsigned n_ineq);
117 __isl_give isl_basic_set *isl_basic_set_extend(__isl_take isl_basic_set *base,
118 unsigned nparam, unsigned dim, unsigned extra,
119 unsigned n_eq, unsigned n_ineq);
120 __isl_give isl_basic_set *isl_basic_set_extend_constraints(
121 __isl_take isl_basic_set *base, unsigned n_eq, unsigned n_ineq);
122 __isl_give isl_basic_set *isl_basic_set_finalize(
123 __isl_take isl_basic_set *bset);
124 __isl_give isl_basic_set *isl_basic_set_dup(__isl_keep isl_basic_set *bset);
125 __isl_give isl_basic_set *isl_basic_set_simplify(
126 __isl_take isl_basic_set *bset);
128 __isl_give isl_basic_map *isl_basic_map_alloc(isl_ctx *ctx,
129 unsigned nparam, unsigned in, unsigned out, unsigned extra,
130 unsigned n_eq, unsigned n_ineq);
131 __isl_give isl_basic_map *isl_basic_map_finalize(
132 __isl_take isl_basic_map *bmap);
133 __isl_give isl_basic_map *isl_basic_map_extend(__isl_take isl_basic_map *base,
134 unsigned nparam, unsigned n_in, unsigned n_out, unsigned extra,
135 unsigned n_eq, unsigned n_ineq);
136 __isl_give isl_basic_map *isl_basic_map_extend_constraints(
137 __isl_take isl_basic_map *base, unsigned n_eq, unsigned n_ineq);
138 __isl_give isl_basic_map *isl_basic_map_simplify(
139 __isl_take isl_basic_map *bmap);
141 __isl_give isl_set *isl_set_alloc(isl_ctx *ctx,
142 unsigned nparam, unsigned dim, int n, unsigned flags);
143 __isl_give isl_set *isl_set_finalize(__isl_take isl_set *set);
144 __isl_give isl_set *isl_set_dup(__isl_keep isl_set *set);
146 __isl_give isl_map *isl_map_alloc(isl_ctx *ctx,
147 unsigned nparam, unsigned in, unsigned out, int n, unsigned flags);
148 __isl_give isl_map *isl_map_dup(__isl_keep isl_map *map);
149 __isl_give isl_map *isl_map_finalize(__isl_take isl_map *map);
151 __isl_give isl_basic_set *isl_basic_set_from_underlying_set(
152 __isl_take isl_basic_set *bset, __isl_take isl_basic_set *like);
153 __isl_give isl_set *isl_set_from_underlying_set(
154 __isl_take isl_set *set, __isl_take isl_basic_set *like);
155 __isl_give isl_set *isl_set_to_underlying_set(__isl_take isl_set *set);
157 __isl_give isl_map *isl_map_realign(__isl_take isl_map *map,
158 __isl_take isl_reordering *r);
159 __isl_give isl_set *isl_set_realign(__isl_take isl_set *set,
160 __isl_take isl_reordering *r);
162 __isl_give isl_map *isl_map_reset(__isl_take isl_map *map,
163 enum isl_dim_type type);
165 __isl_give isl_basic_set *isl_basic_set_reset_space(
166 __isl_take isl_basic_set *bset, __isl_take isl_space *dim);
167 __isl_give isl_basic_map *isl_basic_map_reset_space(
168 __isl_take isl_basic_map *bmap, __isl_take isl_space *dim);
169 __isl_give isl_map *isl_map_reset_space(__isl_take isl_map *map,
170 __isl_take isl_space *dim);
172 unsigned isl_basic_map_offset(struct isl_basic_map *bmap,
173 enum isl_dim_type type);
174 unsigned isl_basic_set_offset(struct isl_basic_set *bset,
175 enum isl_dim_type type);
177 int isl_basic_map_may_be_set(__isl_keep isl_basic_map *bmap);
178 int isl_map_may_be_set(__isl_keep isl_map *map);
179 int isl_map_compatible_domain(struct isl_map *map, struct isl_set *set);
180 int isl_basic_map_compatible_domain(struct isl_basic_map *bmap,
181 struct isl_basic_set *bset);
182 int isl_basic_map_compatible_range(struct isl_basic_map *bmap,
183 struct isl_basic_set *bset);
185 struct isl_basic_map *isl_basic_map_extend_space(struct isl_basic_map *base,
186 __isl_take isl_space *dim, unsigned extra,
187 unsigned n_eq, unsigned n_ineq);
188 struct isl_basic_set *isl_basic_set_extend_space(struct isl_basic_set *base,
189 __isl_take isl_space *dim, unsigned extra,
190 unsigned n_eq, unsigned n_ineq);
191 struct isl_basic_set *isl_basic_set_add_constraints(struct isl_basic_set *bset1,
192 struct isl_basic_set *bset2, unsigned pos);
194 struct isl_map *isl_map_grow(struct isl_map *map, int n);
195 struct isl_set *isl_set_grow(struct isl_set *set, int n);
197 int isl_basic_set_contains(struct isl_basic_set *bset, struct isl_vec *vec);
198 int isl_basic_map_contains(struct isl_basic_map *bmap, struct isl_vec *vec);
200 __isl_give isl_basic_set *isl_basic_set_alloc_space(__isl_take isl_space *dim,
201 unsigned extra, unsigned n_eq, unsigned n_ineq);
202 __isl_give isl_set *isl_set_alloc_space(__isl_take isl_space *dim, int n,
203 unsigned flags);
204 __isl_give isl_basic_map *isl_basic_map_alloc_space(__isl_take isl_space *dim,
205 unsigned extra, unsigned n_eq, unsigned n_ineq);
206 __isl_give isl_map *isl_map_alloc_space(__isl_take isl_space *dim, int n,
207 unsigned flags);
209 unsigned isl_basic_map_total_dim(const struct isl_basic_map *bmap);
211 int isl_basic_map_alloc_equality(struct isl_basic_map *bmap);
212 int isl_basic_set_alloc_equality(struct isl_basic_set *bset);
213 int isl_basic_set_free_inequality(struct isl_basic_set *bset, unsigned n);
214 int isl_basic_map_free_equality(struct isl_basic_map *bmap, unsigned n);
215 int isl_basic_set_free_equality(struct isl_basic_set *bset, unsigned n);
216 int isl_basic_set_alloc_inequality(struct isl_basic_set *bset);
217 int isl_basic_map_alloc_inequality(struct isl_basic_map *bmap);
218 int isl_basic_map_free_inequality(struct isl_basic_map *bmap, unsigned n);
219 int isl_basic_map_alloc_div(struct isl_basic_map *bmap);
220 int isl_basic_set_alloc_div(struct isl_basic_set *bset);
221 int isl_basic_map_free_div(struct isl_basic_map *bmap, unsigned n);
222 int isl_basic_set_free_div(struct isl_basic_set *bset, unsigned n);
223 void isl_basic_map_inequality_to_equality(
224 struct isl_basic_map *bmap, unsigned pos);
225 int isl_basic_map_drop_equality(struct isl_basic_map *bmap, unsigned pos);
226 int isl_basic_set_drop_equality(struct isl_basic_set *bset, unsigned pos);
227 int isl_basic_set_drop_inequality(struct isl_basic_set *bset, unsigned pos);
228 int isl_basic_map_drop_inequality(struct isl_basic_map *bmap, unsigned pos);
229 __isl_give isl_basic_set *isl_basic_set_add_eq(__isl_take isl_basic_set *bset,
230 isl_int *eq);
231 __isl_give isl_basic_map *isl_basic_map_add_eq(__isl_take isl_basic_map *bmap,
232 isl_int *eq);
233 __isl_give isl_basic_set *isl_basic_set_add_ineq(__isl_take isl_basic_set *bset,
234 isl_int *ineq);
235 __isl_give isl_basic_map *isl_basic_map_add_ineq(__isl_take isl_basic_map *bmap,
236 isl_int *ineq);
238 int isl_inequality_negate(struct isl_basic_map *bmap, unsigned pos);
240 struct isl_basic_set *isl_basic_set_cow(struct isl_basic_set *bset);
241 struct isl_basic_map *isl_basic_map_cow(struct isl_basic_map *bmap);
242 struct isl_set *isl_set_cow(struct isl_set *set);
243 struct isl_map *isl_map_cow(struct isl_map *map);
245 uint32_t isl_basic_map_get_hash(__isl_keep isl_basic_map *bmap);
247 struct isl_basic_map *isl_basic_map_set_to_empty(struct isl_basic_map *bmap);
248 struct isl_basic_set *isl_basic_set_set_to_empty(struct isl_basic_set *bset);
249 struct isl_basic_set *isl_basic_set_order_divs(struct isl_basic_set *bset);
250 void isl_basic_map_swap_div(struct isl_basic_map *bmap, int a, int b);
251 struct isl_basic_map *isl_basic_map_order_divs(struct isl_basic_map *bmap);
252 __isl_give isl_map *isl_map_order_divs(__isl_take isl_map *map);
253 struct isl_basic_map *isl_basic_map_align_divs(
254 struct isl_basic_map *dst, struct isl_basic_map *src);
255 struct isl_basic_set *isl_basic_set_align_divs(
256 struct isl_basic_set *dst, struct isl_basic_set *src);
257 __isl_give isl_map *isl_map_align_divs_to_basic_map_list(
258 __isl_take isl_map *map, __isl_keep isl_basic_map_list *list);
259 __isl_give isl_basic_map_list *isl_basic_map_list_align_divs_to_basic_map(
260 __isl_take isl_basic_map_list *list, __isl_keep isl_basic_map *bmap);
261 __isl_give isl_basic_map *isl_basic_map_sort_divs(
262 __isl_take isl_basic_map *bmap);
263 __isl_give isl_map *isl_map_sort_divs(__isl_take isl_map *map);
264 struct isl_basic_map *isl_basic_map_gauss(
265 struct isl_basic_map *bmap, int *progress);
266 struct isl_basic_set *isl_basic_set_gauss(
267 struct isl_basic_set *bset, int *progress);
268 __isl_give isl_basic_set *isl_basic_set_sort_constraints(
269 __isl_take isl_basic_set *bset);
270 int isl_basic_map_plain_cmp(const __isl_keep isl_basic_map *bmap1,
271 const __isl_keep isl_basic_map *bmap2);
272 int isl_basic_map_plain_is_equal(__isl_keep isl_basic_map *bmap1,
273 __isl_keep isl_basic_map *bmap2);
274 struct isl_basic_map *isl_basic_map_normalize_constraints(
275 struct isl_basic_map *bmap);
276 struct isl_basic_set *isl_basic_set_normalize_constraints(
277 struct isl_basic_set *bset);
278 struct isl_basic_map *isl_basic_map_implicit_equalities(
279 struct isl_basic_map *bmap);
280 struct isl_basic_set *isl_basic_map_underlying_set(struct isl_basic_map *bmap);
281 __isl_give isl_basic_set *isl_basic_set_underlying_set(
282 __isl_take isl_basic_set *bset);
283 __isl_give isl_basic_set_list *isl_basic_map_list_underlying_set(
284 __isl_take isl_basic_map_list *list);
285 struct isl_set *isl_map_underlying_set(struct isl_map *map);
286 struct isl_basic_map *isl_basic_map_overlying_set(struct isl_basic_set *bset,
287 struct isl_basic_map *like);
288 __isl_give isl_basic_set *isl_basic_set_drop_constraints_involving(
289 __isl_take isl_basic_set *bset, unsigned first, unsigned n);
290 __isl_give isl_basic_set *isl_basic_set_drop(__isl_take isl_basic_set *bset,
291 enum isl_dim_type type, unsigned first, unsigned n);
292 struct isl_basic_map *isl_basic_map_drop(struct isl_basic_map *bmap,
293 enum isl_dim_type type, unsigned first, unsigned n);
294 struct isl_set *isl_set_drop(struct isl_set *set,
295 enum isl_dim_type type, unsigned first, unsigned n);
296 struct isl_basic_set *isl_basic_set_drop_dims(
297 struct isl_basic_set *bset, unsigned first, unsigned n);
298 struct isl_set *isl_set_drop_dims(
299 struct isl_set *set, unsigned first, unsigned n);
300 struct isl_map *isl_map_drop_inputs(
301 struct isl_map *map, unsigned first, unsigned n);
302 struct isl_map *isl_map_drop(struct isl_map *map,
303 enum isl_dim_type type, unsigned first, unsigned n);
305 __isl_give isl_basic_map *isl_basic_map_remove_duplicate_constraints(
306 __isl_take isl_basic_map *bmap, int *progress, int detect_divs);
307 __isl_give isl_basic_map *isl_basic_map_detect_inequality_pairs(
308 __isl_take isl_basic_map *bmap, int *progress);
310 struct isl_map *isl_map_remove_empty_parts(struct isl_map *map);
311 struct isl_set *isl_set_remove_empty_parts(struct isl_set *set);
312 __isl_give isl_map *isl_map_remove_obvious_duplicates(__isl_take isl_map *map);
314 struct isl_set *isl_set_normalize(struct isl_set *set);
316 struct isl_set *isl_set_drop_vars(
317 struct isl_set *set, unsigned first, unsigned n);
319 struct isl_basic_map *isl_basic_map_eliminate_vars(
320 struct isl_basic_map *bmap, unsigned pos, unsigned n);
321 struct isl_basic_set *isl_basic_set_eliminate_vars(
322 struct isl_basic_set *bset, unsigned pos, unsigned n);
324 __isl_give isl_map *isl_map_eliminate(__isl_take isl_map *map,
325 enum isl_dim_type type, unsigned first, unsigned n);
326 __isl_give isl_set *isl_set_eliminate(__isl_take isl_set *set,
327 enum isl_dim_type type, unsigned first, unsigned n);
329 int isl_basic_set_constraint_is_redundant(struct isl_basic_set **bset,
330 isl_int *c, isl_int *opt_n, isl_int *opt_d);
332 int isl_basic_map_add_div_constraint(__isl_keep isl_basic_map *bmap,
333 unsigned div, int sign);
334 int isl_basic_map_add_div_constraints(struct isl_basic_map *bmap, unsigned div);
335 __isl_give isl_basic_map *isl_basic_map_add_known_div_constraints(
336 __isl_take isl_basic_map *bmap);
337 struct isl_basic_map *isl_basic_map_drop_redundant_divs(
338 struct isl_basic_map *bmap);
339 struct isl_basic_set *isl_basic_set_drop_redundant_divs(
340 struct isl_basic_set *bset);
342 struct isl_basic_set *isl_basic_set_recession_cone(struct isl_basic_set *bset);
343 struct isl_basic_set *isl_basic_set_lineality_space(struct isl_basic_set *bset);
345 struct isl_basic_set *isl_basic_set_set_rational(struct isl_basic_set *bset);
346 __isl_give isl_set *isl_set_set_rational(__isl_take isl_set *set);
347 __isl_give isl_basic_map *isl_basic_map_set_rational(
348 __isl_take isl_basic_map *bmap);
349 __isl_give isl_map *isl_map_set_rational(__isl_take isl_map *map);
351 int isl_map_has_rational(__isl_keep isl_map *map);
352 int isl_set_has_rational(__isl_keep isl_set *set);
354 struct isl_mat;
356 struct isl_basic_set *isl_basic_set_preimage(struct isl_basic_set *bset,
357 struct isl_mat *mat);
358 struct isl_set *isl_set_preimage(struct isl_set *set, struct isl_mat *mat);
360 __isl_give isl_basic_set *isl_basic_set_transform_dims(
361 __isl_take isl_basic_set *bset, enum isl_dim_type type, unsigned first,
362 __isl_take isl_mat *trans);
364 isl_int *isl_set_wrap_facet(__isl_keep isl_set *set,
365 isl_int *facet, isl_int *ridge);
367 int isl_basic_map_contains_point(__isl_keep isl_basic_map *bmap,
368 __isl_keep isl_point *point);
369 int isl_set_contains_point(__isl_keep isl_set *set, __isl_keep isl_point *point);
371 int isl_basic_set_vars_get_sign(__isl_keep isl_basic_set *bset,
372 unsigned first, unsigned n, int *signs);
373 int isl_set_foreach_orthant(__isl_keep isl_set *set,
374 int (*fn)(__isl_take isl_set *orthant, int *signs, void *user),
375 void *user);
377 int isl_basic_map_add_div_constraints_var(__isl_keep isl_basic_map *bmap,
378 unsigned pos, isl_int *div);
379 int isl_basic_set_add_div_constraints_var(__isl_keep isl_basic_set *bset,
380 unsigned pos, isl_int *div);
381 int isl_basic_map_is_div_constraint(__isl_keep isl_basic_map *bmap,
382 isl_int *constraint, unsigned div);
383 int isl_basic_set_is_div_constraint(__isl_keep isl_basic_set *bset,
384 isl_int *constraint, unsigned div);
386 __isl_give isl_basic_set *isl_basic_set_from_local_space(
387 __isl_take isl_local_space *ls);
388 __isl_give isl_basic_map *isl_basic_map_from_local_space(
389 __isl_take isl_local_space *ls);
390 __isl_give isl_basic_set *isl_basic_set_expand_divs(
391 __isl_take isl_basic_set *bset, __isl_take isl_mat *div, int *exp);
393 int isl_basic_map_divs_known(__isl_keep isl_basic_map *bmap);
394 __isl_give isl_mat *isl_basic_set_get_divs(__isl_keep isl_basic_set *bset);
395 __isl_give isl_mat *isl_basic_map_get_divs(__isl_keep isl_basic_map *bmap);
397 __isl_give isl_map *isl_map_inline_foreach_basic_map(__isl_take isl_map *map,
398 __isl_give isl_basic_map *(*fn)(__isl_take isl_basic_map *bmap));
400 __isl_give isl_map *isl_map_align_params_map_map_and(
401 __isl_take isl_map *map1, __isl_take isl_map *map2,
402 __isl_give isl_map *(*fn)(__isl_take isl_map *map1,
403 __isl_take isl_map *map2));
404 int isl_map_align_params_map_map_and_test(__isl_keep isl_map *map1,
405 __isl_keep isl_map *map2,
406 int (*fn)(__isl_keep isl_map *map1, __isl_keep isl_map *map2));
408 int isl_basic_map_foreach_lexopt(__isl_keep isl_basic_map *bmap, int max,
409 int (*fn)(__isl_take isl_basic_set *dom, __isl_take isl_aff_list *list,
410 void *user),
411 void *user);
412 int isl_basic_set_foreach_lexopt(__isl_keep isl_basic_set *bset, int max,
413 int (*fn)(__isl_take isl_basic_set *dom, __isl_take isl_aff_list *list,
414 void *user),
415 void *user);
417 __isl_give isl_set *isl_set_substitute(__isl_take isl_set *set,
418 enum isl_dim_type type, unsigned pos, __isl_keep isl_aff *subs);
420 __isl_give isl_set *isl_set_gist_params_basic_set(__isl_take isl_set *set,
421 __isl_take isl_basic_set *context);
423 int isl_map_compatible_range(__isl_keep isl_map *map, __isl_keep isl_set *set);
425 int isl_basic_map_plain_is_single_valued(__isl_keep isl_basic_map *bmap);
427 int isl_map_is_set(__isl_keep isl_map *map);
429 int isl_basic_set_plain_dim_is_fixed(__isl_keep isl_basic_set *bset,
430 unsigned dim, isl_int *val);
432 __isl_give isl_basic_map *isl_basic_map_plain_affine_hull(
433 __isl_take isl_basic_map *bmap);
435 int isl_basic_set_dim_residue_class(struct isl_basic_set *bset,
436 int pos, isl_int *modulo, isl_int *residue);
437 int isl_set_dim_residue_class(struct isl_set *set,
438 int pos, isl_int *modulo, isl_int *residue);
440 __isl_give isl_basic_set *isl_basic_set_fix(__isl_take isl_basic_set *bset,
441 enum isl_dim_type type, unsigned pos, isl_int value);
442 __isl_give isl_set *isl_set_fix(__isl_take isl_set *set,
443 enum isl_dim_type type, unsigned pos, isl_int value);
444 int isl_map_plain_is_fixed(__isl_keep isl_map *map,
445 enum isl_dim_type type, unsigned pos, isl_int *val);
447 int isl_basic_map_output_defining_equality(__isl_keep isl_basic_map *bmap,
448 int pos);
450 __isl_give isl_basic_map *isl_basic_map_reduce_coefficients(
451 __isl_take isl_basic_map *bmap);
453 __isl_give isl_basic_map *isl_basic_map_shift_div(
454 __isl_take isl_basic_map *bmap, int div, isl_int shift);
456 __isl_give isl_basic_map_list *isl_map_get_basic_map_list(
457 __isl_keep isl_map *map);
459 __isl_give isl_map *isl_map_fixed_power(__isl_take isl_map *map, isl_int exp);
461 int isl_basic_set_count_upto(__isl_keep isl_basic_set *bset,
462 isl_int max, isl_int *count);
463 int isl_set_count_upto(__isl_keep isl_set *set, isl_int max, isl_int *count);
465 #endif