export isl_dim_tuple_match
[platform/upstream/isl.git] / isl_dim_private.h
1 #include <isl_dim.h>
2 #include <isl_hash.h>
3
4 struct isl_name;
5 struct isl_dim {
6         int ref;
7
8         struct isl_ctx *ctx;
9
10         unsigned nparam;
11         unsigned n_in;          /* zero for sets */
12         unsigned n_out;         /* dim for sets */
13
14         struct isl_name *tuple_name[2];
15
16         unsigned n_name;
17         struct isl_name **names;
18 };
19
20 uint32_t isl_dim_get_hash(__isl_keep isl_dim *dim);
21
22 __isl_give isl_dim *isl_dim_as_set_dim(__isl_take isl_dim *dim);
23
24 unsigned isl_dim_offset(__isl_keep isl_dim *dim, enum isl_dim_type type);