export pet_expr_extract_affine
[pet.git] / tests / scalar_inc.scop
blob1d082656b9e423819e2415dc4eb8d04f55bef9cc
1 start: 22
2 end: 65
3 context: '{  :  }'
4 arrays:
5 - context: '{  :  }'
6   extent: '{ a[] }'
7   element_type: int
8   element_size: 4
9 statements:
10 - line: 6
11   domain: '{ S_0[] }'
12   schedule: '{ S_0[] -> [0] }'
13   body:
14     type: op
15     operation: =
16     arguments:
17     - type: access
18       relation: '{ S_0[] -> a[] }'
19       index: '{ S_0[] -> a[] }'
20       reference: __pet_ref_0
21       read: 0
22       write: 1
23     - type: int
24       value: 5
25 - line: 7
26   domain: '{ S_1[] }'
27   schedule: '{ S_1[] -> [1] }'
28   body:
29     type: op
30     operation: ++
31     arguments:
32     - type: access
33       relation: '{ S_1[] -> a[] }'
34       index: '{ S_1[] -> a[] }'
35       reference: __pet_ref_1
36       read: 1
37       write: 1