support modulo operation in statements
[pet.git] / tests / break.scop
blob045b7dd0718b5510b12b582cb1bfc2dc1a5ee520
1 context: '{  :  }'
2 arrays:
3 - context: '{  :  }'
4   extent: '{ a[i0] : i0 >= 0 and i0 <= 99 }'
5   element_type: int
6   element_size: 4
7 statements:
8 - line: 8
9   domain: '{ S_0[i, j] : j >= 0 and j <= i and i <= 99 }'
10   schedule: '{ S_0[i, j] -> [0, i, j, 0] }'
11   body:
12     type: binary
13     operation: =
14     arguments:
15     - type: access
16       relation: '{ S_0[i, j] -> a[i] }'
17       read: 0
18       write: 1
19     - type: access
20       relation: '{ S_0[i, j] -> [0] }'
21       read: 1
22       write: 0
23 - line: 11
24   domain: '{ S_1[i, j] : j >= 0 and j <= -1 + i and i <= 99 }'
25   schedule: '{ S_1[i, j] -> [0, i, j, 2] }'
26   body:
27     type: binary
28     operation: =
29     arguments:
30     - type: access
31       relation: '{ S_1[i, j] -> a[i] }'
32       read: 0
33       write: 1
34     - type: binary
35       operation: +
36       arguments:
37       - type: access
38         relation: '{ S_1[i, j] -> [i] }'
39         read: 1
40         write: 0
41       - type: access
42         relation: '{ S_1[i, j] -> [j] }'
43         read: 1
44         write: 0