export pet_expr_extract_affine
[pet.git] / tests / break.scop
blobd9e4faf515b27d625a589a1dc4d77132be4c28c2
1 start: 33
2 end: 179
3 context: '{  :  }'
4 arrays:
5 - context: '{  :  }'
6   extent: '{ a[i0] : i0 >= 0 and i0 <= 99 }'
7   element_type: int
8   element_size: 4
9 statements:
10 - line: 8
11   domain: '{ S_0[i, j] : i >= 0 and i <= 99 and j >= 0 and j <= 99 and j <= i }'
12   schedule: '{ S_0[i, j] -> [0, i, j, 0] }'
13   body:
14     type: op
15     operation: =
16     arguments:
17     - type: access
18       relation: '{ S_0[i, j] -> a[i] }'
19       index: '{ S_0[i, j] -> a[(i)] }'
20       reference: __pet_ref_0
21       read: 0
22       write: 1
23     - type: int
24       value: 0
25 - line: 11
26   domain: '{ S_1[i, j] : i >= 0 and i <= 99 and j >= 0 and j <= 99 and j <= -1 + i
27     }'
28   schedule: '{ S_1[i, j] -> [0, i, j, 2] }'
29   body:
30     type: op
31     operation: =
32     arguments:
33     - type: access
34       relation: '{ S_1[i, j] -> a[i] }'
35       index: '{ S_1[i, j] -> a[(i)] }'
36       reference: __pet_ref_1
37       read: 0
38       write: 1
39     - type: op
40       operation: +
41       arguments:
42       - type: access
43         relation: '{ S_1[i, j] -> [i] }'
44         index: '{ S_1[i, j] -> [(i)] }'
45         reference: __pet_ref_2
46         read: 1
47         write: 0
48       - type: access
49         relation: '{ S_1[i, j] -> [j] }'
50         index: '{ S_1[i, j] -> [(j)] }'
51         reference: __pet_ref_3
52         read: 1
53         write: 0