Polly 23.0.0git
isl_multi_apply_no_explicit_domain_templ.c
Go to the documentation of this file.
1/*
2 * Copyright 2022 Cerebras Systems
3 *
4 * Use of this software is governed by the MIT license
5 *
6 * Written by Sven Verdoolaege,
7 * Cerebras Systems, 1237 E Arques Ave, Sunnyvale, CA, USA
8 */
9
10/* Transform the explicit domain of "multi" by applying "fn_domain" or
11 * "fn_params" to it with extra argument "domain".
12 * In particular, if the explicit domain is a parameter set,
13 * then apply "fn_params". Otherwise, apply "fn_domain".
14 *
15 * Do this for a type MULTI(BASE) that cannot have an explicit domain.
16 * That is, this function is never called.
17 */
18
19static __isl_give MULTI(BASE) *FN(FN(MULTI(BASE),apply_domain),APPLY_DOMBASE)(
22 __isl_give DOM *(*fn_params)(DOM *domain, __isl_take isl_set *set))
23{
25
26 return multi;
27}
28
#define FN(TYPE, NAME)
#define __isl_take
Definition ctx.h:22
#define __isl_give
Definition ctx.h:19
#define BASE
Definition flow_cmp.c:49
#define isl_set
#define MULTI(BASE)
#define DOM
const char * set
Definition isl_test.c:1364
__isl_null isl_set * isl_set_free(__isl_take isl_set *set)
Definition isl_map.c:4055
static Signature domain