pet_scop_collect_domains: properly handle statements with arguments
[pet.git] / tests / call4.scop
blob893f9e8ba99d5ab774775c209d8e78733906b986
1 start: 100
2 end: 147
3 indent: "\t"
4 context: '{  :  }'
5 arrays:
6 - context: '{  :  }'
7   extent: '{ s[] }'
8   element_type: int
9   element_size: 4
10   declared: 1
11   exposed: 1
12 statements:
13 - line: 14
14   domain: '{ S_0[] }'
15   schedule: '{ S_0[] -> [0] }'
16   body:
17     type: expression
18     expr:
19       type: op
20       operation: kill
21       arguments:
22       - type: access
23         killed: '{ S_0[] -> s[] }'
24         index: '{ S_0[] -> s[] }'
25         reference: __pet_ref_0
26         kill: 1
27 - line: 15
28   domain: '{ S_1[] }'
29   schedule: '{ S_1[] -> [1] }'
30   body:
31     type: expression
32     expr:
33       type: call
34       name: foo
35       arguments:
36       - type: op
37         operation: '&'
38         arguments:
39         - type: access
40           may_read: '{ S_1[] -> s[] }'
41           may_write: '{ S_1[] -> s[] }'
42           must_write: '{  }'
43           index: '{ S_1[] -> s[] }'
44           reference: __pet_ref_1
45           read: 1
46           write: 1