Polly
20.0.0git
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
v
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Typedefs
a
b
c
d
e
i
l
m
p
r
s
v
Enumerations
Enumerator
Related Functions
a
d
f
l
m
s
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Typedefs
b
f
i
m
o
r
s
t
Enumerations
a
g
i
m
o
t
Enumerator
i
m
o
t
v
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
llvm-project
polly
lib
External
isl
isl_ilp_opt_fn_val_templ.c
Go to the documentation of this file.
1
/*
2
* Copyright 2018 Sven Verdoolaege
3
*
4
* Use of this software is governed by the MIT license
5
*
6
* Written by Sven Verdoolaege.
7
*/
8
9
#define xFN(TYPE,NAME) TYPE ## _ ## NAME
10
#define FN(TYPE,NAME) xFN(TYPE,NAME)
11
12
/* Return the minimum of the integer piecewise affine
13
* expression "f" over its definition domain.
14
*
15
* Return negative infinity if the optimal value is unbounded and
16
* NaN if the domain of the expression is empty.
17
*/
18
__isl_give
isl_val
*
FN
(
TYPE
,min_val)(
__isl_take
TYPE
*
f
)
19
{
20
return
FN
(
TYPE
,opt_val)(
f
, 0);
21
}
22
23
/* Return the maximum of the integer piecewise affine
24
* expression "f" over its definition domain.
25
*
26
* Return infinity if the optimal value is unbounded and
27
* NaN if the domain of the expression is empty.
28
*/
29
__isl_give
isl_val
*
FN
(
TYPE
,max_val)(
__isl_take
TYPE
*
f
)
30
{
31
return
FN
(
TYPE
,opt_val)(
f
, 1);
32
}
TYPE
#define TYPE
Definition:
check_parse_fail_test_templ.c:13
__isl_take
#define __isl_take
Definition:
ctx.h:22
__isl_give
#define __isl_give
Definition:
ctx.h:19
FN
#define FN(TYPE, NAME)
Definition:
isl_ilp_opt_fn_val_templ.c:10
f
const char * f
Definition:
isl_test.c:8642
isl_val
Definition:
isl_val_private.h:17
Generated on Fri Apr 25 2025 19:44:03 for Polly by
1.9.6