2 * Copyright 2011 Sven Verdoolaege
3 * Copyright 2012-2013 Ecole Normale Superieure
5 * Use of this software is governed by the MIT license
7 * Written by Sven Verdoolaege,
8 * Ecole Normale Superieure, 45 rue d’Ulm, 75230 Paris, France
11 #include <isl_multi_macro.h>
13 /* Compute the gist of "multi" with respect to the domain constraints
16 __isl_give
MULTI(BASE
) *FN(MULTI(BASE
),gist
)(__isl_take
MULTI(BASE
) *multi
,
17 __isl_take DOM
*context
)
19 return FN(FN(MULTI(BASE
),apply
),DOMBASE
)(multi
, context
, &FN(EL
,gist
));
22 /* Compute the gist of "multi" with respect to the parameter constraints
25 __isl_give
MULTI(BASE
) *FN(MULTI(BASE
),gist_params
)(
26 __isl_take
MULTI(BASE
) *multi
, __isl_take isl_set
*context
)
28 return FN(MULTI(BASE
),apply_set
)(multi
, context
, &FN(EL
,gist_params
));