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
21 #include <isl/printer.h>
23 #if defined(__cplusplus)
29 * All structures are reference counted to allow reuse without duplication.
30 * A *_copy operation will increase the reference count, while a *_free
31 * operation will decrease the reference count and only actually release
32 * the structures when the reference count drops to zero.
34 * Functions that return an isa structure will in general _destroy_
35 * all argument isa structures (the obvious execption begin the _copy
36 * functions). A pointer passed to such a function may therefore
37 * never be used after the function call. If you want to keep a
38 * reference to the old structure(s), use the appropriate _copy function.
42 typedef struct isl_basic_map isl_basic_map
;
44 typedef struct isl_basic_set isl_basic_set
;
46 typedef struct isl_map isl_map
;
48 typedef struct isl_set isl_set
;
50 unsigned isl_basic_map_n_in(const struct isl_basic_map
*bmap
);
51 unsigned isl_basic_map_n_out(const struct isl_basic_map
*bmap
);
52 unsigned isl_basic_map_n_param(const struct isl_basic_map
*bmap
);
53 unsigned isl_basic_map_n_div(const struct isl_basic_map
*bmap
);
54 unsigned isl_basic_map_total_dim(const struct isl_basic_map
*bmap
);
55 unsigned isl_basic_map_dim(const struct isl_basic_map
*bmap
,
56 enum isl_dim_type type
);
58 unsigned isl_map_n_in(const struct isl_map
*map
);
59 unsigned isl_map_n_out(const struct isl_map
*map
);
60 unsigned isl_map_n_param(const struct isl_map
*map
);
61 unsigned isl_map_dim(const struct isl_map
*map
, enum isl_dim_type type
);
63 isl_ctx
*isl_basic_map_get_ctx(__isl_keep isl_basic_map
*bmap
);
64 isl_ctx
*isl_map_get_ctx(__isl_keep isl_map
*map
);
65 __isl_give isl_dim
*isl_basic_map_get_dim(__isl_keep isl_basic_map
*bmap
);
66 __isl_give isl_dim
*isl_map_get_dim(__isl_keep isl_map
*map
);
68 __isl_give isl_basic_map
*isl_basic_map_set_tuple_name(
69 __isl_take isl_basic_map
*bmap
, enum isl_dim_type type
, const char *s
);
70 const char *isl_basic_map_get_tuple_name(__isl_keep isl_basic_map
*bmap
,
71 enum isl_dim_type type
);
72 const char *isl_map_get_tuple_name(__isl_keep isl_map
*map
,
73 enum isl_dim_type type
);
74 __isl_give isl_map
*isl_map_set_tuple_name(__isl_take isl_map
*map
,
75 enum isl_dim_type type
, const char *s
);
76 const char *isl_basic_map_get_dim_name(__isl_keep isl_basic_map
*bmap
,
77 enum isl_dim_type type
, unsigned pos
);
78 const char *isl_map_get_dim_name(__isl_keep isl_map
*map
,
79 enum isl_dim_type type
, unsigned pos
);
80 __isl_give isl_basic_map
*isl_basic_map_set_dim_name(
81 __isl_take isl_basic_map
*bmap
,
82 enum isl_dim_type type
, unsigned pos
, const char *s
);
83 __isl_give isl_map
*isl_map_set_dim_name(__isl_take isl_map
*map
,
84 enum isl_dim_type type
, unsigned pos
, const char *s
);
86 int isl_basic_map_is_rational(__isl_keep isl_basic_map
*bmap
);
88 struct isl_basic_map
*isl_basic_map_alloc(struct isl_ctx
*ctx
,
89 unsigned nparam
, unsigned in
, unsigned out
, unsigned extra
,
90 unsigned n_eq
, unsigned n_ineq
);
91 __isl_give isl_basic_map
*isl_basic_map_identity(__isl_take isl_dim
*set_dim
);
92 struct isl_basic_map
*isl_basic_map_identity_like(struct isl_basic_map
*model
);
93 struct isl_basic_map
*isl_basic_map_finalize(struct isl_basic_map
*bmap
);
94 void isl_basic_map_free(__isl_take isl_basic_map
*bmap
);
95 __isl_give isl_basic_map
*isl_basic_map_copy(__isl_keep isl_basic_map
*bmap
);
96 struct isl_basic_map
*isl_basic_map_extend(struct isl_basic_map
*base
,
97 unsigned nparam
, unsigned n_in
, unsigned n_out
, unsigned extra
,
98 unsigned n_eq
, unsigned n_ineq
);
99 struct isl_basic_map
*isl_basic_map_extend_constraints(
100 struct isl_basic_map
*base
, unsigned n_eq
, unsigned n_ineq
);
101 struct isl_basic_map
*isl_basic_map_equal(
102 struct isl_dim
*dim
, unsigned n_equal
);
103 struct isl_basic_map
*isl_basic_map_less_at(struct isl_dim
*dim
, unsigned pos
);
104 struct isl_basic_map
*isl_basic_map_more_at(struct isl_dim
*dim
, unsigned pos
);
105 __isl_give isl_basic_map
*isl_basic_map_empty(__isl_take isl_dim
*dim
);
106 struct isl_basic_map
*isl_basic_map_empty_like(struct isl_basic_map
*model
);
107 struct isl_basic_map
*isl_basic_map_empty_like_map(struct isl_map
*model
);
108 __isl_give isl_basic_map
*isl_basic_map_universe(__isl_take isl_dim
*dim
);
109 __isl_give isl_basic_map
*isl_basic_map_universe_like(
110 __isl_keep isl_basic_map
*bmap
);
111 __isl_give isl_basic_map
*isl_basic_map_remove_redundancies(
112 __isl_take isl_basic_map
*bmap
);
113 __isl_give isl_basic_map
*isl_map_simple_hull(__isl_take isl_map
*map
);
115 __isl_give isl_basic_map
*isl_basic_map_intersect_domain(
116 __isl_take isl_basic_map
*bmap
,
117 __isl_take isl_basic_set
*bset
);
118 __isl_give isl_basic_map
*isl_basic_map_intersect_range(
119 __isl_take isl_basic_map
*bmap
,
120 __isl_take isl_basic_set
*bset
);
121 __isl_give isl_basic_map
*isl_basic_map_intersect(
122 __isl_take isl_basic_map
*bmap1
,
123 __isl_take isl_basic_map
*bmap2
);
124 __isl_give isl_map
*isl_basic_map_union(
125 __isl_take isl_basic_map
*bmap1
,
126 __isl_take isl_basic_map
*bmap2
);
127 __isl_give isl_basic_map
*isl_basic_map_apply_domain(
128 __isl_take isl_basic_map
*bmap1
,
129 __isl_take isl_basic_map
*bmap2
);
130 __isl_give isl_basic_map
*isl_basic_map_apply_range(
131 __isl_take isl_basic_map
*bmap1
,
132 __isl_take isl_basic_map
*bmap2
);
133 __isl_give isl_basic_map
*isl_basic_map_affine_hull(
134 __isl_take isl_basic_map
*bmap
);
135 __isl_give isl_basic_map
*isl_basic_map_reverse(__isl_take isl_basic_map
*bmap
);
136 __isl_give isl_basic_set
*isl_basic_map_domain(__isl_take isl_basic_map
*bmap
);
137 __isl_give isl_basic_set
*isl_basic_map_range(__isl_take isl_basic_map
*bmap
);
138 __isl_give isl_basic_map
*isl_basic_map_domain_map(
139 __isl_take isl_basic_map
*bmap
);
140 __isl_give isl_basic_map
*isl_basic_map_range_map(
141 __isl_take isl_basic_map
*bmap
);
142 __isl_give isl_basic_map
*isl_basic_map_remove_dims(
143 __isl_take isl_basic_map
*bmap
,
144 enum isl_dim_type type
, unsigned first
, unsigned n
);
145 struct isl_basic_map
*isl_basic_map_from_basic_set(struct isl_basic_set
*bset
,
146 struct isl_dim
*dim
);
147 struct isl_basic_set
*isl_basic_set_from_basic_map(struct isl_basic_map
*bmap
);
148 __isl_give isl_basic_map
*isl_basic_map_sample(__isl_take isl_basic_map
*bmap
);
149 struct isl_basic_map
*isl_basic_map_simplify(struct isl_basic_map
*bmap
);
150 struct isl_basic_map
*isl_basic_map_detect_equalities(
151 struct isl_basic_map
*bmap
);
152 __isl_give isl_basic_map
*isl_basic_map_read_from_file(isl_ctx
*ctx
,
153 FILE *input
, int nparam
);
154 __isl_give isl_basic_map
*isl_basic_map_read_from_str(isl_ctx
*ctx
,
155 const char *str
, int nparam
);
156 __isl_give isl_map
*isl_map_read_from_file(struct isl_ctx
*ctx
,
157 FILE *input
, int nparam
);
158 __isl_give isl_map
*isl_map_read_from_str(isl_ctx
*ctx
,
159 const char *str
, int nparam
);
160 void isl_basic_map_dump(__isl_keep isl_basic_map
*bmap
);
161 void isl_basic_map_print(__isl_keep isl_basic_map
*bmap
, FILE *out
, int indent
,
162 const char *prefix
, const char *suffix
, unsigned output_format
);
163 void isl_map_dump(__isl_keep isl_map
*map
);
164 void isl_map_print(__isl_keep isl_map
*map
, FILE *out
, int indent
,
165 unsigned output_format
);
166 __isl_give isl_printer
*isl_printer_print_basic_map(
167 __isl_take isl_printer
*printer
, __isl_keep isl_basic_map
*bmap
);
168 __isl_give isl_printer
*isl_printer_print_map(__isl_take isl_printer
*printer
,
169 __isl_keep isl_map
*map
);
170 struct isl_basic_map
*isl_basic_map_fix_si(struct isl_basic_map
*bmap
,
171 enum isl_dim_type type
, unsigned pos
, int value
);
172 __isl_give isl_basic_map
*isl_basic_map_lower_bound_si(
173 __isl_take isl_basic_map
*bmap
,
174 enum isl_dim_type type
, unsigned pos
, int value
);
176 struct isl_basic_map
*isl_basic_map_sum(
177 struct isl_basic_map
*bmap1
, struct isl_basic_map
*bmap2
);
178 struct isl_basic_map
*isl_basic_map_neg(struct isl_basic_map
*bmap
);
179 struct isl_basic_map
*isl_basic_map_floordiv(struct isl_basic_map
*bmap
,
182 struct isl_map
*isl_map_sum(struct isl_map
*map1
, struct isl_map
*map2
);
183 struct isl_map
*isl_map_neg(struct isl_map
*map
);
184 struct isl_map
*isl_map_floordiv(struct isl_map
*map
, isl_int d
);
186 int isl_basic_map_is_equal(
187 __isl_keep isl_basic_map
*bmap1
,
188 __isl_keep isl_basic_map
*bmap2
);
190 __isl_give isl_map
*isl_basic_map_partial_lexmax(
191 __isl_take isl_basic_map
*bmap
, __isl_take isl_basic_set
*dom
,
192 __isl_give isl_set
**empty
);
193 __isl_give isl_map
*isl_basic_map_partial_lexmin(
194 __isl_take isl_basic_map
*bmap
, __isl_take isl_basic_set
*dom
,
195 __isl_give isl_set
**empty
);
196 __isl_give isl_map
*isl_map_partial_lexmax(
197 __isl_take isl_map
*map
, __isl_take isl_set
*dom
,
198 __isl_give isl_set
**empty
);
199 __isl_give isl_map
*isl_map_partial_lexmin(
200 __isl_take isl_map
*map
, __isl_take isl_set
*dom
,
201 __isl_give isl_set
**empty
);
202 __isl_give isl_map
*isl_basic_map_lexmin(__isl_take isl_basic_map
*bmap
);
203 __isl_give isl_map
*isl_basic_map_lexmax(__isl_take isl_basic_map
*bmap
);
204 __isl_give isl_map
*isl_map_lexmin(__isl_take isl_map
*map
);
205 __isl_give isl_map
*isl_map_lexmax(__isl_take isl_map
*map
);
206 int isl_basic_map_foreach_lexmin(__isl_keep isl_basic_map
*bmap
,
207 int (*fn
)(__isl_take isl_basic_set
*dom
, __isl_take isl_mat
*map
,
211 void isl_basic_map_print_internal(__isl_keep isl_basic_map
*bmap
,
212 FILE *out
, int indent
);
214 struct isl_basic_map
*isl_map_copy_basic_map(struct isl_map
*map
);
215 __isl_give isl_map
*isl_map_drop_basic_map(__isl_take isl_map
*map
,
216 __isl_keep isl_basic_map
*bmap
);
218 int isl_basic_map_fast_is_fixed(struct isl_basic_map
*bmap
,
219 enum isl_dim_type type
, unsigned pos
, isl_int
*val
);
221 int isl_basic_map_image_is_bounded(__isl_keep isl_basic_map
*bmap
);
222 int isl_basic_map_is_universe(__isl_keep isl_basic_map
*bmap
);
223 int isl_basic_map_fast_is_empty(__isl_keep isl_basic_map
*bmap
);
224 int isl_basic_map_is_empty(__isl_keep isl_basic_map
*bmap
);
225 int isl_basic_map_is_subset(__isl_keep isl_basic_map
*bmap1
,
226 __isl_keep isl_basic_map
*bmap2
);
227 int isl_basic_map_is_strict_subset(__isl_keep isl_basic_map
*bmap1
,
228 __isl_keep isl_basic_map
*bmap2
);
230 struct isl_map
*isl_map_alloc(struct isl_ctx
*ctx
,
231 unsigned nparam
, unsigned in
, unsigned out
, int n
,
233 __isl_give isl_map
*isl_map_universe(__isl_take isl_dim
*dim
);
234 __isl_give isl_map
*isl_map_empty(__isl_take isl_dim
*dim
);
235 struct isl_map
*isl_map_empty_like(struct isl_map
*model
);
236 struct isl_map
*isl_map_empty_like_basic_map(struct isl_basic_map
*model
);
237 struct isl_map
*isl_map_dup(struct isl_map
*map
);
238 __isl_give isl_map
*isl_map_add_basic_map(__isl_take isl_map
*map
,
239 __isl_take isl_basic_map
*bmap
);
240 __isl_give isl_map
*isl_map_identity(__isl_take isl_dim
*set_dim
);
241 struct isl_map
*isl_map_identity_like(struct isl_map
*model
);
242 struct isl_map
*isl_map_identity_like_basic_map(struct isl_basic_map
*model
);
243 __isl_give isl_map
*isl_map_lex_lt_first(__isl_take isl_dim
*dim
, unsigned n
);
244 __isl_give isl_map
*isl_map_lex_le_first(__isl_take isl_dim
*dim
, unsigned n
);
245 __isl_give isl_map
*isl_map_lex_lt(__isl_take isl_dim
*set_dim
);
246 __isl_give isl_map
*isl_map_lex_le(__isl_take isl_dim
*set_dim
);
247 __isl_give isl_map
*isl_map_lex_gt_first(__isl_take isl_dim
*dim
, unsigned n
);
248 __isl_give isl_map
*isl_map_lex_ge_first(__isl_take isl_dim
*dim
, unsigned n
);
249 __isl_give isl_map
*isl_map_lex_gt(__isl_take isl_dim
*set_dim
);
250 __isl_give isl_map
*isl_map_lex_ge(__isl_take isl_dim
*set_dim
);
251 struct isl_map
*isl_map_finalize(struct isl_map
*map
);
252 void isl_map_free(__isl_take isl_map
*map
);
253 __isl_give isl_map
*isl_map_copy(__isl_keep isl_map
*map
);
254 struct isl_map
*isl_map_extend(struct isl_map
*base
,
255 unsigned nparam
, unsigned n_in
, unsigned n_out
);
256 __isl_give isl_map
*isl_map_reverse(__isl_take isl_map
*map
);
257 __isl_give isl_map
*isl_map_union(
258 __isl_take isl_map
*map1
,
259 __isl_take isl_map
*map2
);
260 struct isl_map
*isl_map_union_disjoint(
261 struct isl_map
*map1
, struct isl_map
*map2
);
262 __isl_give isl_map
*isl_map_intersect_domain(
263 __isl_take isl_map
*map
,
264 __isl_take isl_set
*set
);
265 __isl_give isl_map
*isl_map_intersect_range(
266 __isl_take isl_map
*map
,
267 __isl_take isl_set
*set
);
268 __isl_give isl_map
*isl_map_apply_domain(
269 __isl_take isl_map
*map1
,
270 __isl_take isl_map
*map2
);
271 __isl_give isl_map
*isl_map_apply_range(
272 __isl_take isl_map
*map1
,
273 __isl_take isl_map
*map2
);
274 __isl_give isl_map
*isl_map_product(__isl_take isl_map
*map1
,
275 __isl_take isl_map
*map2
);
276 __isl_give isl_basic_map
*isl_basic_map_range_product(
277 __isl_take isl_basic_map
*bmap1
, __isl_take isl_basic_map
*bmap2
);
278 __isl_give isl_map
*isl_map_range_product(__isl_take isl_map
*map1
,
279 __isl_take isl_map
*map2
);
280 __isl_give isl_map
*isl_map_flat_product(__isl_take isl_map
*map1
,
281 __isl_take isl_map
*map2
);
282 __isl_give isl_map
*isl_map_intersect(__isl_take isl_map
*map1
,
283 __isl_take isl_map
*map2
);
284 __isl_give isl_map
*isl_map_subtract(
285 __isl_take isl_map
*map1
,
286 __isl_take isl_map
*map2
);
287 struct isl_map
*isl_map_fix_input_si(struct isl_map
*map
,
288 unsigned input
, int value
);
289 struct isl_map
*isl_map_fix_si(struct isl_map
*map
,
290 enum isl_dim_type type
, unsigned pos
, int value
);
291 __isl_give isl_map
*isl_map_lower_bound_si(__isl_take isl_map
*map
,
292 enum isl_dim_type type
, unsigned pos
, int value
);
293 __isl_give isl_basic_set
*isl_basic_map_deltas(__isl_take isl_basic_map
*bmap
);
294 __isl_give isl_set
*isl_map_deltas(__isl_take isl_map
*map
);
295 struct isl_map
*isl_map_detect_equalities(struct isl_map
*map
);
296 __isl_give isl_basic_map
*isl_map_affine_hull(__isl_take isl_map
*map
);
297 __isl_give isl_basic_map
*isl_map_convex_hull(__isl_take isl_map
*map
);
298 __isl_give isl_basic_map
*isl_map_polyhedral_hull(__isl_take isl_map
*map
);
299 __isl_give isl_basic_map
*isl_basic_map_add(__isl_take isl_basic_map
*bmap
,
300 enum isl_dim_type type
, unsigned n
);
301 __isl_give isl_map
*isl_map_add_dims(__isl_take isl_map
*map
,
302 enum isl_dim_type type
, unsigned n
);
303 __isl_give isl_map
*isl_map_insert(__isl_take isl_map
*map
,
304 enum isl_dim_type type
, unsigned pos
, unsigned n
);
305 __isl_give isl_basic_map
*isl_basic_map_move_dims(
306 __isl_take isl_basic_map
*bmap
,
307 enum isl_dim_type dst_type
, unsigned dst_pos
,
308 enum isl_dim_type src_type
, unsigned src_pos
, unsigned n
);
309 __isl_give isl_map
*isl_map_move_dims(__isl_take isl_map
*map
,
310 enum isl_dim_type dst_type
, unsigned dst_pos
,
311 enum isl_dim_type src_type
, unsigned src_pos
, unsigned n
);
312 __isl_give isl_basic_map
*isl_basic_map_project_out(
313 __isl_take isl_basic_map
*bmap
,
314 enum isl_dim_type type
, unsigned first
, unsigned n
);
315 __isl_give isl_map
*isl_map_project_out(__isl_take isl_map
*map
,
316 enum isl_dim_type type
, unsigned first
, unsigned n
);
317 __isl_give isl_basic_map
*isl_basic_map_remove_divs(
318 __isl_take isl_basic_map
*bmap
);
319 __isl_give isl_map
*isl_map_remove_dims(__isl_take isl_map
*map
,
320 enum isl_dim_type type
, unsigned first
, unsigned n
);
321 struct isl_map
*isl_map_remove_inputs(struct isl_map
*map
,
322 unsigned first
, unsigned n
);
324 __isl_give isl_map
*isl_set_identity(__isl_take isl_set
*set
);
326 int isl_basic_set_is_wrapping(__isl_keep isl_basic_set
*bset
);
327 int isl_set_is_wrapping(__isl_keep isl_set
*set
);
328 __isl_give isl_basic_set
*isl_basic_map_wrap(__isl_take isl_basic_map
*bmap
);
329 __isl_give isl_set
*isl_map_wrap(__isl_take isl_map
*map
);
330 __isl_give isl_basic_map
*isl_basic_set_unwrap(__isl_take isl_basic_set
*bset
);
331 __isl_give isl_map
*isl_set_unwrap(__isl_take isl_set
*set
);
332 __isl_give isl_map
*isl_map_flatten(__isl_take isl_map
*map
);
333 __isl_give isl_basic_set
*isl_basic_set_flatten(__isl_take isl_basic_set
*bset
);
334 __isl_give isl_set
*isl_set_flatten(__isl_take isl_set
*set
);
335 __isl_give isl_map
*isl_set_flatten_map(__isl_take isl_set
*set
);
336 __isl_give isl_set
*isl_map_domain(__isl_take isl_map
*bmap
);
337 __isl_give isl_set
*isl_map_range(__isl_take isl_map
*map
);
338 __isl_give isl_map
*isl_map_domain_map(__isl_take isl_map
*map
);
339 __isl_give isl_map
*isl_map_range_map(__isl_take isl_map
*map
);
340 __isl_give isl_map
*isl_map_from_basic_map(__isl_take isl_basic_map
*bmap
);
341 __isl_give isl_map
*isl_map_from_domain(__isl_take isl_set
*set
);
342 __isl_give isl_basic_map
*isl_basic_map_from_domain(
343 __isl_take isl_basic_set
*bset
);
344 __isl_give isl_basic_map
*isl_basic_map_from_range(
345 __isl_take isl_basic_set
*bset
);
346 struct isl_map
*isl_map_from_range(struct isl_set
*set
);
347 __isl_give isl_map
*isl_map_from_domain_and_range(__isl_take isl_set
*domain
,
348 __isl_take isl_set
*range
);
349 struct isl_map
*isl_map_from_set(struct isl_set
*set
, struct isl_dim
*dim
);
350 struct isl_set
*isl_set_from_map(struct isl_map
*map
);
351 __isl_give isl_basic_map
*isl_map_sample(__isl_take isl_map
*map
);
353 int isl_map_fast_is_empty(__isl_keep isl_map
*map
);
354 int isl_map_fast_is_universe(__isl_keep isl_map
*map
);
355 int isl_map_is_empty(__isl_keep isl_map
*map
);
356 int isl_map_is_subset(__isl_keep isl_map
*map1
, __isl_keep isl_map
*map2
);
357 int isl_map_is_strict_subset(__isl_keep isl_map
*map1
, __isl_keep isl_map
*map2
);
358 int isl_map_is_equal(__isl_keep isl_map
*map1
, __isl_keep isl_map
*map2
);
359 int isl_map_is_single_valued(__isl_keep isl_map
*map
);
360 int isl_map_is_bijective(__isl_keep isl_map
*map
);
361 int isl_map_is_translation(__isl_keep isl_map
*map
);
362 int isl_map_has_equal_dim(__isl_keep isl_map
*map1
, __isl_keep isl_map
*map2
);
364 __isl_give isl_map
*isl_map_make_disjoint(__isl_take isl_map
*map
);
365 __isl_give isl_map
*isl_basic_map_compute_divs(__isl_take isl_basic_map
*bmap
);
366 __isl_give isl_map
*isl_map_compute_divs(__isl_take isl_map
*map
);
367 __isl_give isl_map
*isl_map_align_divs(__isl_take isl_map
*map
);
369 void isl_map_print_internal(__isl_keep isl_map
*map
, FILE *out
, int indent
);
371 int isl_map_fast_input_is_fixed(struct isl_map
*map
,
372 unsigned in
, isl_int
*val
);
373 int isl_map_fast_is_fixed(struct isl_map
*map
,
374 enum isl_dim_type type
, unsigned pos
, isl_int
*val
);
376 __isl_give isl_basic_map
*isl_basic_map_gist(__isl_take isl_basic_map
*bmap
,
377 __isl_take isl_basic_map
*context
);
378 __isl_give isl_map
*isl_map_gist(__isl_take isl_map
*map
,
379 __isl_take isl_map
*context
);
380 __isl_give isl_map
*isl_map_gist_basic_map(__isl_take isl_map
*map
,
381 __isl_take isl_basic_map
*context
);
383 __isl_give isl_map
*isl_map_coalesce(__isl_take isl_map
*map
);
385 int isl_map_fast_is_equal(__isl_keep isl_map
*map1
, __isl_keep isl_map
*map2
);
387 uint32_t isl_map_get_hash(__isl_keep isl_map
*map
);
389 int isl_map_foreach_basic_map(__isl_keep isl_map
*map
,
390 int (*fn
)(__isl_take isl_basic_map
*bmap
, void *user
), void *user
);
392 __isl_give isl_map
*isl_set_lifting(__isl_take isl_set
*set
);
394 __isl_give isl_map
*isl_map_power(__isl_take isl_map
*map
, unsigned param
,
396 __isl_give isl_map
*isl_map_reaching_path_lengths(__isl_take isl_map
*map
,
398 __isl_give isl_map
*isl_map_transitive_closure(__isl_take isl_map
*map
,
401 __isl_give isl_map
*isl_map_lex_le_map(__isl_take isl_map
*map1
,
402 __isl_take isl_map
*map2
);
403 __isl_give isl_map
*isl_map_lex_lt_map(__isl_take isl_map
*map1
,
404 __isl_take isl_map
*map2
);
405 __isl_give isl_map
*isl_map_lex_ge_map(__isl_take isl_map
*map1
,
406 __isl_take isl_map
*map2
);
407 __isl_give isl_map
*isl_map_lex_gt_map(__isl_take isl_map
*map1
,
408 __isl_take isl_map
*map2
);
410 __isl_give isl_mat
*isl_basic_map_equalities_matrix(
411 __isl_keep isl_basic_map
*bmap
, enum isl_dim_type c1
,
412 enum isl_dim_type c2
, enum isl_dim_type c3
,
413 enum isl_dim_type c4
, enum isl_dim_type c5
);
414 __isl_give isl_mat
*isl_basic_map_inequalities_matrix(
415 __isl_keep isl_basic_map
*bmap
, enum isl_dim_type c1
,
416 enum isl_dim_type c2
, enum isl_dim_type c3
,
417 enum isl_dim_type c4
, enum isl_dim_type c5
);
418 __isl_give isl_basic_map
*isl_basic_map_from_constraint_matrices(
419 __isl_take isl_dim
*dim
,
420 __isl_take isl_mat
*eq
, __isl_take isl_mat
*ineq
, enum isl_dim_type c1
,
421 enum isl_dim_type c2
, enum isl_dim_type c3
,
422 enum isl_dim_type c4
, enum isl_dim_type c5
);
424 #if defined(__cplusplus)