isl_test.c: test_bound: add missing return
[isl.git] / isl_space_private.h
blob3c892a4986abb5e47561734aaf3bb89539ace91d
1 #ifndef ISL_SPACE_PRIVATE
2 #define ISL_SPACE_PRIVATE
4 #include <isl/space.h>
5 #include <isl/hash.h>
6 #include <isl/id.h>
8 struct isl_name;
9 struct isl_space {
10 int ref;
12 struct isl_ctx *ctx;
14 unsigned nparam;
15 unsigned n_in; /* zero for sets */
16 unsigned n_out; /* dim for sets */
18 isl_id *tuple_id[2];
19 isl_space *nested[2];
21 unsigned n_id;
22 isl_id **ids;
25 __isl_give isl_space *isl_space_cow(__isl_take isl_space *dim);
27 __isl_give isl_space *isl_space_underlying(__isl_take isl_space *dim,
28 unsigned n_div);
30 uint32_t isl_space_get_hash(__isl_keep isl_space *dim);
32 int isl_space_is_domain_internal(__isl_keep isl_space *space1,
33 __isl_keep isl_space *space2);
34 int isl_space_is_range_internal(__isl_keep isl_space *space1,
35 __isl_keep isl_space *space2);
37 __isl_give isl_space *isl_space_as_set_space(__isl_take isl_space *dim);
39 unsigned isl_space_offset(__isl_keep isl_space *dim, enum isl_dim_type type);
41 int isl_space_may_be_set(__isl_keep isl_space *dim);
42 int isl_space_is_named_or_nested(__isl_keep isl_space *dim, enum isl_dim_type type);
43 int isl_space_has_named_params(__isl_keep isl_space *dim);
44 __isl_give isl_space *isl_space_reset(__isl_take isl_space *dim,
45 enum isl_dim_type type);
46 __isl_give isl_space *isl_space_flatten(__isl_take isl_space *dim);
47 __isl_give isl_space *isl_space_flatten_domain(__isl_take isl_space *dim);
48 __isl_give isl_space *isl_space_flatten_range(__isl_take isl_space *dim);
50 __isl_give isl_space *isl_space_replace(__isl_take isl_space *dst,
51 enum isl_dim_type type, __isl_keep isl_space *src);
53 __isl_give isl_space *isl_space_lift(__isl_take isl_space *dim, unsigned n_local);
55 __isl_give isl_space *isl_space_extend_domain_with_range(
56 __isl_take isl_space *domain, __isl_take isl_space *model);
58 int isl_space_cmp(__isl_keep isl_space *space1, __isl_keep isl_space *space2);
60 #endif