brintos

brintos / llvm-project-archived public Read only

0
0
Text · 839 B · d43525f Raw
30 lines · c
1/*2 * Copyright 2011      Sven Verdoolaege3 * Copyright 2012-2013 Ecole Normale Superieure4 *5 * Use of this software is governed by the MIT license6 *7 * Written by Sven Verdoolaege,8 * Ecole Normale Superieure, 45 rue d’Ulm, 75230 Paris, France9 */10 11#include <isl_multi_macro.h>12 13/* Compute the gist of "multi" with respect to the domain constraints14 * of "context".15 */16__isl_give MULTI(BASE) *FN(MULTI(BASE),gist)(__isl_take MULTI(BASE) *multi,17	__isl_take DOM *context)18{19	return FN(FN(MULTI(BASE),apply),DOMBASE)(multi, context, &FN(EL,gist));20}21 22/* Compute the gist of "multi" with respect to the parameter constraints23 * of "context".24 */25__isl_give MULTI(BASE) *FN(MULTI(BASE),gist_params)(26	__isl_take MULTI(BASE) *multi, __isl_take isl_set *context)27{28	return FN(MULTI(BASE),apply_set)(multi, context, &FN(EL,gist_params));29}30