keep track of indentation of extracted code
[pet.git] / tests / forward_substitution3.scop
blobacfd29455366d955f423a76411f4f495c7832262
1 start: 25
2 end: 97
3 indent: "\t"
4 context: '{  :  }'
5 arrays:
6 - context: '{  :  }'
7   extent: '{ b[] }'
8   element_type: int
9   element_size: 4
10   declared: 1
11   exposed: 1
12 - context: '{  :  }'
13   extent: '{ c[] }'
14   element_type: int
15   element_size: 4
16   declared: 1
17   exposed: 1
18 - context: '{  :  }'
19   extent: '{ a[i0] : i0 >= 0 and i0 <= 9 }'
20   element_type: int
21   element_size: 4
22 statements:
23 - line: 5
24   domain: '{ S_0[] }'
25   schedule: '{ S_0[] -> [0, 0] }'
26   body:
27     type: op
28     operation: kill
29     arguments:
30     - type: access
31       relation: '{ S_0[] -> b[] }'
32       index: '{ S_0[] -> b[] }'
33       reference: __pet_ref_0
34       read: 0
35       write: 0
36 - line: 5
37   domain: '{ S_1[] }'
38   schedule: '{ S_1[] -> [0, 1] }'
39   body:
40     type: op
41     operation: =
42     arguments:
43     - type: access
44       relation: '{ S_1[] -> b[] }'
45       index: '{ S_1[] -> b[] }'
46       reference: __pet_ref_1
47       read: 0
48       write: 1
49     - type: int
50       value: 1
51 - line: 6
52   domain: '{ S_2[] }'
53   schedule: '{ S_2[] -> [1, 0] }'
54   body:
55     type: op
56     operation: kill
57     arguments:
58     - type: access
59       relation: '{ S_2[] -> c[] }'
60       index: '{ S_2[] -> c[] }'
61       reference: __pet_ref_2
62       read: 0
63       write: 0
64 - line: 6
65   domain: '{ S_3[] }'
66   schedule: '{ S_3[] -> [1, 1] }'
67   body:
68     type: op
69     operation: =
70     arguments:
71     - type: access
72       relation: '{ S_3[] -> c[] }'
73       index: '{ S_3[] -> c[] }'
74       reference: __pet_ref_3
75       read: 0
76       write: 1
77     - type: access
78       relation: '{ S_3[] -> [1] }'
79       index: '{ S_3[] -> [(1)] }'
80       reference: __pet_ref_4
81       read: 1
82       write: 0
83 - line: 7
84   domain: '{ S_4[] }'
85   schedule: '{ S_4[] -> [2] }'
86   body:
87     type: op
88     operation: =
89     arguments:
90     - type: access
91       relation: '{ S_4[] -> b[] }'
92       index: '{ S_4[] -> b[] }'
93       reference: __pet_ref_5
94       read: 0
95       write: 1
96     - type: int
97       value: 2
98 - line: 8
99   domain: '{ S_5[] }'
100   schedule: '{ S_5[] -> [3] }'
101   body:
102     type: op
103     operation: =
104     arguments:
105     - type: access
106       relation: '{ S_5[] -> a[1] }'
107       index: '{ S_5[] -> a[(1)] }'
108       reference: __pet_ref_6
109       read: 0
110       write: 1
111     - type: int
112       value: 5