4 #include <isl/local_space.h>
5 #include <isl/printer.h>
6 #include <isl/set_type.h>
7 #include <isl/aff_type.h>
10 #include <isl/union_set_type.h>
12 #if defined(__cplusplus)
16 __isl_give isl_aff *isl_aff_zero_on_domain(__isl_take isl_local_space *ls);
18 __isl_give isl_aff *isl_aff_copy(__isl_keep isl_aff *aff);
19 void *isl_aff_free(__isl_take isl_aff *aff);
21 isl_ctx *isl_aff_get_ctx(__isl_keep isl_aff *aff);
23 int isl_aff_dim(__isl_keep isl_aff *aff, enum isl_dim_type type);
24 int isl_aff_involves_dims(__isl_keep isl_aff *aff,
25 enum isl_dim_type type, unsigned first, unsigned n);
27 __isl_give isl_space *isl_aff_get_domain_space(__isl_keep isl_aff *aff);
28 __isl_give isl_space *isl_aff_get_space(__isl_keep isl_aff *aff);
29 __isl_give isl_local_space *isl_aff_get_domain_local_space(
30 __isl_keep isl_aff *aff);
31 __isl_give isl_local_space *isl_aff_get_local_space(__isl_keep isl_aff *aff);
33 const char *isl_aff_get_dim_name(__isl_keep isl_aff *aff,
34 enum isl_dim_type type, unsigned pos);
35 int isl_aff_get_constant(__isl_keep isl_aff *aff, isl_int *v);
36 int isl_aff_get_coefficient(__isl_keep isl_aff *aff,
37 enum isl_dim_type type, int pos, isl_int *v);
38 int isl_aff_get_denominator(__isl_keep isl_aff *aff, isl_int *v);
39 __isl_give isl_aff *isl_aff_set_constant(__isl_take isl_aff *aff, isl_int v);
40 __isl_give isl_aff *isl_aff_set_constant_si(__isl_take isl_aff *aff, int v);
41 __isl_give isl_aff *isl_aff_set_coefficient(__isl_take isl_aff *aff,
42 enum isl_dim_type type, int pos, isl_int v);
43 __isl_give isl_aff *isl_aff_set_coefficient_si(__isl_take isl_aff *aff,
44 enum isl_dim_type type, int pos, int v);
45 __isl_give isl_aff *isl_aff_set_denominator(__isl_take isl_aff *aff, isl_int v);
46 __isl_give isl_aff *isl_aff_add_constant(__isl_take isl_aff *aff, isl_int v);
47 __isl_give isl_aff *isl_aff_add_constant_si(__isl_take isl_aff *aff, int v);
48 __isl_give isl_aff *isl_aff_add_constant_num(__isl_take isl_aff *aff,
50 __isl_give isl_aff *isl_aff_add_constant_num_si(__isl_take isl_aff *aff, int v);
51 __isl_give isl_aff *isl_aff_add_coefficient(__isl_take isl_aff *aff,
52 enum isl_dim_type type, int pos, isl_int v);
53 __isl_give isl_aff *isl_aff_add_coefficient_si(__isl_take isl_aff *aff,
54 enum isl_dim_type type, int pos, int v);
56 int isl_aff_is_cst(__isl_keep isl_aff *aff);
58 __isl_give isl_aff *isl_aff_set_dim_name(__isl_take isl_aff *aff,
59 enum isl_dim_type type, unsigned pos, const char *s);
60 __isl_give isl_aff *isl_aff_set_dim_id(__isl_take isl_aff *aff,
61 enum isl_dim_type type, unsigned pos, __isl_take isl_id *id);
63 int isl_aff_plain_is_equal(__isl_keep isl_aff *aff1, __isl_keep isl_aff *aff2);
64 int isl_aff_plain_is_zero(__isl_keep isl_aff *aff);
66 __isl_give isl_aff *isl_aff_get_div(__isl_keep isl_aff *aff, int pos);
68 __isl_give isl_aff *isl_aff_neg(__isl_take isl_aff *aff);
69 __isl_give isl_aff *isl_aff_ceil(__isl_take isl_aff *aff);
70 __isl_give isl_aff *isl_aff_floor(__isl_take isl_aff *aff);
71 __isl_give isl_aff *isl_aff_mod(__isl_take isl_aff *aff, isl_int mod);
73 __isl_give isl_aff *isl_aff_mul(__isl_take isl_aff *aff1,
74 __isl_take isl_aff *aff2);
75 __isl_give isl_aff *isl_aff_add(__isl_take isl_aff *aff1,
76 __isl_take isl_aff *aff2);
77 __isl_give isl_aff *isl_aff_sub(__isl_take isl_aff *aff1,
78 __isl_take isl_aff *aff2);
80 __isl_give isl_aff *isl_aff_scale(__isl_take isl_aff *aff, isl_int f);
81 __isl_give isl_aff *isl_aff_scale_down(__isl_take isl_aff *aff, isl_int f);
82 __isl_give isl_aff *isl_aff_scale_down_ui(__isl_take isl_aff *aff, unsigned f);
84 __isl_give isl_aff *isl_aff_insert_dims(__isl_take isl_aff *aff,
85 enum isl_dim_type type, unsigned first, unsigned n);
86 __isl_give isl_aff *isl_aff_add_dims(__isl_take isl_aff *aff,
87 enum isl_dim_type type, unsigned n);
88 __isl_give isl_aff *isl_aff_drop_dims(__isl_take isl_aff *aff,
89 enum isl_dim_type type, unsigned first, unsigned n);
90 __isl_give isl_aff *isl_aff_project_domain_on_params(__isl_take isl_aff *aff);
92 __isl_give isl_aff *isl_aff_align_params(__isl_take isl_aff *aff,
93 __isl_take isl_space *model);
95 __isl_give isl_aff *isl_aff_gist(__isl_take isl_aff *aff,
96 __isl_take isl_set *context);
97 __isl_give isl_aff *isl_aff_gist_params(__isl_take isl_aff *aff,
98 __isl_take isl_set *context);
100 __isl_give isl_basic_set *isl_aff_neg_basic_set(__isl_take isl_aff *aff);
102 __isl_give isl_basic_set *isl_aff_le_basic_set(__isl_take isl_aff *aff1,
103 __isl_take isl_aff *aff2);
104 __isl_give isl_basic_set *isl_aff_ge_basic_set(__isl_take isl_aff *aff1,
105 __isl_take isl_aff *aff2);
107 __isl_give isl_aff *isl_aff_read_from_str(isl_ctx *ctx, const char *str);
108 __isl_give isl_printer *isl_printer_print_aff(__isl_take isl_printer *p,
109 __isl_keep isl_aff *aff);
110 void isl_aff_dump(__isl_keep isl_aff *aff);
112 isl_ctx *isl_pw_aff_get_ctx(__isl_keep isl_pw_aff *pwaff);
113 __isl_give isl_space *isl_pw_aff_get_domain_space(__isl_keep isl_pw_aff *pwaff);
114 __isl_give isl_space *isl_pw_aff_get_space(__isl_keep isl_pw_aff *pwaff);
116 __isl_give isl_pw_aff *isl_pw_aff_from_aff(__isl_take isl_aff *aff);
117 __isl_give isl_pw_aff *isl_pw_aff_empty(__isl_take isl_space *dim);
118 __isl_give isl_pw_aff *isl_pw_aff_alloc(__isl_take isl_set *set,
119 __isl_take isl_aff *aff);
121 __isl_give isl_pw_aff *isl_set_indicator_function(__isl_take isl_set *set);
123 const char *isl_pw_aff_get_dim_name(__isl_keep isl_pw_aff *pa,
124 enum isl_dim_type type, unsigned pos);
125 int isl_pw_aff_has_dim_id(__isl_keep isl_pw_aff *pa,
126 enum isl_dim_type type, unsigned pos);
127 __isl_give isl_id *isl_pw_aff_get_dim_id(__isl_keep isl_pw_aff *pa,
128 enum isl_dim_type type, unsigned pos);
129 __isl_give isl_pw_aff *isl_pw_aff_set_dim_id(__isl_take isl_pw_aff *pma,
130 enum isl_dim_type type, unsigned pos, __isl_take isl_id *id);
132 int isl_pw_aff_is_empty(__isl_keep isl_pw_aff *pwaff);
133 int isl_pw_aff_plain_is_equal(__isl_keep isl_pw_aff *pwaff1,
134 __isl_keep isl_pw_aff *pwaff2);
136 __isl_give isl_pw_aff *isl_pw_aff_union_min(__isl_take isl_pw_aff *pwaff1,
137 __isl_take isl_pw_aff *pwaff2);
138 __isl_give isl_pw_aff *isl_pw_aff_union_max(__isl_take isl_pw_aff *pwaff1,
139 __isl_take isl_pw_aff *pwaff2);
140 __isl_give isl_pw_aff *isl_pw_aff_union_add(__isl_take isl_pw_aff *pwaff1,
141 __isl_take isl_pw_aff *pwaff2);
143 __isl_give isl_pw_aff *isl_pw_aff_copy(__isl_keep isl_pw_aff *pwaff);
144 void *isl_pw_aff_free(__isl_take isl_pw_aff *pwaff);
146 unsigned isl_pw_aff_dim(__isl_keep isl_pw_aff *pwaff, enum isl_dim_type type);
147 int isl_pw_aff_involves_dims(__isl_keep isl_pw_aff *pwaff,
148 enum isl_dim_type type, unsigned first, unsigned n);
150 int isl_pw_aff_is_cst(__isl_keep isl_pw_aff *pwaff);
152 __isl_give isl_pw_aff *isl_pw_aff_align_params(__isl_take isl_pw_aff *pwaff,
153 __isl_take isl_space *model);
155 __isl_give isl_id *isl_pw_aff_get_tuple_id(__isl_keep isl_pw_aff *pa,
156 enum isl_dim_type type);
157 __isl_give isl_pw_aff *isl_pw_aff_set_tuple_id(__isl_take isl_pw_aff *pwaff,
158 enum isl_dim_type type, __isl_take isl_id *id);
160 __isl_give isl_set *isl_pw_aff_domain(__isl_take isl_pw_aff *pwaff);
162 __isl_give isl_pw_aff *isl_pw_aff_min(__isl_take isl_pw_aff *pwaff1,
163 __isl_take isl_pw_aff *pwaff2);
164 __isl_give isl_pw_aff *isl_pw_aff_max(__isl_take isl_pw_aff *pwaff1,
165 __isl_take isl_pw_aff *pwaff2);
166 __isl_give isl_pw_aff *isl_pw_aff_mul(__isl_take isl_pw_aff *pwaff1,
167 __isl_take isl_pw_aff *pwaff2);
168 __isl_give isl_pw_aff *isl_pw_aff_add(__isl_take isl_pw_aff *pwaff1,
169 __isl_take isl_pw_aff *pwaff2);
170 __isl_give isl_pw_aff *isl_pw_aff_sub(__isl_take isl_pw_aff *pwaff1,
171 __isl_take isl_pw_aff *pwaff2);
172 __isl_give isl_pw_aff *isl_pw_aff_neg(__isl_take isl_pw_aff *pwaff);
173 __isl_give isl_pw_aff *isl_pw_aff_ceil(__isl_take isl_pw_aff *pwaff);
174 __isl_give isl_pw_aff *isl_pw_aff_floor(__isl_take isl_pw_aff *pwaff);
175 __isl_give isl_pw_aff *isl_pw_aff_mod(__isl_take isl_pw_aff *pwaff,
178 __isl_give isl_pw_aff *isl_pw_aff_intersect_params(__isl_take isl_pw_aff *pa,
179 __isl_take isl_set *set);
180 __isl_give isl_pw_aff *isl_pw_aff_intersect_domain(__isl_take isl_pw_aff *pa,
181 __isl_take isl_set *set);
183 __isl_give isl_pw_aff *isl_pw_aff_cond(__isl_take isl_pw_aff *cond,
184 __isl_take isl_pw_aff *pwaff_true, __isl_take isl_pw_aff *pwaff_false);
186 __isl_give isl_pw_aff *isl_pw_aff_scale(__isl_take isl_pw_aff *pwaff,
188 __isl_give isl_pw_aff *isl_pw_aff_scale_down(__isl_take isl_pw_aff *pwaff,
191 __isl_give isl_pw_aff *isl_pw_aff_insert_dims(__isl_take isl_pw_aff *pwaff,
192 enum isl_dim_type type, unsigned first, unsigned n);
193 __isl_give isl_pw_aff *isl_pw_aff_add_dims(__isl_take isl_pw_aff *pwaff,
194 enum isl_dim_type type, unsigned n);
195 __isl_give isl_pw_aff *isl_pw_aff_drop_dims(__isl_take isl_pw_aff *pwaff,
196 enum isl_dim_type type, unsigned first, unsigned n);
198 __isl_give isl_pw_aff *isl_pw_aff_coalesce(__isl_take isl_pw_aff *pwqp);
199 __isl_give isl_pw_aff *isl_pw_aff_gist(__isl_take isl_pw_aff *pwaff,
200 __isl_take isl_set *context);
201 __isl_give isl_pw_aff *isl_pw_aff_gist_params(__isl_take isl_pw_aff *pwaff,
202 __isl_take isl_set *context);
204 int isl_pw_aff_n_piece(__isl_keep isl_pw_aff *pwaff);
205 int isl_pw_aff_foreach_piece(__isl_keep isl_pw_aff *pwaff,
206 int (*fn)(__isl_take isl_set *set, __isl_take isl_aff *aff,
207 void *user), void *user);
209 __isl_give isl_set *isl_set_from_pw_aff(__isl_take isl_pw_aff *pwaff);
210 __isl_give isl_map *isl_map_from_pw_aff(__isl_take isl_pw_aff *pwaff);
212 __isl_give isl_set *isl_pw_aff_nonneg_set(__isl_take isl_pw_aff *pwaff);
213 __isl_give isl_set *isl_pw_aff_zero_set(__isl_take isl_pw_aff *pwaff);
214 __isl_give isl_set *isl_pw_aff_non_zero_set(__isl_take isl_pw_aff *pwaff);
216 __isl_give isl_set *isl_pw_aff_eq_set(__isl_take isl_pw_aff *pwaff1,
217 __isl_take isl_pw_aff *pwaff2);
218 __isl_give isl_set *isl_pw_aff_ne_set(__isl_take isl_pw_aff *pwaff1,
219 __isl_take isl_pw_aff *pwaff2);
220 __isl_give isl_set *isl_pw_aff_le_set(__isl_take isl_pw_aff *pwaff1,
221 __isl_take isl_pw_aff *pwaff2);
222 __isl_give isl_set *isl_pw_aff_lt_set(__isl_take isl_pw_aff *pwaff1,
223 __isl_take isl_pw_aff *pwaff2);
224 __isl_give isl_set *isl_pw_aff_ge_set(__isl_take isl_pw_aff *pwaff1,
225 __isl_take isl_pw_aff *pwaff2);
226 __isl_give isl_set *isl_pw_aff_gt_set(__isl_take isl_pw_aff *pwaff1,
227 __isl_take isl_pw_aff *pwaff2);
229 __isl_give isl_pw_aff *isl_pw_aff_read_from_str(isl_ctx *ctx, const char *str);
230 __isl_give isl_printer *isl_printer_print_pw_aff(__isl_take isl_printer *p,
231 __isl_keep isl_pw_aff *pwaff);
232 void isl_pw_aff_dump(__isl_keep isl_pw_aff *pwaff);
234 __isl_give isl_pw_aff *isl_pw_aff_list_min(__isl_take isl_pw_aff_list *list);
235 __isl_give isl_pw_aff *isl_pw_aff_list_max(__isl_take isl_pw_aff_list *list);
237 __isl_give isl_set *isl_pw_aff_list_eq_set(__isl_take isl_pw_aff_list *list1,
238 __isl_take isl_pw_aff_list *list2);
239 __isl_give isl_set *isl_pw_aff_list_ne_set(__isl_take isl_pw_aff_list *list1,
240 __isl_take isl_pw_aff_list *list2);
241 __isl_give isl_set *isl_pw_aff_list_le_set(__isl_take isl_pw_aff_list *list1,
242 __isl_take isl_pw_aff_list *list2);
243 __isl_give isl_set *isl_pw_aff_list_lt_set(__isl_take isl_pw_aff_list *list1,
244 __isl_take isl_pw_aff_list *list2);
245 __isl_give isl_set *isl_pw_aff_list_ge_set(__isl_take isl_pw_aff_list *list1,
246 __isl_take isl_pw_aff_list *list2);
247 __isl_give isl_set *isl_pw_aff_list_gt_set(__isl_take isl_pw_aff_list *list1,
248 __isl_take isl_pw_aff_list *list2);
250 __isl_give isl_multi_aff *isl_multi_aff_zero(__isl_take isl_space *space);
251 __isl_give isl_multi_aff *isl_multi_aff_identity(__isl_take isl_space *space);
253 isl_ctx *isl_multi_aff_get_ctx(__isl_keep isl_multi_aff *maff);
254 __isl_give isl_space *isl_multi_aff_get_space(__isl_keep isl_multi_aff *maff);
255 __isl_give isl_space *isl_multi_aff_get_domain_space(
256 __isl_keep isl_multi_aff *maff);
257 __isl_give isl_multi_aff *isl_multi_aff_set_tuple_id(
258 __isl_take isl_multi_aff *maff,
259 enum isl_dim_type type, __isl_take isl_id *id);
260 __isl_give isl_multi_aff *isl_multi_aff_copy(__isl_keep isl_multi_aff *maff);
261 void *isl_multi_aff_free(__isl_take isl_multi_aff *maff);
263 unsigned isl_multi_aff_dim(__isl_keep isl_multi_aff *maff,
264 enum isl_dim_type type);
265 __isl_give isl_aff *isl_multi_aff_get_aff(__isl_keep isl_multi_aff *multi,
268 __isl_give isl_multi_aff *isl_multi_aff_drop_dims(
269 __isl_take isl_multi_aff *maff,
270 enum isl_dim_type type, unsigned first, unsigned n);
272 __isl_give isl_multi_aff *isl_multi_aff_set_dim_name(
273 __isl_take isl_multi_aff *maff,
274 enum isl_dim_type type, unsigned pos, const char *s);
276 int isl_multi_aff_plain_is_equal(__isl_keep isl_multi_aff *maff1,
277 __isl_keep isl_multi_aff *maff2);
279 __isl_give isl_multi_aff *isl_multi_aff_add(__isl_take isl_multi_aff *maff1,
280 __isl_take isl_multi_aff *maff2);
282 __isl_give isl_multi_aff *isl_multi_aff_scale(__isl_take isl_multi_aff *maff,
285 __isl_give isl_multi_aff *isl_multi_aff_flat_range_product(
286 __isl_take isl_multi_aff *ma1, __isl_take isl_multi_aff *ma2);
288 __isl_give isl_multi_aff *isl_multi_aff_gist_params(
289 __isl_take isl_multi_aff *maff, __isl_take isl_set *context);
290 __isl_give isl_multi_aff *isl_multi_aff_gist(__isl_take isl_multi_aff *maff,
291 __isl_take isl_set *context);
293 __isl_give isl_multi_aff *isl_multi_aff_lift(__isl_take isl_multi_aff *maff,
294 __isl_give isl_local_space **ls);
296 __isl_give isl_set *isl_multi_aff_lex_le_set(__isl_take isl_multi_aff *ma1,
297 __isl_take isl_multi_aff *ma2);
298 __isl_give isl_set *isl_multi_aff_lex_ge_set(__isl_take isl_multi_aff *ma1,
299 __isl_take isl_multi_aff *ma2);
301 __isl_give isl_printer *isl_printer_print_multi_aff(__isl_take isl_printer *p,
302 __isl_keep isl_multi_aff *maff);
304 __isl_give isl_multi_aff *isl_multi_aff_read_from_str(isl_ctx *ctx,
306 void isl_multi_aff_dump(__isl_keep isl_multi_aff *maff);
308 __isl_give isl_pw_multi_aff *isl_pw_multi_aff_from_multi_aff(
309 __isl_take isl_multi_aff *ma);
310 __isl_give isl_pw_multi_aff *isl_pw_multi_aff_alloc(__isl_take isl_set *set,
311 __isl_take isl_multi_aff *maff);
312 __isl_give isl_pw_multi_aff *isl_pw_multi_aff_copy(
313 __isl_keep isl_pw_multi_aff *pma);
314 void *isl_pw_multi_aff_free(__isl_take isl_pw_multi_aff *pma);
316 unsigned isl_pw_multi_aff_dim(__isl_keep isl_pw_multi_aff *pma,
317 enum isl_dim_type type);
318 __isl_give isl_pw_aff *isl_pw_multi_aff_get_pw_aff(
319 __isl_keep isl_pw_multi_aff *pma, int pos);
321 isl_ctx *isl_pw_multi_aff_get_ctx(__isl_keep isl_pw_multi_aff *pma);
322 __isl_give isl_space *isl_pw_multi_aff_get_domain_space(
323 __isl_keep isl_pw_multi_aff *pma);
324 __isl_give isl_space *isl_pw_multi_aff_get_space(
325 __isl_keep isl_pw_multi_aff *pma);
326 int isl_pw_multi_aff_has_tuple_name(__isl_keep isl_pw_multi_aff *pma,
327 enum isl_dim_type type);
328 const char *isl_pw_multi_aff_get_tuple_name(__isl_keep isl_pw_multi_aff *pma,
329 enum isl_dim_type type);
330 __isl_give isl_id *isl_pw_multi_aff_get_tuple_id(
331 __isl_keep isl_pw_multi_aff *pma, enum isl_dim_type type);
332 int isl_pw_multi_aff_has_tuple_id(__isl_keep isl_pw_multi_aff *pma,
333 enum isl_dim_type type);
334 __isl_give isl_pw_multi_aff *isl_pw_multi_aff_set_tuple_id(
335 __isl_take isl_pw_multi_aff *pma,
336 enum isl_dim_type type, __isl_take isl_id *id);
338 __isl_give isl_set *isl_pw_multi_aff_domain(__isl_take isl_pw_multi_aff *pma);
340 __isl_give isl_pw_multi_aff *isl_pw_multi_aff_empty(__isl_take isl_space *space);
341 __isl_give isl_pw_multi_aff *isl_pw_multi_aff_from_domain(
342 __isl_take isl_set *set);
344 const char *isl_pw_multi_aff_get_dim_name(__isl_keep isl_pw_multi_aff *pma,
345 enum isl_dim_type type, unsigned pos);
346 __isl_give isl_id *isl_pw_multi_aff_get_dim_id(
347 __isl_keep isl_pw_multi_aff *pma, enum isl_dim_type type,
349 __isl_give isl_pw_multi_aff *isl_pw_multi_aff_set_dim_id(
350 __isl_take isl_pw_multi_aff *pma,
351 enum isl_dim_type type, unsigned pos, __isl_take isl_id *id);
353 int isl_pw_multi_aff_plain_is_equal(__isl_keep isl_pw_multi_aff *pma1,
354 __isl_keep isl_pw_multi_aff *pma2);
356 __isl_give isl_pw_multi_aff *isl_pw_multi_aff_union_add(
357 __isl_take isl_pw_multi_aff *pma1, __isl_take isl_pw_multi_aff *pma2);
359 __isl_give isl_pw_multi_aff *isl_pw_multi_aff_add(
360 __isl_take isl_pw_multi_aff *pma1, __isl_take isl_pw_multi_aff *pma2);
362 __isl_give isl_pw_multi_aff *isl_pw_multi_aff_union_lexmin(
363 __isl_take isl_pw_multi_aff *pma1,
364 __isl_take isl_pw_multi_aff *pma2);
365 __isl_give isl_pw_multi_aff *isl_pw_multi_aff_union_lexmax(
366 __isl_take isl_pw_multi_aff *pma1,
367 __isl_take isl_pw_multi_aff *pma2);
369 __isl_give isl_pw_multi_aff *isl_pw_multi_aff_flat_range_product(
370 __isl_take isl_pw_multi_aff *pma1, __isl_take isl_pw_multi_aff *pma2);
372 __isl_give isl_pw_multi_aff *isl_pw_multi_aff_intersect_params(
373 __isl_take isl_pw_multi_aff *pma, __isl_take isl_set *set);
374 __isl_give isl_pw_multi_aff *isl_pw_multi_aff_intersect_domain(
375 __isl_take isl_pw_multi_aff *pma, __isl_take isl_set *set);
377 __isl_give isl_pw_multi_aff *isl_pw_multi_aff_coalesce(
378 __isl_take isl_pw_multi_aff *pma);
379 __isl_give isl_pw_multi_aff *isl_pw_multi_aff_gist_params(
380 __isl_take isl_pw_multi_aff *pma, __isl_take isl_set *set);
381 __isl_give isl_pw_multi_aff *isl_pw_multi_aff_gist(
382 __isl_take isl_pw_multi_aff *pma, __isl_take isl_set *set);
384 int isl_pw_multi_aff_foreach_piece(__isl_keep isl_pw_multi_aff *pma,
385 int (*fn)(__isl_take isl_set *set, __isl_take isl_multi_aff *maff,
386 void *user), void *user);
388 __isl_give isl_map *isl_map_from_pw_multi_aff(__isl_take isl_pw_multi_aff *pma);
389 __isl_give isl_set *isl_set_from_pw_multi_aff(__isl_take isl_pw_multi_aff *pma);
391 __isl_give isl_printer *isl_printer_print_pw_multi_aff(__isl_take isl_printer *p,
392 __isl_keep isl_pw_multi_aff *pma);
394 __isl_give isl_pw_multi_aff *isl_pw_multi_aff_from_set(__isl_take isl_set *set);
395 __isl_give isl_pw_multi_aff *isl_pw_multi_aff_from_map(__isl_take isl_map *map);
397 __isl_give isl_pw_multi_aff *isl_pw_multi_aff_read_from_str(isl_ctx *ctx,
399 void isl_pw_multi_aff_dump(__isl_keep isl_pw_multi_aff *pma);
402 __isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_empty(
403 __isl_take isl_space *space);
404 __isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_from_domain(
405 __isl_take isl_union_set *uset);
406 __isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_copy(
407 __isl_keep isl_union_pw_multi_aff *upma);
408 void *isl_union_pw_multi_aff_free(__isl_take isl_union_pw_multi_aff *upma);
410 __isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_add_pw_multi_aff(
411 __isl_take isl_union_pw_multi_aff *upma,
412 __isl_take isl_pw_multi_aff *pma);
414 isl_ctx *isl_union_pw_multi_aff_get_ctx(
415 __isl_keep isl_union_pw_multi_aff *upma);
416 __isl_give isl_space *isl_union_pw_multi_aff_get_space(
417 __isl_keep isl_union_pw_multi_aff *upma);
419 int isl_union_pw_multi_aff_foreach_pw_multi_aff(
420 __isl_keep isl_union_pw_multi_aff *upma,
421 int (*fn)(__isl_take isl_pw_multi_aff *pma, void *user), void *user);
423 __isl_give isl_union_set *isl_union_pw_multi_aff_domain(
424 __isl_take isl_union_pw_multi_aff *upma);
426 __isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_add(
427 __isl_take isl_union_pw_multi_aff *upma1,
428 __isl_take isl_union_pw_multi_aff *upma2);
430 __isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_flat_range_product(
431 __isl_take isl_union_pw_multi_aff *upma1,
432 __isl_take isl_union_pw_multi_aff *upma2);
434 __isl_give isl_union_map *isl_union_map_from_union_pw_multi_aff(
435 __isl_take isl_union_pw_multi_aff *upma);
437 __isl_give isl_printer *isl_printer_print_union_pw_multi_aff(
438 __isl_take isl_printer *p, __isl_keep isl_union_pw_multi_aff *upma);
440 #if defined(__cplusplus)