2015-07-21 20:56:36 +08:00
|
|
|
/*
|
|
|
|
* 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>
|
|
|
|
|
2015-07-24 21:12:17 +08:00
|
|
|
/* Return the opposite of "part".
|
2015-07-21 20:56:36 +08:00
|
|
|
*/
|
2015-07-24 21:12:17 +08:00
|
|
|
static __isl_give PART *FN(UNION,neg_entry)(__isl_take PART *part, void *user)
|
2015-07-21 20:56:36 +08:00
|
|
|
{
|
2015-07-24 21:12:17 +08:00
|
|
|
return FN(PART,neg)(part);
|
2015-07-21 20:56:36 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Return the opposite of "u".
|
|
|
|
*/
|
|
|
|
__isl_give UNION *FN(UNION,neg)(__isl_take UNION *u)
|
|
|
|
{
|
2015-07-24 21:12:17 +08:00
|
|
|
return FN(UNION,transform_inplace)(u, &FN(UNION,neg_entry), NULL);
|
2015-07-21 20:56:36 +08:00
|
|
|
}
|