CLooG 0.18.4
[cloog.git] / test / uday_scalars.cloog
blob8da09d441c159612a72e3503034829dd40f002ca
1 # Langage: C
4 # Context (1 parameter)
5 # no constraints on parameters:
6 1 3
7    1    0    1
8 1 # Parameter name(s)
11 # Statement number:
14 # Iteration domain of statement 1.
15 1 # 1 domain
16 4 6 # 4 lines and 6 columns
17 #       j    l    m    n    cst
18    1    1    0    0    0    0    # j >= 0
19    1   -1    0    0    1    0    # j <= N
20    0    0    1    0    0    0    # l = 0
21    0    0    0    1    0    0    # m = 0
22 0 0 0 # For future options.
24 # Iteration domain of statement 2.
25 1 # 1 domain
26 4 6 # 4 lines and 6 columns
27 #       j    l    m    n    cst
28    1    0    1    0    0    0    # l >= 0
29    1    0   -1    0    1    0    # l <= N
30    0    1    0    0    0    0    # j = 0
31    0    0    0    1    0    0    # m = 0
32 0 0 0 # For future options.
35 1 # Iterator name(s)
36 j l m 
38 # 1 scattering functions.
40 # First function
41 4 10
42 #       p1   p2   p3  p4   j    l    m    n    cst
43    0    1    0    0   0    0    0    0    0    0    # p1 = 0
44    0    0    1    0   0    0    0    0    0   -1    # p2 = 1
45    0    0    0    1   0   -1    0    0    0    0    # p3 = j
46    0    0    0    0   1    0    0    0    0    0    # p4 = 0
48 # Second function
49 4 10
50 #       p1   p2   p3  p4   j    l    m    n    cst
51    0    1    0    0   0    0    0    0    0   -1    # p1 = 1
52    0    0    1    0   0    0    0    0    0    0    # p2 = 0
53    0    0    0    1   0    0   -1    0    0    0    # p3 = l
54    0    0    0    0   1    0    0    0    0   -1    # p4 = 1
56 1 # set scattering dimension names manually
57 p1 p2 p3 p4