isl_basic_set_opt: avoid invalid access on error path
[platform/upstream/isl.git] / isl_equalities.h
1 /*
2  * Copyright 2008-2009 Katholieke Universiteit Leuven
3  *
4  * Use of this software is governed by the MIT license
5  *
6  * Written by Sven Verdoolaege, K.U.Leuven, Departement
7  * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium
8  */
9
10 #ifndef ISL_EQUALITIES_H
11 #define ISL_EQUALITIES_H
12
13 #include <isl/set.h>
14 #include <isl/mat.h>
15
16 #if defined(__cplusplus)
17 extern "C" {
18 #endif
19
20 struct isl_mat *isl_mat_variable_compression(
21                         struct isl_mat *B, struct isl_mat **T2);
22 struct isl_mat *isl_mat_parameter_compression(
23                         struct isl_mat *B, struct isl_vec *d);
24 struct isl_basic_set *isl_basic_set_remove_equalities(
25         struct isl_basic_set *bset, struct isl_mat **T, struct isl_mat **T2);
26
27 #if defined(__cplusplus)
28 }
29 #endif
30
31 #endif