source: Daodan/MSYS2/mingw32/include/isl/aff.h@ 1170

Last change on this file since 1170 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 59.0 KB
Line 
1#ifndef ISL_AFF_H
2#define ISL_AFF_H
3
4#include <isl/stdint.h>
5#include <isl/local_space.h>
6#include <isl/printer.h>
7#include <isl/id_type.h>
8#include <isl/set_type.h>
9#include <isl/aff_type.h>
10#include <isl/list.h>
11#include <isl/multi.h>
12#include <isl/union_set_type.h>
13#include <isl/val_type.h>
14#include <isl/point.h>
15
16#if defined(__cplusplus)
17extern "C" {
18#endif
19
20__isl_overload
21__isl_give isl_aff *isl_aff_zero_on_domain_space(__isl_take isl_space *space);
22__isl_export
23__isl_give isl_aff *isl_space_zero_aff_on_domain(__isl_take isl_space *space);
24__isl_give isl_aff *isl_aff_zero_on_domain(__isl_take isl_local_space *ls);
25__isl_give isl_aff *isl_aff_val_on_domain_space(__isl_take isl_space *space,
26 __isl_take isl_val *val);
27__isl_give isl_aff *isl_aff_val_on_domain(__isl_take isl_local_space *ls,
28 __isl_take isl_val *val);
29__isl_give isl_aff *isl_aff_var_on_domain(__isl_take isl_local_space *ls,
30 enum isl_dim_type type, unsigned pos);
31__isl_give isl_aff *isl_aff_nan_on_domain_space(__isl_take isl_space *space);
32__isl_give isl_aff *isl_aff_nan_on_domain(__isl_take isl_local_space *ls);
33__isl_give isl_aff *isl_aff_param_on_domain_space_id(
34 __isl_take isl_space *space, __isl_take isl_id *id);
35
36__isl_give isl_aff *isl_aff_copy(__isl_keep isl_aff *aff);
37__isl_null isl_aff *isl_aff_free(__isl_take isl_aff *aff);
38
39isl_ctx *isl_aff_get_ctx(__isl_keep isl_aff *aff);
40uint32_t isl_aff_get_hash(__isl_keep isl_aff *aff);
41
42isl_bool isl_aff_involves_locals(__isl_keep isl_aff *aff);
43
44isl_size isl_aff_dim(__isl_keep isl_aff *aff, enum isl_dim_type type);
45isl_bool isl_aff_involves_dims(__isl_keep isl_aff *aff,
46 enum isl_dim_type type, unsigned first, unsigned n);
47
48__isl_give isl_space *isl_aff_get_domain_space(__isl_keep isl_aff *aff);
49__isl_give isl_space *isl_aff_get_space(__isl_keep isl_aff *aff);
50__isl_give isl_local_space *isl_aff_get_domain_local_space(
51 __isl_keep isl_aff *aff);
52__isl_give isl_local_space *isl_aff_get_local_space(__isl_keep isl_aff *aff);
53
54const char *isl_aff_get_dim_name(__isl_keep isl_aff *aff,
55 enum isl_dim_type type, unsigned pos);
56__isl_export
57__isl_give isl_val *isl_aff_get_constant_val(__isl_keep isl_aff *aff);
58__isl_give isl_val *isl_aff_get_coefficient_val(__isl_keep isl_aff *aff,
59 enum isl_dim_type type, int pos);
60int isl_aff_coefficient_sgn(__isl_keep isl_aff *aff,
61 enum isl_dim_type type, int pos);
62__isl_give isl_val *isl_aff_get_denominator_val(__isl_keep isl_aff *aff);
63__isl_give isl_aff *isl_aff_set_constant_si(__isl_take isl_aff *aff, int v);
64__isl_give isl_aff *isl_aff_set_constant_val(__isl_take isl_aff *aff,
65 __isl_take isl_val *v);
66__isl_give isl_aff *isl_aff_set_coefficient_si(__isl_take isl_aff *aff,
67 enum isl_dim_type type, int pos, int v);
68__isl_give isl_aff *isl_aff_set_coefficient_val(__isl_take isl_aff *aff,
69 enum isl_dim_type type, int pos, __isl_take isl_val *v);
70__isl_give isl_aff *isl_aff_add_constant_si(__isl_take isl_aff *aff, int v);
71__isl_overload
72__isl_give isl_aff *isl_aff_add_constant_val(__isl_take isl_aff *aff,
73 __isl_take isl_val *v);
74__isl_give isl_aff *isl_aff_add_constant_num_si(__isl_take isl_aff *aff, int v);
75__isl_give isl_aff *isl_aff_add_coefficient_si(__isl_take isl_aff *aff,
76 enum isl_dim_type type, int pos, int v);
77__isl_give isl_aff *isl_aff_add_coefficient_val(__isl_take isl_aff *aff,
78 enum isl_dim_type type, int pos, __isl_take isl_val *v);
79
80__isl_export
81isl_bool isl_aff_is_cst(__isl_keep isl_aff *aff);
82
83__isl_give isl_aff *isl_aff_set_tuple_id(__isl_take isl_aff *aff,
84 enum isl_dim_type type, __isl_take isl_id *id);
85__isl_give isl_aff *isl_aff_set_dim_name(__isl_take isl_aff *aff,
86 enum isl_dim_type type, unsigned pos, const char *s);
87__isl_give isl_aff *isl_aff_set_dim_id(__isl_take isl_aff *aff,
88 enum isl_dim_type type, unsigned pos, __isl_take isl_id *id);
89
90int isl_aff_find_dim_by_name(__isl_keep isl_aff *aff, enum isl_dim_type type,
91 const char *name);
92
93isl_bool isl_aff_plain_is_equal(__isl_keep isl_aff *aff1,
94 __isl_keep isl_aff *aff2);
95isl_bool isl_aff_plain_is_zero(__isl_keep isl_aff *aff);
96isl_bool isl_aff_is_nan(__isl_keep isl_aff *aff);
97
98__isl_give isl_aff *isl_aff_get_div(__isl_keep isl_aff *aff, int pos);
99
100__isl_give isl_aff *isl_aff_from_range(__isl_take isl_aff *aff);
101
102__isl_export
103__isl_give isl_aff *isl_aff_neg(__isl_take isl_aff *aff);
104__isl_export
105__isl_give isl_aff *isl_aff_ceil(__isl_take isl_aff *aff);
106__isl_export
107__isl_give isl_aff *isl_aff_floor(__isl_take isl_aff *aff);
108__isl_overload
109__isl_give isl_aff *isl_aff_mod_val(__isl_take isl_aff *aff,
110 __isl_take isl_val *mod);
111
112__isl_export
113__isl_give isl_aff *isl_aff_mul(__isl_take isl_aff *aff1,
114 __isl_take isl_aff *aff2);
115__isl_export
116__isl_give isl_aff *isl_aff_div(__isl_take isl_aff *aff1,
117 __isl_take isl_aff *aff2);
118__isl_export
119__isl_give isl_aff *isl_aff_add(__isl_take isl_aff *aff1,
120 __isl_take isl_aff *aff2);
121__isl_export
122__isl_give isl_aff *isl_aff_sub(__isl_take isl_aff *aff1,
123 __isl_take isl_aff *aff2);
124
125__isl_overload
126__isl_give isl_aff *isl_aff_scale_val(__isl_take isl_aff *aff,
127 __isl_take isl_val *v);
128__isl_give isl_aff *isl_aff_scale_down_ui(__isl_take isl_aff *aff, unsigned f);
129__isl_overload
130__isl_give isl_aff *isl_aff_scale_down_val(__isl_take isl_aff *aff,
131 __isl_take isl_val *v);
132
133__isl_give isl_aff *isl_aff_insert_dims(__isl_take isl_aff *aff,
134 enum isl_dim_type type, unsigned first, unsigned n);
135__isl_give isl_aff *isl_aff_add_dims(__isl_take isl_aff *aff,
136 enum isl_dim_type type, unsigned n);
137__isl_give isl_aff *isl_aff_move_dims(__isl_take isl_aff *aff,
138 enum isl_dim_type dst_type, unsigned dst_pos,
139 enum isl_dim_type src_type, unsigned src_pos, unsigned n);
140__isl_give isl_aff *isl_aff_drop_dims(__isl_take isl_aff *aff,
141 enum isl_dim_type type, unsigned first, unsigned n);
142__isl_give isl_aff *isl_aff_project_domain_on_params(__isl_take isl_aff *aff);
143__isl_export
144__isl_give isl_aff *isl_aff_unbind_params_insert_domain(
145 __isl_take isl_aff *aff, __isl_take isl_multi_id *domain);
146
147__isl_give isl_aff *isl_aff_align_params(__isl_take isl_aff *aff,
148 __isl_take isl_space *model);
149
150__isl_export
151__isl_give isl_aff *isl_aff_gist(__isl_take isl_aff *aff,
152 __isl_take isl_set *context);
153__isl_give isl_aff *isl_aff_gist_params(__isl_take isl_aff *aff,
154 __isl_take isl_set *context);
155
156__isl_export
157__isl_give isl_val *isl_aff_eval(__isl_take isl_aff *aff,
158 __isl_take isl_point *pnt);
159
160__isl_give isl_aff *isl_aff_pullback_aff(__isl_take isl_aff *aff1,
161 __isl_take isl_aff *aff2);
162__isl_overload
163__isl_give isl_aff *isl_aff_pullback_multi_aff(__isl_take isl_aff *aff,
164 __isl_take isl_multi_aff *ma);
165
166__isl_give isl_basic_set *isl_aff_zero_basic_set(__isl_take isl_aff *aff);
167__isl_give isl_basic_set *isl_aff_neg_basic_set(__isl_take isl_aff *aff);
168
169__isl_give isl_basic_set *isl_aff_eq_basic_set(__isl_take isl_aff *aff1,
170 __isl_take isl_aff *aff2);
171__isl_export
172__isl_give isl_set *isl_aff_eq_set(__isl_take isl_aff *aff1,
173 __isl_take isl_aff *aff2);
174__isl_export
175__isl_give isl_set *isl_aff_ne_set(__isl_take isl_aff *aff1,
176 __isl_take isl_aff *aff2);
177__isl_give isl_basic_set *isl_aff_le_basic_set(__isl_take isl_aff *aff1,
178 __isl_take isl_aff *aff2);
179__isl_export
180__isl_give isl_set *isl_aff_le_set(__isl_take isl_aff *aff1,
181 __isl_take isl_aff *aff2);
182__isl_give isl_basic_set *isl_aff_lt_basic_set(__isl_take isl_aff *aff1,
183 __isl_take isl_aff *aff2);
184__isl_export
185__isl_give isl_set *isl_aff_lt_set(__isl_take isl_aff *aff1,
186 __isl_take isl_aff *aff2);
187__isl_give isl_basic_set *isl_aff_ge_basic_set(__isl_take isl_aff *aff1,
188 __isl_take isl_aff *aff2);
189__isl_export
190__isl_give isl_set *isl_aff_ge_set(__isl_take isl_aff *aff1,
191 __isl_take isl_aff *aff2);
192__isl_give isl_basic_set *isl_aff_gt_basic_set(__isl_take isl_aff *aff1,
193 __isl_take isl_aff *aff2);
194__isl_export
195__isl_give isl_set *isl_aff_gt_set(__isl_take isl_aff *aff1,
196 __isl_take isl_aff *aff2);
197
198__isl_overload
199__isl_give isl_basic_set *isl_aff_bind_id(__isl_take isl_aff *aff,
200 __isl_take isl_id *id);
201
202__isl_constructor
203__isl_give isl_aff *isl_aff_read_from_str(isl_ctx *ctx, const char *str);
204__isl_give char *isl_aff_to_str(__isl_keep isl_aff *aff);
205__isl_give isl_printer *isl_printer_print_aff(__isl_take isl_printer *p,
206 __isl_keep isl_aff *aff);
207void isl_aff_dump(__isl_keep isl_aff *aff);
208
209isl_ctx *isl_pw_aff_get_ctx(__isl_keep isl_pw_aff *pwaff);
210uint32_t isl_pw_aff_get_hash(__isl_keep isl_pw_aff *pa);
211__isl_give isl_space *isl_pw_aff_get_domain_space(__isl_keep isl_pw_aff *pwaff);
212__isl_give isl_space *isl_pw_aff_get_space(__isl_keep isl_pw_aff *pwaff);
213
214__isl_constructor
215__isl_give isl_pw_aff *isl_pw_aff_from_aff(__isl_take isl_aff *aff);
216__isl_give isl_pw_aff *isl_pw_aff_empty(__isl_take isl_space *space);
217__isl_give isl_pw_aff *isl_pw_aff_alloc(__isl_take isl_set *set,
218 __isl_take isl_aff *aff);
219__isl_give isl_pw_aff *isl_pw_aff_zero_on_domain(
220 __isl_take isl_local_space *ls);
221__isl_give isl_pw_aff *isl_pw_aff_var_on_domain(__isl_take isl_local_space *ls,
222 enum isl_dim_type type, unsigned pos);
223__isl_give isl_pw_aff *isl_pw_aff_nan_on_domain_space(
224 __isl_take isl_space *space);
225__isl_give isl_pw_aff *isl_pw_aff_nan_on_domain(__isl_take isl_local_space *ls);
226__isl_give isl_pw_aff *isl_pw_aff_val_on_domain(__isl_take isl_set *domain,
227 __isl_take isl_val *v);
228__isl_overload
229__isl_give isl_pw_aff *isl_pw_aff_param_on_domain_id(
230 __isl_take isl_set *domain, __isl_take isl_id *id);
231
232__isl_export
233__isl_give isl_pw_aff *isl_set_indicator_function(__isl_take isl_set *set);
234
235const char *isl_pw_aff_get_dim_name(__isl_keep isl_pw_aff *pa,
236 enum isl_dim_type type, unsigned pos);
237isl_bool isl_pw_aff_has_dim_id(__isl_keep isl_pw_aff *pa,
238 enum isl_dim_type type, unsigned pos);
239__isl_give isl_id *isl_pw_aff_get_dim_id(__isl_keep isl_pw_aff *pa,
240 enum isl_dim_type type, unsigned pos);
241__isl_give isl_pw_aff *isl_pw_aff_set_dim_id(__isl_take isl_pw_aff *pma,
242 enum isl_dim_type type, unsigned pos, __isl_take isl_id *id);
243
244int isl_pw_aff_find_dim_by_name(__isl_keep isl_pw_aff *pa,
245 enum isl_dim_type type, const char *name);
246
247isl_bool isl_pw_aff_is_empty(__isl_keep isl_pw_aff *pwaff);
248isl_bool isl_pw_aff_involves_nan(__isl_keep isl_pw_aff *pa);
249int isl_pw_aff_plain_cmp(__isl_keep isl_pw_aff *pa1,
250 __isl_keep isl_pw_aff *pa2);
251isl_bool isl_pw_aff_plain_is_equal(__isl_keep isl_pw_aff *pwaff1,
252 __isl_keep isl_pw_aff *pwaff2);
253isl_bool isl_pw_aff_is_equal(__isl_keep isl_pw_aff *pa1,
254 __isl_keep isl_pw_aff *pa2);
255
256__isl_give isl_pw_aff *isl_pw_aff_union_min(__isl_take isl_pw_aff *pwaff1,
257 __isl_take isl_pw_aff *pwaff2);
258__isl_give isl_pw_aff *isl_pw_aff_union_max(__isl_take isl_pw_aff *pwaff1,
259 __isl_take isl_pw_aff *pwaff2);
260__isl_export
261__isl_give isl_pw_aff *isl_pw_aff_union_add(__isl_take isl_pw_aff *pwaff1,
262 __isl_take isl_pw_aff *pwaff2);
263
264__isl_give isl_pw_aff *isl_pw_aff_copy(__isl_keep isl_pw_aff *pwaff);
265__isl_null isl_pw_aff *isl_pw_aff_free(__isl_take isl_pw_aff *pwaff);
266
267isl_size isl_pw_aff_dim(__isl_keep isl_pw_aff *pwaff, enum isl_dim_type type);
268isl_bool isl_pw_aff_involves_param_id(__isl_keep isl_pw_aff *pa,
269 __isl_keep isl_id *id);
270isl_bool isl_pw_aff_involves_dims(__isl_keep isl_pw_aff *pwaff,
271 enum isl_dim_type type, unsigned first, unsigned n);
272
273isl_bool isl_pw_aff_is_cst(__isl_keep isl_pw_aff *pwaff);
274
275__isl_export
276__isl_give isl_pw_aff *isl_pw_aff_insert_domain(__isl_take isl_pw_aff *pa,
277 __isl_take isl_space *domain);
278__isl_give isl_pw_aff *isl_pw_aff_project_domain_on_params(
279 __isl_take isl_pw_aff *pa);
280
281__isl_give isl_pw_aff *isl_pw_aff_align_params(__isl_take isl_pw_aff *pwaff,
282 __isl_take isl_space *model);
283__isl_give isl_pw_aff *isl_pw_aff_drop_unused_params(
284 __isl_take isl_pw_aff *pa);
285
286isl_bool isl_pw_aff_has_tuple_id(__isl_keep isl_pw_aff *pa,
287 enum isl_dim_type type);
288__isl_give isl_id *isl_pw_aff_get_tuple_id(__isl_keep isl_pw_aff *pa,
289 enum isl_dim_type type);
290__isl_give isl_pw_aff *isl_pw_aff_set_tuple_id(__isl_take isl_pw_aff *pwaff,
291 enum isl_dim_type type, __isl_take isl_id *id);
292__isl_give isl_pw_aff *isl_pw_aff_reset_tuple_id(__isl_take isl_pw_aff *pa,
293 enum isl_dim_type type);
294__isl_give isl_pw_aff *isl_pw_aff_reset_user(__isl_take isl_pw_aff *pa);
295
296__isl_give isl_set *isl_pw_aff_params(__isl_take isl_pw_aff *pwa);
297__isl_export
298__isl_give isl_set *isl_pw_aff_domain(__isl_take isl_pw_aff *pwaff);
299__isl_give isl_pw_aff *isl_pw_aff_from_range(__isl_take isl_pw_aff *pwa);
300
301__isl_export
302__isl_give isl_pw_aff *isl_pw_aff_min(__isl_take isl_pw_aff *pwaff1,
303 __isl_take isl_pw_aff *pwaff2);
304__isl_export
305__isl_give isl_pw_aff *isl_pw_aff_max(__isl_take isl_pw_aff *pwaff1,
306 __isl_take isl_pw_aff *pwaff2);
307__isl_export
308__isl_give isl_pw_aff *isl_pw_aff_mul(__isl_take isl_pw_aff *pwaff1,
309 __isl_take isl_pw_aff *pwaff2);
310__isl_export
311__isl_give isl_pw_aff *isl_pw_aff_div(__isl_take isl_pw_aff *pa1,
312 __isl_take isl_pw_aff *pa2);
313__isl_export
314__isl_give isl_pw_aff *isl_pw_aff_add(__isl_take isl_pw_aff *pwaff1,
315 __isl_take isl_pw_aff *pwaff2);
316__isl_export
317__isl_give isl_pw_aff *isl_pw_aff_sub(__isl_take isl_pw_aff *pwaff1,
318 __isl_take isl_pw_aff *pwaff2);
319__isl_export
320__isl_give isl_pw_aff *isl_pw_aff_neg(__isl_take isl_pw_aff *pwaff);
321__isl_export
322__isl_give isl_pw_aff *isl_pw_aff_ceil(__isl_take isl_pw_aff *pwaff);
323__isl_export
324__isl_give isl_pw_aff *isl_pw_aff_floor(__isl_take isl_pw_aff *pwaff);
325__isl_overload
326__isl_give isl_pw_aff *isl_pw_aff_mod_val(__isl_take isl_pw_aff *pa,
327 __isl_take isl_val *mod);
328__isl_export
329__isl_give isl_pw_aff *isl_pw_aff_tdiv_q(__isl_take isl_pw_aff *pa1,
330 __isl_take isl_pw_aff *pa2);
331__isl_export
332__isl_give isl_pw_aff *isl_pw_aff_tdiv_r(__isl_take isl_pw_aff *pa1,
333 __isl_take isl_pw_aff *pa2);
334
335__isl_export
336__isl_give isl_pw_aff *isl_pw_aff_intersect_params(__isl_take isl_pw_aff *pa,
337 __isl_take isl_set *set);
338__isl_export
339__isl_give isl_pw_aff *isl_pw_aff_intersect_domain(__isl_take isl_pw_aff *pa,
340 __isl_take isl_set *set);
341__isl_give isl_pw_aff *isl_pw_aff_intersect_domain_wrapped_domain(
342 __isl_take isl_pw_aff *pa, __isl_take isl_set *set);
343__isl_give isl_pw_aff *isl_pw_aff_intersect_domain_wrapped_range(
344 __isl_take isl_pw_aff *pa, __isl_take isl_set *set);
345__isl_export
346__isl_give isl_pw_aff *isl_pw_aff_subtract_domain(__isl_take isl_pw_aff *pa,
347 __isl_take isl_set *set);
348
349__isl_export
350__isl_give isl_pw_aff *isl_pw_aff_cond(__isl_take isl_pw_aff *cond,
351 __isl_take isl_pw_aff *pwaff_true, __isl_take isl_pw_aff *pwaff_false);
352
353__isl_overload
354__isl_give isl_pw_aff *isl_pw_aff_add_constant_val(__isl_take isl_pw_aff *pa,
355 __isl_take isl_val *v);
356__isl_overload
357__isl_give isl_pw_aff *isl_pw_aff_scale_val(__isl_take isl_pw_aff *pa,
358 __isl_take isl_val *v);
359__isl_overload
360__isl_give isl_pw_aff *isl_pw_aff_scale_down_val(__isl_take isl_pw_aff *pa,
361 __isl_take isl_val *f);
362
363__isl_give isl_pw_aff *isl_pw_aff_insert_dims(__isl_take isl_pw_aff *pwaff,
364 enum isl_dim_type type, unsigned first, unsigned n);
365__isl_give isl_pw_aff *isl_pw_aff_add_dims(__isl_take isl_pw_aff *pwaff,
366 enum isl_dim_type type, unsigned n);
367__isl_give isl_pw_aff *isl_pw_aff_move_dims(__isl_take isl_pw_aff *pa,
368 enum isl_dim_type dst_type, unsigned dst_pos,
369 enum isl_dim_type src_type, unsigned src_pos, unsigned n);
370__isl_give isl_pw_aff *isl_pw_aff_drop_dims(__isl_take isl_pw_aff *pwaff,
371 enum isl_dim_type type, unsigned first, unsigned n);
372
373__isl_export
374__isl_give isl_pw_aff *isl_pw_aff_coalesce(__isl_take isl_pw_aff *pa);
375__isl_export
376__isl_give isl_pw_aff *isl_pw_aff_gist(__isl_take isl_pw_aff *pwaff,
377 __isl_take isl_set *context);
378__isl_give isl_pw_aff *isl_pw_aff_gist_params(__isl_take isl_pw_aff *pwaff,
379 __isl_take isl_set *context);
380
381__isl_export
382__isl_give isl_val *isl_pw_aff_eval(__isl_take isl_pw_aff *pa,
383 __isl_take isl_point *pnt);
384
385__isl_overload
386__isl_give isl_pw_aff *isl_pw_aff_pullback_multi_aff(
387 __isl_take isl_pw_aff *pa, __isl_take isl_multi_aff *ma);
388__isl_overload
389__isl_give isl_pw_aff *isl_pw_aff_pullback_pw_multi_aff(
390 __isl_take isl_pw_aff *pa, __isl_take isl_pw_multi_aff *pma);
391__isl_overload
392__isl_give isl_pw_aff *isl_pw_aff_pullback_multi_pw_aff(
393 __isl_take isl_pw_aff *pa, __isl_take isl_multi_pw_aff *mpa);
394
395isl_size isl_pw_aff_n_piece(__isl_keep isl_pw_aff *pwaff);
396isl_stat isl_pw_aff_foreach_piece(__isl_keep isl_pw_aff *pwaff,
397 isl_stat (*fn)(__isl_take isl_set *set, __isl_take isl_aff *aff,
398 void *user), void *user);
399isl_bool isl_pw_aff_every_piece(__isl_keep isl_pw_aff *pa,
400 isl_bool (*test)(__isl_keep isl_set *set, __isl_keep isl_aff *aff,
401 void *user), void *user);
402__isl_export
403isl_bool isl_pw_aff_isa_aff(__isl_keep isl_pw_aff *pa);
404__isl_export
405__isl_give isl_aff *isl_pw_aff_as_aff(__isl_take isl_pw_aff *pa);
406
407__isl_export
408__isl_give isl_map *isl_pw_aff_as_map(__isl_take isl_pw_aff *pa);
409__isl_give isl_set *isl_set_from_pw_aff(__isl_take isl_pw_aff *pwaff);
410__isl_give isl_map *isl_map_from_pw_aff(__isl_take isl_pw_aff *pwaff);
411
412__isl_give isl_set *isl_pw_aff_pos_set(__isl_take isl_pw_aff *pa);
413__isl_give isl_set *isl_pw_aff_nonneg_set(__isl_take isl_pw_aff *pwaff);
414__isl_give isl_set *isl_pw_aff_zero_set(__isl_take isl_pw_aff *pwaff);
415__isl_give isl_set *isl_pw_aff_non_zero_set(__isl_take isl_pw_aff *pwaff);
416
417__isl_export
418__isl_give isl_set *isl_pw_aff_eq_set(__isl_take isl_pw_aff *pwaff1,
419 __isl_take isl_pw_aff *pwaff2);
420__isl_export
421__isl_give isl_set *isl_pw_aff_ne_set(__isl_take isl_pw_aff *pwaff1,
422 __isl_take isl_pw_aff *pwaff2);
423__isl_export
424__isl_give isl_set *isl_pw_aff_le_set(__isl_take isl_pw_aff *pwaff1,
425 __isl_take isl_pw_aff *pwaff2);
426__isl_export
427__isl_give isl_set *isl_pw_aff_lt_set(__isl_take isl_pw_aff *pwaff1,
428 __isl_take isl_pw_aff *pwaff2);
429__isl_export
430__isl_give isl_set *isl_pw_aff_ge_set(__isl_take isl_pw_aff *pwaff1,
431 __isl_take isl_pw_aff *pwaff2);
432__isl_export
433__isl_give isl_set *isl_pw_aff_gt_set(__isl_take isl_pw_aff *pwaff1,
434 __isl_take isl_pw_aff *pwaff2);
435
436__isl_give isl_map *isl_pw_aff_eq_map(__isl_take isl_pw_aff *pa1,
437 __isl_take isl_pw_aff *pa2);
438__isl_give isl_map *isl_pw_aff_le_map(__isl_take isl_pw_aff *pa1,
439 __isl_take isl_pw_aff *pa2);
440__isl_give isl_map *isl_pw_aff_lt_map(__isl_take isl_pw_aff *pa1,
441 __isl_take isl_pw_aff *pa2);
442__isl_give isl_map *isl_pw_aff_ge_map(__isl_take isl_pw_aff *pa1,
443 __isl_take isl_pw_aff *pa2);
444__isl_give isl_map *isl_pw_aff_gt_map(__isl_take isl_pw_aff *pa1,
445 __isl_take isl_pw_aff *pa2);
446
447__isl_export
448__isl_give isl_pw_aff *isl_pw_aff_bind_domain(__isl_take isl_pw_aff *pa,
449 __isl_take isl_multi_id *tuple);
450__isl_export
451__isl_give isl_pw_aff *isl_pw_aff_bind_domain_wrapped_domain(
452 __isl_take isl_pw_aff *pa, __isl_take isl_multi_id *tuple);
453__isl_overload
454__isl_give isl_set *isl_pw_aff_bind_id(__isl_take isl_pw_aff *pa,
455 __isl_take isl_id *id);
456
457__isl_constructor
458__isl_give isl_pw_aff *isl_pw_aff_read_from_str(isl_ctx *ctx, const char *str);
459__isl_give char *isl_pw_aff_to_str(__isl_keep isl_pw_aff *pa);
460__isl_give isl_printer *isl_printer_print_pw_aff(__isl_take isl_printer *p,
461 __isl_keep isl_pw_aff *pwaff);
462void isl_pw_aff_dump(__isl_keep isl_pw_aff *pwaff);
463
464__isl_give isl_pw_aff *isl_pw_aff_list_min(__isl_take isl_pw_aff_list *list);
465__isl_give isl_pw_aff *isl_pw_aff_list_max(__isl_take isl_pw_aff_list *list);
466
467__isl_give isl_set *isl_pw_aff_list_eq_set(__isl_take isl_pw_aff_list *list1,
468 __isl_take isl_pw_aff_list *list2);
469__isl_give isl_set *isl_pw_aff_list_ne_set(__isl_take isl_pw_aff_list *list1,
470 __isl_take isl_pw_aff_list *list2);
471__isl_give isl_set *isl_pw_aff_list_le_set(__isl_take isl_pw_aff_list *list1,
472 __isl_take isl_pw_aff_list *list2);
473__isl_give isl_set *isl_pw_aff_list_lt_set(__isl_take isl_pw_aff_list *list1,
474 __isl_take isl_pw_aff_list *list2);
475__isl_give isl_set *isl_pw_aff_list_ge_set(__isl_take isl_pw_aff_list *list1,
476 __isl_take isl_pw_aff_list *list2);
477__isl_give isl_set *isl_pw_aff_list_gt_set(__isl_take isl_pw_aff_list *list1,
478 __isl_take isl_pw_aff_list *list2);
479
480ISL_DECLARE_MULTI(aff)
481ISL_DECLARE_MULTI_IDENTITY(aff)
482ISL_DECLARE_MULTI_CMP(aff)
483ISL_DECLARE_MULTI_ARITH(aff)
484ISL_DECLARE_MULTI_ADD_CONSTANT(aff)
485ISL_DECLARE_MULTI_ZERO(aff)
486ISL_DECLARE_MULTI_NAN(aff)
487ISL_DECLARE_MULTI_DIMS(aff)
488ISL_DECLARE_MULTI_INSERT_DOMAIN(aff)
489ISL_DECLARE_MULTI_LOCALS(aff)
490ISL_DECLARE_MULTI_DIM_ID(aff)
491ISL_DECLARE_MULTI_TUPLE_ID(aff)
492ISL_DECLARE_MULTI_WITH_DOMAIN(aff)
493ISL_DECLARE_MULTI_BIND_DOMAIN(aff)
494ISL_DECLARE_MULTI_UNBIND_PARAMS(aff)
495
496__isl_constructor
497__isl_give isl_multi_aff *isl_multi_aff_from_aff(__isl_take isl_aff *aff);
498__isl_export
499__isl_give isl_multi_aff *isl_multi_aff_domain_map(__isl_take isl_space *space);
500__isl_export
501__isl_give isl_multi_aff *isl_space_domain_map_multi_aff(
502 __isl_take isl_space *space);
503__isl_export
504__isl_give isl_multi_aff *isl_multi_aff_range_map(__isl_take isl_space *space);
505__isl_export
506__isl_give isl_multi_aff *isl_space_range_map_multi_aff(
507 __isl_take isl_space *space);
508__isl_give isl_multi_aff *isl_multi_aff_project_out_map(
509 __isl_take isl_space *space, enum isl_dim_type type,
510 unsigned first, unsigned n);
511
512__isl_overload
513__isl_give isl_multi_aff *isl_multi_aff_multi_val_on_domain_space(
514 __isl_take isl_space *space, __isl_take isl_multi_val *mv);
515__isl_overload
516__isl_give isl_multi_aff *isl_space_multi_aff_on_domain_multi_val(
517 __isl_take isl_space *space, __isl_take isl_multi_val *mv);
518__isl_give isl_multi_aff *isl_multi_aff_multi_val_on_space(
519 __isl_take isl_space *space, __isl_take isl_multi_val *mv);
520
521__isl_export
522__isl_give isl_multi_val *isl_multi_aff_get_constant_multi_val(
523 __isl_keep isl_multi_aff *ma);
524
525__isl_export
526__isl_give isl_multi_aff *isl_multi_aff_floor(__isl_take isl_multi_aff *ma);
527
528__isl_give isl_multi_aff *isl_multi_aff_gist_params(
529 __isl_take isl_multi_aff *maff, __isl_take isl_set *context);
530__isl_export
531__isl_give isl_multi_aff *isl_multi_aff_gist(__isl_take isl_multi_aff *maff,
532 __isl_take isl_set *context);
533
534__isl_give isl_multi_aff *isl_multi_aff_lift(__isl_take isl_multi_aff *maff,
535 __isl_give isl_local_space **ls);
536
537__isl_overload
538__isl_give isl_multi_aff *isl_multi_aff_pullback_multi_aff(
539 __isl_take isl_multi_aff *ma1, __isl_take isl_multi_aff *ma2);
540
541__isl_give isl_multi_aff *isl_multi_aff_move_dims(__isl_take isl_multi_aff *ma,
542 enum isl_dim_type dst_type, unsigned dst_pos,
543 enum isl_dim_type src_type, unsigned src_pos, unsigned n);
544
545__isl_give isl_set *isl_multi_aff_lex_lt_set(__isl_take isl_multi_aff *ma1,
546 __isl_take isl_multi_aff *ma2);
547__isl_give isl_set *isl_multi_aff_lex_le_set(__isl_take isl_multi_aff *ma1,
548 __isl_take isl_multi_aff *ma2);
549__isl_give isl_set *isl_multi_aff_lex_gt_set(__isl_take isl_multi_aff *ma1,
550 __isl_take isl_multi_aff *ma2);
551__isl_give isl_set *isl_multi_aff_lex_ge_set(__isl_take isl_multi_aff *ma1,
552 __isl_take isl_multi_aff *ma2);
553
554__isl_export
555__isl_give isl_basic_set *isl_multi_aff_bind(__isl_take isl_multi_aff *ma,
556 __isl_take isl_multi_id *tuple);
557
558__isl_give char *isl_multi_aff_to_str(__isl_keep isl_multi_aff *ma);
559__isl_give isl_printer *isl_printer_print_multi_aff(__isl_take isl_printer *p,
560 __isl_keep isl_multi_aff *maff);
561
562__isl_constructor
563__isl_give isl_multi_aff *isl_multi_aff_read_from_str(isl_ctx *ctx,
564 const char *str);
565void isl_multi_aff_dump(__isl_keep isl_multi_aff *maff);
566
567ISL_DECLARE_MULTI(pw_aff)
568ISL_DECLARE_MULTI_IDENTITY(pw_aff)
569ISL_DECLARE_MULTI_ARITH(pw_aff)
570ISL_DECLARE_MULTI_MIN_MAX(pw_aff)
571ISL_DECLARE_MULTI_ADD_CONSTANT(pw_aff)
572ISL_DECLARE_MULTI_ZERO(pw_aff)
573ISL_DECLARE_MULTI_NAN(pw_aff)
574ISL_DECLARE_MULTI_DIMS(pw_aff)
575ISL_DECLARE_MULTI_DIM_ID(pw_aff)
576ISL_DECLARE_MULTI_INSERT_DOMAIN(pw_aff)
577ISL_DECLARE_MULTI_TUPLE_ID(pw_aff)
578ISL_DECLARE_MULTI_WITH_DOMAIN(pw_aff)
579ISL_DECLARE_MULTI_BIND_DOMAIN(pw_aff)
580ISL_DECLARE_MULTI_PARAM(pw_aff)
581ISL_DECLARE_MULTI_UNBIND_PARAMS(pw_aff)
582
583__isl_export
584__isl_give isl_pw_multi_aff *isl_pw_multi_aff_zero(__isl_take isl_space *space);
585__isl_overload
586__isl_give isl_pw_multi_aff *isl_pw_multi_aff_identity_on_domain_space(
587 __isl_take isl_space *space);
588__isl_export
589__isl_give isl_pw_multi_aff *isl_space_identity_pw_multi_aff_on_domain(
590 __isl_take isl_space *space);
591__isl_give isl_pw_multi_aff *isl_pw_multi_aff_identity(
592 __isl_take isl_space *space);
593__isl_export
594__isl_give isl_pw_multi_aff *isl_pw_multi_aff_domain_map(
595 __isl_take isl_space *space);
596__isl_export
597__isl_give isl_pw_multi_aff *isl_space_domain_map_pw_multi_aff(
598 __isl_take isl_space *space);
599__isl_export
600__isl_give isl_pw_multi_aff *isl_pw_multi_aff_range_map(
601 __isl_take isl_space *space);
602__isl_export
603__isl_give isl_pw_multi_aff *isl_space_range_map_pw_multi_aff(
604 __isl_take isl_space *space);
605__isl_give isl_pw_multi_aff *isl_pw_multi_aff_project_out_map(
606 __isl_take isl_space *space, enum isl_dim_type type,
607 unsigned first, unsigned n);
608__isl_export
609__isl_give isl_pw_multi_aff *isl_multi_aff_to_pw_multi_aff(
610 __isl_take isl_multi_aff *ma);
611__isl_constructor
612__isl_give isl_pw_multi_aff *isl_pw_multi_aff_from_multi_aff(
613 __isl_take isl_multi_aff *ma);
614__isl_constructor
615__isl_give isl_pw_multi_aff *isl_pw_multi_aff_from_pw_aff(
616 __isl_take isl_pw_aff *pa);
617__isl_give isl_pw_multi_aff *isl_pw_multi_aff_alloc(__isl_take isl_set *set,
618 __isl_take isl_multi_aff *maff);
619__isl_give isl_pw_multi_aff *isl_pw_multi_aff_copy(
620 __isl_keep isl_pw_multi_aff *pma);
621__isl_null isl_pw_multi_aff *isl_pw_multi_aff_free(
622 __isl_take isl_pw_multi_aff *pma);
623
624isl_size isl_pw_multi_aff_dim(__isl_keep isl_pw_multi_aff *pma,
625 enum isl_dim_type type);
626__isl_export
627isl_bool isl_pw_multi_aff_involves_locals(__isl_keep isl_pw_multi_aff *pma);
628isl_bool isl_pw_multi_aff_involves_param_id(__isl_keep isl_pw_multi_aff *pma,
629 __isl_keep isl_id *id);
630isl_bool isl_pw_multi_aff_involves_dims(__isl_keep isl_pw_multi_aff *pma,
631 enum isl_dim_type type, unsigned first, unsigned n);
632__isl_export
633__isl_give isl_pw_aff *isl_pw_multi_aff_get_at(
634 __isl_keep isl_pw_multi_aff *pma, int pos);
635__isl_give isl_pw_aff *isl_pw_multi_aff_get_pw_aff(
636 __isl_keep isl_pw_multi_aff *pma, int pos);
637__isl_give isl_pw_multi_aff *isl_pw_multi_aff_set_pw_aff(
638 __isl_take isl_pw_multi_aff *pma, unsigned pos,
639 __isl_take isl_pw_aff *pa);
640
641isl_ctx *isl_pw_multi_aff_get_ctx(__isl_keep isl_pw_multi_aff *pma);
642__isl_give isl_space *isl_pw_multi_aff_get_domain_space(
643 __isl_keep isl_pw_multi_aff *pma);
644__isl_export
645__isl_give isl_space *isl_pw_multi_aff_get_space(
646 __isl_keep isl_pw_multi_aff *pma);
647isl_bool isl_pw_multi_aff_has_tuple_name(__isl_keep isl_pw_multi_aff *pma,
648 enum isl_dim_type type);
649const char *isl_pw_multi_aff_get_tuple_name(__isl_keep isl_pw_multi_aff *pma,
650 enum isl_dim_type type);
651__isl_export
652__isl_give isl_id *isl_pw_multi_aff_get_range_tuple_id(
653 __isl_keep isl_pw_multi_aff *pma);
654__isl_give isl_id *isl_pw_multi_aff_get_tuple_id(
655 __isl_keep isl_pw_multi_aff *pma, enum isl_dim_type type);
656__isl_export
657isl_bool isl_pw_multi_aff_has_range_tuple_id(__isl_keep isl_pw_multi_aff *pma);
658isl_bool isl_pw_multi_aff_has_tuple_id(__isl_keep isl_pw_multi_aff *pma,
659 enum isl_dim_type type);
660__isl_give isl_pw_multi_aff *isl_pw_multi_aff_set_tuple_id(
661 __isl_take isl_pw_multi_aff *pma,
662 enum isl_dim_type type, __isl_take isl_id *id);
663__isl_overload
664__isl_give isl_pw_multi_aff *isl_pw_multi_aff_set_range_tuple_id(
665 __isl_take isl_pw_multi_aff *pma, __isl_take isl_id *id);
666__isl_give isl_pw_multi_aff *isl_pw_multi_aff_reset_tuple_id(
667 __isl_take isl_pw_multi_aff *pma, enum isl_dim_type type);
668__isl_give isl_pw_multi_aff *isl_pw_multi_aff_reset_user(
669 __isl_take isl_pw_multi_aff *pma);
670
671int isl_pw_multi_aff_find_dim_by_name(__isl_keep isl_pw_multi_aff *pma,
672 enum isl_dim_type type, const char *name);
673
674__isl_give isl_pw_multi_aff *isl_pw_multi_aff_drop_dims(
675 __isl_take isl_pw_multi_aff *pma,
676 enum isl_dim_type type, unsigned first, unsigned n);
677
678__isl_export
679__isl_give isl_set *isl_pw_multi_aff_domain(__isl_take isl_pw_multi_aff *pma);
680
681__isl_give isl_pw_multi_aff *isl_pw_multi_aff_empty(__isl_take isl_space *space);
682__isl_give isl_pw_multi_aff *isl_pw_multi_aff_from_domain(
683 __isl_take isl_set *set);
684
685__isl_export
686__isl_give isl_pw_multi_aff *isl_pw_multi_aff_multi_val_on_domain(
687 __isl_take isl_set *domain, __isl_take isl_multi_val *mv);
688__isl_overload
689__isl_give isl_pw_multi_aff *isl_set_pw_multi_aff_on_domain_multi_val(
690 __isl_take isl_set *domain, __isl_take isl_multi_val *mv);
691
692const char *isl_pw_multi_aff_get_dim_name(__isl_keep isl_pw_multi_aff *pma,
693 enum isl_dim_type type, unsigned pos);
694__isl_give isl_id *isl_pw_multi_aff_get_dim_id(
695 __isl_keep isl_pw_multi_aff *pma, enum isl_dim_type type,
696 unsigned pos);
697__isl_give isl_pw_multi_aff *isl_pw_multi_aff_set_dim_id(
698 __isl_take isl_pw_multi_aff *pma,
699 enum isl_dim_type type, unsigned pos, __isl_take isl_id *id);
700
701isl_bool isl_pw_multi_aff_involves_nan(__isl_keep isl_pw_multi_aff *pma);
702isl_bool isl_pw_multi_aff_plain_is_equal(__isl_keep isl_pw_multi_aff *pma1,
703 __isl_keep isl_pw_multi_aff *pma2);
704isl_bool isl_pw_multi_aff_is_equal(__isl_keep isl_pw_multi_aff *pma1,
705 __isl_keep isl_pw_multi_aff *pma2);
706
707__isl_give isl_pw_multi_aff *isl_pw_multi_aff_fix_si(
708 __isl_take isl_pw_multi_aff *pma, enum isl_dim_type type,
709 unsigned pos, int value);
710
711__isl_export
712__isl_give isl_pw_multi_aff *isl_pw_multi_aff_union_add(
713 __isl_take isl_pw_multi_aff *pma1, __isl_take isl_pw_multi_aff *pma2);
714
715__isl_give isl_pw_multi_aff *isl_pw_multi_aff_neg(
716 __isl_take isl_pw_multi_aff *pma);
717
718__isl_export
719__isl_give isl_pw_multi_aff *isl_pw_multi_aff_add(
720 __isl_take isl_pw_multi_aff *pma1, __isl_take isl_pw_multi_aff *pma2);
721__isl_export
722__isl_give isl_pw_multi_aff *isl_pw_multi_aff_sub(
723 __isl_take isl_pw_multi_aff *pma1, __isl_take isl_pw_multi_aff *pma2);
724
725__isl_overload
726__isl_give isl_pw_multi_aff *isl_pw_multi_aff_add_constant_val(
727 __isl_take isl_pw_multi_aff *pma, __isl_take isl_val *v);
728__isl_overload
729__isl_give isl_pw_multi_aff *isl_pw_multi_aff_add_constant_multi_val(
730 __isl_take isl_pw_multi_aff *pma, __isl_take isl_multi_val *mv);
731__isl_overload
732__isl_give isl_pw_multi_aff *isl_pw_multi_aff_scale_val(
733 __isl_take isl_pw_multi_aff *pma, __isl_take isl_val *v);
734__isl_overload
735__isl_give isl_pw_multi_aff *isl_pw_multi_aff_scale_down_val(
736 __isl_take isl_pw_multi_aff *pma, __isl_take isl_val *v);
737__isl_give isl_pw_multi_aff *isl_pw_multi_aff_scale_multi_val(
738 __isl_take isl_pw_multi_aff *pma, __isl_take isl_multi_val *mv);
739
740__isl_give isl_pw_multi_aff *isl_pw_multi_aff_union_lexmin(
741 __isl_take isl_pw_multi_aff *pma1,
742 __isl_take isl_pw_multi_aff *pma2);
743__isl_give isl_pw_multi_aff *isl_pw_multi_aff_union_lexmax(
744 __isl_take isl_pw_multi_aff *pma1,
745 __isl_take isl_pw_multi_aff *pma2);
746
747__isl_give isl_multi_aff *isl_multi_aff_flatten_domain(
748 __isl_take isl_multi_aff *ma);
749
750__isl_export
751__isl_give isl_pw_multi_aff *isl_pw_multi_aff_range_product(
752 __isl_take isl_pw_multi_aff *pma1, __isl_take isl_pw_multi_aff *pma2);
753__isl_export
754__isl_give isl_pw_multi_aff *isl_pw_multi_aff_flat_range_product(
755 __isl_take isl_pw_multi_aff *pma1, __isl_take isl_pw_multi_aff *pma2);
756__isl_export
757__isl_give isl_pw_multi_aff *isl_pw_multi_aff_product(
758 __isl_take isl_pw_multi_aff *pma1, __isl_take isl_pw_multi_aff *pma2);
759__isl_export
760__isl_give isl_pw_multi_aff *isl_pw_multi_aff_range_factor_domain(
761 __isl_take isl_pw_multi_aff *pma);
762__isl_export
763__isl_give isl_pw_multi_aff *isl_pw_multi_aff_range_factor_range(
764 __isl_take isl_pw_multi_aff *pma);
765
766__isl_export
767__isl_give isl_pw_multi_aff *isl_pw_multi_aff_intersect_params(
768 __isl_take isl_pw_multi_aff *pma, __isl_take isl_set *set);
769__isl_export
770__isl_give isl_pw_multi_aff *isl_pw_multi_aff_intersect_domain(
771 __isl_take isl_pw_multi_aff *pma, __isl_take isl_set *set);
772__isl_give isl_pw_multi_aff *isl_pw_multi_aff_intersect_domain_wrapped_domain(
773 __isl_take isl_pw_multi_aff *pma, __isl_take isl_set *set);
774__isl_give isl_pw_multi_aff *isl_pw_multi_aff_intersect_domain_wrapped_range(
775 __isl_take isl_pw_multi_aff *pma, __isl_take isl_set *set);
776__isl_export
777__isl_give isl_pw_multi_aff *isl_pw_multi_aff_subtract_domain(
778 __isl_take isl_pw_multi_aff *pma, __isl_take isl_set *set);
779
780__isl_export
781__isl_give isl_pw_multi_aff *isl_pw_multi_aff_insert_domain(
782 __isl_take isl_pw_multi_aff *pma, __isl_take isl_space *domain);
783__isl_give isl_pw_multi_aff *isl_pw_multi_aff_project_domain_on_params(
784 __isl_take isl_pw_multi_aff *pma);
785
786__isl_give isl_pw_multi_aff *isl_pw_multi_aff_align_params(
787 __isl_take isl_pw_multi_aff *pma, __isl_take isl_space *model);
788__isl_give isl_pw_multi_aff *isl_pw_multi_aff_drop_unused_params(
789 __isl_take isl_pw_multi_aff *pma);
790
791__isl_export
792__isl_give isl_pw_multi_aff *isl_pw_multi_aff_coalesce(
793 __isl_take isl_pw_multi_aff *pma);
794__isl_give isl_pw_multi_aff *isl_pw_multi_aff_gist_params(
795 __isl_take isl_pw_multi_aff *pma, __isl_take isl_set *set);
796__isl_export
797__isl_give isl_pw_multi_aff *isl_pw_multi_aff_gist(
798 __isl_take isl_pw_multi_aff *pma, __isl_take isl_set *set);
799
800__isl_overload
801__isl_give isl_pw_multi_aff *isl_pw_multi_aff_pullback_multi_aff(
802 __isl_take isl_pw_multi_aff *pma, __isl_take isl_multi_aff *ma);
803__isl_overload
804__isl_give isl_pw_multi_aff *isl_pw_multi_aff_pullback_pw_multi_aff(
805 __isl_take isl_pw_multi_aff *pma1, __isl_take isl_pw_multi_aff *pma2);
806__isl_overload
807__isl_give isl_pw_multi_aff *
808isl_pw_multi_aff_preimage_domain_wrapped_domain_pw_multi_aff(
809 __isl_take isl_pw_multi_aff *pma1, __isl_take isl_pw_multi_aff *pma2);
810
811__isl_export
812isl_size isl_pw_multi_aff_n_piece(__isl_keep isl_pw_multi_aff *pma);
813__isl_export
814isl_stat isl_pw_multi_aff_foreach_piece(__isl_keep isl_pw_multi_aff *pma,
815 isl_stat (*fn)(__isl_take isl_set *set, __isl_take isl_multi_aff *maff,
816 void *user), void *user);
817isl_bool isl_pw_multi_aff_every_piece(__isl_keep isl_pw_multi_aff *pma,
818 isl_bool (*test)(__isl_keep isl_set *set, __isl_keep isl_multi_aff *ma,
819 void *user), void *user);
820__isl_export
821isl_bool isl_pw_multi_aff_isa_multi_aff(__isl_keep isl_pw_multi_aff *pma);
822__isl_export
823__isl_give isl_multi_aff *isl_pw_multi_aff_as_multi_aff(
824 __isl_take isl_pw_multi_aff *pma);
825
826__isl_export
827__isl_give isl_map *isl_pw_multi_aff_as_map(__isl_take isl_pw_multi_aff *pma);
828__isl_give isl_map *isl_map_from_pw_multi_aff(__isl_take isl_pw_multi_aff *pma);
829__isl_export
830__isl_give isl_set *isl_pw_multi_aff_as_set(__isl_take isl_pw_multi_aff *pma);
831__isl_give isl_set *isl_set_from_pw_multi_aff(__isl_take isl_pw_multi_aff *pma);
832
833__isl_give char *isl_pw_multi_aff_to_str(__isl_keep isl_pw_multi_aff *pma);
834__isl_give isl_printer *isl_printer_print_pw_multi_aff(__isl_take isl_printer *p,
835 __isl_keep isl_pw_multi_aff *pma);
836
837__isl_export
838__isl_give isl_pw_multi_aff *isl_set_as_pw_multi_aff(__isl_take isl_set *set);
839__isl_give isl_pw_multi_aff *isl_pw_multi_aff_from_set(__isl_take isl_set *set);
840__isl_export
841__isl_give isl_pw_multi_aff *isl_map_as_pw_multi_aff(__isl_take isl_map *map);
842__isl_give isl_pw_multi_aff *isl_pw_multi_aff_from_map(__isl_take isl_map *map);
843
844__isl_export
845__isl_give isl_pw_multi_aff *isl_pw_multi_aff_bind_domain(
846 __isl_take isl_pw_multi_aff *pma, __isl_take isl_multi_id *tuple);
847__isl_export
848__isl_give isl_pw_multi_aff *isl_pw_multi_aff_bind_domain_wrapped_domain(
849 __isl_take isl_pw_multi_aff *pma, __isl_take isl_multi_id *tuple);
850
851__isl_constructor
852__isl_give isl_pw_multi_aff *isl_pw_multi_aff_read_from_str(isl_ctx *ctx,
853 const char *str);
854void isl_pw_multi_aff_dump(__isl_keep isl_pw_multi_aff *pma);
855
856
857__isl_overload
858__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_empty_ctx(
859 isl_ctx *ctx);
860__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_empty_space(
861 __isl_take isl_space *space);
862__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_empty(
863 __isl_take isl_space *space);
864__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_from_aff(
865 __isl_take isl_aff *aff);
866__isl_constructor
867__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_from_multi_aff(
868 __isl_take isl_multi_aff *ma);
869__isl_export
870__isl_give isl_union_pw_multi_aff *isl_pw_multi_aff_to_union_pw_multi_aff(
871 __isl_take isl_pw_multi_aff *pma);
872__isl_constructor
873__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_from_pw_multi_aff(
874 __isl_take isl_pw_multi_aff *pma);
875__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_from_domain(
876 __isl_take isl_union_set *uset);
877__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_multi_val_on_domain(
878 __isl_take isl_union_set *domain, __isl_take isl_multi_val *mv);
879__isl_give isl_union_pw_aff *isl_union_pw_aff_param_on_domain_id(
880 __isl_take isl_union_set *domain, __isl_take isl_id *id);
881__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_copy(
882 __isl_keep isl_union_pw_multi_aff *upma);
883__isl_null isl_union_pw_multi_aff *isl_union_pw_multi_aff_free(
884 __isl_take isl_union_pw_multi_aff *upma);
885
886__isl_give isl_union_pw_multi_aff *isl_union_set_identity_union_pw_multi_aff(
887 __isl_take isl_union_set *uset);
888
889__isl_give isl_union_pw_aff *isl_union_pw_multi_aff_get_union_pw_aff(
890 __isl_keep isl_union_pw_multi_aff *upma, int pos);
891
892__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_add_pw_multi_aff(
893 __isl_take isl_union_pw_multi_aff *upma,
894 __isl_take isl_pw_multi_aff *pma);
895
896isl_ctx *isl_union_pw_multi_aff_get_ctx(
897 __isl_keep isl_union_pw_multi_aff *upma);
898__isl_export
899__isl_give isl_space *isl_union_pw_multi_aff_get_space(
900 __isl_keep isl_union_pw_multi_aff *upma);
901__isl_give isl_pw_multi_aff_list *isl_union_pw_multi_aff_get_pw_multi_aff_list(
902 __isl_keep isl_union_pw_multi_aff *upma);
903
904isl_size isl_union_pw_multi_aff_dim(__isl_keep isl_union_pw_multi_aff *upma,
905 enum isl_dim_type type);
906__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_set_dim_name(
907 __isl_take isl_union_pw_multi_aff *upma,
908 enum isl_dim_type type, unsigned pos, const char *s);
909
910int isl_union_pw_multi_aff_find_dim_by_name(
911 __isl_keep isl_union_pw_multi_aff *upma, enum isl_dim_type type,
912 const char *name);
913
914__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_drop_dims(
915 __isl_take isl_union_pw_multi_aff *upma,
916 enum isl_dim_type type, unsigned first, unsigned n);
917__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_reset_user(
918 __isl_take isl_union_pw_multi_aff *upma);
919
920__isl_export
921__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_coalesce(
922 __isl_take isl_union_pw_multi_aff *upma);
923__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_gist_params(
924 __isl_take isl_union_pw_multi_aff *upma, __isl_take isl_set *context);
925__isl_export
926__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_gist(
927 __isl_take isl_union_pw_multi_aff *upma,
928 __isl_take isl_union_set *context);
929
930__isl_overload
931__isl_give isl_union_pw_multi_aff *
932isl_union_pw_multi_aff_pullback_union_pw_multi_aff(
933 __isl_take isl_union_pw_multi_aff *upma1,
934 __isl_take isl_union_pw_multi_aff *upma2);
935__isl_overload
936__isl_give isl_union_pw_multi_aff *
937isl_union_pw_multi_aff_apply_union_pw_multi_aff(
938 __isl_take isl_union_pw_multi_aff *upma1,
939 __isl_take isl_union_pw_multi_aff *upma2);
940__isl_overload
941__isl_give isl_union_pw_multi_aff *
942isl_union_pw_multi_aff_preimage_domain_wrapped_domain_union_pw_multi_aff(
943 __isl_take isl_union_pw_multi_aff *upma1,
944 __isl_take isl_union_pw_multi_aff *upma2);
945
946__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_align_params(
947 __isl_take isl_union_pw_multi_aff *upma, __isl_take isl_space *model);
948
949isl_size isl_union_pw_multi_aff_n_pw_multi_aff(
950 __isl_keep isl_union_pw_multi_aff *upma);
951
952isl_stat isl_union_pw_multi_aff_foreach_pw_multi_aff(
953 __isl_keep isl_union_pw_multi_aff *upma,
954 isl_stat (*fn)(__isl_take isl_pw_multi_aff *pma, void *user),
955 void *user);
956isl_bool isl_union_pw_multi_aff_every_pw_multi_aff(
957 __isl_keep isl_union_pw_multi_aff *upma,
958 isl_bool (*test)(__isl_keep isl_pw_multi_aff *pma, void *user),
959 void *user);
960__isl_export
961__isl_give isl_pw_multi_aff *isl_union_pw_multi_aff_extract_pw_multi_aff(
962 __isl_keep isl_union_pw_multi_aff *upma, __isl_take isl_space *space);
963__isl_export
964isl_bool isl_union_pw_multi_aff_isa_pw_multi_aff(
965 __isl_keep isl_union_pw_multi_aff *upma);
966__isl_export
967__isl_give isl_pw_multi_aff *isl_union_pw_multi_aff_as_pw_multi_aff(
968 __isl_take isl_union_pw_multi_aff *upma);
969
970__isl_export
971isl_bool isl_union_pw_multi_aff_plain_is_empty(
972 __isl_keep isl_union_pw_multi_aff *upma);
973__isl_export
974isl_bool isl_union_pw_multi_aff_involves_locals(
975 __isl_keep isl_union_pw_multi_aff *upma);
976isl_bool isl_union_pw_multi_aff_involves_nan(
977 __isl_keep isl_union_pw_multi_aff *upma);
978isl_bool isl_union_pw_multi_aff_plain_is_equal(
979 __isl_keep isl_union_pw_multi_aff *upma1,
980 __isl_keep isl_union_pw_multi_aff *upma2);
981
982__isl_export
983__isl_give isl_union_set *isl_union_pw_multi_aff_domain(
984 __isl_take isl_union_pw_multi_aff *upma);
985
986__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_neg(
987 __isl_take isl_union_pw_multi_aff *upma);
988
989__isl_export
990__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_add(
991 __isl_take isl_union_pw_multi_aff *upma1,
992 __isl_take isl_union_pw_multi_aff *upma2);
993__isl_export
994__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_union_add(
995 __isl_take isl_union_pw_multi_aff *upma1,
996 __isl_take isl_union_pw_multi_aff *upma2);
997__isl_export
998__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_sub(
999 __isl_take isl_union_pw_multi_aff *upma1,
1000 __isl_take isl_union_pw_multi_aff *upma2);
1001
1002__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_scale_val(
1003 __isl_take isl_union_pw_multi_aff *upma, __isl_take isl_val *val);
1004__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_scale_down_val(
1005 __isl_take isl_union_pw_multi_aff *upma, __isl_take isl_val *val);
1006__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_scale_multi_val(
1007 __isl_take isl_union_pw_multi_aff *upma, __isl_take isl_multi_val *mv);
1008
1009__isl_export
1010__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_range_product(
1011 __isl_take isl_union_pw_multi_aff *upma1,
1012 __isl_take isl_union_pw_multi_aff *upma2);
1013__isl_export
1014__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_flat_range_product(
1015 __isl_take isl_union_pw_multi_aff *upma1,
1016 __isl_take isl_union_pw_multi_aff *upma2);
1017__isl_export
1018__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_range_factor_domain(
1019 __isl_take isl_union_pw_multi_aff *upma);
1020__isl_export
1021__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_range_factor_range(
1022 __isl_take isl_union_pw_multi_aff *upma);
1023
1024__isl_export
1025__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_intersect_params(
1026 __isl_take isl_union_pw_multi_aff *upma, __isl_take isl_set *set);
1027__isl_overload
1028__isl_give isl_union_pw_multi_aff *
1029isl_union_pw_multi_aff_intersect_domain_union_set(
1030 __isl_take isl_union_pw_multi_aff *upma,
1031 __isl_take isl_union_set *uset);
1032__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_intersect_domain(
1033 __isl_take isl_union_pw_multi_aff *upma,
1034 __isl_take isl_union_set *uset);
1035__isl_overload
1036__isl_give isl_union_pw_multi_aff *
1037isl_union_pw_multi_aff_intersect_domain_space(
1038 __isl_take isl_union_pw_multi_aff *upma, __isl_take isl_space *space);
1039__isl_export
1040__isl_give isl_union_pw_multi_aff *
1041isl_union_pw_multi_aff_intersect_domain_wrapped_domain(
1042 __isl_take isl_union_pw_multi_aff *upma,
1043 __isl_take isl_union_set *uset);
1044__isl_export
1045__isl_give isl_union_pw_multi_aff *
1046isl_union_pw_multi_aff_intersect_domain_wrapped_range(
1047 __isl_take isl_union_pw_multi_aff *upma,
1048 __isl_take isl_union_set *uset);
1049__isl_overload
1050__isl_give isl_union_pw_multi_aff *
1051isl_union_pw_multi_aff_subtract_domain_union_set(
1052 __isl_take isl_union_pw_multi_aff *upma,
1053 __isl_take isl_union_set *uset);
1054__isl_overload
1055__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_subtract_domain_space(
1056 __isl_take isl_union_pw_multi_aff *upma, __isl_take isl_space *space);
1057__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_subtract_domain(
1058 __isl_take isl_union_pw_multi_aff *upma,
1059 __isl_take isl_union_set *uset);
1060
1061__isl_export
1062__isl_give isl_union_map *isl_union_pw_multi_aff_as_union_map(
1063 __isl_take isl_union_pw_multi_aff *upma);
1064__isl_overload
1065__isl_give isl_union_map *isl_union_map_from_union_pw_multi_aff(
1066 __isl_take isl_union_pw_multi_aff *upma);
1067
1068__isl_give isl_printer *isl_printer_print_union_pw_multi_aff(
1069 __isl_take isl_printer *p, __isl_keep isl_union_pw_multi_aff *upma);
1070
1071__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_from_union_set(
1072 __isl_take isl_union_set *uset);
1073__isl_export
1074__isl_give isl_union_pw_multi_aff *isl_union_map_as_union_pw_multi_aff(
1075 __isl_take isl_union_map *umap);
1076__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_from_union_map(
1077 __isl_take isl_union_map *umap);
1078
1079__isl_constructor
1080__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_read_from_str(
1081 isl_ctx *ctx, const char *str);
1082void isl_union_pw_multi_aff_dump(__isl_keep isl_union_pw_multi_aff *upma);
1083__isl_give char *isl_union_pw_multi_aff_to_str(
1084 __isl_keep isl_union_pw_multi_aff *upma);
1085
1086uint32_t isl_multi_pw_aff_get_hash(__isl_keep isl_multi_pw_aff *mpa);
1087
1088__isl_constructor
1089__isl_give isl_multi_pw_aff *isl_multi_pw_aff_from_aff(__isl_take isl_aff *aff);
1090__isl_export
1091__isl_give isl_multi_pw_aff *isl_multi_aff_to_multi_pw_aff(
1092 __isl_take isl_multi_aff *ma);
1093__isl_constructor
1094__isl_give isl_multi_pw_aff *isl_multi_pw_aff_from_multi_aff(
1095 __isl_take isl_multi_aff *ma);
1096__isl_constructor
1097__isl_give isl_multi_pw_aff *isl_multi_pw_aff_from_pw_aff(
1098 __isl_take isl_pw_aff *pa);
1099__isl_export
1100__isl_give isl_set *isl_multi_pw_aff_domain(__isl_take isl_multi_pw_aff *mpa);
1101__isl_export
1102__isl_give isl_multi_pw_aff *isl_multi_pw_aff_intersect_params(
1103 __isl_take isl_multi_pw_aff *mpa, __isl_take isl_set *set);
1104__isl_export
1105__isl_give isl_multi_pw_aff *isl_multi_pw_aff_intersect_domain(
1106 __isl_take isl_multi_pw_aff *mpa, __isl_take isl_set *domain);
1107
1108__isl_export
1109__isl_give isl_multi_pw_aff *isl_multi_pw_aff_coalesce(
1110 __isl_take isl_multi_pw_aff *mpa);
1111__isl_export
1112__isl_give isl_multi_pw_aff *isl_multi_pw_aff_gist(
1113 __isl_take isl_multi_pw_aff *mpa, __isl_take isl_set *set);
1114__isl_give isl_multi_pw_aff *isl_multi_pw_aff_gist_params(
1115 __isl_take isl_multi_pw_aff *mpa, __isl_take isl_set *set);
1116
1117isl_bool isl_multi_pw_aff_is_cst(__isl_keep isl_multi_pw_aff *mpa);
1118isl_bool isl_multi_pw_aff_is_equal(__isl_keep isl_multi_pw_aff *mpa1,
1119 __isl_keep isl_multi_pw_aff *mpa2);
1120
1121__isl_overload
1122__isl_give isl_multi_pw_aff *isl_multi_pw_aff_pullback_multi_aff(
1123 __isl_take isl_multi_pw_aff *mpa, __isl_take isl_multi_aff *ma);
1124__isl_overload
1125__isl_give isl_multi_pw_aff *isl_multi_pw_aff_pullback_pw_multi_aff(
1126 __isl_take isl_multi_pw_aff *mpa, __isl_take isl_pw_multi_aff *pma);
1127__isl_overload
1128__isl_give isl_multi_pw_aff *isl_multi_pw_aff_pullback_multi_pw_aff(
1129 __isl_take isl_multi_pw_aff *mpa1, __isl_take isl_multi_pw_aff *mpa2);
1130
1131__isl_export
1132__isl_give isl_multi_pw_aff *isl_multi_pw_aff_union_add(
1133 __isl_take isl_multi_pw_aff *mpa1, __isl_take isl_multi_pw_aff *mpa2);
1134
1135__isl_give isl_multi_pw_aff *isl_multi_pw_aff_move_dims(
1136 __isl_take isl_multi_pw_aff *pma,
1137 enum isl_dim_type dst_type, unsigned dst_pos,
1138 enum isl_dim_type src_type, unsigned src_pos, unsigned n);
1139
1140__isl_export
1141__isl_give isl_set *isl_multi_pw_aff_as_set(__isl_take isl_multi_pw_aff *mpa);
1142__isl_give isl_set *isl_set_from_multi_pw_aff(__isl_take isl_multi_pw_aff *mpa);
1143__isl_export
1144__isl_give isl_map *isl_multi_pw_aff_as_map(__isl_take isl_multi_pw_aff *mpa);
1145__isl_give isl_map *isl_map_from_multi_pw_aff(__isl_take isl_multi_pw_aff *mpa);
1146__isl_give isl_pw_multi_aff *isl_pw_multi_aff_from_multi_pw_aff(
1147 __isl_take isl_multi_pw_aff *mpa);
1148__isl_export
1149__isl_give isl_multi_pw_aff *isl_pw_multi_aff_to_multi_pw_aff(
1150 __isl_take isl_pw_multi_aff *pma);
1151__isl_constructor
1152__isl_give isl_multi_pw_aff *isl_multi_pw_aff_from_pw_multi_aff(
1153 __isl_take isl_pw_multi_aff *pma);
1154
1155__isl_give isl_map *isl_multi_pw_aff_eq_map(__isl_take isl_multi_pw_aff *mpa1,
1156 __isl_take isl_multi_pw_aff *mpa2);
1157__isl_give isl_map *isl_multi_pw_aff_lex_le_map(
1158 __isl_take isl_multi_pw_aff *mpa1, __isl_take isl_multi_pw_aff *mpa2);
1159__isl_give isl_map *isl_multi_pw_aff_lex_lt_map(
1160 __isl_take isl_multi_pw_aff *mpa1, __isl_take isl_multi_pw_aff *mpa2);
1161__isl_give isl_map *isl_multi_pw_aff_lex_ge_map(
1162 __isl_take isl_multi_pw_aff *mpa1, __isl_take isl_multi_pw_aff *mpa2);
1163__isl_give isl_map *isl_multi_pw_aff_lex_gt_map(
1164 __isl_take isl_multi_pw_aff *mpa1, __isl_take isl_multi_pw_aff *mpa2);
1165
1166__isl_export
1167__isl_give isl_set *isl_multi_pw_aff_bind(__isl_take isl_multi_pw_aff *mpa,
1168 __isl_take isl_multi_id *tuple);
1169
1170__isl_constructor
1171__isl_give isl_multi_pw_aff *isl_multi_pw_aff_read_from_str(isl_ctx *ctx,
1172 const char *str);
1173__isl_give char *isl_multi_pw_aff_to_str(__isl_keep isl_multi_pw_aff *mpa);
1174__isl_give isl_printer *isl_printer_print_multi_pw_aff(
1175 __isl_take isl_printer *p, __isl_keep isl_multi_pw_aff *mpa);
1176void isl_multi_pw_aff_dump(__isl_keep isl_multi_pw_aff *mpa);
1177
1178__isl_give isl_union_pw_aff *isl_union_pw_aff_copy(
1179 __isl_keep isl_union_pw_aff *upa);
1180__isl_null isl_union_pw_aff *isl_union_pw_aff_free(
1181 __isl_take isl_union_pw_aff *upa);
1182
1183isl_ctx *isl_union_pw_aff_get_ctx(__isl_keep isl_union_pw_aff *upa);
1184__isl_export
1185__isl_give isl_space *isl_union_pw_aff_get_space(
1186 __isl_keep isl_union_pw_aff *upa);
1187__isl_give isl_pw_aff_list *isl_union_pw_aff_get_pw_aff_list(
1188 __isl_keep isl_union_pw_aff *upa);
1189
1190isl_size isl_union_pw_aff_dim(__isl_keep isl_union_pw_aff *upa,
1191 enum isl_dim_type type);
1192__isl_give isl_union_pw_aff *isl_union_pw_aff_set_dim_name(
1193 __isl_take isl_union_pw_aff *upa, enum isl_dim_type type,
1194 unsigned pos, const char *s);
1195
1196int isl_union_pw_aff_find_dim_by_name(__isl_keep isl_union_pw_aff *upa,
1197 enum isl_dim_type type, const char *name);
1198
1199__isl_give isl_union_pw_aff *isl_union_pw_aff_drop_dims(
1200 __isl_take isl_union_pw_aff *upa,
1201 enum isl_dim_type type, unsigned first, unsigned n);
1202__isl_give isl_union_pw_aff *isl_union_pw_aff_reset_user(
1203 __isl_take isl_union_pw_aff *upa);
1204
1205__isl_give isl_union_pw_aff *isl_union_pw_aff_empty_ctx(isl_ctx *ctx);
1206__isl_give isl_union_pw_aff *isl_union_pw_aff_empty_space(
1207 __isl_take isl_space *space);
1208__isl_give isl_union_pw_aff *isl_union_pw_aff_empty(
1209 __isl_take isl_space *space);
1210__isl_constructor
1211__isl_give isl_union_pw_aff *isl_union_pw_aff_from_aff(__isl_take isl_aff *aff);
1212__isl_export
1213__isl_give isl_union_pw_aff *isl_pw_aff_to_union_pw_aff(
1214 __isl_take isl_pw_aff *pa);
1215__isl_constructor
1216__isl_give isl_union_pw_aff *isl_union_pw_aff_from_pw_aff(
1217 __isl_take isl_pw_aff *pa);
1218__isl_give isl_union_pw_aff *isl_union_pw_aff_val_on_domain(
1219 __isl_take isl_union_set *domain, __isl_take isl_val *v);
1220__isl_give isl_union_pw_aff *isl_union_pw_aff_aff_on_domain(
1221 __isl_take isl_union_set *domain, __isl_take isl_aff *aff);
1222__isl_give isl_union_pw_aff *isl_union_pw_aff_pw_aff_on_domain(
1223 __isl_take isl_union_set *domain, __isl_take isl_pw_aff *pa);
1224__isl_give isl_union_pw_aff *isl_union_pw_aff_add_pw_aff(
1225 __isl_take isl_union_pw_aff *upa, __isl_take isl_pw_aff *pa);
1226
1227__isl_constructor
1228__isl_give isl_union_pw_multi_aff *isl_union_pw_multi_aff_from_union_pw_aff(
1229 __isl_take isl_union_pw_aff *upa);
1230
1231isl_size isl_union_pw_aff_n_pw_aff(__isl_keep isl_union_pw_aff *upa);
1232
1233isl_stat isl_union_pw_aff_foreach_pw_aff(__isl_keep isl_union_pw_aff *upa,
1234 isl_stat (*fn)(__isl_take isl_pw_aff *pa, void *user), void *user);
1235isl_bool isl_union_pw_aff_every_pw_aff(__isl_keep isl_union_pw_aff *upa,
1236 isl_bool (*test)(__isl_keep isl_pw_aff *pa, void *user), void *user);
1237__isl_give isl_pw_aff *isl_union_pw_aff_extract_pw_aff(
1238 __isl_keep isl_union_pw_aff *upa, __isl_take isl_space *space);
1239
1240isl_bool isl_union_pw_aff_involves_nan(__isl_keep isl_union_pw_aff *upa);
1241isl_bool isl_union_pw_aff_plain_is_equal(__isl_keep isl_union_pw_aff *upa1,
1242 __isl_keep isl_union_pw_aff *upa2);
1243
1244__isl_export
1245__isl_give isl_union_set *isl_union_pw_aff_domain(
1246 __isl_take isl_union_pw_aff *upa);
1247
1248__isl_give isl_union_pw_aff *isl_union_pw_aff_neg(
1249 __isl_take isl_union_pw_aff *upa);
1250
1251__isl_export
1252__isl_give isl_union_pw_aff *isl_union_pw_aff_add(
1253 __isl_take isl_union_pw_aff *upa1, __isl_take isl_union_pw_aff *upa2);
1254__isl_export
1255__isl_give isl_union_pw_aff *isl_union_pw_aff_union_add(
1256 __isl_take isl_union_pw_aff *upa1, __isl_take isl_union_pw_aff *upa2);
1257__isl_export
1258__isl_give isl_union_pw_aff *isl_union_pw_aff_sub(
1259 __isl_take isl_union_pw_aff *upa1, __isl_take isl_union_pw_aff *upa2);
1260
1261__isl_export
1262__isl_give isl_union_pw_aff *isl_union_pw_aff_coalesce(
1263 __isl_take isl_union_pw_aff *upa);
1264__isl_export
1265__isl_give isl_union_pw_aff *isl_union_pw_aff_gist(
1266 __isl_take isl_union_pw_aff *upa, __isl_take isl_union_set *context);
1267__isl_give isl_union_pw_aff *isl_union_pw_aff_gist_params(
1268 __isl_take isl_union_pw_aff *upa, __isl_take isl_set *context);
1269
1270__isl_overload
1271__isl_give isl_union_pw_aff *isl_union_pw_aff_pullback_union_pw_multi_aff(
1272 __isl_take isl_union_pw_aff *upa,
1273 __isl_take isl_union_pw_multi_aff *upma);
1274
1275__isl_give isl_union_pw_aff *isl_union_pw_aff_floor(
1276 __isl_take isl_union_pw_aff *upa);
1277
1278__isl_give isl_union_pw_aff *isl_union_pw_aff_scale_val(
1279 __isl_take isl_union_pw_aff *upa, __isl_take isl_val *v);
1280__isl_give isl_union_pw_aff *isl_union_pw_aff_scale_down_val(
1281 __isl_take isl_union_pw_aff *upa, __isl_take isl_val *v);
1282__isl_give isl_union_pw_aff *isl_union_pw_aff_mod_val(
1283 __isl_take isl_union_pw_aff *upa, __isl_take isl_val *f);
1284
1285__isl_give isl_union_pw_aff *isl_union_pw_aff_align_params(
1286 __isl_take isl_union_pw_aff *upa, __isl_take isl_space *model);
1287
1288__isl_export
1289__isl_give isl_union_pw_aff *isl_union_pw_aff_intersect_params(
1290 __isl_take isl_union_pw_aff *upa, __isl_take isl_set *set);
1291__isl_overload
1292__isl_give isl_union_pw_aff *isl_union_pw_aff_intersect_domain_space(
1293 __isl_take isl_union_pw_aff *upa, __isl_take isl_space *space);
1294__isl_overload
1295__isl_give isl_union_pw_aff *isl_union_pw_aff_intersect_domain_union_set(
1296 __isl_take isl_union_pw_aff *upa, __isl_take isl_union_set *uset);
1297__isl_give isl_union_pw_aff *isl_union_pw_aff_intersect_domain(
1298 __isl_take isl_union_pw_aff *upa, __isl_take isl_union_set *uset);
1299__isl_export
1300__isl_give isl_union_pw_aff *isl_union_pw_aff_intersect_domain_wrapped_domain(
1301 __isl_take isl_union_pw_aff *upa, __isl_take isl_union_set *uset);
1302__isl_export
1303__isl_give isl_union_pw_aff *isl_union_pw_aff_intersect_domain_wrapped_range(
1304 __isl_take isl_union_pw_aff *upa, __isl_take isl_union_set *uset);
1305__isl_overload
1306__isl_give isl_union_pw_aff *isl_union_pw_aff_subtract_domain_union_set(
1307 __isl_take isl_union_pw_aff *upa, __isl_take isl_union_set *uset);
1308__isl_overload
1309__isl_give isl_union_pw_aff *isl_union_pw_aff_subtract_domain_space(
1310 __isl_take isl_union_pw_aff *upa, __isl_take isl_space *space);
1311__isl_give isl_union_pw_aff *isl_union_pw_aff_subtract_domain(
1312 __isl_take isl_union_pw_aff *upa, __isl_take isl_union_set *uset);
1313
1314__isl_give isl_union_pw_aff *isl_union_pw_aff_set_dim_name(
1315 __isl_take isl_union_pw_aff *upa,
1316 enum isl_dim_type type, unsigned pos, const char *s);
1317
1318__isl_give isl_union_set *isl_union_pw_aff_zero_union_set(
1319 __isl_take isl_union_pw_aff *upa);
1320
1321__isl_give isl_union_map *isl_union_map_from_union_pw_aff(
1322 __isl_take isl_union_pw_aff *upa);
1323
1324__isl_overload
1325__isl_give isl_union_set *isl_union_pw_aff_bind_id(
1326 __isl_take isl_union_pw_aff *upa, __isl_take isl_id *id);
1327
1328__isl_constructor
1329__isl_give isl_union_pw_aff *isl_union_pw_aff_read_from_str(isl_ctx *ctx,
1330 const char *str);
1331__isl_give char *isl_union_pw_aff_to_str(__isl_keep isl_union_pw_aff *upa);
1332__isl_give isl_printer *isl_printer_print_union_pw_aff(
1333 __isl_take isl_printer *p, __isl_keep isl_union_pw_aff *upa);
1334void isl_union_pw_aff_dump(__isl_keep isl_union_pw_aff *upa);
1335
1336ISL_DECLARE_MULTI(union_pw_aff)
1337ISL_DECLARE_MULTI_ARITH(union_pw_aff)
1338ISL_DECLARE_MULTI_ZERO(union_pw_aff)
1339ISL_DECLARE_MULTI_NAN(union_pw_aff)
1340ISL_DECLARE_MULTI_DROP_DIMS(union_pw_aff)
1341ISL_DECLARE_MULTI_DIM_ID(union_pw_aff)
1342ISL_DECLARE_MULTI_TUPLE_ID(union_pw_aff)
1343
1344__isl_export
1345__isl_give isl_multi_union_pw_aff *isl_multi_aff_to_multi_union_pw_aff(
1346 __isl_take isl_multi_aff *ma);
1347__isl_give isl_multi_union_pw_aff *isl_multi_union_pw_aff_from_multi_aff(
1348 __isl_take isl_multi_aff *ma);
1349__isl_constructor
1350__isl_give isl_multi_union_pw_aff *isl_multi_union_pw_aff_from_union_pw_aff(
1351 __isl_take isl_union_pw_aff *upa);
1352__isl_constructor
1353__isl_give isl_multi_union_pw_aff *isl_multi_union_pw_aff_from_multi_pw_aff(
1354 __isl_take isl_multi_pw_aff *mpa);
1355__isl_give isl_multi_union_pw_aff *isl_multi_union_pw_aff_multi_val_on_domain(
1356 __isl_take isl_union_set *domain, __isl_take isl_multi_val *mv);
1357__isl_give isl_multi_union_pw_aff *isl_multi_union_pw_aff_multi_aff_on_domain(
1358 __isl_take isl_union_set *domain, __isl_take isl_multi_aff *ma);
1359__isl_give isl_multi_union_pw_aff *
1360isl_multi_union_pw_aff_pw_multi_aff_on_domain(__isl_take isl_union_set *domain,
1361 __isl_take isl_pw_multi_aff *pma);
1362
1363__isl_give isl_multi_union_pw_aff *isl_multi_union_pw_aff_floor(
1364 __isl_take isl_multi_union_pw_aff *mupa);
1365
1366__isl_export
1367__isl_give isl_multi_union_pw_aff *isl_multi_union_pw_aff_intersect_domain(
1368 __isl_take isl_multi_union_pw_aff *mupa,
1369 __isl_take isl_union_set *uset);
1370__isl_export
1371__isl_give isl_multi_union_pw_aff *isl_multi_union_pw_aff_intersect_params(
1372 __isl_take isl_multi_union_pw_aff *mupa, __isl_take isl_set *params);
1373__isl_give isl_multi_union_pw_aff *isl_multi_union_pw_aff_intersect_range(
1374 __isl_take isl_multi_union_pw_aff *mupa, __isl_take isl_set *set);
1375
1376__isl_export
1377__isl_give isl_union_set *isl_multi_union_pw_aff_domain(
1378 __isl_take isl_multi_union_pw_aff *mupa);
1379
1380__isl_export
1381__isl_give isl_multi_union_pw_aff *isl_multi_union_pw_aff_coalesce(
1382 __isl_take isl_multi_union_pw_aff *mupa);
1383__isl_export
1384__isl_give isl_multi_union_pw_aff *isl_multi_union_pw_aff_gist(
1385 __isl_take isl_multi_union_pw_aff *mupa,
1386 __isl_take isl_union_set *context);
1387__isl_give isl_multi_union_pw_aff *isl_multi_union_pw_aff_gist_params(
1388 __isl_take isl_multi_union_pw_aff *mupa, __isl_take isl_set *context);
1389
1390__isl_give isl_union_pw_aff *isl_multi_union_pw_aff_apply_aff(
1391 __isl_take isl_multi_union_pw_aff *mupa, __isl_take isl_aff *aff);
1392__isl_give isl_multi_union_pw_aff *isl_multi_union_pw_aff_apply_multi_aff(
1393 __isl_take isl_multi_union_pw_aff *mupa, __isl_take isl_multi_aff *ma);
1394__isl_give isl_union_pw_aff *isl_multi_union_pw_aff_apply_pw_aff(
1395 __isl_take isl_multi_union_pw_aff *mupa, __isl_take isl_pw_aff *pa);
1396__isl_give isl_multi_union_pw_aff *isl_multi_union_pw_aff_apply_pw_multi_aff(
1397 __isl_take isl_multi_union_pw_aff *mupa,
1398 __isl_take isl_pw_multi_aff *pma);
1399
1400__isl_overload
1401__isl_give isl_multi_union_pw_aff *
1402isl_multi_union_pw_aff_pullback_union_pw_multi_aff(
1403 __isl_take isl_multi_union_pw_aff *mupa,
1404 __isl_take isl_union_pw_multi_aff *upma);
1405
1406__isl_give isl_union_pw_multi_aff *
1407isl_union_pw_multi_aff_from_multi_union_pw_aff(
1408 __isl_take isl_multi_union_pw_aff *mupa);
1409
1410__isl_export
1411__isl_give isl_multi_union_pw_aff *isl_multi_union_pw_aff_union_add(
1412 __isl_take isl_multi_union_pw_aff *mupa1,
1413 __isl_take isl_multi_union_pw_aff *mupa2);
1414
1415__isl_export
1416__isl_give isl_multi_union_pw_aff *
1417isl_union_pw_multi_aff_as_multi_union_pw_aff(
1418 __isl_take isl_union_pw_multi_aff *upma);
1419__isl_give isl_multi_union_pw_aff *
1420isl_multi_union_pw_aff_from_union_pw_multi_aff(
1421 __isl_take isl_union_pw_multi_aff *upma);
1422
1423__isl_export
1424__isl_give isl_multi_union_pw_aff *isl_union_map_as_multi_union_pw_aff(
1425 __isl_take isl_union_map *umap);
1426__isl_give isl_multi_union_pw_aff *isl_multi_union_pw_aff_from_union_map(
1427 __isl_take isl_union_map *umap);
1428__isl_overload
1429__isl_give isl_union_map *isl_union_map_from_multi_union_pw_aff(
1430 __isl_take isl_multi_union_pw_aff *mupa);
1431
1432__isl_give isl_union_set *isl_multi_union_pw_aff_zero_union_set(
1433 __isl_take isl_multi_union_pw_aff *mupa);
1434__isl_export
1435__isl_give isl_union_set *isl_multi_union_pw_aff_bind(
1436 __isl_take isl_multi_union_pw_aff *mupa,
1437 __isl_take isl_multi_id *tuple);
1438
1439__isl_give isl_multi_pw_aff *isl_multi_union_pw_aff_extract_multi_pw_aff(
1440 __isl_keep isl_multi_union_pw_aff *mupa, __isl_take isl_space *space);
1441
1442__isl_constructor
1443__isl_give isl_multi_union_pw_aff *isl_multi_union_pw_aff_read_from_str(
1444 isl_ctx *ctx, const char *str);
1445__isl_give char *isl_multi_union_pw_aff_to_str(
1446 __isl_keep isl_multi_union_pw_aff *mupa);
1447__isl_give isl_printer *isl_printer_print_multi_union_pw_aff(
1448 __isl_take isl_printer *p, __isl_keep isl_multi_union_pw_aff *mupa);
1449void isl_multi_union_pw_aff_dump(__isl_keep isl_multi_union_pw_aff *mupa);
1450
1451ISL_DECLARE_EXPORTED_LIST_FN(aff)
1452ISL_DECLARE_EXPORTED_LIST_FN(pw_aff)
1453ISL_DECLARE_EXPORTED_LIST_FN(pw_multi_aff)
1454ISL_DECLARE_EXPORTED_LIST_FN(union_pw_aff)
1455ISL_DECLARE_LIST_FN(union_pw_multi_aff)
1456
1457#if defined(__cplusplus)
1458}
1459#endif
1460
1461#endif
Note: See TracBrowser for help on using the repository browser.