explicitly mark kill accesses
[pet.git] / tests / autodetect / decl.scop
blobe1145515fb99bc1ced6ac3df29dc355763c777af
1 start: 25
2 end: 53
3 indent: "\t"
4 context: '{  :  }'
5 arrays:
6 - context: '{  :  }'
7   extent: '{ c[] }'
8   element_type: int
9   element_size: 4
10   declared: 1
11   exposed: 1
12 - context: '{  :  }'
13   extent: '{ a[] }'
14   element_type: int
15   element_size: 4
16 - context: '{  :  }'
17   extent: '{ b[] }'
18   element_type: int
19   element_size: 4
20 statements:
21 - line: 5
22   domain: '{ S_0[] }'
23   schedule: '{ S_0[] -> [0] }'
24   body:
25     type: expression
26     expr:
27       type: op
28       operation: =
29       arguments:
30       - type: access
31         index: '{ S_0[] -> a[] }'
32         reference: __pet_ref_0
33         read: 0
34         write: 1
35       - type: int
36         value: 3
37 - line: 6
38   domain: '{ S_1[] }'
39   schedule: '{ S_1[] -> [1, 0] }'
40   body:
41     type: expression
42     expr:
43       type: op
44       operation: kill
45       arguments:
46       - type: access
47         relation: '{ S_1[] -> c[] }'
48         index: '{ S_1[] -> c[] }'
49         reference: __pet_ref_1
50         kill: 1
51 - line: 6
52   domain: '{ S_2[] }'
53   schedule: '{ S_2[] -> [1, 1] }'
54   body:
55     type: expression
56     expr:
57       type: op
58       operation: =
59       arguments:
60       - type: access
61         index: '{ S_2[] -> c[] }'
62         reference: __pet_ref_2
63         read: 0
64         write: 1
65       - type: int
66         value: 5
67 - line: 7
68   domain: '{ S_3[] }'
69   schedule: '{ S_3[] -> [2] }'
70   body:
71     type: expression
72     expr:
73       type: op
74       operation: =
75       arguments:
76       - type: access
77         index: '{ S_3[] -> b[] }'
78         reference: __pet_ref_3
79         read: 0
80         write: 1
81       - type: access
82         index: '{ S_3[] -> [(5)] }'
83         reference: __pet_ref_4
84         read: 1
85         write: 0