1 #ifndef ISL_SPACE_PRIVATE
2 #define ISL_SPACE_PRIVATE
6 #include <isl/id_type.h>
15 unsigned n_in
; /* zero for sets */
16 unsigned n_out
; /* dim for sets */
25 __isl_give isl_space
*isl_space_cow(__isl_take isl_space
*space
);
27 __isl_give isl_space
*isl_space_underlying(__isl_take isl_space
*space
,
30 uint32_t isl_space_get_tuple_hash(__isl_keep isl_space
*space
);
31 uint32_t isl_space_get_full_hash(__isl_keep isl_space
*space
);
32 uint32_t isl_space_get_full_domain_hash(__isl_keep isl_space
*space
);
34 isl_bool
isl_space_has_domain_tuples(__isl_keep isl_space
*space1
,
35 __isl_keep isl_space
*space2
);
36 isl_bool
isl_space_has_range_tuples(__isl_keep isl_space
*space1
,
37 __isl_keep isl_space
*space2
);
38 isl_stat
isl_space_check_domain_tuples(__isl_keep isl_space
*space1
,
39 __isl_keep isl_space
*space2
);
40 isl_bool
isl_space_is_domain_internal(__isl_keep isl_space
*space1
,
41 __isl_keep isl_space
*space2
);
42 isl_bool
isl_space_is_range_internal(__isl_keep isl_space
*space1
,
43 __isl_keep isl_space
*space2
);
44 isl_stat
isl_space_check_domain_wrapped_domain_tuples(
45 __isl_keep isl_space
*space1
, __isl_keep isl_space
*space2
);
47 isl_size
isl_space_wrapped_dim(__isl_keep isl_space
*space
,
48 enum isl_dim_type outer
, enum isl_dim_type inner
);
49 unsigned isl_space_offset(__isl_keep isl_space
*space
, enum isl_dim_type type
);
51 isl_stat
isl_space_check_range(__isl_keep isl_space
*space
,
52 enum isl_dim_type type
, unsigned first
, unsigned n
);
53 isl_stat
isl_space_check_is_set(__isl_keep isl_space
*space
);
54 isl_bool
isl_space_may_be_set(__isl_keep isl_space
*space
);
55 isl_bool
isl_space_is_named_or_nested(__isl_keep isl_space
*space
,
56 enum isl_dim_type type
);
57 isl_bool
isl_space_has_equal_ids(__isl_keep isl_space
*space1
,
58 __isl_keep isl_space
*space2
);
59 isl_bool
isl_space_has_named_params(__isl_keep isl_space
*space
);
60 isl_stat
isl_space_check_named_params(__isl_keep isl_space
*space
);
61 isl_stat
isl_space_check_equal_params(__isl_keep isl_space
*space1
,
62 __isl_keep isl_space
*space2
);
63 isl_stat
isl_space_check_equal_tuples(__isl_keep isl_space
*space1
,
64 __isl_keep isl_space
*space2
);
65 __isl_give isl_space
*isl_space_reset(__isl_take isl_space
*space
,
66 enum isl_dim_type type
);
67 __isl_give isl_space
*isl_space_flatten(__isl_take isl_space
*space
);
69 isl_stat
isl_space_check_range_is_wrapping(__isl_keep isl_space
*space
);
71 __isl_give isl_space
*isl_space_replace_params(__isl_take isl_space
*dst
,
72 __isl_keep isl_space
*src
);
73 __isl_give isl_space
*isl_space_copy_ids_if_unset(__isl_take isl_space
*dst
,
74 enum isl_dim_type dst_type
, __isl_keep isl_space
*src
,
75 enum isl_dim_type src_type
);
77 __isl_give isl_space
*isl_space_lift(__isl_take isl_space
*space
,
80 __isl_give isl_space
*isl_space_extend_domain_with_range(
81 __isl_take isl_space
*domain
, __isl_take isl_space
*model
);
82 __isl_give isl_space
*isl_space_bind_set(__isl_take isl_space
*space
,
83 __isl_keep isl_multi_id
*tuple
);
84 __isl_give isl_space
*isl_space_bind_map_domain(__isl_take isl_space
*space
,
85 __isl_keep isl_multi_id
*tuple
);
86 __isl_give isl_space
*isl_space_bind_domain_wrapped_domain(
87 __isl_take isl_space
*space
, __isl_keep isl_multi_id
*tuple
);
88 __isl_give isl_space
*isl_space_unbind_params_insert_domain(
89 __isl_take isl_space
*space
, __isl_keep isl_multi_id
*tuple
);
91 int isl_space_cmp(__isl_keep isl_space
*space1
, __isl_keep isl_space
*space2
);