isl_*_check_match_domain_space: adjust to isl_space_match returning isl_bool
[isl.git] / isl_vertices_private.h
blob34f4e8ce9a065a3839e7096337ac727292d74540
1 #include <isl/set.h>
2 #include <isl/vertices.h>
4 #if defined(__cplusplus)
5 extern "C" {
6 #endif
8 struct isl_morph;
10 /* A parametric vertex. "vertex" contains the actual description
11 * of the vertex as a singleton parametric set. "dom" is the projection
12 * of "vertex" onto the parameter space, i.e., the activity domain
13 * of the vertex.
14 * During the construction of vertices and chambers, the activity domain
15 * of every parametric vertex is full-dimensional.
17 struct isl_vertex {
18 isl_basic_set *dom;
19 isl_basic_set *vertex;
22 /* A chamber in the chamber decomposition. The indices of the "n_vertices"
23 * active vertices are stored in "vertices".
25 struct isl_chamber {
26 int n_vertices;
27 int *vertices;
28 isl_basic_set *dom;
31 struct isl_vertices {
32 int ref;
34 /* The rational basic set spanned by the vertices. */
35 isl_basic_set *bset;
37 int n_vertices;
38 struct isl_vertex *v;
40 int n_chambers;
41 struct isl_chamber *c;
44 struct isl_cell {
45 int n_vertices;
46 int *ids;
47 isl_vertices *vertices;
48 isl_basic_set *dom;
51 struct isl_external_vertex {
52 isl_vertices *vertices;
53 int id;
56 isl_stat isl_vertices_foreach_disjoint_cell(__isl_keep isl_vertices *vertices,
57 isl_stat (*fn)(__isl_take isl_cell *cell, void *user), void *user);
58 isl_stat isl_cell_foreach_simplex(__isl_take isl_cell *cell,
59 isl_stat (*fn)(__isl_take isl_cell *simplex, void *user), void *user);
61 __isl_give isl_vertices *isl_morph_vertices(__isl_take struct isl_morph *morph,
62 __isl_take isl_vertices *vertices);
64 #if defined(__cplusplus)
66 #endif