privately export pet_stmt_is_affine_assume
[pet.git] / tests / scalar_inc.scop
blob960848e742bd1b84b08757b5ac0cdf67faf86f5a
1 start: 22
2 end: 65
3 indent: "\t"
4 context: '{  :  }'
5 schedule: '{ domain: "{ S_0[]; S_2[]; S_1[] }", child: { sequence: [ { filter: "{
6   S_0[] }" }, { filter: "{ S_1[] }" }, { filter: "{ S_2[] }" } ] } }'
7 arrays:
8 - context: '{  :  }'
9   extent: '{ a[] }'
10   element_type: int
11   element_size: 4
12 statements:
13 - line: 6
14   domain: '{ S_0[] }'
15   body:
16     type: expression
17     expr:
18       type: op
19       operation: =
20       arguments:
21       - type: access
22         index: '{ S_0[] -> a[] }'
23         reference: __pet_ref_0
24         read: 0
25         write: 1
26       - type: int
27         value: 5
28 - line: 7
29   domain: '{ S_1[] }'
30   body:
31     type: expression
32     expr:
33       type: op
34       operation: ++
35       arguments:
36       - type: access
37         index: '{ S_1[] -> a[] }'
38         reference: __pet_ref_1
39         read: 1
40         write: 1
41 - line: -1
42   domain: '{ S_2[] }'
43   body:
44     type: expression
45     expr:
46       type: op
47       operation: kill
48       arguments:
49       - type: access
50         killed: '{ S_2[] -> a[] }'
51         index: '{ S_2[] -> a[] }'
52         reference: __pet_ref_2
53         kill: 1