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