buildtools/gcc/isl/isl_union_neg.c
Fredrik Holmqvist e7f96e19a4 Upgrade isl to version 0.19
gcc currently requires 0.15 or later for graphite
2018-07-04 20:20:56 +02:00

26 lines
598 B
C

/*
* 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);
}