repo.or.cz
/
cloog.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Get rid of the warning about ignoring the return value of fgets
[cloog.git]
/
test
/
non_optimal
/
youcef.cloog
blob
297bf79c016d425549f84516cac71216b89308b4
1
# Optimal code is in fact :
2
#
3
# for (i=0;i<=M;i++) {
4
# S1 ;
5
# for (j=0;j<=N;j++) {
6
# S2 ;
7
# }
8
# S3 ;
9
# }
10
11
# language: C
12
c
13
14
# parameters {M, N | M>=1 N >=1}
15
0 2
16
0
17
18
3 # Number of statements
19
20
1
21
# {i | 0<=i<=5 i==j}
22
3 4
23
1 1 0 0
24
1 -1 0 5
25
0 1 -1 0
26
0 0 0
27
28
1
29
# {i | 0<=i<=5 i<=j<=5}
30
4 4
31
1 1 0 0
32
1 -1 0 5
33
1 -1 1 0
34
1 0 -1 5
35
0 0 0
36
37
1
38
# {i | 0<=i<=5 j==5}
39
3 4
40
1 1 0 0
41
1 -1 0 5
42
0 0 1 -5
43
0 0 0
44
0
45
46
0 # Scattering functions