add reference identifiers to all access expressions
[pet.git] / tests / filter3.scop
blob91d0ba98224740462a1a88b2d88a038b0706d0f6
1 start: 51
2 end: 125
3 context: '{  :  }'
4 arrays:
5 - context: '{  :  }'
6   extent: '{ __pet_test_0[] }'
7   value_bounds: '{ [i0] : i0 >= 0 and i0 <= 1 }'
8   element_type: int
9   element_size: 4
10   uniquely_defined: 1
11 - context: '{  :  }'
12   extent: '{ test[i0] : i0 >= 0 }'
13   element_type: int
14   element_size: 4
15 - context: '{  :  }'
16   extent: '{ index[] }'
17   element_type: int
18   element_size: 4
19 statements:
20 - line: 6
21   domain: '{ S_0[] }'
22   schedule: '{ S_0[] -> [0] }'
23   body:
24     type: binary
25     operation: =
26     arguments:
27     - type: access
28       relation: '{ S_0[] -> index[] }'
29       reference: __pet_ref_0
30       read: 0
31       write: 1
32     - type: call
33       name: f
34 - line: 7
35   domain: '{ S_1[] }'
36   schedule: '{ S_1[] -> [1, 0] }'
37   body:
38     type: binary
39     operation: =
40     arguments:
41     - type: access
42       relation: '{ S_1[] -> __pet_test_0[] }'
43       reference: __pet_ref_1
44       read: 0
45       write: 1
46     - type: access
47       relation: '{ [S_1[] -> [i0]] -> test[i0] : i0 >= 0 }'
48       reference: __pet_ref_3
49       read: 1
50       write: 0
51       arguments:
52       - type: access
53         relation: '{ S_1[] -> index[] }'
54         reference: __pet_ref_2
55         read: 1
56         write: 0
57 - line: 8
58   domain: '{ [S_2[] -> [1]] }'
59   schedule: '{ S_2[] -> [1, 1] }'
60   body:
61     type: binary
62     operation: =
63     arguments:
64     - type: access
65       relation: '{ S_2[] -> index[] }'
66       reference: __pet_ref_5
67       read: 0
68       write: 1
69     - type: access
70       relation: '{ S_2[] -> [5] }'
71       reference: __pet_ref_6
72       read: 1
73       write: 0
74   arguments:
75   - type: access
76     relation: '{ S_2[] -> __pet_test_0[] }'
77     reference: __pet_ref_4
78     read: 1
79     write: 0