buildtools/cloog/test/youcefn.cloog
Jerome Duval 5873a060ca imported PPL 0.11.1 and CLooG 0.18.0.
* these are dependencies for gcc 4 Graphite engine build.
* CLooG 0.18.0 includes ISL 0.11.1 which is the backend that the build script enables.
* PPL is needed by GCC build even if it isn't the chosen backend.
2013-04-06 15:10:34 +02:00

50 lines
537 B
Plaintext

# Optimal code is in fact :
#
# for (i=0;i<=M;i++) {
# S1 ;
# for (j=0;j<=N;j++) {
# S2 ;
# }
# S3 ;
# }
# language: C
c
# parameters {n, m | n>=2 m>=n}
2 4
1 1 0 -2
1 -1 1 0
1
n m
3 # Number of statements
1
# {i | 0<=i<=n i==j}
3 6
1 1 0 0 0 -1
1 -1 0 1 0 0
0 1 -1 0 0 0
0 0 0
1
# {i | 0<=i<=n i<=j<=n}
4 6
1 1 0 0 0 -1
1 -1 0 1 0 0
1 -1 1 0 0 0
1 0 -1 1 0 0
0 0 0
1
# {i | 0<=i<=m j==n}
3 6
1 1 0 0 0 -1
1 -1 0 0 1 0
0 0 1 -1 0 0
0 0 0
0
0 # Scattering functions