Polly
23.0.0git
llvm-project
polly
lib
External
isl
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
19
static
__isl_give
MULTI
(
BASE
) *
FN
(
FN
(
MULTI
(
BASE
),apply_domain),
APPLY_DOMBASE
)(
20
__isl_take
MULTI
(
BASE
) *multi,
__isl_take
isl_set
*
domain
,
21
__isl_give
DOM
*(*fn_domain)(
DOM
*
domain
,
__isl_take
APPLY_DOM
*
set
),
22
__isl_give
DOM
*(*fn_params)(
DOM
*
domain
,
__isl_take
isl_set
*
set
))
23
{
24
isl_set_free
(
domain
);
25
26
return
multi;
27
}
28
29
#include <
isl_multi_apply_templ.c
>
FN
#define FN(TYPE, NAME)
Definition
check_parse_fail_test_templ.c:15
__isl_take
#define __isl_take
Definition
ctx.h:22
__isl_give
#define __isl_give
Definition
ctx.h:19
BASE
#define BASE
Definition
flow_cmp.c:49
isl_set
#define isl_set
Definition
isl_map_private.h:15
APPLY_DOMBASE
#define APPLY_DOMBASE
Definition
isl_multi_apply_set_explicit_domain_templ.c:1
APPLY_DOM
#define APPLY_DOM
Definition
isl_multi_apply_set_explicit_domain_templ.c:2
isl_multi_apply_templ.c
MULTI
#define MULTI(BASE)
Definition
isl_multi_macro.h:6
DOM
#define DOM
Definition
isl_multi_macro.h:8
set
const char * set
Definition
isl_test.c:1364
isl_set_free
__isl_null isl_set * isl_set_free(__isl_take isl_set *set)
Definition
isl_map.c:4055
domain
static Signature domain
Definition
template_cpp.cc:602
Generated on
for Polly by
1.14.0