add tile_shift_point_loops option
[platform/upstream/isl.git] / include / isl / local_space.h
index 74fa4a6..5955260 100644 (file)
@@ -1,8 +1,10 @@
 #ifndef ISL_LOCAL_SPACE_H
 #define ISL_LOCAL_SPACE_H
 
-#include <isl/div.h>
+#include <isl/aff_type.h>
+#include <isl/space.h>
 #include <isl/printer.h>
+#include <isl/map_type.h>
 
 #if defined(__cplusplus)
 extern "C" {
@@ -23,17 +25,28 @@ int isl_local_space_is_set(__isl_keep isl_local_space *ls);
 
 int isl_local_space_dim(__isl_keep isl_local_space *ls,
        enum isl_dim_type type);
+int isl_local_space_has_dim_name(__isl_keep isl_local_space *ls,
+       enum isl_dim_type type, unsigned pos);
 const char *isl_local_space_get_dim_name(__isl_keep isl_local_space *ls,
        enum isl_dim_type type, unsigned pos);
 __isl_give isl_local_space *isl_local_space_set_dim_name(
        __isl_take isl_local_space *ls,
        enum isl_dim_type type, unsigned pos, const char *s);
+int isl_local_space_has_dim_id(__isl_keep isl_local_space *ls,
+       enum isl_dim_type type, unsigned pos);
+__isl_give isl_id *isl_local_space_get_dim_id(__isl_keep isl_local_space *ls,
+       enum isl_dim_type type, unsigned pos);
+__isl_give isl_local_space *isl_local_space_set_dim_id(
+       __isl_take isl_local_space *ls,
+       enum isl_dim_type type, unsigned pos, __isl_take isl_id *id);
 __isl_give isl_space *isl_local_space_get_space(__isl_keep isl_local_space *ls);
-__isl_give isl_div *isl_local_space_get_div(__isl_keep isl_local_space *ls,
+__isl_give isl_aff *isl_local_space_get_div(__isl_keep isl_local_space *ls,
        int pos);
 
 __isl_give isl_local_space *isl_local_space_domain(
        __isl_take isl_local_space *ls);
+__isl_give isl_local_space *isl_local_space_range(
+       __isl_take isl_local_space *ls);
 __isl_give isl_local_space *isl_local_space_from_domain(
        __isl_take isl_local_space *ls);
 __isl_give isl_local_space *isl_local_space_add_dims(
@@ -45,9 +58,15 @@ __isl_give isl_local_space *isl_local_space_insert_dims(
        __isl_take isl_local_space *ls,
        enum isl_dim_type type, unsigned first, unsigned n);
 
+__isl_give isl_local_space *isl_local_space_intersect(
+       __isl_take isl_local_space *ls1, __isl_take isl_local_space *ls2);
+
 int isl_local_space_is_equal(__isl_keep isl_local_space *ls1,
        __isl_keep isl_local_space *ls2);
 
+__isl_give isl_basic_map *isl_local_space_lifting(
+       __isl_take isl_local_space *ls);
+
 __isl_give isl_printer *isl_printer_print_local_space(__isl_take isl_printer *p,
        __isl_keep isl_local_space *ls);
 void isl_local_space_dump(__isl_keep isl_local_space *ls);