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