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>
13 #if defined(__cplusplus)
17 __isl_give isl_aff
*isl_aff_zero_on_domain(__isl_take isl_local_space
*ls
);
18 __isl_give isl_aff
*isl_aff_val_on_domain(__isl_take isl_local_space
*ls
,
19 __isl_take isl_val
*val
);
20 __isl_give isl_aff
*isl_aff_var_on_domain(__isl_take isl_local_space
*ls
,
21 enum isl_dim_type type
, unsigned pos
);
22 __isl_give isl_aff
*isl_aff_nan_on_domain(__isl_take isl_local_space
*ls
);
24 __isl_give isl_aff
*isl_aff_copy(__isl_keep isl_aff
*aff
);
25 __isl_null isl_aff
*isl_aff_free(__isl_take isl_aff
*aff
);
27 isl_ctx
*isl_aff_get_ctx(__isl_keep isl_aff
*aff
);
28 uint32_t isl_aff_get_hash(__isl_keep isl_aff
*aff
);
30 int isl_aff_dim(__isl_keep isl_aff
*aff
, enum isl_dim_type type
);
31 isl_bool
isl_aff_involves_dims(__isl_keep isl_aff
*aff
,
32 enum isl_dim_type type
, unsigned first
, unsigned n
);
34 __isl_give isl_space
*isl_aff_get_domain_space(__isl_keep isl_aff
*aff
);
35 __isl_give isl_space
*isl_aff_get_space(__isl_keep isl_aff
*aff
);
36 __isl_give isl_local_space
*isl_aff_get_domain_local_space(
37 __isl_keep isl_aff
*aff
);
38 __isl_give isl_local_space
*isl_aff_get_local_space(__isl_keep isl_aff
*aff
);
40 const char *isl_aff_get_dim_name(__isl_keep isl_aff
*aff
,
41 enum isl_dim_type type
, unsigned pos
);
42 __isl_give isl_val
*isl_aff_get_constant_val(__isl_keep isl_aff
*aff
);
43 __isl_give isl_val
*isl_aff_get_coefficient_val(__isl_keep isl_aff
*aff
,
44 enum isl_dim_type type
, int pos
);
45 int isl_aff_coefficient_sgn(__isl_keep isl_aff
*aff
,
46 enum isl_dim_type type
, int pos
);
47 __isl_give isl_val
*isl_aff_get_denominator_val(__isl_keep isl_aff
*aff
);
48 __isl_give isl_aff
*isl_aff_set_constant_si(__isl_take isl_aff
*aff
, int v
);
49 __isl_give isl_aff
*isl_aff_set_constant_val(__isl_take isl_aff
*aff
,
50 __isl_take isl_val
*v
);
51 __isl_give isl_aff
*isl_aff_set_coefficient_si(__isl_take isl_aff
*aff
,
52 enum isl_dim_type type
, int pos
, int v
);
53 __isl_give isl_aff
*isl_aff_set_coefficient_val(__isl_take isl_aff
*aff
,
54 enum isl_dim_type type
, int pos
, __isl_take isl_val
*v
);
55 __isl_give isl_aff
*isl_aff_add_constant_si(__isl_take isl_aff
*aff
, int v
);
56 __isl_give isl_aff
*isl_aff_add_constant_val(__isl_take isl_aff
*aff
,
57 __isl_take isl_val
*v
);
58 __isl_give isl_aff
*isl_aff_add_constant_num_si(__isl_take isl_aff
*aff
, int v
);
59 __isl_give isl_aff
*isl_aff_add_coefficient_si(__isl_take isl_aff
*aff
,
60 enum isl_dim_type type
, int pos
, int v
);
61 __isl_give isl_aff
*isl_aff_add_coefficient_val(__isl_take isl_aff
*aff
,
62 enum isl_dim_type type
, int pos
, __isl_take isl_val
*v
);
64 isl_bool
isl_aff_is_cst(__isl_keep isl_aff
*aff
);
66 __isl_give isl_aff
*isl_aff_set_tuple_id(__isl_take isl_aff
*aff
,
67 enum isl_dim_type type
, __isl_take isl_id
*id
);
68 __isl_give isl_aff
*isl_aff_set_dim_name(__isl_take isl_aff
*aff
,
69 enum isl_dim_type type
, unsigned pos
, const char *s
);
70 __isl_give isl_aff
*isl_aff_set_dim_id(__isl_take isl_aff
*aff
,
71 enum isl_dim_type type
, unsigned pos
, __isl_take isl_id
*id
);
73 int isl_aff_find_dim_by_name(__isl_keep isl_aff
*aff
, enum isl_dim_type type
,
76 isl_bool
isl_aff_plain_is_equal(__isl_keep isl_aff
*aff1
,
77 __isl_keep isl_aff
*aff2
);
78 isl_bool
isl_aff_plain_is_zero(__isl_keep isl_aff
*aff
);
79 isl_bool
isl_aff_is_nan(__isl_keep isl_aff
*aff
);
81 __isl_give isl_aff
*isl_aff_get_div(__isl_keep isl_aff
*aff
, int pos
);
83 __isl_give isl_aff
*isl_aff_from_range(__isl_take isl_aff
*aff
);
86 __isl_give isl_aff
*isl_aff_neg(__isl_take isl_aff
*aff
);
88 __isl_give isl_aff
*isl_aff_ceil(__isl_take isl_aff
*aff
);
90 __isl_give isl_aff
*isl_aff_floor(__isl_take isl_aff
*aff
);
92 __isl_give isl_aff
*isl_aff_mod_val(__isl_take isl_aff
*aff
,
93 __isl_take isl_val
*mod
);
96 __isl_give isl_aff
*isl_aff_mul(__isl_take isl_aff
*aff1
,
97 __isl_take isl_aff
*aff2
);
99 __isl_give isl_aff
*isl_aff_div(__isl_take isl_aff
*aff1
,
100 __isl_take isl_aff
*aff2
);
102 __isl_give isl_aff
*isl_aff_add(__isl_take isl_aff
*aff1
,
103 __isl_take isl_aff
*aff2
);
105 __isl_give isl_aff
*isl_aff_sub(__isl_take isl_aff
*aff1
,
106 __isl_take isl_aff
*aff2
);
109 __isl_give isl_aff
*isl_aff_scale_val(__isl_take isl_aff
*aff
,
110 __isl_take isl_val
*v
);
111 __isl_give isl_aff
*isl_aff_scale_down_ui(__isl_take isl_aff
*aff
, unsigned f
);
113 __isl_give isl_aff
*isl_aff_scale_down_val(__isl_take isl_aff
*aff
,
114 __isl_take isl_val
*v
);
116 __isl_give isl_aff
*isl_aff_insert_dims(__isl_take isl_aff
*aff
,
117 enum isl_dim_type type
, unsigned first
, unsigned n
);
118 __isl_give isl_aff
*isl_aff_add_dims(__isl_take isl_aff
*aff
,
119 enum isl_dim_type type
, unsigned n
);
120 __isl_give isl_aff
*isl_aff_move_dims(__isl_take isl_aff
*aff
,
121 enum isl_dim_type dst_type
, unsigned dst_pos
,
122 enum isl_dim_type src_type
, unsigned src_pos
, unsigned n
);
123 __isl_give isl_aff
*isl_aff_drop_dims(__isl_take isl_aff
*aff
,
124 enum isl_dim_type type
, unsigned first
, unsigned n
);
125 __isl_give isl_aff
*isl_aff_project_domain_on_params(__isl_take isl_aff
*aff
);
127 __isl_give isl_aff
*isl_aff_align_params(__isl_take isl_aff
*aff
,
128 __isl_take isl_space
*model
);
130 __isl_give isl_aff
*isl_aff_gist(__isl_take isl_aff
*aff
,
131 __isl_take isl_set
*context
);
132 __isl_give isl_aff
*isl_aff_gist_params(__isl_take isl_aff
*aff
,
133 __isl_take isl_set
*context
);
135 __isl_give isl_aff
*isl_aff_pullback_aff(__isl_take isl_aff
*aff1
,
136 __isl_take isl_aff
*aff2
);
138 __isl_give isl_aff
*isl_aff_pullback_multi_aff(__isl_take isl_aff
*aff
,
139 __isl_take isl_multi_aff
*ma
);
141 __isl_give isl_basic_set
*isl_aff_zero_basic_set(__isl_take isl_aff
*aff
);
142 __isl_give isl_basic_set
*isl_aff_neg_basic_set(__isl_take isl_aff
*aff
);
144 __isl_give isl_basic_set
*isl_aff_eq_basic_set(__isl_take isl_aff
*aff1
,
145 __isl_take isl_aff
*aff2
);
147 __isl_give isl_set
*isl_aff_eq_set(__isl_take isl_aff
*aff1
,
148 __isl_take isl_aff
*aff2
);
150 __isl_give isl_set
*isl_aff_ne_set(__isl_take isl_aff
*aff1
,
151 __isl_take isl_aff
*aff2
);
152 __isl_give isl_basic_set
*isl_aff_le_basic_set(__isl_take isl_aff
*aff1
,
153 __isl_take isl_aff
*aff2
);
155 __isl_give isl_set
*isl_aff_le_set(__isl_take isl_aff
*aff1
,
156 __isl_take isl_aff
*aff2
);
157 __isl_give isl_basic_set
*isl_aff_lt_basic_set(__isl_take isl_aff
*aff1
,
158 __isl_take isl_aff
*aff2
);
160 __isl_give isl_set
*isl_aff_lt_set(__isl_take isl_aff
*aff1
,
161 __isl_take isl_aff
*aff2
);
162 __isl_give isl_basic_set
*isl_aff_ge_basic_set(__isl_take isl_aff
*aff1
,
163 __isl_take isl_aff
*aff2
);
165 __isl_give isl_set
*isl_aff_ge_set(__isl_take isl_aff
*aff1
,
166 __isl_take isl_aff
*aff2
);
167 __isl_give isl_basic_set
*isl_aff_gt_basic_set(__isl_take isl_aff
*aff1
,
168 __isl_take isl_aff
*aff2
);
170 __isl_give isl_set
*isl_aff_gt_set(__isl_take isl_aff
*aff1
,
171 __isl_take isl_aff
*aff2
);
174 __isl_give isl_aff
*isl_aff_read_from_str(isl_ctx
*ctx
, const char *str
);
175 __isl_give
char *isl_aff_to_str(__isl_keep isl_aff
*aff
);
176 __isl_give isl_printer
*isl_printer_print_aff(__isl_take isl_printer
*p
,
177 __isl_keep isl_aff
*aff
);
178 void isl_aff_dump(__isl_keep isl_aff
*aff
);
180 isl_ctx
*isl_pw_aff_get_ctx(__isl_keep isl_pw_aff
*pwaff
);
181 uint32_t isl_pw_aff_get_hash(__isl_keep isl_pw_aff
*pa
);
182 __isl_give isl_space
*isl_pw_aff_get_domain_space(__isl_keep isl_pw_aff
*pwaff
);
183 __isl_give isl_space
*isl_pw_aff_get_space(__isl_keep isl_pw_aff
*pwaff
);
186 __isl_give isl_pw_aff
*isl_pw_aff_from_aff(__isl_take isl_aff
*aff
);
187 __isl_give isl_pw_aff
*isl_pw_aff_empty(__isl_take isl_space
*dim
);
188 __isl_give isl_pw_aff
*isl_pw_aff_alloc(__isl_take isl_set
*set
,
189 __isl_take isl_aff
*aff
);
190 __isl_give isl_pw_aff
*isl_pw_aff_zero_on_domain(
191 __isl_take isl_local_space
*ls
);
192 __isl_give isl_pw_aff
*isl_pw_aff_var_on_domain(__isl_take isl_local_space
*ls
,
193 enum isl_dim_type type
, unsigned pos
);
194 __isl_give isl_pw_aff
*isl_pw_aff_nan_on_domain(__isl_take isl_local_space
*ls
);
195 __isl_give isl_pw_aff
*isl_pw_aff_val_on_domain(__isl_take isl_set
*domain
,
196 __isl_take isl_val
*v
);
198 __isl_give isl_pw_aff
*isl_set_indicator_function(__isl_take isl_set
*set
);
200 const char *isl_pw_aff_get_dim_name(__isl_keep isl_pw_aff
*pa
,
201 enum isl_dim_type type
, unsigned pos
);
202 isl_bool
isl_pw_aff_has_dim_id(__isl_keep isl_pw_aff
*pa
,
203 enum isl_dim_type type
, unsigned pos
);
204 __isl_give isl_id
*isl_pw_aff_get_dim_id(__isl_keep isl_pw_aff
*pa
,
205 enum isl_dim_type type
, unsigned pos
);
206 __isl_give isl_pw_aff
*isl_pw_aff_set_dim_id(__isl_take isl_pw_aff
*pma
,
207 enum isl_dim_type type
, unsigned pos
, __isl_take isl_id
*id
);
209 int isl_pw_aff_find_dim_by_name(__isl_keep isl_pw_aff
*pa
,
210 enum isl_dim_type type
, const char *name
);
212 isl_bool
isl_pw_aff_is_empty(__isl_keep isl_pw_aff
*pwaff
);
213 isl_bool
isl_pw_aff_involves_nan(__isl_keep isl_pw_aff
*pa
);
214 int isl_pw_aff_plain_cmp(__isl_keep isl_pw_aff
*pa1
,
215 __isl_keep isl_pw_aff
*pa2
);
216 isl_bool
isl_pw_aff_plain_is_equal(__isl_keep isl_pw_aff
*pwaff1
,
217 __isl_keep isl_pw_aff
*pwaff2
);
218 isl_bool
isl_pw_aff_is_equal(__isl_keep isl_pw_aff
*pa1
,
219 __isl_keep isl_pw_aff
*pa2
);
221 __isl_give isl_pw_aff
*isl_pw_aff_union_min(__isl_take isl_pw_aff
*pwaff1
,
222 __isl_take isl_pw_aff
*pwaff2
);
223 __isl_give isl_pw_aff
*isl_pw_aff_union_max(__isl_take isl_pw_aff
*pwaff1
,
224 __isl_take isl_pw_aff
*pwaff2
);
226 __isl_give isl_pw_aff
*isl_pw_aff_union_add(__isl_take isl_pw_aff
*pwaff1
,
227 __isl_take isl_pw_aff
*pwaff2
);
229 __isl_give isl_pw_aff
*isl_pw_aff_copy(__isl_keep isl_pw_aff
*pwaff
);
230 __isl_null isl_pw_aff
*isl_pw_aff_free(__isl_take isl_pw_aff
*pwaff
);
232 unsigned isl_pw_aff_dim(__isl_keep isl_pw_aff
*pwaff
, enum isl_dim_type type
);
233 isl_bool
isl_pw_aff_involves_dims(__isl_keep isl_pw_aff
*pwaff
,
234 enum isl_dim_type type
, unsigned first
, unsigned n
);
236 isl_bool
isl_pw_aff_is_cst(__isl_keep isl_pw_aff
*pwaff
);
238 __isl_give isl_pw_aff
*isl_pw_aff_project_domain_on_params(
239 __isl_take isl_pw_aff
*pa
);
241 __isl_give isl_pw_aff
*isl_pw_aff_align_params(__isl_take isl_pw_aff
*pwaff
,
242 __isl_take isl_space
*model
);
244 isl_bool
isl_pw_aff_has_tuple_id(__isl_keep isl_pw_aff
*pa
,
245 enum isl_dim_type type
);
246 __isl_give isl_id
*isl_pw_aff_get_tuple_id(__isl_keep isl_pw_aff
*pa
,
247 enum isl_dim_type type
);
248 __isl_give isl_pw_aff
*isl_pw_aff_set_tuple_id(__isl_take isl_pw_aff
*pwaff
,
249 enum isl_dim_type type
, __isl_take isl_id
*id
);
250 __isl_give isl_pw_aff
*isl_pw_aff_reset_tuple_id(__isl_take isl_pw_aff
*pa
,
251 enum isl_dim_type type
);
252 __isl_give isl_pw_aff
*isl_pw_aff_reset_user(__isl_take isl_pw_aff
*pa
);
254 __isl_give isl_set
*isl_pw_aff_params(__isl_take isl_pw_aff
*pwa
);
255 __isl_give isl_set
*isl_pw_aff_domain(__isl_take isl_pw_aff
*pwaff
);
256 __isl_give isl_pw_aff
*isl_pw_aff_from_range(__isl_take isl_pw_aff
*pwa
);
259 __isl_give isl_pw_aff
*isl_pw_aff_min(__isl_take isl_pw_aff
*pwaff1
,
260 __isl_take isl_pw_aff
*pwaff2
);
262 __isl_give isl_pw_aff
*isl_pw_aff_max(__isl_take isl_pw_aff
*pwaff1
,
263 __isl_take isl_pw_aff
*pwaff2
);
265 __isl_give isl_pw_aff
*isl_pw_aff_mul(__isl_take isl_pw_aff
*pwaff1
,
266 __isl_take isl_pw_aff
*pwaff2
);
268 __isl_give isl_pw_aff
*isl_pw_aff_div(__isl_take isl_pw_aff
*pa1
,
269 __isl_take isl_pw_aff
*pa2
);
271 __isl_give isl_pw_aff
*isl_pw_aff_add(__isl_take isl_pw_aff
*pwaff1
,
272 __isl_take isl_pw_aff
*pwaff2
);
274 __isl_give isl_pw_aff
*isl_pw_aff_sub(__isl_take isl_pw_aff
*pwaff1
,
275 __isl_take isl_pw_aff
*pwaff2
);
277 __isl_give isl_pw_aff
*isl_pw_aff_neg(__isl_take isl_pw_aff
*pwaff
);
279 __isl_give isl_pw_aff
*isl_pw_aff_ceil(__isl_take isl_pw_aff
*pwaff
);
281 __isl_give isl_pw_aff
*isl_pw_aff_floor(__isl_take isl_pw_aff
*pwaff
);
283 __isl_give isl_pw_aff
*isl_pw_aff_mod_val(__isl_take isl_pw_aff
*pa
,
284 __isl_take isl_val
*mod
);
286 __isl_give isl_pw_aff
*isl_pw_aff_tdiv_q(__isl_take isl_pw_aff
*pa1
,
287 __isl_take isl_pw_aff
*pa2
);
289 __isl_give isl_pw_aff
*isl_pw_aff_tdiv_r(__isl_take isl_pw_aff
*pa1
,
290 __isl_take isl_pw_aff
*pa2
);
292 __isl_give isl_pw_aff
*isl_pw_aff_intersect_params(__isl_take isl_pw_aff
*pa
,
293 __isl_take isl_set
*set
);
294 __isl_give isl_pw_aff
*isl_pw_aff_intersect_domain(__isl_take isl_pw_aff
*pa
,
295 __isl_take isl_set
*set
);
296 __isl_give isl_pw_aff
*isl_pw_aff_subtract_domain(__isl_take isl_pw_aff
*pa
,
297 __isl_take isl_set
*set
);
300 __isl_give isl_pw_aff
*isl_pw_aff_cond(__isl_take isl_pw_aff
*cond
,
301 __isl_take isl_pw_aff
*pwaff_true
, __isl_take isl_pw_aff
*pwaff_false
);
304 __isl_give isl_pw_aff
*isl_pw_aff_scale_val(__isl_take isl_pw_aff
*pa
,
305 __isl_take isl_val
*v
);
307 __isl_give isl_pw_aff
*isl_pw_aff_scale_down_val(__isl_take isl_pw_aff
*pa
,
308 __isl_take isl_val
*f
);
310 __isl_give isl_pw_aff
*isl_pw_aff_insert_dims(__isl_take isl_pw_aff
*pwaff
,
311 enum isl_dim_type type
, unsigned first
, unsigned n
);
312 __isl_give isl_pw_aff
*isl_pw_aff_add_dims(__isl_take isl_pw_aff
*pwaff
,
313 enum isl_dim_type type
, unsigned n
);
314 __isl_give isl_pw_aff
*isl_pw_aff_move_dims(__isl_take isl_pw_aff
*pa
,
315 enum isl_dim_type dst_type
, unsigned dst_pos
,
316 enum isl_dim_type src_type
, unsigned src_pos
, unsigned n
);
317 __isl_give isl_pw_aff
*isl_pw_aff_drop_dims(__isl_take isl_pw_aff
*pwaff
,
318 enum isl_dim_type type
, unsigned first
, unsigned n
);
320 __isl_give isl_pw_aff
*isl_pw_aff_coalesce(__isl_take isl_pw_aff
*pwqp
);
321 __isl_give isl_pw_aff
*isl_pw_aff_gist(__isl_take isl_pw_aff
*pwaff
,
322 __isl_take isl_set
*context
);
323 __isl_give isl_pw_aff
*isl_pw_aff_gist_params(__isl_take isl_pw_aff
*pwaff
,
324 __isl_take isl_set
*context
);
327 __isl_give isl_pw_aff
*isl_pw_aff_pullback_multi_aff(
328 __isl_take isl_pw_aff
*pa
, __isl_take isl_multi_aff
*ma
);
330 __isl_give isl_pw_aff
*isl_pw_aff_pullback_pw_multi_aff(
331 __isl_take isl_pw_aff
*pa
, __isl_take isl_pw_multi_aff
*pma
);
333 __isl_give isl_pw_aff
*isl_pw_aff_pullback_multi_pw_aff(
334 __isl_take isl_pw_aff
*pa
, __isl_take isl_multi_pw_aff
*mpa
);
336 int isl_pw_aff_n_piece(__isl_keep isl_pw_aff
*pwaff
);
337 isl_stat
isl_pw_aff_foreach_piece(__isl_keep isl_pw_aff
*pwaff
,
338 isl_stat (*fn
)(__isl_take isl_set
*set
, __isl_take isl_aff
*aff
,
339 void *user
), void *user
);
341 __isl_give isl_set
*isl_set_from_pw_aff(__isl_take isl_pw_aff
*pwaff
);
342 __isl_give isl_map
*isl_map_from_pw_aff(__isl_take isl_pw_aff
*pwaff
);
344 __isl_give isl_set
*isl_pw_aff_pos_set(__isl_take isl_pw_aff
*pa
);
345 __isl_give isl_set
*isl_pw_aff_nonneg_set(__isl_take isl_pw_aff
*pwaff
);
346 __isl_give isl_set
*isl_pw_aff_zero_set(__isl_take isl_pw_aff
*pwaff
);
347 __isl_give isl_set
*isl_pw_aff_non_zero_set(__isl_take isl_pw_aff
*pwaff
);
350 __isl_give isl_set
*isl_pw_aff_eq_set(__isl_take isl_pw_aff
*pwaff1
,
351 __isl_take isl_pw_aff
*pwaff2
);
353 __isl_give isl_set
*isl_pw_aff_ne_set(__isl_take isl_pw_aff
*pwaff1
,
354 __isl_take isl_pw_aff
*pwaff2
);
356 __isl_give isl_set
*isl_pw_aff_le_set(__isl_take isl_pw_aff
*pwaff1
,
357 __isl_take isl_pw_aff
*pwaff2
);
359 __isl_give isl_set
*isl_pw_aff_lt_set(__isl_take isl_pw_aff
*pwaff1
,
360 __isl_take isl_pw_aff
*pwaff2
);
362 __isl_give isl_set
*isl_pw_aff_ge_set(__isl_take isl_pw_aff
*pwaff1
,
363 __isl_take isl_pw_aff
*pwaff2
);
365 __isl_give isl_set
*isl_pw_aff_gt_set(__isl_take isl_pw_aff
*pwaff1
,
366 __isl_take isl_pw_aff
*pwaff2
);
368 __isl_give isl_map
*isl_pw_aff_eq_map(__isl_take isl_pw_aff
*pa1
,
369 __isl_take isl_pw_aff
*pa2
);
370 __isl_give isl_map
*isl_pw_aff_lt_map(__isl_take isl_pw_aff
*pa1
,
371 __isl_take isl_pw_aff
*pa2
);
372 __isl_give isl_map
*isl_pw_aff_gt_map(__isl_take isl_pw_aff
*pa1
,
373 __isl_take isl_pw_aff
*pa2
);
376 __isl_give isl_pw_aff
*isl_pw_aff_read_from_str(isl_ctx
*ctx
, const char *str
);
377 __isl_give
char *isl_pw_aff_to_str(__isl_keep isl_pw_aff
*pa
);
378 __isl_give isl_printer
*isl_printer_print_pw_aff(__isl_take isl_printer
*p
,
379 __isl_keep isl_pw_aff
*pwaff
);
380 void isl_pw_aff_dump(__isl_keep isl_pw_aff
*pwaff
);
382 __isl_give isl_pw_aff
*isl_pw_aff_list_min(__isl_take isl_pw_aff_list
*list
);
383 __isl_give isl_pw_aff
*isl_pw_aff_list_max(__isl_take isl_pw_aff_list
*list
);
385 __isl_give isl_set
*isl_pw_aff_list_eq_set(__isl_take isl_pw_aff_list
*list1
,
386 __isl_take isl_pw_aff_list
*list2
);
387 __isl_give isl_set
*isl_pw_aff_list_ne_set(__isl_take isl_pw_aff_list
*list1
,
388 __isl_take isl_pw_aff_list
*list2
);
389 __isl_give isl_set
*isl_pw_aff_list_le_set(__isl_take isl_pw_aff_list
*list1
,
390 __isl_take isl_pw_aff_list
*list2
);
391 __isl_give isl_set
*isl_pw_aff_list_lt_set(__isl_take isl_pw_aff_list
*list1
,
392 __isl_take isl_pw_aff_list
*list2
);
393 __isl_give isl_set
*isl_pw_aff_list_ge_set(__isl_take isl_pw_aff_list
*list1
,
394 __isl_take isl_pw_aff_list
*list2
);
395 __isl_give isl_set
*isl_pw_aff_list_gt_set(__isl_take isl_pw_aff_list
*list1
,
396 __isl_take isl_pw_aff_list
*list2
);
398 ISL_DECLARE_MULTI(aff
)
399 ISL_DECLARE_MULTI_CMP(aff
)
400 ISL_DECLARE_MULTI_NEG(aff
)
401 ISL_DECLARE_MULTI_DIMS(aff
)
402 ISL_DECLARE_MULTI_WITH_DOMAIN(aff
)
405 __isl_give isl_multi_aff
*isl_multi_aff_from_aff(__isl_take isl_aff
*aff
);
406 __isl_give isl_multi_aff
*isl_multi_aff_identity(__isl_take isl_space
*space
);
407 __isl_give isl_multi_aff
*isl_multi_aff_domain_map(__isl_take isl_space
*space
);
408 __isl_give isl_multi_aff
*isl_multi_aff_range_map(__isl_take isl_space
*space
);
409 __isl_give isl_multi_aff
*isl_multi_aff_project_out_map(
410 __isl_take isl_space
*space
, enum isl_dim_type type
,
411 unsigned first
, unsigned n
);
413 __isl_give isl_multi_aff
*isl_multi_aff_multi_val_on_space(
414 __isl_take isl_space
*space
, __isl_take isl_multi_val
*mv
);
416 __isl_give isl_multi_aff
*isl_multi_aff_floor(__isl_take isl_multi_aff
*ma
);
418 __isl_give isl_multi_aff
*isl_multi_aff_gist_params(
419 __isl_take isl_multi_aff
*maff
, __isl_take isl_set
*context
);
420 __isl_give isl_multi_aff
*isl_multi_aff_gist(__isl_take isl_multi_aff
*maff
,
421 __isl_take isl_set
*context
);
423 __isl_give isl_multi_aff
*isl_multi_aff_lift(__isl_take isl_multi_aff
*maff
,
424 __isl_give isl_local_space
**ls
);
427 __isl_give isl_multi_aff
*isl_multi_aff_pullback_multi_aff(
428 __isl_take isl_multi_aff
*ma1
, __isl_take isl_multi_aff
*ma2
);
430 __isl_give isl_multi_aff
*isl_multi_aff_move_dims(__isl_take isl_multi_aff
*ma
,
431 enum isl_dim_type dst_type
, unsigned dst_pos
,
432 enum isl_dim_type src_type
, unsigned src_pos
, unsigned n
);
434 __isl_give isl_set
*isl_multi_aff_lex_lt_set(__isl_take isl_multi_aff
*ma1
,
435 __isl_take isl_multi_aff
*ma2
);
436 __isl_give isl_set
*isl_multi_aff_lex_le_set(__isl_take isl_multi_aff
*ma1
,
437 __isl_take isl_multi_aff
*ma2
);
438 __isl_give isl_set
*isl_multi_aff_lex_gt_set(__isl_take isl_multi_aff
*ma1
,
439 __isl_take isl_multi_aff
*ma2
);
440 __isl_give isl_set
*isl_multi_aff_lex_ge_set(__isl_take isl_multi_aff
*ma1
,
441 __isl_take isl_multi_aff
*ma2
);
443 __isl_give
char *isl_multi_aff_to_str(__isl_keep isl_multi_aff
*ma
);
444 __isl_give isl_printer
*isl_printer_print_multi_aff(__isl_take isl_printer
*p
,
445 __isl_keep isl_multi_aff
*maff
);
448 __isl_give isl_multi_aff
*isl_multi_aff_read_from_str(isl_ctx
*ctx
,
450 void isl_multi_aff_dump(__isl_keep isl_multi_aff
*maff
);
452 ISL_DECLARE_MULTI(pw_aff
)
453 ISL_DECLARE_MULTI_NEG(pw_aff
)
454 ISL_DECLARE_MULTI_DIMS(pw_aff
)
455 ISL_DECLARE_MULTI_WITH_DOMAIN(pw_aff
)
457 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_zero(__isl_take isl_space
*space
);
458 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_identity(
459 __isl_take isl_space
*space
);
460 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_range_map(
461 __isl_take isl_space
*space
);
462 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_project_out_map(
463 __isl_take isl_space
*space
, enum isl_dim_type type
,
464 unsigned first
, unsigned n
);
466 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_from_multi_aff(
467 __isl_take isl_multi_aff
*ma
);
469 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_from_pw_aff(
470 __isl_take isl_pw_aff
*pa
);
471 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_alloc(__isl_take isl_set
*set
,
472 __isl_take isl_multi_aff
*maff
);
473 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_copy(
474 __isl_keep isl_pw_multi_aff
*pma
);
475 __isl_null isl_pw_multi_aff
*isl_pw_multi_aff_free(
476 __isl_take isl_pw_multi_aff
*pma
);
478 unsigned isl_pw_multi_aff_dim(__isl_keep isl_pw_multi_aff
*pma
,
479 enum isl_dim_type type
);
480 __isl_give isl_pw_aff
*isl_pw_multi_aff_get_pw_aff(
481 __isl_keep isl_pw_multi_aff
*pma
, int pos
);
482 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_set_pw_aff(
483 __isl_take isl_pw_multi_aff
*pma
, unsigned pos
,
484 __isl_take isl_pw_aff
*pa
);
486 isl_ctx
*isl_pw_multi_aff_get_ctx(__isl_keep isl_pw_multi_aff
*pma
);
487 __isl_give isl_space
*isl_pw_multi_aff_get_domain_space(
488 __isl_keep isl_pw_multi_aff
*pma
);
489 __isl_give isl_space
*isl_pw_multi_aff_get_space(
490 __isl_keep isl_pw_multi_aff
*pma
);
491 isl_bool
isl_pw_multi_aff_has_tuple_name(__isl_keep isl_pw_multi_aff
*pma
,
492 enum isl_dim_type type
);
493 const char *isl_pw_multi_aff_get_tuple_name(__isl_keep isl_pw_multi_aff
*pma
,
494 enum isl_dim_type type
);
495 __isl_give isl_id
*isl_pw_multi_aff_get_tuple_id(
496 __isl_keep isl_pw_multi_aff
*pma
, enum isl_dim_type type
);
497 isl_bool
isl_pw_multi_aff_has_tuple_id(__isl_keep isl_pw_multi_aff
*pma
,
498 enum isl_dim_type type
);
499 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_set_tuple_id(
500 __isl_take isl_pw_multi_aff
*pma
,
501 enum isl_dim_type type
, __isl_take isl_id
*id
);
502 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_reset_tuple_id(
503 __isl_take isl_pw_multi_aff
*pma
, enum isl_dim_type type
);
504 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_reset_user(
505 __isl_take isl_pw_multi_aff
*pma
);
507 int isl_pw_multi_aff_find_dim_by_name(__isl_keep isl_pw_multi_aff
*pma
,
508 enum isl_dim_type type
, const char *name
);
510 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_drop_dims(
511 __isl_take isl_pw_multi_aff
*pma
,
512 enum isl_dim_type type
, unsigned first
, unsigned n
);
514 __isl_give isl_set
*isl_pw_multi_aff_domain(__isl_take isl_pw_multi_aff
*pma
);
516 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_empty(__isl_take isl_space
*space
);
517 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_from_domain(
518 __isl_take isl_set
*set
);
520 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_multi_val_on_domain(
521 __isl_take isl_set
*domain
, __isl_take isl_multi_val
*mv
);
523 const char *isl_pw_multi_aff_get_dim_name(__isl_keep isl_pw_multi_aff
*pma
,
524 enum isl_dim_type type
, unsigned pos
);
525 __isl_give isl_id
*isl_pw_multi_aff_get_dim_id(
526 __isl_keep isl_pw_multi_aff
*pma
, enum isl_dim_type type
,
528 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_set_dim_id(
529 __isl_take isl_pw_multi_aff
*pma
,
530 enum isl_dim_type type
, unsigned pos
, __isl_take isl_id
*id
);
532 isl_bool
isl_pw_multi_aff_involves_nan(__isl_keep isl_pw_multi_aff
*pma
);
533 isl_bool
isl_pw_multi_aff_plain_is_equal(__isl_keep isl_pw_multi_aff
*pma1
,
534 __isl_keep isl_pw_multi_aff
*pma2
);
535 isl_bool
isl_pw_multi_aff_is_equal(__isl_keep isl_pw_multi_aff
*pma1
,
536 __isl_keep isl_pw_multi_aff
*pma2
);
538 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_fix_si(
539 __isl_take isl_pw_multi_aff
*pma
, enum isl_dim_type type
,
540 unsigned pos
, int value
);
543 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_union_add(
544 __isl_take isl_pw_multi_aff
*pma1
, __isl_take isl_pw_multi_aff
*pma2
);
546 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_neg(
547 __isl_take isl_pw_multi_aff
*pma
);
550 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_add(
551 __isl_take isl_pw_multi_aff
*pma1
, __isl_take isl_pw_multi_aff
*pma2
);
552 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_sub(
553 __isl_take isl_pw_multi_aff
*pma1
, __isl_take isl_pw_multi_aff
*pma2
);
555 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_scale_val(
556 __isl_take isl_pw_multi_aff
*pma
, __isl_take isl_val
*v
);
557 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_scale_down_val(
558 __isl_take isl_pw_multi_aff
*pma
, __isl_take isl_val
*v
);
559 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_scale_multi_val(
560 __isl_take isl_pw_multi_aff
*pma
, __isl_take isl_multi_val
*mv
);
562 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_union_lexmin(
563 __isl_take isl_pw_multi_aff
*pma1
,
564 __isl_take isl_pw_multi_aff
*pma2
);
565 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_union_lexmax(
566 __isl_take isl_pw_multi_aff
*pma1
,
567 __isl_take isl_pw_multi_aff
*pma2
);
569 __isl_give isl_multi_aff
*isl_multi_aff_flatten_domain(
570 __isl_take isl_multi_aff
*ma
);
573 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_range_product(
574 __isl_take isl_pw_multi_aff
*pma1
, __isl_take isl_pw_multi_aff
*pma2
);
576 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_flat_range_product(
577 __isl_take isl_pw_multi_aff
*pma1
, __isl_take isl_pw_multi_aff
*pma2
);
579 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_product(
580 __isl_take isl_pw_multi_aff
*pma1
, __isl_take isl_pw_multi_aff
*pma2
);
582 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_intersect_params(
583 __isl_take isl_pw_multi_aff
*pma
, __isl_take isl_set
*set
);
584 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_intersect_domain(
585 __isl_take isl_pw_multi_aff
*pma
, __isl_take isl_set
*set
);
586 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_subtract_domain(
587 __isl_take isl_pw_multi_aff
*pma
, __isl_take isl_set
*set
);
589 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_project_domain_on_params(
590 __isl_take isl_pw_multi_aff
*pma
);
592 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_align_params(
593 __isl_take isl_pw_multi_aff
*pma
, __isl_take isl_space
*model
);
595 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_coalesce(
596 __isl_take isl_pw_multi_aff
*pma
);
597 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_gist_params(
598 __isl_take isl_pw_multi_aff
*pma
, __isl_take isl_set
*set
);
599 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_gist(
600 __isl_take isl_pw_multi_aff
*pma
, __isl_take isl_set
*set
);
603 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_pullback_multi_aff(
604 __isl_take isl_pw_multi_aff
*pma
, __isl_take isl_multi_aff
*ma
);
606 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_pullback_pw_multi_aff(
607 __isl_take isl_pw_multi_aff
*pma1
, __isl_take isl_pw_multi_aff
*pma2
);
609 int isl_pw_multi_aff_n_piece(__isl_keep isl_pw_multi_aff
*pma
);
610 isl_stat
isl_pw_multi_aff_foreach_piece(__isl_keep isl_pw_multi_aff
*pma
,
611 isl_stat (*fn
)(__isl_take isl_set
*set
, __isl_take isl_multi_aff
*maff
,
612 void *user
), void *user
);
614 __isl_give isl_map
*isl_map_from_pw_multi_aff(__isl_take isl_pw_multi_aff
*pma
);
615 __isl_give isl_set
*isl_set_from_pw_multi_aff(__isl_take isl_pw_multi_aff
*pma
);
617 __isl_give
char *isl_pw_multi_aff_to_str(__isl_keep isl_pw_multi_aff
*pma
);
618 __isl_give isl_printer
*isl_printer_print_pw_multi_aff(__isl_take isl_printer
*p
,
619 __isl_keep isl_pw_multi_aff
*pma
);
621 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_from_set(__isl_take isl_set
*set
);
622 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_from_map(__isl_take isl_map
*map
);
625 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_read_from_str(isl_ctx
*ctx
,
627 void isl_pw_multi_aff_dump(__isl_keep isl_pw_multi_aff
*pma
);
630 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_empty(
631 __isl_take isl_space
*space
);
632 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_from_aff(
633 __isl_take isl_aff
*aff
);
635 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_from_pw_multi_aff(
636 __isl_take isl_pw_multi_aff
*pma
);
637 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_from_domain(
638 __isl_take isl_union_set
*uset
);
639 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_multi_val_on_domain(
640 __isl_take isl_union_set
*domain
, __isl_take isl_multi_val
*mv
);
641 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_copy(
642 __isl_keep isl_union_pw_multi_aff
*upma
);
643 __isl_null isl_union_pw_multi_aff
*isl_union_pw_multi_aff_free(
644 __isl_take isl_union_pw_multi_aff
*upma
);
646 __isl_give isl_union_pw_multi_aff
*isl_union_set_identity_union_pw_multi_aff(
647 __isl_take isl_union_set
*uset
);
649 __isl_give isl_union_pw_aff
*isl_union_pw_multi_aff_get_union_pw_aff(
650 __isl_keep isl_union_pw_multi_aff
*upma
, int pos
);
652 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_add_pw_multi_aff(
653 __isl_take isl_union_pw_multi_aff
*upma
,
654 __isl_take isl_pw_multi_aff
*pma
);
656 isl_ctx
*isl_union_pw_multi_aff_get_ctx(
657 __isl_keep isl_union_pw_multi_aff
*upma
);
658 __isl_give isl_space
*isl_union_pw_multi_aff_get_space(
659 __isl_keep isl_union_pw_multi_aff
*upma
);
661 unsigned isl_union_pw_multi_aff_dim(__isl_keep isl_union_pw_multi_aff
*upma
,
662 enum isl_dim_type type
);
663 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_set_dim_name(
664 __isl_take isl_union_pw_multi_aff
*upma
,
665 enum isl_dim_type type
, unsigned pos
, const char *s
);
667 int isl_union_pw_multi_aff_find_dim_by_name(
668 __isl_keep isl_union_pw_multi_aff
*upma
, enum isl_dim_type type
,
671 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_drop_dims(
672 __isl_take isl_union_pw_multi_aff
*upma
,
673 enum isl_dim_type type
, unsigned first
, unsigned n
);
674 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_reset_user(
675 __isl_take isl_union_pw_multi_aff
*upma
);
677 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_coalesce(
678 __isl_take isl_union_pw_multi_aff
*upma
);
679 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_gist_params(
680 __isl_take isl_union_pw_multi_aff
*upma
, __isl_take isl_set
*context
);
681 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_gist(
682 __isl_take isl_union_pw_multi_aff
*upma
,
683 __isl_take isl_union_set
*context
);
686 __isl_give isl_union_pw_multi_aff
*
687 isl_union_pw_multi_aff_pullback_union_pw_multi_aff(
688 __isl_take isl_union_pw_multi_aff
*upma1
,
689 __isl_take isl_union_pw_multi_aff
*upma2
);
691 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_align_params(
692 __isl_take isl_union_pw_multi_aff
*upma
, __isl_take isl_space
*model
);
694 int isl_union_pw_multi_aff_n_pw_multi_aff(
695 __isl_keep isl_union_pw_multi_aff
*upma
);
697 isl_stat
isl_union_pw_multi_aff_foreach_pw_multi_aff(
698 __isl_keep isl_union_pw_multi_aff
*upma
,
699 isl_stat (*fn
)(__isl_take isl_pw_multi_aff
*pma
, void *user
),
701 __isl_give isl_pw_multi_aff
*isl_union_pw_multi_aff_extract_pw_multi_aff(
702 __isl_keep isl_union_pw_multi_aff
*upma
, __isl_take isl_space
*space
);
704 isl_bool
isl_union_pw_multi_aff_involves_nan(
705 __isl_keep isl_union_pw_multi_aff
*upma
);
706 isl_bool
isl_union_pw_multi_aff_plain_is_equal(
707 __isl_keep isl_union_pw_multi_aff
*upma1
,
708 __isl_keep isl_union_pw_multi_aff
*upma2
);
710 __isl_give isl_union_set
*isl_union_pw_multi_aff_domain(
711 __isl_take isl_union_pw_multi_aff
*upma
);
713 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_neg(
714 __isl_take isl_union_pw_multi_aff
*upma
);
717 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_add(
718 __isl_take isl_union_pw_multi_aff
*upma1
,
719 __isl_take isl_union_pw_multi_aff
*upma2
);
721 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_union_add(
722 __isl_take isl_union_pw_multi_aff
*upma1
,
723 __isl_take isl_union_pw_multi_aff
*upma2
);
724 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_sub(
725 __isl_take isl_union_pw_multi_aff
*upma1
,
726 __isl_take isl_union_pw_multi_aff
*upma2
);
728 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_scale_val(
729 __isl_take isl_union_pw_multi_aff
*upma
, __isl_take isl_val
*val
);
730 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_scale_down_val(
731 __isl_take isl_union_pw_multi_aff
*upma
, __isl_take isl_val
*val
);
732 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_scale_multi_val(
733 __isl_take isl_union_pw_multi_aff
*upma
, __isl_take isl_multi_val
*mv
);
736 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_flat_range_product(
737 __isl_take isl_union_pw_multi_aff
*upma1
,
738 __isl_take isl_union_pw_multi_aff
*upma2
);
740 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_intersect_params(
741 __isl_take isl_union_pw_multi_aff
*upma
, __isl_take isl_set
*set
);
742 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_intersect_domain(
743 __isl_take isl_union_pw_multi_aff
*upma
,
744 __isl_take isl_union_set
*uset
);
745 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_subtract_domain(
746 __isl_take isl_union_pw_multi_aff
*upma
,
747 __isl_take isl_union_set
*uset
);
750 __isl_give isl_union_map
*isl_union_map_from_union_pw_multi_aff(
751 __isl_take isl_union_pw_multi_aff
*upma
);
753 __isl_give isl_printer
*isl_printer_print_union_pw_multi_aff(
754 __isl_take isl_printer
*p
, __isl_keep isl_union_pw_multi_aff
*upma
);
756 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_from_union_set(
757 __isl_take isl_union_set
*uset
);
758 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_from_union_map(
759 __isl_take isl_union_map
*umap
);
762 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_read_from_str(
763 isl_ctx
*ctx
, const char *str
);
764 void isl_union_pw_multi_aff_dump(__isl_keep isl_union_pw_multi_aff
*upma
);
765 __isl_give
char *isl_union_pw_multi_aff_to_str(
766 __isl_keep isl_union_pw_multi_aff
*upma
);
768 uint32_t isl_multi_pw_aff_get_hash(__isl_keep isl_multi_pw_aff
*mpa
);
770 __isl_give isl_multi_pw_aff
*isl_multi_pw_aff_identity(
771 __isl_take isl_space
*space
);
773 __isl_give isl_multi_pw_aff
*isl_multi_pw_aff_from_multi_aff(
774 __isl_take isl_multi_aff
*ma
);
776 __isl_give isl_multi_pw_aff
*isl_multi_pw_aff_from_pw_aff(
777 __isl_take isl_pw_aff
*pa
);
778 __isl_give isl_set
*isl_multi_pw_aff_domain(__isl_take isl_multi_pw_aff
*mpa
);
779 __isl_give isl_multi_pw_aff
*isl_multi_pw_aff_intersect_params(
780 __isl_take isl_multi_pw_aff
*mpa
, __isl_take isl_set
*set
);
781 __isl_give isl_multi_pw_aff
*isl_multi_pw_aff_intersect_domain(
782 __isl_take isl_multi_pw_aff
*mpa
, __isl_take isl_set
*domain
);
784 __isl_give isl_multi_pw_aff
*isl_multi_pw_aff_coalesce(
785 __isl_take isl_multi_pw_aff
*mpa
);
786 __isl_give isl_multi_pw_aff
*isl_multi_pw_aff_gist(
787 __isl_take isl_multi_pw_aff
*mpa
, __isl_take isl_set
*set
);
788 __isl_give isl_multi_pw_aff
*isl_multi_pw_aff_gist_params(
789 __isl_take isl_multi_pw_aff
*mpa
, __isl_take isl_set
*set
);
791 isl_bool
isl_multi_pw_aff_is_cst(__isl_keep isl_multi_pw_aff
*mpa
);
792 isl_bool
isl_multi_pw_aff_is_equal(__isl_keep isl_multi_pw_aff
*mpa1
,
793 __isl_keep isl_multi_pw_aff
*mpa2
);
796 __isl_give isl_multi_pw_aff
*isl_multi_pw_aff_pullback_multi_aff(
797 __isl_take isl_multi_pw_aff
*mpa
, __isl_take isl_multi_aff
*ma
);
799 __isl_give isl_multi_pw_aff
*isl_multi_pw_aff_pullback_pw_multi_aff(
800 __isl_take isl_multi_pw_aff
*mpa
, __isl_take isl_pw_multi_aff
*pma
);
802 __isl_give isl_multi_pw_aff
*isl_multi_pw_aff_pullback_multi_pw_aff(
803 __isl_take isl_multi_pw_aff
*mpa1
, __isl_take isl_multi_pw_aff
*mpa2
);
805 __isl_give isl_multi_pw_aff
*isl_multi_pw_aff_move_dims(
806 __isl_take isl_multi_pw_aff
*pma
,
807 enum isl_dim_type dst_type
, unsigned dst_pos
,
808 enum isl_dim_type src_type
, unsigned src_pos
, unsigned n
);
810 __isl_give isl_set
*isl_set_from_multi_pw_aff(__isl_take isl_multi_pw_aff
*mpa
);
811 __isl_give isl_map
*isl_map_from_multi_pw_aff(__isl_take isl_multi_pw_aff
*mpa
);
812 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_from_multi_pw_aff(
813 __isl_take isl_multi_pw_aff
*mpa
);
815 __isl_give isl_multi_pw_aff
*isl_multi_pw_aff_from_pw_multi_aff(
816 __isl_take isl_pw_multi_aff
*pma
);
818 __isl_give isl_map
*isl_multi_pw_aff_eq_map(__isl_take isl_multi_pw_aff
*mpa1
,
819 __isl_take isl_multi_pw_aff
*mpa2
);
820 __isl_give isl_map
*isl_multi_pw_aff_lex_lt_map(
821 __isl_take isl_multi_pw_aff
*mpa1
, __isl_take isl_multi_pw_aff
*mpa2
);
822 __isl_give isl_map
*isl_multi_pw_aff_lex_gt_map(
823 __isl_take isl_multi_pw_aff
*mpa1
, __isl_take isl_multi_pw_aff
*mpa2
);
826 __isl_give isl_multi_pw_aff
*isl_multi_pw_aff_read_from_str(isl_ctx
*ctx
,
828 __isl_give
char *isl_multi_pw_aff_to_str(__isl_keep isl_multi_pw_aff
*mpa
);
829 __isl_give isl_printer
*isl_printer_print_multi_pw_aff(
830 __isl_take isl_printer
*p
, __isl_keep isl_multi_pw_aff
*mpa
);
831 void isl_multi_pw_aff_dump(__isl_keep isl_multi_pw_aff
*mpa
);
833 __isl_give isl_union_pw_aff
*isl_union_pw_aff_copy(
834 __isl_keep isl_union_pw_aff
*upa
);
835 __isl_null isl_union_pw_aff
*isl_union_pw_aff_free(
836 __isl_take isl_union_pw_aff
*upa
);
838 isl_ctx
*isl_union_pw_aff_get_ctx(__isl_keep isl_union_pw_aff
*upa
);
839 __isl_give isl_space
*isl_union_pw_aff_get_space(
840 __isl_keep isl_union_pw_aff
*upa
);
842 unsigned isl_union_pw_aff_dim(__isl_keep isl_union_pw_aff
*upa
,
843 enum isl_dim_type type
);
844 __isl_give isl_union_pw_aff
*isl_union_pw_aff_set_dim_name(
845 __isl_take isl_union_pw_aff
*upa
, enum isl_dim_type type
,
846 unsigned pos
, const char *s
);
848 int isl_union_pw_aff_find_dim_by_name(__isl_keep isl_union_pw_aff
*upa
,
849 enum isl_dim_type type
, const char *name
);
851 __isl_give isl_union_pw_aff
*isl_union_pw_aff_drop_dims(
852 __isl_take isl_union_pw_aff
*upa
,
853 enum isl_dim_type type
, unsigned first
, unsigned n
);
854 __isl_give isl_union_pw_aff
*isl_union_pw_aff_reset_user(
855 __isl_take isl_union_pw_aff
*upa
);
857 __isl_give isl_union_pw_aff
*isl_union_pw_aff_empty(
858 __isl_take isl_space
*space
);
860 __isl_give isl_union_pw_aff
*isl_union_pw_aff_from_pw_aff(
861 __isl_take isl_pw_aff
*pa
);
862 __isl_give isl_union_pw_aff
*isl_union_pw_aff_val_on_domain(
863 __isl_take isl_union_set
*domain
, __isl_take isl_val
*v
);
864 __isl_give isl_union_pw_aff
*isl_union_pw_aff_aff_on_domain(
865 __isl_take isl_union_set
*domain
, __isl_take isl_aff
*aff
);
866 __isl_give isl_union_pw_aff
*isl_union_pw_aff_add_pw_aff(
867 __isl_take isl_union_pw_aff
*upa
, __isl_take isl_pw_aff
*pa
);
870 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_from_union_pw_aff(
871 __isl_take isl_union_pw_aff
*upa
);
873 int isl_union_pw_aff_n_pw_aff(__isl_keep isl_union_pw_aff
*upa
);
875 isl_stat
isl_union_pw_aff_foreach_pw_aff(__isl_keep isl_union_pw_aff
*upa
,
876 isl_stat (*fn
)(__isl_take isl_pw_aff
*pa
, void *user
), void *user
);
877 __isl_give isl_pw_aff
*isl_union_pw_aff_extract_pw_aff(
878 __isl_keep isl_union_pw_aff
*upa
, __isl_take isl_space
*space
);
880 isl_bool
isl_union_pw_aff_involves_nan(__isl_keep isl_union_pw_aff
*upa
);
881 isl_bool
isl_union_pw_aff_plain_is_equal(__isl_keep isl_union_pw_aff
*upa1
,
882 __isl_keep isl_union_pw_aff
*upa2
);
884 __isl_give isl_union_set
*isl_union_pw_aff_domain(
885 __isl_take isl_union_pw_aff
*upa
);
887 __isl_give isl_union_pw_aff
*isl_union_pw_aff_neg(
888 __isl_take isl_union_pw_aff
*upa
);
891 __isl_give isl_union_pw_aff
*isl_union_pw_aff_add(
892 __isl_take isl_union_pw_aff
*upa1
, __isl_take isl_union_pw_aff
*upa2
);
894 __isl_give isl_union_pw_aff
*isl_union_pw_aff_union_add(
895 __isl_take isl_union_pw_aff
*upa1
, __isl_take isl_union_pw_aff
*upa2
);
896 __isl_give isl_union_pw_aff
*isl_union_pw_aff_sub(
897 __isl_take isl_union_pw_aff
*upa1
, __isl_take isl_union_pw_aff
*upa2
);
899 __isl_give isl_union_pw_aff
*isl_union_pw_aff_coalesce(
900 __isl_take isl_union_pw_aff
*upa
);
901 __isl_give isl_union_pw_aff
*isl_union_pw_aff_gist(
902 __isl_take isl_union_pw_aff
*upa
, __isl_take isl_union_set
*context
);
903 __isl_give isl_union_pw_aff
*isl_union_pw_aff_gist_params(
904 __isl_take isl_union_pw_aff
*upa
, __isl_take isl_set
*context
);
907 __isl_give isl_union_pw_aff
*isl_union_pw_aff_pullback_union_pw_multi_aff(
908 __isl_take isl_union_pw_aff
*upa
,
909 __isl_take isl_union_pw_multi_aff
*upma
);
911 __isl_give isl_union_pw_aff
*isl_union_pw_aff_floor(
912 __isl_take isl_union_pw_aff
*upa
);
914 __isl_give isl_union_pw_aff
*isl_union_pw_aff_scale_val(
915 __isl_take isl_union_pw_aff
*upa
, __isl_take isl_val
*v
);
916 __isl_give isl_union_pw_aff
*isl_union_pw_aff_scale_down_val(
917 __isl_take isl_union_pw_aff
*upa
, __isl_take isl_val
*v
);
918 __isl_give isl_union_pw_aff
*isl_union_pw_aff_mod_val(
919 __isl_take isl_union_pw_aff
*upa
, __isl_take isl_val
*f
);
921 __isl_give isl_union_pw_aff
*isl_union_pw_aff_align_params(
922 __isl_take isl_union_pw_aff
*upa
, __isl_take isl_space
*model
);
924 __isl_give isl_union_pw_aff
*isl_union_pw_aff_intersect_params(
925 __isl_take isl_union_pw_aff
*upa
, __isl_take isl_set
*set
);
926 __isl_give isl_union_pw_aff
*isl_union_pw_aff_intersect_domain(
927 __isl_take isl_union_pw_aff
*upa
, __isl_take isl_union_set
*uset
);
928 __isl_give isl_union_pw_aff
*isl_union_pw_aff_subtract_domain(
929 __isl_take isl_union_pw_aff
*upa
, __isl_take isl_union_set
*uset
);
931 __isl_give isl_union_pw_aff
*isl_union_pw_aff_set_dim_name(
932 __isl_take isl_union_pw_aff
*upa
,
933 enum isl_dim_type type
, unsigned pos
, const char *s
);
935 __isl_give isl_union_set
*isl_union_pw_aff_zero_union_set(
936 __isl_take isl_union_pw_aff
*upa
);
938 __isl_give isl_union_map
*isl_union_map_from_union_pw_aff(
939 __isl_take isl_union_pw_aff
*upa
);
942 __isl_give isl_union_pw_aff
*isl_union_pw_aff_read_from_str(isl_ctx
*ctx
,
944 __isl_give
char *isl_union_pw_aff_to_str(__isl_keep isl_union_pw_aff
*upa
);
945 __isl_give isl_printer
*isl_printer_print_union_pw_aff(
946 __isl_take isl_printer
*p
, __isl_keep isl_union_pw_aff
*upa
);
947 void isl_union_pw_aff_dump(__isl_keep isl_union_pw_aff
*upa
);
949 ISL_DECLARE_MULTI(union_pw_aff
)
950 ISL_DECLARE_MULTI_NEG(union_pw_aff
)
952 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_from_multi_aff(
953 __isl_take isl_multi_aff
*ma
);
955 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_from_union_pw_aff(
956 __isl_take isl_union_pw_aff
*upa
);
958 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_from_multi_pw_aff(
959 __isl_take isl_multi_pw_aff
*mpa
);
960 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_multi_val_on_domain(
961 __isl_take isl_union_set
*domain
, __isl_take isl_multi_val
*mv
);
962 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_multi_aff_on_domain(
963 __isl_take isl_union_set
*domain
, __isl_take isl_multi_aff
*ma
);
965 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_floor(
966 __isl_take isl_multi_union_pw_aff
*mupa
);
968 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_intersect_domain(
969 __isl_take isl_multi_union_pw_aff
*mupa
,
970 __isl_take isl_union_set
*uset
);
971 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_intersect_params(
972 __isl_take isl_multi_union_pw_aff
*mupa
, __isl_take isl_set
*params
);
973 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_intersect_range(
974 __isl_take isl_multi_union_pw_aff
*mupa
, __isl_take isl_set
*set
);
976 __isl_give isl_union_set
*isl_multi_union_pw_aff_domain(
977 __isl_take isl_multi_union_pw_aff
*mupa
);
979 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_coalesce(
980 __isl_take isl_multi_union_pw_aff
*aff
);
981 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_gist(
982 __isl_take isl_multi_union_pw_aff
*aff
,
983 __isl_take isl_union_set
*context
);
984 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_gist_params(
985 __isl_take isl_multi_union_pw_aff
*aff
, __isl_take isl_set
*context
);
987 __isl_give isl_union_pw_aff
*isl_multi_union_pw_aff_apply_aff(
988 __isl_take isl_multi_union_pw_aff
*mupa
, __isl_take isl_aff
*aff
);
989 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_apply_multi_aff(
990 __isl_take isl_multi_union_pw_aff
*mupa
, __isl_take isl_multi_aff
*ma
);
991 __isl_give isl_union_pw_aff
*isl_multi_union_pw_aff_apply_pw_aff(
992 __isl_take isl_multi_union_pw_aff
*mupa
, __isl_take isl_pw_aff
*pa
);
993 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_apply_pw_multi_aff(
994 __isl_take isl_multi_union_pw_aff
*mupa
,
995 __isl_take isl_pw_multi_aff
*pma
);
998 __isl_give isl_multi_union_pw_aff
*
999 isl_multi_union_pw_aff_pullback_union_pw_multi_aff(
1000 __isl_take isl_multi_union_pw_aff
*mupa
,
1001 __isl_take isl_union_pw_multi_aff
*upma
);
1003 __isl_give isl_union_pw_multi_aff
*
1004 isl_union_pw_multi_aff_from_multi_union_pw_aff(
1005 __isl_take isl_multi_union_pw_aff
*mupa
);
1008 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_union_add(
1009 __isl_take isl_multi_union_pw_aff
*mupa1
,
1010 __isl_take isl_multi_union_pw_aff
*mupa2
);
1012 __isl_give isl_multi_union_pw_aff
*
1013 isl_multi_union_pw_aff_from_union_pw_multi_aff(
1014 __isl_take isl_union_pw_multi_aff
*upma
);
1016 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_from_union_map(
1017 __isl_take isl_union_map
*umap
);
1019 __isl_give isl_union_map
*isl_union_map_from_multi_union_pw_aff(
1020 __isl_take isl_multi_union_pw_aff
*mupa
);
1022 __isl_give isl_union_set
*isl_multi_union_pw_aff_zero_union_set(
1023 __isl_take isl_multi_union_pw_aff
*mupa
);
1025 __isl_give isl_multi_pw_aff
*isl_multi_union_pw_aff_extract_multi_pw_aff(
1026 __isl_keep isl_multi_union_pw_aff
*mupa
, __isl_take isl_space
*space
);
1029 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_read_from_str(
1030 isl_ctx
*ctx
, const char *str
);
1031 __isl_give
char *isl_multi_union_pw_aff_to_str(
1032 __isl_keep isl_multi_union_pw_aff
*mupa
);
1033 __isl_give isl_printer
*isl_printer_print_multi_union_pw_aff(
1034 __isl_take isl_printer
*p
, __isl_keep isl_multi_union_pw_aff
*mupa
);
1035 void isl_multi_union_pw_aff_dump(__isl_keep isl_multi_union_pw_aff
*mupa
);
1037 ISL_DECLARE_LIST_FN(union_pw_aff
)
1038 ISL_DECLARE_LIST_FN(union_pw_multi_aff
)
1040 #if defined(__cplusplus)