source: Daodan/MSYS2/mingw32/include/isl/local_space.h@ 1167

Last change on this file since 1167 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 3.5 KB
RevLine 
[1166]1#ifndef ISL_LOCAL_SPACE_H
2#define ISL_LOCAL_SPACE_H
3
4#include <isl/aff_type.h>
5#include <isl/space_type.h>
6#include <isl/printer.h>
7#include <isl/map_type.h>
8
9#if defined(__cplusplus)
10extern "C" {
11#endif
12
13struct isl_local_space;
14typedef struct isl_local_space isl_local_space;
15
16isl_ctx *isl_local_space_get_ctx(__isl_keep isl_local_space *ls);
17
18__isl_give isl_local_space *isl_local_space_from_space(
19 __isl_take isl_space *space);
20
21__isl_give isl_local_space *isl_local_space_copy(
22 __isl_keep isl_local_space *ls);
23__isl_null isl_local_space *isl_local_space_free(
24 __isl_take isl_local_space *ls);
25
26isl_bool isl_local_space_is_params(__isl_keep isl_local_space *ls);
27isl_bool isl_local_space_is_set(__isl_keep isl_local_space *ls);
28
29__isl_give isl_local_space *isl_local_space_set_tuple_id(
30 __isl_take isl_local_space *ls,
31 enum isl_dim_type type, __isl_take isl_id *id);
32
33isl_size isl_local_space_dim(__isl_keep isl_local_space *ls,
34 enum isl_dim_type type);
35isl_bool isl_local_space_has_dim_name(__isl_keep isl_local_space *ls,
36 enum isl_dim_type type, unsigned pos);
37const char *isl_local_space_get_dim_name(__isl_keep isl_local_space *ls,
38 enum isl_dim_type type, unsigned pos);
39__isl_give isl_local_space *isl_local_space_set_dim_name(
40 __isl_take isl_local_space *ls,
41 enum isl_dim_type type, unsigned pos, const char *s);
42isl_bool isl_local_space_has_dim_id(__isl_keep isl_local_space *ls,
43 enum isl_dim_type type, unsigned pos);
44__isl_give isl_id *isl_local_space_get_dim_id(__isl_keep isl_local_space *ls,
45 enum isl_dim_type type, unsigned pos);
46__isl_give isl_local_space *isl_local_space_set_dim_id(
47 __isl_take isl_local_space *ls,
48 enum isl_dim_type type, unsigned pos, __isl_take isl_id *id);
49__isl_give isl_space *isl_local_space_get_space(__isl_keep isl_local_space *ls);
50__isl_give isl_aff *isl_local_space_get_div(__isl_keep isl_local_space *ls,
51 int pos);
52
53int isl_local_space_find_dim_by_name(__isl_keep isl_local_space *ls,
54 enum isl_dim_type type, const char *name);
55
56__isl_give isl_local_space *isl_local_space_domain(
57 __isl_take isl_local_space *ls);
58__isl_give isl_local_space *isl_local_space_range(
59 __isl_take isl_local_space *ls);
60__isl_give isl_local_space *isl_local_space_from_domain(
61 __isl_take isl_local_space *ls);
62__isl_give isl_local_space *isl_local_space_add_dims(
63 __isl_take isl_local_space *ls, enum isl_dim_type type, unsigned n);
64__isl_give isl_local_space *isl_local_space_drop_dims(
65 __isl_take isl_local_space *ls,
66 enum isl_dim_type type, unsigned first, unsigned n);
67__isl_give isl_local_space *isl_local_space_insert_dims(
68 __isl_take isl_local_space *ls,
69 enum isl_dim_type type, unsigned first, unsigned n);
70__isl_give isl_local_space *isl_local_space_set_from_params(
71 __isl_take isl_local_space *ls);
72
73__isl_give isl_local_space *isl_local_space_intersect(
74 __isl_take isl_local_space *ls1, __isl_take isl_local_space *ls2);
75
76__isl_give isl_local_space *isl_local_space_wrap(
77 __isl_take isl_local_space *ls);
78
79isl_bool isl_local_space_is_equal(__isl_keep isl_local_space *ls1,
80 __isl_keep isl_local_space *ls2);
81
82__isl_give isl_basic_map *isl_local_space_lifting(
83 __isl_take isl_local_space *ls);
84
85__isl_give isl_local_space *isl_local_space_flatten_domain(
86 __isl_take isl_local_space *ls);
87__isl_give isl_local_space *isl_local_space_flatten_range(
88 __isl_take isl_local_space *ls);
89
90__isl_give isl_printer *isl_printer_print_local_space(__isl_take isl_printer *p,
91 __isl_keep isl_local_space *ls);
92void isl_local_space_dump(__isl_keep isl_local_space *ls);
93
94#if defined(__cplusplus)
95}
96#endif
97
98#endif
Note: See TracBrowser for help on using the repository browser.