repo.or.cz
/
pet.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
pet_function_summary_dump: use isl_printer
[pet.git]
/
tests
/
quasi_affine.c
blob
9a50a7575439e1fca0a94c17fe97be09d0a20bbe
1
int
f
(
int
);
2
int
g
(
int
);
3
int
N
;
4
5
void
foo
()
6
{
7
int
i
;
8
int
in
;
9
int
A
[
N
+
1
];
10
int
out
;
11
12
#pragma scop
13
if
(
N
>=
0
) {
14
A
[
0
] =
in
;
15
for
(
i
=
1
;
i
<=
N
; ++
i
) {
16
A
[
i
] =
f
(
g
(
A
[
i
/
2
]));
17
}
18
out
=
g
(
A
[
N
]);
19
}
20
#pragma endscop
21
}