keep track of indentation of extracted code
[pet.git] / tests / dynamic_condition.scop
blob679dc30715e58a7cf1d7731656d8e0a01a37f044
1 start: 50
2 end: 174
3 indent: '    '
4 context: '{  :  }'
5 arrays:
6 - context: '{  :  }'
7   extent: '{ a[i0] : i0 >= 0 and i0 <= 99 }'
8   element_type: int
9   element_size: 4
10 - context: '{  :  }'
11   extent: '{ j[] }'
12   element_type: int
13   element_size: 4
14 statements:
15 - line: 9
16   domain: '{ S_0[i] : i >= 0 and i <= 99 }'
17   schedule: '{ S_0[i] -> [0, i, 0] }'
18   body:
19     type: op
20     operation: =
21     arguments:
22     - type: access
23       relation: '{ S_0[i] -> j[] }'
24       index: '{ S_0[i] -> j[] }'
25       reference: __pet_ref_0
26       read: 0
27       write: 1
28     - type: call
29       name: f
30 - line: 12
31   domain: '{ [S_1[i] -> [j]] : i >= 0 and i <= 99 and j <= 1 and j >= 0 }'
32   schedule: '{ S_1[i] -> [0, i, 1, 0] }'
33   body:
34     type: op
35     operation: =
36     arguments:
37     - type: access
38       relation: '{ S_1[i] -> a[i] }'
39       index: '{ S_1[i] -> a[(i)] }'
40       reference: __pet_ref_2
41       read: 0
42       write: 1
43     - type: access
44       relation: '{ S_1[i] -> [i] }'
45       index: '{ S_1[i] -> [(i)] }'
46       reference: __pet_ref_3
47       read: 1
48       write: 0
49   arguments:
50   - type: access
51     relation: '{ S_1[i] -> j[] }'
52     index: '{ S_1[i] -> j[] }'
53     reference: __pet_ref_1
54     read: 1
55     write: 0