add isl_union_pw_multi_aff_pullback_union_pw_multi_aff
[isl.git] / include / isl / dim.h
blob6c439f5bbcc4f3aa211d47965b45e6393fddb847
1 #ifndef ISL_DIM_H
2 #define ISL_DIM_H
4 #include <isl/space.h>
5 #include <isl/local_space.h>
6 #include <isl/aff_type.h>
7 #include <isl/constraint.h>
8 #include <isl/map_type.h>
9 #include <isl/set_type.h>
10 #include <isl/point.h>
11 #include <isl/union_map.h>
12 #include <isl/union_set.h>
13 #include <isl/polynomial_type.h>
15 #if defined(__cplusplus)
16 extern "C" {
17 #endif
19 #define isl_dim isl_space
21 ISL_DEPRECATED
22 isl_ctx *isl_dim_get_ctx(__isl_keep isl_space *dim);
23 ISL_DEPRECATED
24 __isl_give isl_space *isl_dim_alloc(isl_ctx *ctx,
25 unsigned nparam, unsigned n_in, unsigned n_out);
26 ISL_DEPRECATED
27 __isl_give isl_space *isl_dim_set_alloc(isl_ctx *ctx,
28 unsigned nparam, unsigned dim);
29 ISL_DEPRECATED
30 __isl_give isl_space *isl_dim_copy(__isl_keep isl_space *dim);
31 ISL_DEPRECATED
32 void isl_dim_free(__isl_take isl_space *dim);
34 ISL_DEPRECATED
35 unsigned isl_dim_size(__isl_keep isl_space *dim, enum isl_dim_type type);
37 ISL_DEPRECATED
38 __isl_give isl_space *isl_dim_set_dim_id(__isl_take isl_space *dim,
39 enum isl_dim_type type, unsigned pos, __isl_take isl_id *id);
40 ISL_DEPRECATED
41 int isl_dim_has_dim_id(__isl_keep isl_space *dim,
42 enum isl_dim_type type, unsigned pos);
43 ISL_DEPRECATED
44 __isl_give isl_id *isl_dim_get_dim_id(__isl_keep isl_space *dim,
45 enum isl_dim_type type, unsigned pos);
47 ISL_DEPRECATED
48 int isl_dim_find_dim_by_id(__isl_keep isl_space *dim,
49 enum isl_dim_type type, __isl_keep isl_id *id);
51 ISL_DEPRECATED
52 __isl_give isl_space *isl_dim_set_tuple_id(__isl_take isl_space *dim,
53 enum isl_dim_type type, __isl_take isl_id *id);
54 ISL_DEPRECATED
55 __isl_give isl_space *isl_dim_reset_tuple_id(__isl_take isl_space *dim,
56 enum isl_dim_type type);
57 ISL_DEPRECATED
58 int isl_dim_has_tuple_id(__isl_keep isl_space *dim, enum isl_dim_type type);
59 ISL_DEPRECATED
60 __isl_give isl_id *isl_dim_get_tuple_id(__isl_keep isl_space *dim,
61 enum isl_dim_type type);
63 ISL_DEPRECATED
64 __isl_give isl_space *isl_dim_set_name(__isl_take isl_space *dim,
65 enum isl_dim_type type, unsigned pos, __isl_keep const char *name);
66 ISL_DEPRECATED
67 __isl_keep const char *isl_dim_get_name(__isl_keep isl_space *dim,
68 enum isl_dim_type type, unsigned pos);
70 ISL_DEPRECATED
71 __isl_give isl_space *isl_dim_set_tuple_name(__isl_take isl_space *dim,
72 enum isl_dim_type type, const char *s);
73 ISL_DEPRECATED
74 const char *isl_dim_get_tuple_name(__isl_keep isl_space *dim,
75 enum isl_dim_type type);
77 ISL_DEPRECATED
78 int isl_dim_is_wrapping(__isl_keep isl_space *dim);
79 ISL_DEPRECATED
80 __isl_give isl_space *isl_dim_wrap(__isl_take isl_space *dim);
81 ISL_DEPRECATED
82 __isl_give isl_space *isl_dim_unwrap(__isl_take isl_space *dim);
84 ISL_DEPRECATED
85 __isl_give isl_space *isl_dim_domain(__isl_take isl_space *dim);
86 ISL_DEPRECATED
87 __isl_give isl_space *isl_dim_from_domain(__isl_take isl_space *dim);
88 ISL_DEPRECATED
89 __isl_give isl_space *isl_dim_range(__isl_take isl_space *dim);
90 ISL_DEPRECATED
91 __isl_give isl_space *isl_dim_from_range(__isl_take isl_space *dim);
92 ISL_DEPRECATED
93 __isl_give isl_space *isl_dim_reverse(__isl_take isl_space *dim);
94 ISL_DEPRECATED
95 __isl_give isl_space *isl_dim_join(__isl_take isl_space *left,
96 __isl_take isl_space *right);
97 ISL_DEPRECATED
98 __isl_give isl_space *isl_dim_align_params(__isl_take isl_space *dim1,
99 __isl_take isl_space *dim2);
100 ISL_DEPRECATED
101 __isl_give isl_space *isl_dim_insert(__isl_take isl_space *dim,
102 enum isl_dim_type type, unsigned pos, unsigned n);
103 ISL_DEPRECATED
104 __isl_give isl_space *isl_dim_add(__isl_take isl_space *dim,
105 enum isl_dim_type type, unsigned n);
106 ISL_DEPRECATED
107 __isl_give isl_space *isl_dim_drop(__isl_take isl_space *dim,
108 enum isl_dim_type type, unsigned first, unsigned n);
109 ISL_DEPRECATED
110 __isl_give isl_space *isl_dim_move(__isl_take isl_space *dim,
111 enum isl_dim_type dst_type, unsigned dst_pos,
112 enum isl_dim_type src_type, unsigned src_pos, unsigned n);
113 ISL_DEPRECATED
114 __isl_give isl_space *isl_dim_map_from_set(
115 __isl_take isl_space *dim);
116 ISL_DEPRECATED
117 __isl_give isl_space *isl_dim_zip(__isl_take isl_space *dim);
119 ISL_DEPRECATED
120 __isl_give isl_local_space *isl_local_space_from_dim(
121 __isl_take isl_space *dim);
122 ISL_DEPRECATED
123 __isl_give isl_space *isl_local_space_get_dim(
124 __isl_keep isl_local_space *ls);
126 ISL_DEPRECATED
127 __isl_give isl_space *isl_aff_get_dim(__isl_keep isl_aff *aff);
128 ISL_DEPRECATED
129 __isl_give isl_space *isl_pw_aff_get_dim(__isl_keep isl_pw_aff *pwaff);
131 ISL_DEPRECATED
132 __isl_give isl_space *isl_constraint_get_dim(
133 __isl_keep isl_constraint *constraint);
135 ISL_DEPRECATED
136 __isl_give isl_space *isl_basic_map_get_dim(__isl_keep isl_basic_map *bmap);
137 ISL_DEPRECATED
138 __isl_give isl_space *isl_map_get_dim(__isl_keep isl_map *map);
139 ISL_DEPRECATED
140 __isl_give isl_space *isl_union_map_get_dim(__isl_keep isl_union_map *umap);
142 ISL_DEPRECATED
143 __isl_give isl_space *isl_basic_set_get_dim(__isl_keep isl_basic_set *bset);
144 ISL_DEPRECATED
145 __isl_give isl_space *isl_set_get_dim(__isl_keep isl_set *set);
146 ISL_DEPRECATED
147 __isl_give isl_space *isl_union_set_get_dim(__isl_keep isl_union_set *uset);
149 ISL_DEPRECATED
150 __isl_give isl_space *isl_point_get_dim(__isl_keep isl_point *pnt);
152 ISL_DEPRECATED
153 __isl_give isl_space *isl_qpolynomial_get_dim(__isl_keep isl_qpolynomial *qp);
154 ISL_DEPRECATED
155 __isl_give isl_space *isl_pw_qpolynomial_get_dim(
156 __isl_keep isl_pw_qpolynomial *pwqp);
157 ISL_DEPRECATED
158 __isl_give isl_space *isl_qpolynomial_fold_get_dim(
159 __isl_keep isl_qpolynomial_fold *fold);
160 ISL_DEPRECATED
161 __isl_give isl_space *isl_pw_qpolynomial_fold_get_dim(
162 __isl_keep isl_pw_qpolynomial_fold *pwf);
163 ISL_DEPRECATED
164 __isl_give isl_space *isl_union_pw_qpolynomial_get_dim(
165 __isl_keep isl_union_pw_qpolynomial *upwqp);
166 ISL_DEPRECATED
167 __isl_give isl_space *isl_union_pw_qpolynomial_fold_get_dim(
168 __isl_keep isl_union_pw_qpolynomial_fold *upwf);
170 #if defined(__cplusplus)
172 #endif
174 #endif