privately export pet_expr_access_get_dependent_access
[pet.git] / tests / forward_substitution2.scop
blobac9ee77fb8c549b67eddfe7f9bed02cf00c587c3
1 start: 36
2 end: 92
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: '{ N[] }'
10   element_type: int
11   element_size: 4
12 - context: '{  :  }'
13   extent: '{ a[i0] : i0 >= 0 and i0 <= 9 }'
14   element_type: int
15   element_size: 4
16 - context: '{  :  }'
17   extent: '{ c[] }'
18   element_type: int
19   element_size: 4
20 statements:
21 - line: 5
22   domain: '{ S_0[] }'
23   body:
24     type: expression
25     expr:
26       type: op
27       operation: =
28       arguments:
29       - type: access
30         index: '{ S_0[] -> c[] }'
31         reference: __pet_ref_0
32         read: 0
33         write: 1
34       - type: access
35         index: '{ S_0[] -> N[] }'
36         reference: __pet_ref_1
37         read: 1
38         write: 0
39 - line: 6
40   domain: '{ S_1[] }'
41   body:
42     type: expression
43     expr:
44       type: op
45       operation: =
46       arguments:
47       - type: access
48         index: '{ S_1[] -> N[] }'
49         reference: __pet_ref_2
50         read: 0
51         write: 1
52       - type: int
53         value: 2
54 - line: 7
55   domain: '{ S_2[] }'
56   body:
57     type: expression
58     expr:
59       type: op
60       operation: =
61       arguments:
62       - type: access
63         index: '{ [S_2[] -> [i0]] -> a[((i0) : i0 >= 0)] }'
64         reference: __pet_ref_4
65         read: 0
66         write: 1
67         arguments:
68         - type: access
69           index: '{ S_2[] -> c[] }'
70           reference: __pet_ref_3
71           read: 1
72           write: 0
73       - type: int
74         value: 5