1 #ifndef ISL_LOCAL_SPACE_H
2 #define ISL_LOCAL_SPACE_H
5 #include <isl/printer.h>
7 #if defined(__cplusplus)
11 struct isl_local_space;
12 typedef struct isl_local_space isl_local_space;
14 isl_ctx *isl_local_space_get_ctx(__isl_keep isl_local_space *ls);
16 __isl_give isl_local_space *isl_local_space_from_space(__isl_take isl_space *dim);
18 __isl_give isl_local_space *isl_local_space_copy(
19 __isl_keep isl_local_space *ls);
20 void *isl_local_space_free(__isl_take isl_local_space *ls);
22 int isl_local_space_is_set(__isl_keep isl_local_space *ls);
24 int isl_local_space_dim(__isl_keep isl_local_space *ls,
25 enum isl_dim_type type);
26 const char *isl_local_space_get_dim_name(__isl_keep isl_local_space *ls,
27 enum isl_dim_type type, unsigned pos);
28 __isl_give isl_local_space *isl_local_space_set_dim_name(
29 __isl_take isl_local_space *ls,
30 enum isl_dim_type type, unsigned pos, const char *s);
31 __isl_give isl_space *isl_local_space_get_space(__isl_keep isl_local_space *ls);
32 __isl_give isl_div *isl_local_space_get_div(__isl_keep isl_local_space *ls,
35 __isl_give isl_local_space *isl_local_space_domain(
36 __isl_take isl_local_space *ls);
37 __isl_give isl_local_space *isl_local_space_from_domain(
38 __isl_take isl_local_space *ls);
39 __isl_give isl_local_space *isl_local_space_add_dims(
40 __isl_take isl_local_space *ls, enum isl_dim_type type, unsigned n);
41 __isl_give isl_local_space *isl_local_space_drop_dims(
42 __isl_take isl_local_space *ls,
43 enum isl_dim_type type, unsigned first, unsigned n);
44 __isl_give isl_local_space *isl_local_space_insert_dims(
45 __isl_take isl_local_space *ls,
46 enum isl_dim_type type, unsigned first, unsigned n);
48 int isl_local_space_is_equal(__isl_keep isl_local_space *ls1,
49 __isl_keep isl_local_space *ls2);
51 __isl_give isl_printer *isl_printer_print_local_space(__isl_take isl_printer *p,
52 __isl_keep isl_local_space *ls);
53 void isl_local_space_dump(__isl_keep isl_local_space *ls);
55 #if defined(__cplusplus)