isl_schedule_node_get_schedule_depth: return isl_size
[isl.git] / isl_union_neg.c
blob386b8dcd80141383d38ce2be57820890ccf21d86
1 /*
2 * Copyright 2010 INRIA Saclay
4 * Use of this software is governed by the MIT license
6 * Written by Sven Verdoolaege, INRIA Saclay - Ile-de-France,
7 * Parc Club Orsay Universite, ZAC des vignes, 4 rue Jacques Monod,
8 * 91893 Orsay, France
9 */
11 #include <isl_union_macro.h>
13 /* Return the opposite of "part".
15 static __isl_give PART *FN(UNION,neg_entry)(__isl_take PART *part, void *user)
17 return FN(PART,neg)(part);
20 /* Return the opposite of "u".
22 __isl_give UNION *FN(UNION,neg)(__isl_take UNION *u)
24 return FN(UNION,transform_inplace)(u, &FN(UNION,neg_entry), NULL);