repo.or.cz
/
isl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add support for generating ASTs from schedule relations
[isl.git]
/
test_inputs
/
codegen
/
cloog
/
forwardsub-3-1-2.c
blob
d84fae8d3541eef37b5a34bd9e2069cdbe300ea4
1
{
2
S3
(
2
,
1
);
3
S1
(
3
,
1
);
4
for
(
int
c0
=
4
;
c0
<=
M
+
1
;
c0
+=
1
) {
5
S1
(
c0
,
1
);
6
for
(
int
c1
=
2
;
c1
<= (
c0
+
1
) /
2
-
1
;
c1
+=
1
)
7
S2
(
c0
,
c1
);
8
if
(
c0
%
2
==
0
)
9
S4
(
c0
,
c0
/
2
);
10
}
11
for
(
int
c0
=
M
+
2
;
c0
<=
2
*
M
;
c0
+=
1
) {
12
for
(
int
c1
= -
M
+
c0
;
c1
<= (
c0
+
1
) /
2
-
1
;
c1
+=
1
)
13
S2
(
c0
,
c1
);
14
if
(
c0
%
2
==
0
)
15
S4
(
c0
,
c0
/
2
);
16
}
17
}