Polly
20.0.0git
llvm-project
polly
lib
External
isl
isl_multi_min_max_templ.c
Go to the documentation of this file.
1
/*
2
* Copyright 2019 Cerebras Systems
3
*
4
* Use of this software is governed by the MIT license
5
*
6
* Written by Sven Verdoolaege,
7
* Cerebras Systems, 175 S San Antonio Rd, Los Altos, CA, USA
8
*/
9
10
/* Return the (elementwise) minimum of "multi1" and "multi2".
11
*/
12
__isl_give
MULTI
(
BASE
) *
FN
(
MULTI
(
BASE
),min)(
__isl_take
MULTI
(
BASE
) *multi1,
13
__isl_take
MULTI
(
BASE
) *multi2)
14
{
15
return
FN
(
MULTI
(
BASE
),
bin_op
)(multi1, multi2, &
FN
(
EL
,min));
16
}
17
18
/* Return the (elementwise) maximum of "multi1" and "multi2".
19
*/
20
__isl_give
MULTI
(
BASE
) *
FN
(
MULTI
(
BASE
),max)(
__isl_take
MULTI
(
BASE
) *multi1,
21
__isl_take
MULTI
(
BASE
) *multi2)
22
{
23
return
FN
(
MULTI
(
BASE
),
bin_op
)(multi1, multi2, &
FN
(
EL
,max));
24
}
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
EL
#define EL
Definition:
isl_aff_private.h:238
MULTI
#define MULTI(BASE)
Definition:
isl_multi_macro.h:6
bin_op
static std::vector< Signature > bin_op
Definition:
template_cpp.cc:423
Generated on Wed Nov 13 2024 03:17:25 for Polly by
1.9.6