summaryrefslogtreecommitdiff
path: root/test/nul_basic1.cloog
blob: 878bd89c5ec0937db39e1e84a47844f5e3cc2e50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Optimal code is in fact :
#
# for (i=0;i<=M;i+=2) {
#   S1 ;
# }
 
# language: C
c

# parameter n
1 3
#  n  1
1  0  1
0

1 # Number of statements

1
# {i, j | i=2*j; 0<=i<=n}
3 5
#  i  j  n  1
0  1 -2  0  0
1  1  0  0  0
1 -1  0  1  0
0  0  0
0

0 # Scattering functions