From 1c2037c06ff9c7a9c538ef3245e185b7eff0e919 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Sat, 29 Mar 2014 14:48:29 +0100 Subject: [PATCH] isl_param_util.c: drop expr2vertex The last use was removed in the previous commit. Signed-off-by: Sven Verdoolaege --- isl_param_util.c | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/isl_param_util.c b/isl_param_util.c index 294cac1..1c2e12b 100644 --- a/isl_param_util.c +++ b/isl_param_util.c @@ -3,26 +3,6 @@ #include #include "isl_param_util.h" -static Matrix *expr2vertex(Polyhedron *E, unsigned nvar) -{ - int i; - Matrix *M; - unsigned nparam = E->Dimension - nvar; - Value mone; - - value_init(mone); - value_set_si(mone, -1); - M = Matrix_Alloc(nvar, nparam + 1 + 1); - for (i = 0; i < nvar; ++i) { - Vector_Scale(E->Constraint[i] + 1 + nvar, M->p[i], - mone, nparam + 1); - value_assign(M->p[i][nparam + 1], E->Constraint[i][1 + i]); - } - value_clear(mone); - - return M; -} - #define INT_BITS (sizeof(unsigned) * 8) static int add_vertex(__isl_take isl_vertex *vertex, void *user) -- 2.11.4.GIT