export isl_access_info_free
[isl.git] / isl_dim_private.h
blob04b195828580ffbc2fe1a2f48d8d6beb10eeeb8c
1 #include <isl_dim.h>
2 #include <isl_hash.h>
4 struct isl_name;
5 struct isl_dim {
6 int ref;
8 struct isl_ctx *ctx;
10 unsigned nparam;
11 unsigned n_in; /* zero for sets */
12 unsigned n_out; /* dim for sets */
14 struct isl_name *tuple_name[2];
15 struct isl_dim *nested[2];
17 unsigned n_name;
18 struct isl_name **names;
21 uint32_t isl_dim_get_hash(__isl_keep isl_dim *dim);
23 __isl_give isl_dim *isl_dim_as_set_dim(__isl_take isl_dim *dim);
25 unsigned isl_dim_offset(__isl_keep isl_dim *dim, enum isl_dim_type type);
27 int isl_dim_is_named_or_nested(__isl_keep isl_dim *dim, enum isl_dim_type type);
28 __isl_give isl_dim *isl_dim_reset(__isl_take isl_dim *dim,
29 enum isl_dim_type type);
30 __isl_give isl_dim *isl_dim_flatten(__isl_take isl_dim *dim);
32 __isl_give isl_dim *isl_dim_replace(__isl_take isl_dim *dst,
33 enum isl_dim_type type, __isl_keep isl_dim *src);