remove deprecated isl_schedule interface
[platform/upstream/isl.git] / include / isl / local_space.h
1 #ifndef ISL_LOCAL_SPACE_H
2 #define ISL_LOCAL_SPACE_H
3
4 #include <isl/div.h>
5 #include <isl/printer.h>
6
7 #if defined(__cplusplus)
8 extern "C" {
9 #endif
10
11 struct isl_local_space;
12 typedef struct isl_local_space isl_local_space;
13
14 isl_ctx *isl_local_space_get_ctx(__isl_keep isl_local_space *ls);
15
16 __isl_give isl_local_space *isl_local_space_from_dim(__isl_take isl_dim *dim);
17
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);
21
22 int isl_local_space_dim(__isl_keep isl_local_space *ls,
23         enum isl_dim_type type);
24 const char *isl_local_space_get_dim_name(__isl_keep isl_local_space *ls,
25         enum isl_dim_type type, unsigned pos);
26 __isl_give isl_local_space *isl_local_space_set_dim_name(
27         __isl_take isl_local_space *ls,
28         enum isl_dim_type type, unsigned pos, const char *s);
29 __isl_give isl_dim *isl_local_space_get_dim(__isl_keep isl_local_space *ls);
30 __isl_give isl_div *isl_local_space_get_div(__isl_keep isl_local_space *ls,
31         int pos);
32
33 __isl_give isl_local_space *isl_local_space_from_domain(
34         __isl_take isl_local_space *ls);
35 __isl_give isl_local_space *isl_local_space_add_dims(
36         __isl_take isl_local_space *ls, enum isl_dim_type type, unsigned n);
37 __isl_give isl_local_space *isl_local_space_drop_dims(
38         __isl_take isl_local_space *ls,
39         enum isl_dim_type type, unsigned first, unsigned n);
40 __isl_give isl_local_space *isl_local_space_insert_dims(
41         __isl_take isl_local_space *ls,
42         enum isl_dim_type type, unsigned first, unsigned n);
43
44 int isl_local_space_is_equal(__isl_keep isl_local_space *ls1,
45         __isl_keep isl_local_space *ls2);
46
47 __isl_give isl_printer *isl_printer_print_local_space(__isl_take isl_printer *p,
48         __isl_keep isl_local_space *ls);
49 void isl_local_space_dump(__isl_keep isl_local_space *ls);
50
51 #if defined(__cplusplus)
52 }
53 #endif
54
55 #endif