add isl_qpolynomial_fold_scale_val
[platform/upstream/isl.git] / isl_vertices_private.h
index 2ec8270..7c707fd 100644 (file)
@@ -1,5 +1,5 @@
-#include <isl_set.h>
-#include <isl_vertices.h>
+#include <isl/set.h>
+#include <isl/vertices.h>
 
 #if defined(__cplusplus)
 extern "C" {
@@ -27,9 +27,11 @@ struct isl_chamber {
 };
 
 struct isl_vertices {
-       isl_ctx *ctx;
        int ref;
 
+       /* The rational basic set spanned by the vertices. */
+       isl_basic_set *bset;
+
        int n_vertices;
        struct isl_vertex *v;
 
@@ -38,9 +40,10 @@ struct isl_vertices {
 };
 
 struct isl_cell {
+       int n_vertices;
+       int *ids;
        isl_vertices *vertices;
        isl_basic_set *dom;
-       int id;
 };
 
 struct isl_external_vertex {
@@ -50,6 +53,8 @@ struct isl_external_vertex {
 
 int isl_vertices_foreach_disjoint_cell(__isl_keep isl_vertices *vertices,
        int (*fn)(__isl_take isl_cell *cell, void *user), void *user);
+int isl_cell_foreach_simplex(__isl_take isl_cell *cell,
+       int (*fn)(__isl_take isl_cell *simplex, void *user), void *user);
 
 __isl_give isl_vertices *isl_morph_vertices(__isl_take struct isl_morph *morph,
        __isl_take isl_vertices *vertices);