nexmon – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 #include <isl/dim.h>
2 #include <isl/aff.h>
3 #include <isl/map.h>
4 #include <isl/set.h>
5 #include <isl/polynomial.h>
6  
7 isl_ctx *isl_dim_get_ctx(__isl_keep isl_space *dim)
8 {
9 return isl_space_get_ctx(dim);
10 }
11  
12 __isl_give isl_space *isl_dim_alloc(isl_ctx *ctx,
13 unsigned nparam, unsigned n_in, unsigned n_out)
14 {
15 return isl_space_alloc(ctx, nparam, n_in, n_out);
16 }
17 __isl_give isl_space *isl_dim_set_alloc(isl_ctx *ctx,
18 unsigned nparam, unsigned dim)
19 {
20 return isl_space_set_alloc(ctx, nparam, dim);
21 }
22 __isl_give isl_space *isl_dim_copy(__isl_keep isl_space *dim)
23 {
24 return isl_space_copy(dim);
25 }
26 void isl_dim_free(__isl_take isl_space *dim)
27 {
28 isl_space_free(dim);
29 }
30  
31 unsigned isl_dim_size(__isl_keep isl_space *dim, enum isl_dim_type type)
32 {
33 return isl_space_dim(dim, type);
34 }
35  
36 __isl_give isl_space *isl_dim_set_dim_id(__isl_take isl_space *dim,
37 enum isl_dim_type type, unsigned pos, __isl_take isl_id *id)
38 {
39 return isl_space_set_dim_id(dim, type, pos, id);
40 }
41 int isl_dim_has_dim_id(__isl_keep isl_space *dim,
42 enum isl_dim_type type, unsigned pos)
43 {
44 return isl_space_has_dim_id(dim, type, pos);
45 }
46 __isl_give isl_id *isl_dim_get_dim_id(__isl_keep isl_space *dim,
47 enum isl_dim_type type, unsigned pos)
48 {
49 return isl_space_get_dim_id(dim, type, pos);
50 }
51  
52 int isl_dim_find_dim_by_id(__isl_keep isl_space *dim,
53 enum isl_dim_type type, __isl_keep isl_id *id)
54 {
55 return isl_space_find_dim_by_id(dim, type, id);
56 }
57  
58 __isl_give isl_space *isl_dim_set_tuple_id(__isl_take isl_space *dim,
59 enum isl_dim_type type, __isl_take isl_id *id)
60 {
61 return isl_space_set_tuple_id(dim, type, id);
62 }
63 __isl_give isl_space *isl_dim_reset_tuple_id(__isl_take isl_space *dim,
64 enum isl_dim_type type)
65 {
66 return isl_space_reset_tuple_id(dim, type);
67 }
68 int isl_dim_has_tuple_id(__isl_keep isl_space *dim, enum isl_dim_type type)
69 {
70 return isl_space_has_tuple_id(dim, type);
71 }
72 __isl_give isl_id *isl_dim_get_tuple_id(__isl_keep isl_space *dim,
73 enum isl_dim_type type)
74 {
75 return isl_space_get_tuple_id(dim, type);
76 }
77  
78 __isl_give isl_space *isl_dim_set_name(__isl_take isl_space *dim,
79 enum isl_dim_type type, unsigned pos, __isl_keep const char *name)
80 {
81 return isl_space_set_dim_name(dim, type, pos, name);
82 }
83 __isl_keep const char *isl_dim_get_name(__isl_keep isl_space *dim,
84 enum isl_dim_type type, unsigned pos)
85 {
86 return isl_space_get_dim_name(dim, type, pos);
87 }
88  
89 __isl_give isl_space *isl_dim_set_tuple_name(__isl_take isl_space *dim,
90 enum isl_dim_type type, const char *s)
91 {
92 return isl_space_set_tuple_name(dim, type, s);
93 }
94 const char *isl_dim_get_tuple_name(__isl_keep isl_space *dim,
95 enum isl_dim_type type)
96 {
97 return isl_space_get_tuple_name(dim, type);
98 }
99  
100 int isl_dim_is_wrapping(__isl_keep isl_space *dim)
101 {
102 return isl_space_is_wrapping(dim);
103 }
104 __isl_give isl_space *isl_dim_wrap(__isl_take isl_space *dim)
105 {
106 return isl_space_wrap(dim);
107 }
108 __isl_give isl_space *isl_dim_unwrap(__isl_take isl_space *dim)
109 {
110 return isl_space_unwrap(dim);
111 }
112  
113 __isl_give isl_space *isl_dim_domain(__isl_take isl_space *dim)
114 {
115 return isl_space_domain(dim);
116 }
117 __isl_give isl_space *isl_dim_from_domain(__isl_take isl_space *dim)
118 {
119 return isl_space_from_domain(dim);
120 }
121 __isl_give isl_space *isl_dim_range(__isl_take isl_space *dim)
122 {
123 return isl_space_range(dim);
124 }
125 __isl_give isl_space *isl_dim_from_range(__isl_take isl_space *dim)
126 {
127 return isl_space_from_range(dim);
128 }
129 __isl_give isl_space *isl_dim_reverse(__isl_take isl_space *dim)
130 {
131 return isl_space_reverse(dim);
132 }
133 __isl_give isl_space *isl_dim_join(__isl_take isl_space *left,
134 __isl_take isl_space *right)
135 {
136 return isl_space_join(left, right);
137 }
138 __isl_give isl_space *isl_dim_align_params(__isl_take isl_space *dim1,
139 __isl_take isl_space *dim2)
140 {
141 return isl_space_align_params(dim1, dim2);
142 }
143 __isl_give isl_space *isl_dim_insert(__isl_take isl_space *dim,
144 enum isl_dim_type type, unsigned pos, unsigned n)
145 {
146 return isl_space_insert_dims(dim, type, pos, n);
147 }
148 __isl_give isl_space *isl_dim_add(__isl_take isl_space *dim,
149 enum isl_dim_type type, unsigned n)
150 {
151 return isl_space_add_dims(dim, type, n);
152 }
153 __isl_give isl_space *isl_dim_drop(__isl_take isl_space *dim,
154 enum isl_dim_type type, unsigned first, unsigned n)
155 {
156 return isl_space_drop_dims(dim, type, first, n);
157 }
158 __isl_give isl_space *isl_dim_move(__isl_take isl_space *dim,
159 enum isl_dim_type dst_type, unsigned dst_pos,
160 enum isl_dim_type src_type, unsigned src_pos, unsigned n)
161 {
162 return isl_space_move_dims(dim, dst_type, dst_pos, src_type, src_pos, n);
163 }
164 __isl_give isl_space *isl_dim_map_from_set(__isl_take isl_space *dim)
165 {
166 return isl_space_map_from_set(dim);
167 }
168 __isl_give isl_space *isl_dim_zip(__isl_take isl_space *dim)
169 {
170 return isl_space_zip(dim);
171 }
172  
173 __isl_give isl_local_space *isl_local_space_from_dim(
174 __isl_take isl_space *dim)
175 {
176 return isl_local_space_from_space(dim);
177 }
178 __isl_give isl_space *isl_local_space_get_dim(
179 __isl_keep isl_local_space *ls)
180 {
181 return isl_local_space_get_space(ls);
182 }
183  
184 __isl_give isl_space *isl_aff_get_dim(__isl_keep isl_aff *aff)
185 {
186 return isl_aff_get_space(aff);
187 }
188 __isl_give isl_space *isl_pw_aff_get_dim(__isl_keep isl_pw_aff *pwaff)
189 {
190 return isl_pw_aff_get_space(pwaff);
191 }
192  
193 __isl_give isl_space *isl_constraint_get_dim(
194 __isl_keep isl_constraint *constraint)
195 {
196 return isl_constraint_get_space(constraint);
197 }
198  
199 __isl_give isl_space *isl_basic_map_get_dim(__isl_keep isl_basic_map *bmap)
200 {
201 return isl_basic_map_get_space(bmap);
202 }
203 __isl_give isl_space *isl_map_get_dim(__isl_keep isl_map *map)
204 {
205 return isl_map_get_space(map);
206 }
207 __isl_give isl_space *isl_union_map_get_dim(__isl_keep isl_union_map *umap)
208 {
209 return isl_union_map_get_space(umap);
210 }
211  
212 __isl_give isl_space *isl_basic_set_get_dim(__isl_keep isl_basic_set *bset)
213 {
214 return isl_basic_set_get_space(bset);
215 }
216 __isl_give isl_space *isl_set_get_dim(__isl_keep isl_set *set)
217 {
218 return isl_set_get_space(set);
219 }
220 __isl_give isl_space *isl_union_set_get_dim(__isl_keep isl_union_set *uset)
221 {
222 return isl_union_set_get_space(uset);
223 }
224  
225 __isl_give isl_space *isl_point_get_dim(__isl_keep isl_point *pnt)
226 {
227 return isl_point_get_space(pnt);
228 }
229  
230 __isl_give isl_space *isl_qpolynomial_get_dim(__isl_keep isl_qpolynomial *qp)
231 {
232 return isl_qpolynomial_get_space(qp);
233 }
234 __isl_give isl_space *isl_pw_qpolynomial_get_dim(
235 __isl_keep isl_pw_qpolynomial *pwqp)
236 {
237 return isl_pw_qpolynomial_get_space(pwqp);
238 }
239 __isl_give isl_space *isl_qpolynomial_fold_get_dim(
240 __isl_keep isl_qpolynomial_fold *fold)
241 {
242 return isl_qpolynomial_fold_get_space(fold);
243 }
244 __isl_give isl_space *isl_pw_qpolynomial_fold_get_dim(
245 __isl_keep isl_pw_qpolynomial_fold *pwf)
246 {
247 return isl_pw_qpolynomial_fold_get_space(pwf);
248 }
249 __isl_give isl_space *isl_union_pw_qpolynomial_get_dim(
250 __isl_keep isl_union_pw_qpolynomial *upwqp)
251 {
252 return isl_union_pw_qpolynomial_get_space(upwqp);
253 }
254 __isl_give isl_space *isl_union_pw_qpolynomial_fold_get_dim(
255 __isl_keep isl_union_pw_qpolynomial_fold *upwf)
256 {
257 return isl_union_pw_qpolynomial_fold_get_space(upwf);
258 }