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_neg(__isl_take isl_aff
*aff
);
84 __isl_give isl_aff
*isl_aff_ceil(__isl_take isl_aff
*aff
);
85 __isl_give isl_aff
*isl_aff_floor(__isl_take isl_aff
*aff
);
86 __isl_give isl_aff
*isl_aff_mod_val(__isl_take isl_aff
*aff
,
87 __isl_take isl_val
*mod
);
89 __isl_give isl_aff
*isl_aff_mul(__isl_take isl_aff
*aff1
,
90 __isl_take isl_aff
*aff2
);
91 __isl_give isl_aff
*isl_aff_div(__isl_take isl_aff
*aff1
,
92 __isl_take isl_aff
*aff2
);
94 __isl_give isl_aff
*isl_aff_add(__isl_take isl_aff
*aff1
,
95 __isl_take isl_aff
*aff2
);
96 __isl_give isl_aff
*isl_aff_sub(__isl_take isl_aff
*aff1
,
97 __isl_take isl_aff
*aff2
);
99 __isl_give isl_aff
*isl_aff_scale_val(__isl_take isl_aff
*aff
,
100 __isl_take isl_val
*v
);
101 __isl_give isl_aff
*isl_aff_scale_down_ui(__isl_take isl_aff
*aff
, unsigned f
);
102 __isl_give isl_aff
*isl_aff_scale_down_val(__isl_take isl_aff
*aff
,
103 __isl_take isl_val
*v
);
105 __isl_give isl_aff
*isl_aff_insert_dims(__isl_take isl_aff
*aff
,
106 enum isl_dim_type type
, unsigned first
, unsigned n
);
107 __isl_give isl_aff
*isl_aff_add_dims(__isl_take isl_aff
*aff
,
108 enum isl_dim_type type
, unsigned n
);
109 __isl_give isl_aff
*isl_aff_move_dims(__isl_take isl_aff
*aff
,
110 enum isl_dim_type dst_type
, unsigned dst_pos
,
111 enum isl_dim_type src_type
, unsigned src_pos
, unsigned n
);
112 __isl_give isl_aff
*isl_aff_drop_dims(__isl_take isl_aff
*aff
,
113 enum isl_dim_type type
, unsigned first
, unsigned n
);
114 __isl_give isl_aff
*isl_aff_project_domain_on_params(__isl_take isl_aff
*aff
);
116 __isl_give isl_aff
*isl_aff_align_params(__isl_take isl_aff
*aff
,
117 __isl_take isl_space
*model
);
119 __isl_give isl_aff
*isl_aff_gist(__isl_take isl_aff
*aff
,
120 __isl_take isl_set
*context
);
121 __isl_give isl_aff
*isl_aff_gist_params(__isl_take isl_aff
*aff
,
122 __isl_take isl_set
*context
);
124 __isl_give isl_aff
*isl_aff_pullback_aff(__isl_take isl_aff
*aff1
,
125 __isl_take isl_aff
*aff2
);
127 __isl_give isl_aff
*isl_aff_pullback_multi_aff(__isl_take isl_aff
*aff
,
128 __isl_take isl_multi_aff
*ma
);
130 __isl_give isl_basic_set
*isl_aff_zero_basic_set(__isl_take isl_aff
*aff
);
131 __isl_give isl_basic_set
*isl_aff_neg_basic_set(__isl_take isl_aff
*aff
);
133 __isl_give isl_basic_set
*isl_aff_le_basic_set(__isl_take isl_aff
*aff1
,
134 __isl_take isl_aff
*aff2
);
135 __isl_give isl_set
*isl_aff_le_set(__isl_take isl_aff
*aff1
,
136 __isl_take isl_aff
*aff2
);
137 __isl_give isl_basic_set
*isl_aff_ge_basic_set(__isl_take isl_aff
*aff1
,
138 __isl_take isl_aff
*aff2
);
139 __isl_give isl_set
*isl_aff_ge_set(__isl_take isl_aff
*aff1
,
140 __isl_take isl_aff
*aff2
);
143 __isl_give isl_aff
*isl_aff_read_from_str(isl_ctx
*ctx
, const char *str
);
144 __isl_give isl_printer
*isl_printer_print_aff(__isl_take isl_printer
*p
,
145 __isl_keep isl_aff
*aff
);
146 void isl_aff_dump(__isl_keep isl_aff
*aff
);
148 isl_ctx
*isl_pw_aff_get_ctx(__isl_keep isl_pw_aff
*pwaff
);
149 uint32_t isl_pw_aff_get_hash(__isl_keep isl_pw_aff
*pa
);
150 __isl_give isl_space
*isl_pw_aff_get_domain_space(__isl_keep isl_pw_aff
*pwaff
);
151 __isl_give isl_space
*isl_pw_aff_get_space(__isl_keep isl_pw_aff
*pwaff
);
154 __isl_give isl_pw_aff
*isl_pw_aff_from_aff(__isl_take isl_aff
*aff
);
155 __isl_give isl_pw_aff
*isl_pw_aff_empty(__isl_take isl_space
*dim
);
156 __isl_give isl_pw_aff
*isl_pw_aff_alloc(__isl_take isl_set
*set
,
157 __isl_take isl_aff
*aff
);
158 __isl_give isl_pw_aff
*isl_pw_aff_zero_on_domain(
159 __isl_take isl_local_space
*ls
);
160 __isl_give isl_pw_aff
*isl_pw_aff_var_on_domain(__isl_take isl_local_space
*ls
,
161 enum isl_dim_type type
, unsigned pos
);
162 __isl_give isl_pw_aff
*isl_pw_aff_nan_on_domain(__isl_take isl_local_space
*ls
);
163 __isl_give isl_pw_aff
*isl_pw_aff_val_on_domain(__isl_take isl_set
*domain
,
164 __isl_take isl_val
*v
);
166 __isl_give isl_pw_aff
*isl_set_indicator_function(__isl_take isl_set
*set
);
168 const char *isl_pw_aff_get_dim_name(__isl_keep isl_pw_aff
*pa
,
169 enum isl_dim_type type
, unsigned pos
);
170 isl_bool
isl_pw_aff_has_dim_id(__isl_keep isl_pw_aff
*pa
,
171 enum isl_dim_type type
, unsigned pos
);
172 __isl_give isl_id
*isl_pw_aff_get_dim_id(__isl_keep isl_pw_aff
*pa
,
173 enum isl_dim_type type
, unsigned pos
);
174 __isl_give isl_pw_aff
*isl_pw_aff_set_dim_id(__isl_take isl_pw_aff
*pma
,
175 enum isl_dim_type type
, unsigned pos
, __isl_take isl_id
*id
);
177 int isl_pw_aff_find_dim_by_name(__isl_keep isl_pw_aff
*pa
,
178 enum isl_dim_type type
, const char *name
);
180 isl_bool
isl_pw_aff_is_empty(__isl_keep isl_pw_aff
*pwaff
);
181 isl_bool
isl_pw_aff_involves_nan(__isl_keep isl_pw_aff
*pa
);
182 int isl_pw_aff_plain_cmp(__isl_keep isl_pw_aff
*pa1
,
183 __isl_keep isl_pw_aff
*pa2
);
184 isl_bool
isl_pw_aff_plain_is_equal(__isl_keep isl_pw_aff
*pwaff1
,
185 __isl_keep isl_pw_aff
*pwaff2
);
186 int isl_pw_aff_is_equal(__isl_keep isl_pw_aff
*pa1
, __isl_keep isl_pw_aff
*pa2
);
188 __isl_give isl_pw_aff
*isl_pw_aff_union_min(__isl_take isl_pw_aff
*pwaff1
,
189 __isl_take isl_pw_aff
*pwaff2
);
190 __isl_give isl_pw_aff
*isl_pw_aff_union_max(__isl_take isl_pw_aff
*pwaff1
,
191 __isl_take isl_pw_aff
*pwaff2
);
193 __isl_give isl_pw_aff
*isl_pw_aff_union_add(__isl_take isl_pw_aff
*pwaff1
,
194 __isl_take isl_pw_aff
*pwaff2
);
196 __isl_give isl_pw_aff
*isl_pw_aff_copy(__isl_keep isl_pw_aff
*pwaff
);
197 __isl_null isl_pw_aff
*isl_pw_aff_free(__isl_take isl_pw_aff
*pwaff
);
199 unsigned isl_pw_aff_dim(__isl_keep isl_pw_aff
*pwaff
, enum isl_dim_type type
);
200 isl_bool
isl_pw_aff_involves_dims(__isl_keep isl_pw_aff
*pwaff
,
201 enum isl_dim_type type
, unsigned first
, unsigned n
);
203 isl_bool
isl_pw_aff_is_cst(__isl_keep isl_pw_aff
*pwaff
);
205 __isl_give isl_pw_aff
*isl_pw_aff_align_params(__isl_take isl_pw_aff
*pwaff
,
206 __isl_take isl_space
*model
);
208 isl_bool
isl_pw_aff_has_tuple_id(__isl_keep isl_pw_aff
*pa
,
209 enum isl_dim_type type
);
210 __isl_give isl_id
*isl_pw_aff_get_tuple_id(__isl_keep isl_pw_aff
*pa
,
211 enum isl_dim_type type
);
212 __isl_give isl_pw_aff
*isl_pw_aff_set_tuple_id(__isl_take isl_pw_aff
*pwaff
,
213 enum isl_dim_type type
, __isl_take isl_id
*id
);
214 __isl_give isl_pw_aff
*isl_pw_aff_reset_tuple_id(__isl_take isl_pw_aff
*pa
,
215 enum isl_dim_type type
);
216 __isl_give isl_pw_aff
*isl_pw_aff_reset_user(__isl_take isl_pw_aff
*pa
);
218 __isl_give isl_set
*isl_pw_aff_params(__isl_take isl_pw_aff
*pwa
);
219 __isl_give isl_set
*isl_pw_aff_domain(__isl_take isl_pw_aff
*pwaff
);
220 __isl_give isl_pw_aff
*isl_pw_aff_from_range(__isl_take isl_pw_aff
*pwa
);
222 __isl_give isl_pw_aff
*isl_pw_aff_min(__isl_take isl_pw_aff
*pwaff1
,
223 __isl_take isl_pw_aff
*pwaff2
);
224 __isl_give isl_pw_aff
*isl_pw_aff_max(__isl_take isl_pw_aff
*pwaff1
,
225 __isl_take isl_pw_aff
*pwaff2
);
226 __isl_give isl_pw_aff
*isl_pw_aff_mul(__isl_take isl_pw_aff
*pwaff1
,
227 __isl_take isl_pw_aff
*pwaff2
);
228 __isl_give isl_pw_aff
*isl_pw_aff_div(__isl_take isl_pw_aff
*pa1
,
229 __isl_take isl_pw_aff
*pa2
);
231 __isl_give isl_pw_aff
*isl_pw_aff_add(__isl_take isl_pw_aff
*pwaff1
,
232 __isl_take isl_pw_aff
*pwaff2
);
233 __isl_give isl_pw_aff
*isl_pw_aff_sub(__isl_take isl_pw_aff
*pwaff1
,
234 __isl_take isl_pw_aff
*pwaff2
);
235 __isl_give isl_pw_aff
*isl_pw_aff_neg(__isl_take isl_pw_aff
*pwaff
);
236 __isl_give isl_pw_aff
*isl_pw_aff_ceil(__isl_take isl_pw_aff
*pwaff
);
237 __isl_give isl_pw_aff
*isl_pw_aff_floor(__isl_take isl_pw_aff
*pwaff
);
238 __isl_give isl_pw_aff
*isl_pw_aff_mod_val(__isl_take isl_pw_aff
*pa
,
239 __isl_take isl_val
*mod
);
240 __isl_give isl_pw_aff
*isl_pw_aff_tdiv_q(__isl_take isl_pw_aff
*pa1
,
241 __isl_take isl_pw_aff
*pa2
);
242 __isl_give isl_pw_aff
*isl_pw_aff_tdiv_r(__isl_take isl_pw_aff
*pa1
,
243 __isl_take isl_pw_aff
*pa2
);
245 __isl_give isl_pw_aff
*isl_pw_aff_intersect_params(__isl_take isl_pw_aff
*pa
,
246 __isl_take isl_set
*set
);
247 __isl_give isl_pw_aff
*isl_pw_aff_intersect_domain(__isl_take isl_pw_aff
*pa
,
248 __isl_take isl_set
*set
);
249 __isl_give isl_pw_aff
*isl_pw_aff_subtract_domain(__isl_take isl_pw_aff
*pa
,
250 __isl_take isl_set
*set
);
252 __isl_give isl_pw_aff
*isl_pw_aff_cond(__isl_take isl_pw_aff
*cond
,
253 __isl_take isl_pw_aff
*pwaff_true
, __isl_take isl_pw_aff
*pwaff_false
);
255 __isl_give isl_pw_aff
*isl_pw_aff_scale_val(__isl_take isl_pw_aff
*pa
,
256 __isl_take isl_val
*v
);
257 __isl_give isl_pw_aff
*isl_pw_aff_scale_down_val(__isl_take isl_pw_aff
*pa
,
258 __isl_take isl_val
*f
);
260 __isl_give isl_pw_aff
*isl_pw_aff_insert_dims(__isl_take isl_pw_aff
*pwaff
,
261 enum isl_dim_type type
, unsigned first
, unsigned n
);
262 __isl_give isl_pw_aff
*isl_pw_aff_add_dims(__isl_take isl_pw_aff
*pwaff
,
263 enum isl_dim_type type
, unsigned n
);
264 __isl_give isl_pw_aff
*isl_pw_aff_move_dims(__isl_take isl_pw_aff
*pa
,
265 enum isl_dim_type dst_type
, unsigned dst_pos
,
266 enum isl_dim_type src_type
, unsigned src_pos
, unsigned n
);
267 __isl_give isl_pw_aff
*isl_pw_aff_drop_dims(__isl_take isl_pw_aff
*pwaff
,
268 enum isl_dim_type type
, unsigned first
, unsigned n
);
270 __isl_give isl_pw_aff
*isl_pw_aff_coalesce(__isl_take isl_pw_aff
*pwqp
);
271 __isl_give isl_pw_aff
*isl_pw_aff_gist(__isl_take isl_pw_aff
*pwaff
,
272 __isl_take isl_set
*context
);
273 __isl_give isl_pw_aff
*isl_pw_aff_gist_params(__isl_take isl_pw_aff
*pwaff
,
274 __isl_take isl_set
*context
);
277 __isl_give isl_pw_aff
*isl_pw_aff_pullback_multi_aff(
278 __isl_take isl_pw_aff
*pa
, __isl_take isl_multi_aff
*ma
);
280 __isl_give isl_pw_aff
*isl_pw_aff_pullback_pw_multi_aff(
281 __isl_take isl_pw_aff
*pa
, __isl_take isl_pw_multi_aff
*pma
);
283 __isl_give isl_pw_aff
*isl_pw_aff_pullback_multi_pw_aff(
284 __isl_take isl_pw_aff
*pa
, __isl_take isl_multi_pw_aff
*mpa
);
286 int isl_pw_aff_n_piece(__isl_keep isl_pw_aff
*pwaff
);
287 isl_stat
isl_pw_aff_foreach_piece(__isl_keep isl_pw_aff
*pwaff
,
288 isl_stat (*fn
)(__isl_take isl_set
*set
, __isl_take isl_aff
*aff
,
289 void *user
), void *user
);
291 __isl_give isl_set
*isl_set_from_pw_aff(__isl_take isl_pw_aff
*pwaff
);
292 __isl_give isl_map
*isl_map_from_pw_aff(__isl_take isl_pw_aff
*pwaff
);
294 __isl_give isl_set
*isl_pw_aff_pos_set(__isl_take isl_pw_aff
*pa
);
295 __isl_give isl_set
*isl_pw_aff_nonneg_set(__isl_take isl_pw_aff
*pwaff
);
296 __isl_give isl_set
*isl_pw_aff_zero_set(__isl_take isl_pw_aff
*pwaff
);
297 __isl_give isl_set
*isl_pw_aff_non_zero_set(__isl_take isl_pw_aff
*pwaff
);
299 __isl_give isl_set
*isl_pw_aff_eq_set(__isl_take isl_pw_aff
*pwaff1
,
300 __isl_take isl_pw_aff
*pwaff2
);
301 __isl_give isl_set
*isl_pw_aff_ne_set(__isl_take isl_pw_aff
*pwaff1
,
302 __isl_take isl_pw_aff
*pwaff2
);
303 __isl_give isl_set
*isl_pw_aff_le_set(__isl_take isl_pw_aff
*pwaff1
,
304 __isl_take isl_pw_aff
*pwaff2
);
305 __isl_give isl_set
*isl_pw_aff_lt_set(__isl_take isl_pw_aff
*pwaff1
,
306 __isl_take isl_pw_aff
*pwaff2
);
307 __isl_give isl_set
*isl_pw_aff_ge_set(__isl_take isl_pw_aff
*pwaff1
,
308 __isl_take isl_pw_aff
*pwaff2
);
309 __isl_give isl_set
*isl_pw_aff_gt_set(__isl_take isl_pw_aff
*pwaff1
,
310 __isl_take isl_pw_aff
*pwaff2
);
312 __isl_give isl_map
*isl_pw_aff_eq_map(__isl_take isl_pw_aff
*pa1
,
313 __isl_take isl_pw_aff
*pa2
);
314 __isl_give isl_map
*isl_pw_aff_lt_map(__isl_take isl_pw_aff
*pa1
,
315 __isl_take isl_pw_aff
*pa2
);
316 __isl_give isl_map
*isl_pw_aff_gt_map(__isl_take isl_pw_aff
*pa1
,
317 __isl_take isl_pw_aff
*pa2
);
320 __isl_give isl_pw_aff
*isl_pw_aff_read_from_str(isl_ctx
*ctx
, const char *str
);
321 __isl_give isl_printer
*isl_printer_print_pw_aff(__isl_take isl_printer
*p
,
322 __isl_keep isl_pw_aff
*pwaff
);
323 void isl_pw_aff_dump(__isl_keep isl_pw_aff
*pwaff
);
325 __isl_give isl_pw_aff
*isl_pw_aff_list_min(__isl_take isl_pw_aff_list
*list
);
326 __isl_give isl_pw_aff
*isl_pw_aff_list_max(__isl_take isl_pw_aff_list
*list
);
328 __isl_give isl_set
*isl_pw_aff_list_eq_set(__isl_take isl_pw_aff_list
*list1
,
329 __isl_take isl_pw_aff_list
*list2
);
330 __isl_give isl_set
*isl_pw_aff_list_ne_set(__isl_take isl_pw_aff_list
*list1
,
331 __isl_take isl_pw_aff_list
*list2
);
332 __isl_give isl_set
*isl_pw_aff_list_le_set(__isl_take isl_pw_aff_list
*list1
,
333 __isl_take isl_pw_aff_list
*list2
);
334 __isl_give isl_set
*isl_pw_aff_list_lt_set(__isl_take isl_pw_aff_list
*list1
,
335 __isl_take isl_pw_aff_list
*list2
);
336 __isl_give isl_set
*isl_pw_aff_list_ge_set(__isl_take isl_pw_aff_list
*list1
,
337 __isl_take isl_pw_aff_list
*list2
);
338 __isl_give isl_set
*isl_pw_aff_list_gt_set(__isl_take isl_pw_aff_list
*list1
,
339 __isl_take isl_pw_aff_list
*list2
);
341 ISL_DECLARE_MULTI(aff
)
342 ISL_DECLARE_MULTI_NEG(aff
)
343 ISL_DECLARE_MULTI_DIMS(aff
)
344 ISL_DECLARE_MULTI_WITH_DOMAIN(aff
)
347 __isl_give isl_multi_aff
*isl_multi_aff_from_aff(__isl_take isl_aff
*aff
);
348 __isl_give isl_multi_aff
*isl_multi_aff_identity(__isl_take isl_space
*space
);
349 __isl_give isl_multi_aff
*isl_multi_aff_domain_map(__isl_take isl_space
*space
);
350 __isl_give isl_multi_aff
*isl_multi_aff_range_map(__isl_take isl_space
*space
);
351 __isl_give isl_multi_aff
*isl_multi_aff_project_out_map(
352 __isl_take isl_space
*space
, enum isl_dim_type type
,
353 unsigned first
, unsigned n
);
355 __isl_give isl_multi_aff
*isl_multi_aff_multi_val_on_space(
356 __isl_take isl_space
*space
, __isl_take isl_multi_val
*mv
);
358 __isl_give isl_multi_aff
*isl_multi_aff_floor(__isl_take isl_multi_aff
*ma
);
360 __isl_give isl_multi_aff
*isl_multi_aff_gist_params(
361 __isl_take isl_multi_aff
*maff
, __isl_take isl_set
*context
);
362 __isl_give isl_multi_aff
*isl_multi_aff_gist(__isl_take isl_multi_aff
*maff
,
363 __isl_take isl_set
*context
);
365 __isl_give isl_multi_aff
*isl_multi_aff_lift(__isl_take isl_multi_aff
*maff
,
366 __isl_give isl_local_space
**ls
);
369 __isl_give isl_multi_aff
*isl_multi_aff_pullback_multi_aff(
370 __isl_take isl_multi_aff
*ma1
, __isl_take isl_multi_aff
*ma2
);
372 __isl_give isl_multi_aff
*isl_multi_aff_move_dims(__isl_take isl_multi_aff
*ma
,
373 enum isl_dim_type dst_type
, unsigned dst_pos
,
374 enum isl_dim_type src_type
, unsigned src_pos
, unsigned n
);
376 __isl_give isl_set
*isl_multi_aff_lex_lt_set(__isl_take isl_multi_aff
*ma1
,
377 __isl_take isl_multi_aff
*ma2
);
378 __isl_give isl_set
*isl_multi_aff_lex_le_set(__isl_take isl_multi_aff
*ma1
,
379 __isl_take isl_multi_aff
*ma2
);
380 __isl_give isl_set
*isl_multi_aff_lex_gt_set(__isl_take isl_multi_aff
*ma1
,
381 __isl_take isl_multi_aff
*ma2
);
382 __isl_give isl_set
*isl_multi_aff_lex_ge_set(__isl_take isl_multi_aff
*ma1
,
383 __isl_take isl_multi_aff
*ma2
);
385 __isl_give
char *isl_multi_aff_to_str(__isl_keep isl_multi_aff
*aff
);
386 __isl_give isl_printer
*isl_printer_print_multi_aff(__isl_take isl_printer
*p
,
387 __isl_keep isl_multi_aff
*maff
);
390 __isl_give isl_multi_aff
*isl_multi_aff_read_from_str(isl_ctx
*ctx
,
392 void isl_multi_aff_dump(__isl_keep isl_multi_aff
*maff
);
394 ISL_DECLARE_MULTI(pw_aff
)
395 ISL_DECLARE_MULTI_NEG(pw_aff
)
396 ISL_DECLARE_MULTI_DIMS(pw_aff
)
397 ISL_DECLARE_MULTI_WITH_DOMAIN(pw_aff
)
399 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_zero(__isl_take isl_space
*space
);
400 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_identity(
401 __isl_take isl_space
*space
);
402 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_range_map(
403 __isl_take isl_space
*space
);
404 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_project_out_map(
405 __isl_take isl_space
*space
, enum isl_dim_type type
,
406 unsigned first
, unsigned n
);
408 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_from_multi_aff(
409 __isl_take isl_multi_aff
*ma
);
411 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_from_pw_aff(
412 __isl_take isl_pw_aff
*pa
);
413 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_alloc(__isl_take isl_set
*set
,
414 __isl_take isl_multi_aff
*maff
);
415 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_copy(
416 __isl_keep isl_pw_multi_aff
*pma
);
417 __isl_null isl_pw_multi_aff
*isl_pw_multi_aff_free(
418 __isl_take isl_pw_multi_aff
*pma
);
420 unsigned isl_pw_multi_aff_dim(__isl_keep isl_pw_multi_aff
*pma
,
421 enum isl_dim_type type
);
422 __isl_give isl_pw_aff
*isl_pw_multi_aff_get_pw_aff(
423 __isl_keep isl_pw_multi_aff
*pma
, int pos
);
424 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_set_pw_aff(
425 __isl_take isl_pw_multi_aff
*pma
, unsigned pos
,
426 __isl_take isl_pw_aff
*pa
);
428 isl_ctx
*isl_pw_multi_aff_get_ctx(__isl_keep isl_pw_multi_aff
*pma
);
429 __isl_give isl_space
*isl_pw_multi_aff_get_domain_space(
430 __isl_keep isl_pw_multi_aff
*pma
);
431 __isl_give isl_space
*isl_pw_multi_aff_get_space(
432 __isl_keep isl_pw_multi_aff
*pma
);
433 isl_bool
isl_pw_multi_aff_has_tuple_name(__isl_keep isl_pw_multi_aff
*pma
,
434 enum isl_dim_type type
);
435 const char *isl_pw_multi_aff_get_tuple_name(__isl_keep isl_pw_multi_aff
*pma
,
436 enum isl_dim_type type
);
437 __isl_give isl_id
*isl_pw_multi_aff_get_tuple_id(
438 __isl_keep isl_pw_multi_aff
*pma
, enum isl_dim_type type
);
439 isl_bool
isl_pw_multi_aff_has_tuple_id(__isl_keep isl_pw_multi_aff
*pma
,
440 enum isl_dim_type type
);
441 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_set_tuple_id(
442 __isl_take isl_pw_multi_aff
*pma
,
443 enum isl_dim_type type
, __isl_take isl_id
*id
);
444 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_reset_tuple_id(
445 __isl_take isl_pw_multi_aff
*pma
, enum isl_dim_type type
);
446 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_reset_user(
447 __isl_take isl_pw_multi_aff
*pma
);
449 int isl_pw_multi_aff_find_dim_by_name(__isl_keep isl_pw_multi_aff
*pma
,
450 enum isl_dim_type type
, const char *name
);
452 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_drop_dims(
453 __isl_take isl_pw_multi_aff
*pma
,
454 enum isl_dim_type type
, unsigned first
, unsigned n
);
456 __isl_give isl_set
*isl_pw_multi_aff_domain(__isl_take isl_pw_multi_aff
*pma
);
458 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_empty(__isl_take isl_space
*space
);
459 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_from_domain(
460 __isl_take isl_set
*set
);
462 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_multi_val_on_domain(
463 __isl_take isl_set
*domain
, __isl_take isl_multi_val
*mv
);
465 const char *isl_pw_multi_aff_get_dim_name(__isl_keep isl_pw_multi_aff
*pma
,
466 enum isl_dim_type type
, unsigned pos
);
467 __isl_give isl_id
*isl_pw_multi_aff_get_dim_id(
468 __isl_keep isl_pw_multi_aff
*pma
, enum isl_dim_type type
,
470 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_set_dim_id(
471 __isl_take isl_pw_multi_aff
*pma
,
472 enum isl_dim_type type
, unsigned pos
, __isl_take isl_id
*id
);
474 isl_bool
isl_pw_multi_aff_plain_is_equal(__isl_keep isl_pw_multi_aff
*pma1
,
475 __isl_keep isl_pw_multi_aff
*pma2
);
477 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_fix_si(
478 __isl_take isl_pw_multi_aff
*pma
, enum isl_dim_type type
,
479 unsigned pos
, int value
);
482 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_union_add(
483 __isl_take isl_pw_multi_aff
*pma1
, __isl_take isl_pw_multi_aff
*pma2
);
485 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_neg(
486 __isl_take isl_pw_multi_aff
*pma
);
489 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_add(
490 __isl_take isl_pw_multi_aff
*pma1
, __isl_take isl_pw_multi_aff
*pma2
);
491 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_sub(
492 __isl_take isl_pw_multi_aff
*pma1
, __isl_take isl_pw_multi_aff
*pma2
);
494 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_scale_val(
495 __isl_take isl_pw_multi_aff
*pma
, __isl_take isl_val
*v
);
496 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_scale_down_val(
497 __isl_take isl_pw_multi_aff
*pma
, __isl_take isl_val
*v
);
498 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_scale_multi_val(
499 __isl_take isl_pw_multi_aff
*pma
, __isl_take isl_multi_val
*mv
);
501 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_union_lexmin(
502 __isl_take isl_pw_multi_aff
*pma1
,
503 __isl_take isl_pw_multi_aff
*pma2
);
504 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_union_lexmax(
505 __isl_take isl_pw_multi_aff
*pma1
,
506 __isl_take isl_pw_multi_aff
*pma2
);
508 __isl_give isl_multi_aff
*isl_multi_aff_flatten_domain(
509 __isl_take isl_multi_aff
*ma
);
512 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_range_product(
513 __isl_take isl_pw_multi_aff
*pma1
, __isl_take isl_pw_multi_aff
*pma2
);
515 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_flat_range_product(
516 __isl_take isl_pw_multi_aff
*pma1
, __isl_take isl_pw_multi_aff
*pma2
);
518 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_product(
519 __isl_take isl_pw_multi_aff
*pma1
, __isl_take isl_pw_multi_aff
*pma2
);
521 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_intersect_params(
522 __isl_take isl_pw_multi_aff
*pma
, __isl_take isl_set
*set
);
523 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_intersect_domain(
524 __isl_take isl_pw_multi_aff
*pma
, __isl_take isl_set
*set
);
525 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_subtract_domain(
526 __isl_take isl_pw_multi_aff
*pma
, __isl_take isl_set
*set
);
528 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_project_domain_on_params(
529 __isl_take isl_pw_multi_aff
*pma
);
531 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_align_params(
532 __isl_take isl_pw_multi_aff
*pma
, __isl_take isl_space
*model
);
534 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_coalesce(
535 __isl_take isl_pw_multi_aff
*pma
);
536 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_gist_params(
537 __isl_take isl_pw_multi_aff
*pma
, __isl_take isl_set
*set
);
538 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_gist(
539 __isl_take isl_pw_multi_aff
*pma
, __isl_take isl_set
*set
);
542 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_pullback_multi_aff(
543 __isl_take isl_pw_multi_aff
*pma
, __isl_take isl_multi_aff
*ma
);
545 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_pullback_pw_multi_aff(
546 __isl_take isl_pw_multi_aff
*pma1
, __isl_take isl_pw_multi_aff
*pma2
);
548 isl_stat
isl_pw_multi_aff_foreach_piece(__isl_keep isl_pw_multi_aff
*pma
,
549 isl_stat (*fn
)(__isl_take isl_set
*set
, __isl_take isl_multi_aff
*maff
,
550 void *user
), void *user
);
552 __isl_give isl_map
*isl_map_from_pw_multi_aff(__isl_take isl_pw_multi_aff
*pma
);
553 __isl_give isl_set
*isl_set_from_pw_multi_aff(__isl_take isl_pw_multi_aff
*pma
);
555 __isl_give isl_printer
*isl_printer_print_pw_multi_aff(__isl_take isl_printer
*p
,
556 __isl_keep isl_pw_multi_aff
*pma
);
558 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_from_set(__isl_take isl_set
*set
);
559 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_from_map(__isl_take isl_map
*map
);
562 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_read_from_str(isl_ctx
*ctx
,
564 void isl_pw_multi_aff_dump(__isl_keep isl_pw_multi_aff
*pma
);
567 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_empty(
568 __isl_take isl_space
*space
);
569 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_from_aff(
570 __isl_take isl_aff
*aff
);
572 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_from_pw_multi_aff(
573 __isl_take isl_pw_multi_aff
*pma
);
574 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_from_domain(
575 __isl_take isl_union_set
*uset
);
576 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_multi_val_on_domain(
577 __isl_take isl_union_set
*domain
, __isl_take isl_multi_val
*mv
);
578 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_copy(
579 __isl_keep isl_union_pw_multi_aff
*upma
);
580 __isl_null isl_union_pw_multi_aff
*isl_union_pw_multi_aff_free(
581 __isl_take isl_union_pw_multi_aff
*upma
);
583 __isl_give isl_union_pw_multi_aff
*isl_union_set_identity_union_pw_multi_aff(
584 __isl_take isl_union_set
*uset
);
586 __isl_give isl_union_pw_aff
*isl_union_pw_multi_aff_get_union_pw_aff(
587 __isl_keep isl_union_pw_multi_aff
*upma
, int pos
);
589 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_add_pw_multi_aff(
590 __isl_take isl_union_pw_multi_aff
*upma
,
591 __isl_take isl_pw_multi_aff
*pma
);
593 isl_ctx
*isl_union_pw_multi_aff_get_ctx(
594 __isl_keep isl_union_pw_multi_aff
*upma
);
595 __isl_give isl_space
*isl_union_pw_multi_aff_get_space(
596 __isl_keep isl_union_pw_multi_aff
*upma
);
598 unsigned isl_union_pw_multi_aff_dim(__isl_keep isl_union_pw_multi_aff
*upma
,
599 enum isl_dim_type type
);
600 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_set_dim_name(
601 __isl_take isl_union_pw_multi_aff
*upma
,
602 enum isl_dim_type type
, unsigned pos
, const char *s
);
604 int isl_union_pw_multi_aff_find_dim_by_name(
605 __isl_keep isl_union_pw_multi_aff
*upma
, enum isl_dim_type type
,
608 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_drop_dims(
609 __isl_take isl_union_pw_multi_aff
*upma
,
610 enum isl_dim_type type
, unsigned first
, unsigned n
);
611 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_reset_user(
612 __isl_take isl_union_pw_multi_aff
*upma
);
614 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_coalesce(
615 __isl_take isl_union_pw_multi_aff
*upma
);
616 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_gist_params(
617 __isl_take isl_union_pw_multi_aff
*upma
, __isl_take isl_set
*context
);
618 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_gist(
619 __isl_take isl_union_pw_multi_aff
*upma
,
620 __isl_take isl_union_set
*context
);
623 __isl_give isl_union_pw_multi_aff
*
624 isl_union_pw_multi_aff_pullback_union_pw_multi_aff(
625 __isl_take isl_union_pw_multi_aff
*upma1
,
626 __isl_take isl_union_pw_multi_aff
*upma2
);
628 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_align_params(
629 __isl_take isl_union_pw_multi_aff
*upma
, __isl_take isl_space
*model
);
631 int isl_union_pw_multi_aff_n_pw_multi_aff(
632 __isl_keep isl_union_pw_multi_aff
*upma
);
634 isl_stat
isl_union_pw_multi_aff_foreach_pw_multi_aff(
635 __isl_keep isl_union_pw_multi_aff
*upma
,
636 isl_stat (*fn
)(__isl_take isl_pw_multi_aff
*pma
, void *user
),
638 __isl_give isl_pw_multi_aff
*isl_union_pw_multi_aff_extract_pw_multi_aff(
639 __isl_keep isl_union_pw_multi_aff
*upma
, __isl_take isl_space
*space
);
641 isl_bool
isl_union_pw_multi_aff_plain_is_equal(
642 __isl_keep isl_union_pw_multi_aff
*upma1
,
643 __isl_keep isl_union_pw_multi_aff
*upma2
);
645 __isl_give isl_union_set
*isl_union_pw_multi_aff_domain(
646 __isl_take isl_union_pw_multi_aff
*upma
);
648 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_neg(
649 __isl_take isl_union_pw_multi_aff
*upma
);
652 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_add(
653 __isl_take isl_union_pw_multi_aff
*upma1
,
654 __isl_take isl_union_pw_multi_aff
*upma2
);
656 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_union_add(
657 __isl_take isl_union_pw_multi_aff
*upma1
,
658 __isl_take isl_union_pw_multi_aff
*upma2
);
659 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_sub(
660 __isl_take isl_union_pw_multi_aff
*upma1
,
661 __isl_take isl_union_pw_multi_aff
*upma2
);
663 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_scale_val(
664 __isl_take isl_union_pw_multi_aff
*upma
, __isl_take isl_val
*val
);
665 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_scale_down_val(
666 __isl_take isl_union_pw_multi_aff
*upma
, __isl_take isl_val
*val
);
667 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_scale_multi_val(
668 __isl_take isl_union_pw_multi_aff
*upma
, __isl_take isl_multi_val
*mv
);
671 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_flat_range_product(
672 __isl_take isl_union_pw_multi_aff
*upma1
,
673 __isl_take isl_union_pw_multi_aff
*upma2
);
675 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_intersect_params(
676 __isl_take isl_union_pw_multi_aff
*upma
, __isl_take isl_set
*set
);
677 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_intersect_domain(
678 __isl_take isl_union_pw_multi_aff
*upma
,
679 __isl_take isl_union_set
*uset
);
680 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_subtract_domain(
681 __isl_take isl_union_pw_multi_aff
*upma
,
682 __isl_take isl_union_set
*uset
);
685 __isl_give isl_union_map
*isl_union_map_from_union_pw_multi_aff(
686 __isl_take isl_union_pw_multi_aff
*upma
);
688 __isl_give isl_printer
*isl_printer_print_union_pw_multi_aff(
689 __isl_take isl_printer
*p
, __isl_keep isl_union_pw_multi_aff
*upma
);
691 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_from_union_set(
692 __isl_take isl_union_set
*uset
);
693 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_from_union_map(
694 __isl_take isl_union_map
*umap
);
697 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_read_from_str(
698 isl_ctx
*ctx
, const char *str
);
699 void isl_union_pw_multi_aff_dump(__isl_keep isl_union_pw_multi_aff
*upma
);
700 __isl_give
char *isl_union_pw_multi_aff_to_str(
701 __isl_keep isl_union_pw_multi_aff
*upma
);
703 uint32_t isl_multi_pw_aff_get_hash(__isl_keep isl_multi_pw_aff
*mpa
);
705 __isl_give isl_multi_pw_aff
*isl_multi_pw_aff_identity(
706 __isl_take isl_space
*space
);
708 __isl_give isl_multi_pw_aff
*isl_multi_pw_aff_from_multi_aff(
709 __isl_take isl_multi_aff
*ma
);
711 __isl_give isl_multi_pw_aff
*isl_multi_pw_aff_from_pw_aff(
712 __isl_take isl_pw_aff
*pa
);
713 __isl_give isl_set
*isl_multi_pw_aff_domain(__isl_take isl_multi_pw_aff
*mpa
);
714 __isl_give isl_multi_pw_aff
*isl_multi_pw_aff_intersect_params(
715 __isl_take isl_multi_pw_aff
*mpa
, __isl_take isl_set
*set
);
716 __isl_give isl_multi_pw_aff
*isl_multi_pw_aff_intersect_domain(
717 __isl_take isl_multi_pw_aff
*mpa
, __isl_take isl_set
*domain
);
719 __isl_give isl_multi_pw_aff
*isl_multi_pw_aff_coalesce(
720 __isl_take isl_multi_pw_aff
*mpa
);
721 __isl_give isl_multi_pw_aff
*isl_multi_pw_aff_gist(
722 __isl_take isl_multi_pw_aff
*mpa
, __isl_take isl_set
*set
);
723 __isl_give isl_multi_pw_aff
*isl_multi_pw_aff_gist_params(
724 __isl_take isl_multi_pw_aff
*mpa
, __isl_take isl_set
*set
);
726 isl_bool
isl_multi_pw_aff_is_cst(__isl_keep isl_multi_pw_aff
*mpa
);
727 isl_bool
isl_multi_pw_aff_is_equal(__isl_keep isl_multi_pw_aff
*mpa1
,
728 __isl_keep isl_multi_pw_aff
*mpa2
);
731 __isl_give isl_multi_pw_aff
*isl_multi_pw_aff_pullback_multi_aff(
732 __isl_take isl_multi_pw_aff
*mpa
, __isl_take isl_multi_aff
*ma
);
734 __isl_give isl_multi_pw_aff
*isl_multi_pw_aff_pullback_pw_multi_aff(
735 __isl_take isl_multi_pw_aff
*mpa
, __isl_take isl_pw_multi_aff
*pma
);
737 __isl_give isl_multi_pw_aff
*isl_multi_pw_aff_pullback_multi_pw_aff(
738 __isl_take isl_multi_pw_aff
*mpa1
, __isl_take isl_multi_pw_aff
*mpa2
);
740 __isl_give isl_multi_pw_aff
*isl_multi_pw_aff_move_dims(
741 __isl_take isl_multi_pw_aff
*pma
,
742 enum isl_dim_type dst_type
, unsigned dst_pos
,
743 enum isl_dim_type src_type
, unsigned src_pos
, unsigned n
);
745 __isl_give isl_set
*isl_set_from_multi_pw_aff(__isl_take isl_multi_pw_aff
*mpa
);
746 __isl_give isl_map
*isl_map_from_multi_pw_aff(__isl_take isl_multi_pw_aff
*mpa
);
747 __isl_give isl_pw_multi_aff
*isl_pw_multi_aff_from_multi_pw_aff(
748 __isl_take isl_multi_pw_aff
*mpa
);
750 __isl_give isl_multi_pw_aff
*isl_multi_pw_aff_from_pw_multi_aff(
751 __isl_take isl_pw_multi_aff
*pma
);
753 __isl_give isl_map
*isl_multi_pw_aff_eq_map(__isl_take isl_multi_pw_aff
*mpa1
,
754 __isl_take isl_multi_pw_aff
*mpa2
);
755 __isl_give isl_map
*isl_multi_pw_aff_lex_lt_map(
756 __isl_take isl_multi_pw_aff
*mpa1
, __isl_take isl_multi_pw_aff
*mpa2
);
757 __isl_give isl_map
*isl_multi_pw_aff_lex_gt_map(
758 __isl_take isl_multi_pw_aff
*mpa1
, __isl_take isl_multi_pw_aff
*mpa2
);
761 __isl_give isl_multi_pw_aff
*isl_multi_pw_aff_read_from_str(isl_ctx
*ctx
,
763 __isl_give isl_printer
*isl_printer_print_multi_pw_aff(
764 __isl_take isl_printer
*p
, __isl_keep isl_multi_pw_aff
*mpa
);
765 void isl_multi_pw_aff_dump(__isl_keep isl_multi_pw_aff
*mpa
);
767 __isl_give isl_union_pw_aff
*isl_union_pw_aff_copy(
768 __isl_keep isl_union_pw_aff
*upa
);
769 __isl_null isl_union_pw_aff
*isl_union_pw_aff_free(
770 __isl_take isl_union_pw_aff
*upa
);
772 isl_ctx
*isl_union_pw_aff_get_ctx(__isl_keep isl_union_pw_aff
*upa
);
773 __isl_give isl_space
*isl_union_pw_aff_get_space(
774 __isl_keep isl_union_pw_aff
*upa
);
776 unsigned isl_union_pw_aff_dim(__isl_keep isl_union_pw_aff
*upa
,
777 enum isl_dim_type type
);
778 __isl_give isl_union_pw_aff
*isl_union_pw_aff_set_dim_name(
779 __isl_take isl_union_pw_aff
*upa
, enum isl_dim_type type
,
780 unsigned pos
, const char *s
);
782 int isl_union_pw_aff_find_dim_by_name(__isl_keep isl_union_pw_aff
*upa
,
783 enum isl_dim_type type
, const char *name
);
785 __isl_give isl_union_pw_aff
*isl_union_pw_aff_drop_dims(
786 __isl_take isl_union_pw_aff
*upa
,
787 enum isl_dim_type type
, unsigned first
, unsigned n
);
788 __isl_give isl_union_pw_aff
*isl_union_pw_aff_reset_user(
789 __isl_take isl_union_pw_aff
*upa
);
791 __isl_give isl_union_pw_aff
*isl_union_pw_aff_empty(
792 __isl_take isl_space
*space
);
794 __isl_give isl_union_pw_aff
*isl_union_pw_aff_from_pw_aff(
795 __isl_take isl_pw_aff
*pa
);
796 __isl_give isl_union_pw_aff
*isl_union_pw_aff_val_on_domain(
797 __isl_take isl_union_set
*domain
, __isl_take isl_val
*v
);
798 __isl_give isl_union_pw_aff
*isl_union_pw_aff_aff_on_domain(
799 __isl_take isl_union_set
*domain
, __isl_take isl_aff
*aff
);
800 __isl_give isl_union_pw_aff
*isl_union_pw_aff_add_pw_aff(
801 __isl_take isl_union_pw_aff
*upa
, __isl_take isl_pw_aff
*pa
);
804 __isl_give isl_union_pw_multi_aff
*isl_union_pw_multi_aff_from_union_pw_aff(
805 __isl_take isl_union_pw_aff
*upa
);
807 int isl_union_pw_aff_n_pw_aff(__isl_keep isl_union_pw_aff
*upa
);
809 isl_stat
isl_union_pw_aff_foreach_pw_aff(__isl_keep isl_union_pw_aff
*upa
,
810 isl_stat (*fn
)(__isl_take isl_pw_aff
*ma
, void *user
), void *user
);
811 __isl_give isl_pw_aff
*isl_union_pw_aff_extract_pw_aff(
812 __isl_keep isl_union_pw_aff
*upa
, __isl_take isl_space
*space
);
814 isl_bool
isl_union_pw_aff_plain_is_equal(__isl_keep isl_union_pw_aff
*upa1
,
815 __isl_keep isl_union_pw_aff
*upa2
);
817 __isl_give isl_union_set
*isl_union_pw_aff_domain(
818 __isl_take isl_union_pw_aff
*upa
);
820 __isl_give isl_union_pw_aff
*isl_union_pw_aff_neg(
821 __isl_take isl_union_pw_aff
*upa
);
824 __isl_give isl_union_pw_aff
*isl_union_pw_aff_add(
825 __isl_take isl_union_pw_aff
*upa1
, __isl_take isl_union_pw_aff
*upa2
);
827 __isl_give isl_union_pw_aff
*isl_union_pw_aff_union_add(
828 __isl_take isl_union_pw_aff
*upa1
, __isl_take isl_union_pw_aff
*upa2
);
829 __isl_give isl_union_pw_aff
*isl_union_pw_aff_sub(
830 __isl_take isl_union_pw_aff
*upa1
, __isl_take isl_union_pw_aff
*upa2
);
832 __isl_give isl_union_pw_aff
*isl_union_pw_aff_coalesce(
833 __isl_take isl_union_pw_aff
*upa
);
834 __isl_give isl_union_pw_aff
*isl_union_pw_aff_gist(
835 __isl_take isl_union_pw_aff
*upa
, __isl_take isl_union_set
*context
);
836 __isl_give isl_union_pw_aff
*isl_union_pw_aff_gist_params(
837 __isl_take isl_union_pw_aff
*upa
, __isl_take isl_set
*context
);
840 __isl_give isl_union_pw_aff
*isl_union_pw_aff_pullback_union_pw_multi_aff(
841 __isl_take isl_union_pw_aff
*upa
,
842 __isl_take isl_union_pw_multi_aff
*upma
);
844 __isl_give isl_union_pw_aff
*isl_union_pw_aff_floor(
845 __isl_take isl_union_pw_aff
*upa
);
847 __isl_give isl_union_pw_aff
*isl_union_pw_aff_scale_val(
848 __isl_take isl_union_pw_aff
*upa
, __isl_take isl_val
*v
);
849 __isl_give isl_union_pw_aff
*isl_union_pw_aff_scale_down_val(
850 __isl_take isl_union_pw_aff
*upa
, __isl_take isl_val
*v
);
851 __isl_give isl_union_pw_aff
*isl_union_pw_aff_mod_val(
852 __isl_take isl_union_pw_aff
*upa
, __isl_take isl_val
*f
);
854 __isl_give isl_union_pw_aff
*isl_union_pw_aff_align_params(
855 __isl_take isl_union_pw_aff
*upa
, __isl_take isl_space
*model
);
857 __isl_give isl_union_pw_aff
*isl_union_pw_aff_intersect_params(
858 __isl_take isl_union_pw_aff
*upa
, __isl_take isl_set
*set
);
859 __isl_give isl_union_pw_aff
*isl_union_pw_aff_intersect_domain(
860 __isl_take isl_union_pw_aff
*upa
, __isl_take isl_union_set
*uset
);
861 __isl_give isl_union_pw_aff
*isl_union_pw_aff_subtract_domain(
862 __isl_take isl_union_pw_aff
*upa
, __isl_take isl_union_set
*uset
);
864 __isl_give isl_union_pw_aff
*isl_union_pw_aff_set_dim_name(
865 __isl_take isl_union_pw_aff
*upa
,
866 enum isl_dim_type type
, unsigned pos
, const char *s
);
868 __isl_give isl_union_set
*isl_union_pw_aff_zero_union_set(
869 __isl_take isl_union_pw_aff
*upa
);
871 __isl_give isl_union_map
*isl_union_map_from_union_pw_aff(
872 __isl_take isl_union_pw_aff
*upa
);
875 __isl_give isl_union_pw_aff
*isl_union_pw_aff_read_from_str(isl_ctx
*ctx
,
877 __isl_give
char *isl_union_pw_aff_to_str(__isl_keep isl_union_pw_aff
*upa
);
878 __isl_give isl_printer
*isl_printer_print_union_pw_aff(
879 __isl_take isl_printer
*p
, __isl_keep isl_union_pw_aff
*upa
);
881 ISL_DECLARE_MULTI(union_pw_aff
)
882 ISL_DECLARE_MULTI_NEG(union_pw_aff
)
884 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_from_multi_aff(
885 __isl_take isl_multi_aff
*ma
);
887 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_from_union_pw_aff(
888 __isl_take isl_union_pw_aff
*upa
);
890 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_from_multi_pw_aff(
891 __isl_take isl_multi_pw_aff
*mpa
);
892 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_multi_val_on_domain(
893 __isl_take isl_union_set
*domain
, __isl_take isl_multi_val
*mv
);
894 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_multi_aff_on_domain(
895 __isl_take isl_union_set
*domain
, __isl_take isl_multi_aff
*ma
);
897 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_floor(
898 __isl_take isl_multi_union_pw_aff
*mupa
);
900 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_intersect_domain(
901 __isl_take isl_multi_union_pw_aff
*mupa
,
902 __isl_take isl_union_set
*uset
);
903 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_intersect_params(
904 __isl_take isl_multi_union_pw_aff
*mupa
, __isl_take isl_set
*params
);
905 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_intersect_range(
906 __isl_take isl_multi_union_pw_aff
*mupa
, __isl_take isl_set
*set
);
908 __isl_give isl_union_set
*isl_multi_union_pw_aff_domain(
909 __isl_take isl_multi_union_pw_aff
*mupa
);
911 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_coalesce(
912 __isl_take isl_multi_union_pw_aff
*aff
);
913 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_gist(
914 __isl_take isl_multi_union_pw_aff
*aff
,
915 __isl_take isl_union_set
*context
);
916 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_gist_params(
917 __isl_take isl_multi_union_pw_aff
*aff
, __isl_take isl_set
*context
);
919 __isl_give isl_union_pw_aff
*isl_multi_union_pw_aff_apply_aff(
920 __isl_take isl_multi_union_pw_aff
*mupa
, __isl_take isl_aff
*aff
);
921 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_apply_multi_aff(
922 __isl_take isl_multi_union_pw_aff
*mupa
, __isl_take isl_multi_aff
*ma
);
923 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_apply_multi_aff(
924 __isl_take isl_multi_union_pw_aff
*mupa
, __isl_take isl_multi_aff
*ma
);
925 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_apply_pw_multi_aff(
926 __isl_take isl_multi_union_pw_aff
*mupa
,
927 __isl_take isl_pw_multi_aff
*pma
);
930 __isl_give isl_multi_union_pw_aff
*
931 isl_multi_union_pw_aff_pullback_union_pw_multi_aff(
932 __isl_take isl_multi_union_pw_aff
*mupa
,
933 __isl_take isl_union_pw_multi_aff
*upma
);
935 __isl_give isl_union_pw_multi_aff
*
936 isl_union_pw_multi_aff_from_multi_union_pw_aff(
937 __isl_take isl_multi_union_pw_aff
*mupa
);
940 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_union_add(
941 __isl_take isl_multi_union_pw_aff
*mupa1
,
942 __isl_take isl_multi_union_pw_aff
*mupa2
);
944 __isl_give isl_multi_union_pw_aff
*
945 isl_multi_union_pw_aff_from_union_pw_multi_aff(
946 __isl_take isl_union_pw_multi_aff
*upma
);
948 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_from_union_map(
949 __isl_take isl_union_map
*umap
);
951 __isl_give isl_union_map
*isl_union_map_from_multi_union_pw_aff(
952 __isl_take isl_multi_union_pw_aff
*mupa
);
954 __isl_give isl_union_set
*isl_multi_union_pw_aff_zero_union_set(
955 __isl_take isl_multi_union_pw_aff
*mupa
);
957 __isl_give isl_multi_pw_aff
*isl_multi_union_pw_aff_extract_multi_pw_aff(
958 __isl_keep isl_multi_union_pw_aff
*mupa
, __isl_take isl_space
*space
);
961 __isl_give isl_multi_union_pw_aff
*isl_multi_union_pw_aff_read_from_str(
962 isl_ctx
*ctx
, const char *str
);
963 __isl_give
char *isl_multi_union_pw_aff_to_str(
964 __isl_keep isl_multi_union_pw_aff
*mupa
);
965 __isl_give isl_printer
*isl_printer_print_multi_union_pw_aff(
966 __isl_take isl_printer
*p
, __isl_keep isl_multi_union_pw_aff
*mupa
);
967 void isl_multi_union_pw_aff_dump(__isl_keep isl_multi_union_pw_aff
*mupa
);
969 ISL_DECLARE_LIST_FN(union_pw_aff
)
970 ISL_DECLARE_LIST_FN(union_pw_multi_aff
)
972 #if defined(__cplusplus)