isl_tab: privately export some functionality
[platform/upstream/isl.git] / isl_mat.h
index 6d1431a..ed82ec2 100644 (file)
--- a/isl_mat.h
+++ b/isl_mat.h
@@ -26,11 +26,15 @@ struct isl_mat {
 
        isl_int **row;
 
+       /* actual size of the rows in memory; n_col <= max_col */
+       unsigned max_col;
+
        struct isl_blk block;
 };
 
 struct isl_mat *isl_mat_alloc(struct isl_ctx *ctx,
        unsigned n_row, unsigned n_col);
+struct isl_mat *isl_mat_dup(struct isl_mat *mat);
 struct isl_mat *isl_mat_extend(struct isl_mat *mat,
        unsigned n_row, unsigned n_col);
 struct isl_mat *isl_mat_identity(struct isl_ctx *ctx, unsigned n_row);