repo.or.cz
/
cloog
/
bastoul.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
update isl for isl_basic_set_drop_constraint
[cloog/bastoul.git]
/
test
/
youcefn.cloog
blob
3b7c0e15fee96755acb38402b8d27434a0723d5f
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 {n, m | n>=2 m>=n}
15
2 4
16
1 1 0 -2
17
1 -1 1 0
18
1
19
n m
20
21
3 # Number of statements
22
23
1
24
# {i | 0<=i<=n i==j}
25
3 6
26
1 1 0 0 0 -1
27
1 -1 0 1 0 0
28
0 1 -1 0 0 0
29
0 0 0
30
31
1
32
# {i | 0<=i<=n i<=j<=n}
33
4 6
34
1 1 0 0 0 -1
35
1 -1 0 1 0 0
36
1 -1 1 0 0 0
37
1 0 -1 1 0 0
38
0 0 0
39
40
1
41
# {i | 0<=i<=m j==n}
42
3 6
43
1 1 0 0 0 -1
44
1 -1 0 0 1 0
45
0 0 1 -1 0 0
46
0 0 0
47
0
48
49
0 # Scattering functions