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
check_reparse_test_templ.c
Go to the documentation of this file.
1
#define xCAT(A,B) A ## B
2
#define CAT(A,B) xCAT(A,B)
3
#undef TYPE
4
#define TYPE CAT(isl_,BASE)
5
#define xFN(TYPE,NAME) TYPE ## _ ## NAME
6
#define FN(TYPE,NAME) xFN(TYPE,NAME)
7
8
#undef TESTS
9
#define TESTS CAT(reparse_,CAT(BASE,_tests))
10
11
/* Test parsing of objects of type TYPE by printing
12
* the expressions and checking that parsing the output results
13
* in the same expression.
14
* Do this for a set of expressions parsed from strings.
15
*/
16
static
isl_stat
FN
(check,
TESTS
)(
isl_ctx
*ctx)
17
{
18
int
i;
19
20
for
(i = 0; i <
ARRAY_SIZE
(
TESTS
); ++i) {
21
TYPE
*
obj
;
22
23
obj
=
FN
(
TYPE
,read_from_str)(ctx,
TESTS
[i]);
24
if
(
FN
(check_reparse,
BASE
)(ctx,
obj
) < 0)
25
return
isl_stat_error
;
26
}
27
28
return
isl_stat_ok
;
29
}
TYPE
#define TYPE
Definition:
check_reparse_test_templ.c:4
FN
#define FN(TYPE, NAME)
Definition:
check_reparse_test_templ.c:6
TESTS
#define TESTS
Definition:
check_reparse_test_templ.c:9
isl_stat
isl_stat
Definition:
ctx.h:84
isl_stat_error
@ isl_stat_error
Definition:
ctx.h:85
isl_stat_ok
@ isl_stat_ok
Definition:
ctx.h:86
BASE
#define BASE
Definition:
flow_cmp.c:49
ARRAY_SIZE
#define ARRAY_SIZE(array)
Definition:
isl_int_sioimath.h:21
obj
const char * obj
Definition:
isl_test.c:3316
isl_ctx
Definition:
isl_ctx_private.h:11
Generated on Thu Apr 24 2025 21:44:25 for Polly by
1.9.6