push affine conditions into index expressions
[pet.git] / tests / label2.scop
blob3b974bfd3bd2ad4fbbd307b62e65a37300173975
1 start: 30
2 end: 96
3 indent: 
4 context: '{  :  }'
5 schedule: '{ domain: "{ S_0[i] : 0 <= i <= 9; S_2[]; S_1[] }", child: { sequence:
6   [ { filter: "{ S_0[i] }", child: { schedule: "L[{ S_0[i] -> [(i)] }]" } }, { filter:
7   "{ S_2[]; S_1[] }", child: { set: [ { filter: "{ S_1[] }" }, { filter: "{ S_2[]
8   }" } ] } } ] } }'
9 arrays:
10 - context: '{  :  }'
11   extent: '{ a[] }'
12   element_type: int
13   element_size: 4
14 - context: '{  :  }'
15   extent: '{ i[] }'
16   element_type: int
17   element_size: 4
18 statements:
19 - line: 8
20   domain: '{ S_0[i] : 0 <= i <= 9 }'
21   body:
22     type: expression
23     expr:
24       type: op
25       operation: =
26       arguments:
27       - type: access
28         index: '{ S_0[i] -> a[] }'
29         reference: __pet_ref_0
30         read: 0
31         write: 1
32       - type: int
33         value: 5
34 - line: -1
35   domain: '{ S_1[] }'
36   body:
37     type: expression
38     expr:
39       type: op
40       operation: kill
41       arguments:
42       - type: access
43         killed: '{ S_1[] -> i[] }'
44         index: '{ S_1[] -> i[] }'
45         reference: __pet_ref_1
46         kill: 1
47 - line: -1
48   domain: '{ S_2[] }'
49   body:
50     type: expression
51     expr:
52       type: op
53       operation: kill
54       arguments:
55       - type: access
56         killed: '{ S_2[] -> a[] }'
57         index: '{ S_2[] -> a[] }'
58         reference: __pet_ref_2
59         kill: 1