1 \e[33mORIGINAL SCOP:
\e[00m
5 # =============================================== Global
13 # Parameters are provided
19 # Number of statements
22 # =============================================== Statement 1
23 # Number of relations describing the statement:
26 # ---------------------------------------------- 1.1 Domain
34 # ---------------------------------------------- 1.2 Scattering
37 # e/i| c1 c2 c3 | i | n | 1
38 0 -1 0 0 0 0 0 ## c1 == 0
39 0 0 -1 0 1 0 0 ## c2 == i
40 0 0 0 -1 0 0 0 ## c3 == 0
42 # ---------------------------------------------- 1.3 Access
45 # e/i| Arr [1]| i | n | 1
46 0 -1 0 0 0 3 ## Arr == c
47 0 0 -1 1 0 0 ## [1] == i
49 # ---------------------------------------------- 1.4 Statement Extensions
50 # Number of Statement Extensions
53 # Number of original iterators
55 # List of original iterators
57 # Statement body expression
61 # =============================================== Statement 2
62 # Number of relations describing the statement:
65 # ---------------------------------------------- 2.1 Domain
69 1 1 0 0 -1 ## i-1 >= 0
70 1 -1 0 1 0 ## -i+n >= 0
71 1 0 0 1 -1 ## n-1 >= 0
72 1 0 1 0 -1 ## j-1 >= 0
73 1 0 -1 1 0 ## -j+n >= 0
75 # ---------------------------------------------- 2.2 Scattering
78 # e/i| c1 c2 c3 c4 c5 | i j | n | 1
79 0 -1 0 0 0 0 0 0 0 1 ## c1 == 1
80 0 0 -1 0 0 0 1 0 0 0 ## c2 == i
81 0 0 0 -1 0 0 0 0 0 0 ## c3 == 0
82 0 0 0 0 -1 0 0 1 0 0 ## c4 == j
83 0 0 0 0 0 -1 0 0 0 0 ## c5 == 0
85 # ---------------------------------------------- 2.3 Access
88 # e/i| Arr [1]| i j | n | 1
89 0 -1 0 0 0 0 3 ## Arr == c
90 0 0 -1 1 0 0 0 ## [1] == i
94 # e/i| Arr [1]| i j | n | 1
95 0 -1 0 0 0 0 3 ## Arr == c
96 0 0 -1 1 0 0 0 ## [1] == i
100 # e/i| Arr [1] [2]| i j | n | 1
101 0 -1 0 0 0 0 0 5 ## Arr == a
102 0 0 -1 0 1 0 0 0 ## [1] == i
103 0 0 0 -1 0 1 0 0 ## [2] == j
107 # e/i| Arr [1]| i j | n | 1
108 0 -1 0 0 0 0 6 ## Arr == b
109 0 0 -1 0 1 0 0 ## [1] == j
111 # ---------------------------------------------- 2.4 Statement Extensions
112 # Number of Statement Extensions
115 # Number of original iterators
117 # List of original iterators
119 # Statement body expression
120 c[i] += a[i][j] * b[j] ;
123 # =============================================== Extensions
125 # Number of dependences
127 # Description of dependence 1
130 # From source statement id
132 # To target statement id
136 # From source access ref
138 # To target access ref
143 # e/i| c1 c2 c3 | i1 i2 i3 i4 | P1 | 1
144 1 1 0 0 0 0 0 0 0 -1 ## c1-1 >= 0
145 1 -1 0 0 0 0 0 0 1 0 ## -c1+P1 >= 0
146 1 0 0 0 0 0 0 0 1 -1 ## P1-1 >= 0
147 1 0 0 0 1 0 0 0 0 -1 ## i1-1 >= 0
148 1 0 0 0 -1 0 0 0 1 0 ## -i1+P1 >= 0
149 1 0 0 0 0 0 0 0 1 -1 ## P1-1 >= 0
150 1 0 0 0 0 1 0 0 0 -1 ## i2-1 >= 0
151 1 0 0 0 0 -1 0 0 1 0 ## -i2+P1 >= 0
152 0 0 -1 0 0 0 0 0 0 3 ## c2 == 3
153 0 1 0 -1 0 0 0 0 0 0 ## c1-c3 == 0
154 0 0 0 0 0 0 1 0 0 -3 ## i3-3 == 0
155 0 0 0 0 -1 0 0 1 0 0 ## -i1+i4 == 0
156 0 0 -1 0 0 0 1 0 0 0 ## c2 == i3
157 0 0 0 -1 0 0 0 1 0 0 ## c3 == i4
158 # Description of dependence 2
161 # From source statement id
163 # To target statement id
167 # From source access ref
169 # To target access ref
174 # e/i| c1 c2 c3 | i1 i2 i3 i4 | P1 | 1
175 1 1 0 0 0 0 0 0 0 -1 ## c1-1 >= 0
176 1 -1 0 0 0 0 0 0 1 0 ## -c1+P1 >= 0
177 1 0 0 0 0 0 0 0 1 -1 ## P1-1 >= 0
178 1 0 0 0 1 0 0 0 0 -1 ## i1-1 >= 0
179 1 0 0 0 -1 0 0 0 1 0 ## -i1+P1 >= 0
180 1 0 0 0 0 0 0 0 1 -1 ## P1-1 >= 0
181 1 0 0 0 0 1 0 0 0 -1 ## i2-1 >= 0
182 1 0 0 0 0 -1 0 0 1 0 ## -i2+P1 >= 0
183 0 0 -1 0 0 0 0 0 0 3 ## c2 == 3
184 0 1 0 -1 0 0 0 0 0 0 ## c1-c3 == 0
185 0 0 0 0 0 0 1 0 0 -3 ## i3-3 == 0
186 0 0 0 0 -1 0 0 1 0 0 ## -i1+i4 == 0
187 0 0 -1 0 0 0 1 0 0 0 ## c2 == i3
188 0 0 0 -1 0 0 0 1 0 0 ## c3 == i4
189 # Description of dependence 3
192 # From source statement id
194 # To target statement id
198 # From source access ref
200 # To target access ref
205 # e/i| c1 c2 c3 c4 | i1 i2 i3 i4 | P1 | 1
206 1 1 0 0 0 0 0 0 0 0 -1 ## c1-1 >= 0
207 1 -1 0 0 0 0 0 0 0 1 0 ## -c1+P1 >= 0
208 1 0 0 0 0 0 0 0 0 1 -1 ## P1-1 >= 0
209 1 0 1 0 0 0 0 0 0 0 -1 ## c2-1 >= 0
210 1 0 -1 0 0 0 0 0 0 1 0 ## -c2+P1 >= 0
211 1 0 0 0 0 1 0 0 0 0 -1 ## i1-1 >= 0
212 1 0 0 0 0 -1 0 0 0 1 0 ## -i1+P1 >= 0
213 1 0 0 0 0 0 0 0 0 1 -1 ## P1-1 >= 0
214 1 0 0 0 0 0 1 0 0 0 -1 ## i2-1 >= 0
215 1 0 0 0 0 0 -1 0 0 1 0 ## -i2+P1 >= 0
216 0 0 0 -1 0 0 0 0 0 0 3 ## c3 == 3
217 0 1 0 0 -1 0 0 0 0 0 0 ## c1-c4 == 0
218 0 0 0 0 0 0 0 1 0 0 -3 ## i3-3 == 0
219 0 0 0 0 0 -1 0 0 1 0 0 ## -i1+i4 == 0
220 0 0 0 -1 0 0 0 1 0 0 0 ## c3 == i3
221 0 0 0 0 -1 0 0 0 1 0 0 ## c4 == i4
222 0 -1 0 0 0 1 0 0 0 0 0 ## c1 == i1
223 1 0 -1 0 0 0 1 0 0 0 -1 ## -c2+i2-1 >= 0
224 # Description of dependence 4
227 # From source statement id
229 # To target statement id
233 # From source access ref
235 # To target access ref
240 # e/i| c1 c2 c3 c4 | i1 i2 i3 i4 | P1 | 1
241 1 1 0 0 0 0 0 0 0 0 -1 ## c1-1 >= 0
242 1 -1 0 0 0 0 0 0 0 1 0 ## -c1+P1 >= 0
243 1 0 0 0 0 0 0 0 0 1 -1 ## P1-1 >= 0
244 1 0 1 0 0 0 0 0 0 0 -1 ## c2-1 >= 0
245 1 0 -1 0 0 0 0 0 0 1 0 ## -c2+P1 >= 0
246 1 0 0 0 0 1 0 0 0 0 -1 ## i1-1 >= 0
247 1 0 0 0 0 -1 0 0 0 1 0 ## -i1+P1 >= 0
248 1 0 0 0 0 0 0 0 0 1 -1 ## P1-1 >= 0
249 1 0 0 0 0 0 1 0 0 0 -1 ## i2-1 >= 0
250 1 0 0 0 0 0 -1 0 0 1 0 ## -i2+P1 >= 0
251 0 0 0 -1 0 0 0 0 0 0 3 ## c3 == 3
252 0 1 0 0 -1 0 0 0 0 0 0 ## c1-c4 == 0
253 0 0 0 0 0 0 0 1 0 0 -3 ## i3-3 == 0
254 0 0 0 0 0 -1 0 0 1 0 0 ## -i1+i4 == 0
255 0 0 0 -1 0 0 0 1 0 0 0 ## c3 == i3
256 0 0 0 0 -1 0 0 0 1 0 0 ## c4 == i4
257 0 -1 0 0 0 1 0 0 0 0 0 ## c1 == i1
258 1 0 -1 0 0 0 1 0 0 0 -1 ## -c2+i2-1 >= 0
259 # Description of dependence 5
262 # From source statement id
264 # To target statement id
268 # From source access ref
270 # To target access ref
275 # e/i| c1 c2 c3 c4 | i1 i2 i3 i4 | P1 | 1
276 1 1 0 0 0 0 0 0 0 0 -1 ## c1-1 >= 0
277 1 -1 0 0 0 0 0 0 0 1 0 ## -c1+P1 >= 0
278 1 0 0 0 0 0 0 0 0 1 -1 ## P1-1 >= 0
279 1 0 1 0 0 0 0 0 0 0 -1 ## c2-1 >= 0
280 1 0 -1 0 0 0 0 0 0 1 0 ## -c2+P1 >= 0
281 1 0 0 0 0 1 0 0 0 0 -1 ## i1-1 >= 0
282 1 0 0 0 0 -1 0 0 0 1 0 ## -i1+P1 >= 0
283 1 0 0 0 0 0 0 0 0 1 -1 ## P1-1 >= 0
284 1 0 0 0 0 0 1 0 0 0 -1 ## i2-1 >= 0
285 1 0 0 0 0 0 -1 0 0 1 0 ## -i2+P1 >= 0
286 0 0 0 -1 0 0 0 0 0 0 3 ## c3 == 3
287 0 1 0 0 -1 0 0 0 0 0 0 ## c1-c4 == 0
288 0 0 0 0 0 0 0 1 0 0 -3 ## i3-3 == 0
289 0 0 0 0 0 -1 0 0 1 0 0 ## -i1+i4 == 0
290 0 0 0 -1 0 0 0 1 0 0 0 ## c3 == i3
291 0 0 0 0 -1 0 0 0 1 0 0 ## c4 == i4
292 0 -1 0 0 0 1 0 0 0 0 0 ## c1 == i1
293 1 0 -1 0 0 0 1 0 0 0 -1 ## -c2+i2-1 >= 0
303 # Mapping array-identifiers/array-names
315 # Starting line and column
317 # Ending line and column
326 \e[33mDEPENDENCES GRAPH:
\e[00m
328 # Data Dependence Graph
329 S0 -> S1 [label=" RAW depth 0, ref 0->0 "];
330 S0 -> S1 [label=" WAW depth 0, ref 0->1 "];
331 S1 -> S1 [label=" WAR depth 2, ref 0->1 "];
332 S1 -> S1 [label=" RAW depth 2, ref 1->0 "];
333 S1 -> S1 [label=" WAW depth 2, ref 1->1 "];
334 # Number of edges = 5