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
CLooG 0.18.4
[cloog.git]
/
test
/
nul_basic2.cloog
blob
bf3c78c169ae7d20f105eb5b3eee312e88fd7ba7
1
# Optimal code is in fact :
2
#
3
# for (i=0;i<=M;i+=2) {
4
# S1 ;
5
# }
6
7
# language: C
8
c
9
10
# parameter n
11
1 3
12
# n 1
13
1 1 -2
14
1
15
n
16
17
2 # Number of statements
18
19
1
20
# {i, j | i=2*j; 1<=i<=n}
21
3 5
22
# i j n 1
23
0 1 -2 0 0
24
1 1 0 0 -1
25
1 -1 0 1 0
26
0 0 0
27
28
1
29
# {i, j | i=4*j; 1<=i<=n}
30
3 5
31
# i j n 1
32
0 1 -4 0 0
33
1 1 0 0 -1
34
1 -1 0 1 0
35
0 0 0
36
0
37
38
0 # Scattering functions
39
5 10
40
# t1 t2 t3 t4 t5 i j n 1
41
0 1 0 0 0 0 0 0 0 0
42
0 0 1 0 0 0 -1 0 0 0
43
0 0 0 1 0 0 0 0 0 0
44
0 0 0 0 1 0 0 -1 0 0
45
0 0 0 0 0 1 0 0 0 0
46
47
5 10
48
# t1 t2 t3 t4 t5 i j n 1
49
0 1 0 0 0 0 0 0 0 0
50
0 0 1 0 0 0 -1 0 0 0
51
0 0 0 1 0 0 0 0 0 0
52
0 0 0 0 1 0 0 -1 0 0
53
0 0 0 0 0 1 0 0 0 0
54
0