pet_scop_from_pet_stmt: do not extract context from kill statements
[pet.git] / tests / decl2.scop
blob8f776acc4179a5306626dcaec75650b94ac2c887
1 start: 18
2 end: 69
3 indent: "\t"
4 context: '{  :  }'
5 arrays:
6 - context: '[N] -> {  : N >= 0 }'
7   extent: '[N] -> { A[i0] : i0 >= 0 and i0 <= -1 + N }'
8   element_type: int
9   element_size: 4
10   declared: 1
11   exposed: 1
12 statements:
13 - line: 4
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         relation: '[N] -> { S_0[] -> A[o0] : o0 >= 0 and o0 <= -1 + N }'
24         index: '{ S_0[] -> A[] }'
25         reference: __pet_ref_0
26         read: 0
27         write: 0
28 - line: 5
29   domain: '{ S_1[] }'
30   schedule: '{ S_1[] -> [1] }'
31   body:
32     type: expression
33     expr:
34       type: op
35       operation: =
36       arguments:
37       - type: access
38         relation: '{ S_1[] -> A[0] }'
39         index: '{ S_1[] -> A[(0)] }'
40         reference: __pet_ref_1
41         read: 0
42         write: 1
43       - type: int
44         value: 1