diff options
-rw-r--r-- | include/isl_dim.h | 16 | ||||
-rw-r--r-- | isl_constraint.c | 1 | ||||
-rw-r--r-- | isl_dim_private.h | 16 | ||||
-rw-r--r-- | isl_div.c | 1 | ||||
-rw-r--r-- | isl_map_simplify.c | 1 | ||||
-rw-r--r-- | isl_mat.c | 1 | ||||
-rw-r--r-- | isl_point.c | 1 |
7 files changed, 22 insertions, 15 deletions
diff --git a/include/isl_dim.h b/include/isl_dim.h index b9138f02..7b1517a8 100644 --- a/include/isl_dim.h +++ b/include/isl_dim.h @@ -16,21 +16,7 @@ extern "C" { #endif -struct isl_name; -struct isl_dim { - int ref; - - struct isl_ctx *ctx; - - unsigned nparam; - unsigned n_in; /* zero for sets */ - unsigned n_out; /* dim for sets */ - - struct isl_name *tuple_name[2]; - - unsigned n_name; - struct isl_name **names; -}; +struct isl_dim; typedef struct isl_dim isl_dim; enum isl_dim_type { diff --git a/isl_constraint.c b/isl_constraint.c index 6af59722..89679a03 100644 --- a/isl_constraint.c +++ b/isl_constraint.c @@ -11,6 +11,7 @@ */ #include <isl_constraint.h> +#include <isl_dim_private.h> #include "isl_seq.h" #include "isl_map_private.h" diff --git a/isl_dim_private.h b/isl_dim_private.h index f98651ed..2866bb45 100644 --- a/isl_dim_private.h +++ b/isl_dim_private.h @@ -1,6 +1,22 @@ #include <isl_dim.h> #include <isl_hash.h> +struct isl_name; +struct isl_dim { + int ref; + + struct isl_ctx *ctx; + + unsigned nparam; + unsigned n_in; /* zero for sets */ + unsigned n_out; /* dim for sets */ + + struct isl_name *tuple_name[2]; + + unsigned n_name; + struct isl_name **names; +}; + uint32_t isl_dim_get_hash(__isl_keep isl_dim *dim); __isl_give isl_dim *isl_dim_as_set_dim(__isl_take isl_dim *dim); @@ -9,6 +9,7 @@ #include <isl_div.h> #include <isl_map.h> +#include <isl_dim_private.h> #include "isl_map_private.h" #include "isl_seq.h" diff --git a/isl_map_simplify.c b/isl_map_simplify.c index 0efaf9e0..e9727da5 100644 --- a/isl_map_simplify.c +++ b/isl_map_simplify.c @@ -12,6 +12,7 @@ #include "isl_map_private.h" #include "isl_seq.h" #include "isl_tab.h" +#include <isl_dim_private.h> static void swap_equality(struct isl_basic_map *bmap, int a, int b) { @@ -11,6 +11,7 @@ #include "isl_seq.h" #include "isl_mat.h" #include "isl_map_private.h" +#include <isl_dim_private.h> struct isl_mat *isl_mat_alloc(struct isl_ctx *ctx, unsigned n_row, unsigned n_col) diff --git a/isl_point.c b/isl_point.c index b7a7e100..1833572e 100644 --- a/isl_point.c +++ b/isl_point.c @@ -4,6 +4,7 @@ #include <isl_sample.h> #include <isl_scan.h> #include <isl_seq.h> +#include <isl_dim_private.h> __isl_give isl_point *isl_point_alloc(__isl_take isl_dim *dim, __isl_take isl_vec *vec) |