isl_basic_map_from_constraint: only return copy of bmap on equality constraints
[isl.git] / isl_vertices_private.h
blob2ec82700889adffb2c352c86d59f851f940fa930
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.
15 struct isl_vertex {
16 isl_basic_set *dom;
17 isl_basic_set *vertex;
20 /* A chamber in the chamber decomposition. The indices of the "n_vertices"
21 * active vertices are stored in "vertices".
23 struct isl_chamber {
24 int n_vertices;
25 int *vertices;
26 isl_basic_set *dom;
29 struct isl_vertices {
30 isl_ctx *ctx;
31 int ref;
33 int n_vertices;
34 struct isl_vertex *v;
36 int n_chambers;
37 struct isl_chamber *c;
40 struct isl_cell {
41 isl_vertices *vertices;
42 isl_basic_set *dom;
43 int id;
46 struct isl_external_vertex {
47 isl_vertices *vertices;
48 int id;
51 int isl_vertices_foreach_disjoint_cell(__isl_keep isl_vertices *vertices,
52 int (*fn)(__isl_take isl_cell *cell, void *user), void *user);
54 __isl_give isl_vertices *isl_morph_vertices(__isl_take struct isl_morph *morph,
55 __isl_take isl_vertices *vertices);
57 #if defined(__cplusplus)
59 #endif