buildtools/cloog/test/manual_basic.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

32 lines
951 B
Plaintext

# ---------------------- CONTEXT ----------------------
c # language is C
1 # Context (constraints on two parameters)
2 4 # 2 lines and 4 columns
# eq/in m n 1
1 1 0 -2 # 1*m + 0*n -2*1 >= 0, i.e. m>=2
1 0 1 -2 # 0*m + 1*n -2*1 >= 0, i.e. n>=2
1 # We want to set manually the parameter names
m n # parameter names
# --------------------- STATEMENTS --------------------
1 # Number of statements
1 # First statement: one domain
# First domain
5 6 # 5 lines and 6 columns
# eq/in i j m n 1
1 1 0 0 0 -2 # i >= 2
1 -1 0 0 1 0 # i <= n
1 0 1 0 0 -2 # j >= 2
1 0 -1 1 0 0 # j <= m
1 -1 -1 0 1 2 # n+2-i>=j
0 0 0 # for future options
1 # We want to set manually the iterator names
i j # iterator names
# --------------------- SCATTERING --------------------
0 # No scattering functions