Blame isl-0.16.1/isl_union_neg.c

Packit fb9d21
/*
Packit fb9d21
 * Copyright 2010      INRIA Saclay
Packit fb9d21
 *
Packit fb9d21
 * Use of this software is governed by the MIT license
Packit fb9d21
 *
Packit fb9d21
 * Written by Sven Verdoolaege, INRIA Saclay - Ile-de-France,
Packit fb9d21
 * Parc Club Orsay Universite, ZAC des vignes, 4 rue Jacques Monod,
Packit fb9d21
 * 91893 Orsay, France
Packit fb9d21
 */
Packit fb9d21
Packit fb9d21
#include <isl_union_macro.h>
Packit fb9d21
Packit fb9d21
/* Return the opposite of "part".
Packit fb9d21
 */
Packit fb9d21
static __isl_give PART *FN(UNION,neg_entry)(__isl_take PART *part, void *user)
Packit fb9d21
{
Packit fb9d21
	return FN(PART,neg)(part);
Packit fb9d21
}
Packit fb9d21
Packit fb9d21
/* Return the opposite of "u".
Packit fb9d21
 */
Packit fb9d21
__isl_give UNION *FN(UNION,neg)(__isl_take UNION *u)
Packit fb9d21
{
Packit fb9d21
	return FN(UNION,transform_inplace)(u, &FN(UNION,neg_entry), NULL);
Packit fb9d21
}