update isl for missing include in interface/python.cc
[pet.git] / tests / while.scop
blob9455dfc68d24c176156b57f29d968bb448d4960f
1 context: '[n] -> {  : n <= 2147483647 and n >= -2147483648 }'
2 arrays:
3 - context: '{  :  }'
4   extent: '[n] -> { __pet_test_0[x, t] : x >= 0 and x <= -1 + n and t >= 0 }'
5   value_bounds: '{ [i0] : i0 >= 0 and i0 <= 1 }'
6   element_type: int
7   element_size: 4
8   uniquely_defined: 1
9 - context: '{  :  }'
10   extent: '[n] -> { s[] }'
11   element_type: int
12   element_size: 4
13 statements:
14 - line: 12
15   domain: '[n] -> { S1[x] : x >= 0 and x <= -1 + n }'
16   schedule: '[n] -> { S1[x] -> [0, x, 0] }'
17   body:
18     type: binary
19     operation: =
20     arguments:
21     - type: access
22       relation: '[n] -> { S1[x] -> s[] }'
23       read: 0
24       write: 1
25     - type: call
26       name: f
27 - line: 13
28   domain: '[n] -> { [S_1[x, t] -> [1]] : x >= 0 and x <= -1 + n and t >= 0 }'
29   schedule: '[n] -> { S_1[x, t] -> [0, x, 1, t, 0] }'
30   body:
31     type: binary
32     operation: =
33     arguments:
34     - type: access
35       relation: '[n] -> { S_1[x, t] -> __pet_test_0[x, t] }'
36       read: 0
37       write: 1
38     - type: call
39       name: P
40       arguments:
41       - type: access
42         relation: '[n] -> { S_1[x, t] -> [x] }'
43         read: 1
44         write: 0
45       - type: access
46         relation: '[n] -> { S_1[x, t] -> s[] }'
47         read: 1
48         write: 0
49   arguments:
50   - type: access
51     relation: '[n] -> { S_1[x, t] -> __pet_test_0[x, o1] : o1 >= 0 and o1 <= -1 +
52       t }'
53     read: 1
54     write: 0
55 - line: 14
56   domain: '[n] -> { [S2[x, t] -> [1]] : x >= 0 and x <= -1 + n and t >= 0 }'
57   schedule: '[n] -> { S2[x, t] -> [0, x, 1, t, 1, 0] }'
58   body:
59     type: binary
60     operation: =
61     arguments:
62     - type: access
63       relation: '[n] -> { S2[x, t] -> s[] }'
64       read: 0
65       write: 1
66     - type: call
67       name: g
68       arguments:
69       - type: access
70         relation: '[n] -> { S2[x, t] -> s[] }'
71         read: 1
72         write: 0
73   arguments:
74   - type: access
75     relation: '[n] -> { S2[x, t] -> __pet_test_0[x, o1] : o1 >= 0 and o1 <= t }'
76     read: 1
77     write: 0
78 - line: 16
79   domain: '[n] -> { R[x] : x >= 0 and x <= -1 + n }'
80   schedule: '[n] -> { R[x] -> [0, x, 2] }'
81   body:
82     type: call
83     name: h
84     arguments:
85     - type: access
86       relation: '[n] -> { R[x] -> s[] }'
87       read: 1
88       write: 0