isl_space_from_range: rename "dim" argument to "space"
[isl.git] / include / isl / vertices.h
blob9187d45b324314535e81ad98853e47fc2dae2e5d
1 #ifndef ISL_VERTICES_H
2 #define ISL_VERTICES_H
4 #include <isl/aff_type.h>
5 #include <isl/set_type.h>
7 #if defined(__cplusplus)
8 extern "C" {
9 #endif
11 struct isl_external_vertex;
12 typedef struct isl_external_vertex isl_vertex;
14 struct isl_cell;
15 typedef struct isl_cell isl_cell;
17 struct isl_vertices;
18 typedef struct isl_vertices isl_vertices;
20 isl_ctx *isl_vertex_get_ctx(__isl_keep isl_vertex *vertex);
21 int isl_vertex_get_id(__isl_keep isl_vertex *vertex);
22 __isl_give isl_basic_set *isl_vertex_get_domain(__isl_keep isl_vertex *vertex);
23 __isl_give isl_multi_aff *isl_vertex_get_expr(__isl_keep isl_vertex *vertex);
24 __isl_null isl_vertex *isl_vertex_free(__isl_take isl_vertex *vertex);
26 __isl_give isl_vertices *isl_basic_set_compute_vertices(
27 __isl_keep isl_basic_set *bset);
28 isl_ctx *isl_vertices_get_ctx(__isl_keep isl_vertices *vertices);
29 int isl_vertices_get_n_vertices(__isl_keep isl_vertices *vertices);
30 isl_stat isl_vertices_foreach_vertex(__isl_keep isl_vertices *vertices,
31 isl_stat (*fn)(__isl_take isl_vertex *vertex, void *user), void *user);
32 __isl_null isl_vertices *isl_vertices_free(__isl_take isl_vertices *vertices);
34 isl_ctx *isl_cell_get_ctx(__isl_keep isl_cell *cell);
35 __isl_give isl_basic_set *isl_cell_get_domain(__isl_keep isl_cell *cell);
36 isl_stat isl_cell_foreach_vertex(__isl_keep isl_cell *cell,
37 isl_stat (*fn)(__isl_take isl_vertex *vertex, void *user), void *user);
38 __isl_null isl_cell *isl_cell_free(__isl_take isl_cell *cell);
40 isl_stat isl_vertices_foreach_cell(__isl_keep isl_vertices *vertices,
41 isl_stat (*fn)(__isl_take isl_cell *cell, void *user), void *user);
43 #if defined(__cplusplus)
45 #endif
47 #endif