keep track of indentation of extracted code
[pet.git] / tests / dynamic_bound.scop
blob203acd2609f9c0d875cd9a951bc7838d8f3cf273
1 start: 143
2 end: 351
3 indent: "\t"
4 context: '{  :  }'
5 arrays:
6 - context: '{  :  }'
7   extent: '{ M[] }'
8   value_bounds: '{ [i0] : i0 >= 0 and i0 <= 100 }'
9   element_type: int
10   element_size: 4
11 - context: '{  :  }'
12   extent: '{ N[] }'
13   value_bounds: '{ [i0] : i0 >= 0 and i0 <= 100 }'
14   element_type: int
15   element_size: 4
16 - context: '{  :  }'
17   extent: '{ a[i0, i1] : i0 >= 0 and i1 >= 0 and i0 <= 99 and i1 <= 99 }'
18   element_type: int
19   element_size: 4
20 statements:
21 - line: 13
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[] -> N[] }'
30       index: '{ S_0[] -> N[] }'
31       reference: __pet_ref_0
32       read: 0
33       write: 1
34     - type: call
35       name: f
36 - line: 14
37   domain: '{ S_1[] }'
38   schedule: '{ S_1[] -> [1] }'
39   body:
40     type: op
41     operation: =
42     arguments:
43     - type: access
44       relation: '{ S_1[] -> M[] }'
45       index: '{ S_1[] -> M[] }'
46       reference: __pet_ref_1
47       read: 0
48       write: 1
49     - type: call
50       name: g
51 - line: 17
52   domain: '{ [S_2[i, j] -> [N, M]] : i >= 0 and j >= 0 and N >= 1 + i and M >= 1 +
53     j }'
54   schedule: '{ S_2[i, j] -> [2, i, j] }'
55   body:
56     type: op
57     operation: =
58     arguments:
59     - type: access
60       relation: '{ S_2[i, j] -> a[i, j] }'
61       index: '{ S_2[i, j] -> a[(i), (j)] }'
62       reference: __pet_ref_4
63       read: 0
64       write: 1
65     - type: op
66       operation: +
67       arguments:
68       - type: access
69         relation: '{ S_2[i, j] -> [i] }'
70         index: '{ S_2[i, j] -> [(i)] }'
71         reference: __pet_ref_5
72         read: 1
73         write: 0
74       - type: access
75         relation: '{ S_2[i, j] -> [j] }'
76         index: '{ S_2[i, j] -> [(j)] }'
77         reference: __pet_ref_6
78         read: 1
79         write: 0
80   arguments:
81   - type: access
82     relation: '{ S_2[i, j] -> N[] }'
83     index: '{ S_2[i, j] -> N[] }'
84     reference: __pet_ref_2
85     read: 1
86     write: 0
87   - type: access
88     relation: '{ S_2[i, j] -> M[] }'
89     index: '{ S_2[i, j] -> M[] }'
90     reference: __pet_ref_3
91     read: 1
92     write: 0
93 - line: 20
94   domain: '{ [S_3[i, j] -> [N, M]] : i >= 0 and j >= 0 and N >= 1 + i and M >= 1 +
95     j }'
96   schedule: '{ S_3[i, j] -> [3, i, j] }'
97   body:
98     type: call
99     name: h
100     arguments:
101     - type: access
102       relation: '{ S_3[i, j] -> [i] }'
103       index: '{ S_3[i, j] -> [(i)] }'
104       reference: __pet_ref_9
105       read: 1
106       write: 0
107     - type: access
108       relation: '{ S_3[i, j] -> [j] }'
109       index: '{ S_3[i, j] -> [(j)] }'
110       reference: __pet_ref_10
111       read: 1
112       write: 0
113     - type: access
114       relation: '{ S_3[i, j] -> a[i, j] }'
115       index: '{ S_3[i, j] -> a[(i), (j)] }'
116       reference: __pet_ref_11
117       read: 1
118       write: 0
119   arguments:
120   - type: access
121     relation: '{ S_3[i, j] -> N[] }'
122     index: '{ S_3[i, j] -> N[] }'
123     reference: __pet_ref_7
124     read: 1
125     write: 0
126   - type: access
127     relation: '{ S_3[i, j] -> M[] }'
128     index: '{ S_3[i, j] -> M[] }'
129     reference: __pet_ref_8
130     read: 1
131     write: 0