summaryrefslogtreecommitdiffstats
path: root/polly/lib/External/isl/isl_union_neg.c
blob: 386b8dcd80141383d38ce2be57820890ccf21d86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * Copyright 2010      INRIA Saclay
 *
 * Use of this software is governed by the MIT license
 *
 * Written by Sven Verdoolaege, INRIA Saclay - Ile-de-France,
 * Parc Club Orsay Universite, ZAC des vignes, 4 rue Jacques Monod,
 * 91893 Orsay, France
 */

#include <isl_union_macro.h>

/* Return the opposite of "part".
 */
static __isl_give PART *FN(UNION,neg_entry)(__isl_take PART *part, void *user)
{
	return FN(PART,neg)(part);
}

/* Return the opposite of "u".
 */
__isl_give UNION *FN(UNION,neg)(__isl_take UNION *u)
{
	return FN(UNION,transform_inplace)(u, &FN(UNION,neg_entry), NULL);
}
OpenPOWER on IntegriCloud