Support for osl statement_extensions
[clay.git] / tests / unitary / reorder_all.c.orig.scop
blobe4c71ced255301d4216a9f24cf792d98f7f97658
1 [Clan] Info: parsing file #1 (./unitary/reorder_all.c)
2 #                                                     
3 #          <|                                         
4 #           A                                         
5 #          /.\                                       
6 #     <|  [""M#                                     
7 #      A   | #            Clan McCloog Castle         
8 #     /.\ [""M#           [Generated by Clan 0.7.1]
9 #    [""M# | #  U"U#U                              
10 #     | #  | #  \ .:/                                
11 #     | #  | #___| #                                  
12 #     | "--'     .-"                                
13 #   |"-"-"-"-"-#-#-##                            
14 #   |     # ## ######                                 
15 #    \       .::::'/                                 
16 #     \      ::::'/                                  
17 #   :8a|    # # ##                                    
18 #   ::88a      ###                                    
19 #  ::::888a  8a ##::.                                 
20 #  ::::::888a88a[]::::                                
21 # :::::::::SUNDOGa8a::::. ..                          
22 # :::::8::::888:Y8888:::::::::...                     
23 #::':::88::::888::Y88a______________________________________________________
24 #:: ::::88a::::88a:Y88a                                  __---__-- __
25 #' .: ::Y88a:::::8a:Y88a                            __----_-- -------_-__
26 #  :' ::::8P::::::::::88aa.                   _ _- --  --_ --- __  --- __--
27 #.::  :::::::::::::::::::Y88as88a...s88aa.
29 # [File generated by the OpenScop Library 0.8.4]
31 <OpenScop>
33 # =============================================== Global
34 # Language
37 # Context
38 CONTEXT
39 0 4 0 0 0 2
41 # Parameters are provided
43 <strings>
44 N M
45 </strings>
47 # Number of statements
50 # =============================================== Statement 1
51 # Number of relations describing the statement:
54 # ----------------------------------------------  1.1 Domain
55 DOMAIN
56 0 4 0 0 0 2
58 # ----------------------------------------------  1.2 Scattering
59 SCATTERING
60 1 5 1 0 0 2
61 # e/i| c1 |  N    M |  1  
62    0   -1    0    0    0    ## c1 == 0
64 # ----------------------------------------------  1.3 Access
65 WRITE
66 1 5 1 0 0 2
67 # e/i| Arr|  N    M |  1  
68    0   -1    0    0    1    ## Arr == a
70 # ----------------------------------------------  1.4 Statement Extensions
71 # Number of Statement Extensions
73 <body>
74 # Number of original iterators
76 # Statement body expression
77 a = 0;
78 </body>
80 <extbody>
81 # Number of accesses
83 # Access coordinates (start/length)
84 0 1
85 # Number of original iterators
87 # Statement body expression
88 a = 0;
89 </extbody>
91 # =============================================== Statement 2
92 # Number of relations describing the statement:
95 # ----------------------------------------------  2.1 Domain
96 DOMAIN
97 3 5 1 0 0 2
98 # e/i|  i |  N    M |  1  
99    1    1    0    0    0    ## i >= 0
100    1   -1    1    0    0    ## -i+N >= 0
101    1    0    1    0    0    ## N >= 0
103 # ----------------------------------------------  2.2 Scattering
104 SCATTERING
105 3 8 3 1 0 2
106 # e/i| c1   c2   c3 |  i |  N    M |  1  
107    0   -1    0    0    0    0    0    1    ## c1 == 1
108    0    0   -1    0    1    0    0    0    ## c2 == i
109    0    0    0   -1    0    0    0    0    ## c3 == 0
111 # ----------------------------------------------  2.3 Access
112 WRITE
113 2 7 2 1 0 2
114 # e/i| Arr  [1]|  i |  N    M |  1  
115    0   -1    0    0    0    0    4    ## Arr == b
116    0    0   -1    1    0    0    0    ## [1] == i
118 # ----------------------------------------------  2.4 Statement Extensions
119 # Number of Statement Extensions
121 <body>
122 # Number of original iterators
124 # List of original iterators
126 # Statement body expression
127 b[i] = 0;
128 </body>
130 <extbody>
131 # Number of accesses
133 # Access coordinates (start/length)
134 0 4
135 # Number of original iterators
137 # List of original iterators
139 # Statement body expression
140 b[i] = 0;
141 </extbody>
143 # =============================================== Statement 3
144 # Number of relations describing the statement:
147 # ----------------------------------------------  3.1 Domain
148 DOMAIN
149 3 5 1 0 0 2
150 # e/i|  i |  N    M |  1  
151    1    1    0    0    0    ## i >= 0
152    1   -1    1    0    0    ## -i+N >= 0
153    1    0    1    0    0    ## N >= 0
155 # ----------------------------------------------  3.2 Scattering
156 SCATTERING
157 3 8 3 1 0 2
158 # e/i| c1   c2   c3 |  i |  N    M |  1  
159    0   -1    0    0    0    0    0    1    ## c1 == 1
160    0    0   -1    0    1    0    0    0    ## c2 == i
161    0    0    0   -1    0    0    0    1    ## c3 == 1
163 # ----------------------------------------------  3.3 Access
164 WRITE
165 2 7 2 1 0 2
166 # e/i| Arr  [1]|  i |  N    M |  1  
167    0   -1    0    0    0    0    5    ## Arr == c
168    0    0   -1    1    0    0    0    ## [1] == i
170 # ----------------------------------------------  3.4 Statement Extensions
171 # Number of Statement Extensions
173 <body>
174 # Number of original iterators
176 # List of original iterators
178 # Statement body expression
179 c[i] = 0;
180 </body>
182 <extbody>
183 # Number of accesses
185 # Access coordinates (start/length)
186 0 4
187 # Number of original iterators
189 # List of original iterators
191 # Statement body expression
192 c[i] = 0;
193 </extbody>
195 # =============================================== Statement 4
196 # Number of relations describing the statement:
199 # ----------------------------------------------  4.1 Domain
200 DOMAIN
201 6 6 2 0 0 2
202 # e/i|  i    j |  N    M |  1  
203    1    1    0    0    0    0    ## i >= 0
204    1   -1    0    1    0    0    ## -i+N >= 0
205    1    0    0    1    0    0    ## N >= 0
206    1    0    1    0    0    0    ## j >= 0
207    1    0   -1    0    1    0    ## -j+M >= 0
208    1    0    0    0    1    0    ## M >= 0
210 # ----------------------------------------------  4.2 Scattering
211 SCATTERING
212 5 11 5 2 0 2
213 # e/i| c1   c2   c3   c4   c5 |  i    j |  N    M |  1  
214    0   -1    0    0    0    0    0    0    0    0    1    ## c1 == 1
215    0    0   -1    0    0    0    1    0    0    0    0    ## c2 == i
216    0    0    0   -1    0    0    0    0    0    0    2    ## c3 == 2
217    0    0    0    0   -1    0    0    1    0    0    0    ## c4 == j
218    0    0    0    0    0   -1    0    0    0    0    0    ## c5 == 0
220 # ----------------------------------------------  4.3 Access
221 WRITE
222 3 9 3 2 0 2
223 # e/i| Arr  [1]  [2]|  i    j |  N    M |  1  
224    0   -1    0    0    0    0    0    0    8    ## Arr == e
225    0    0   -1    0    1    0    0    0    0    ## [1] == i
226    0    0    0   -1    0    1    0    0    0    ## [2] == j
228 # ----------------------------------------------  4.4 Statement Extensions
229 # Number of Statement Extensions
231 <body>
232 # Number of original iterators
234 # List of original iterators
235 i j
236 # Statement body expression
237 e[i][j] = 0;
238 </body>
240 <extbody>
241 # Number of accesses
243 # Access coordinates (start/length)
244 0 7
245 # Number of original iterators
247 # List of original iterators
248 i j
249 # Statement body expression
250 e[i][j] = 0;
251 </extbody>
253 # =============================================== Statement 5
254 # Number of relations describing the statement:
257 # ----------------------------------------------  5.1 Domain
258 DOMAIN
259 0 4 0 0 0 2
261 # ----------------------------------------------  5.2 Scattering
262 SCATTERING
263 1 5 1 0 0 2
264 # e/i| c1 |  N    M |  1  
265    0   -1    0    0    2    ## c1 == 2
267 # ----------------------------------------------  5.3 Access
268 WRITE
269 1 5 1 0 0 2
270 # e/i| Arr|  N    M |  1  
271    0   -1    0    0    9    ## Arr == f
273 # ----------------------------------------------  5.4 Statement Extensions
274 # Number of Statement Extensions
276 <body>
277 # Number of original iterators
279 # Statement body expression
280 f = 0;
281 </body>
283 <extbody>
284 # Number of accesses
286 # Access coordinates (start/length)
287 0 1
288 # Number of original iterators
290 # Statement body expression
291 f = 0;
292 </extbody>
294 # =============================================== Extensions
295 <scatnames>
296 b0 i b1 j b2
297 </scatnames>
299 <arrays>
300 # Number of arrays
302 # Mapping array-identifiers/array-names
303 1 a
304 2 i
305 3 N
306 4 b
307 5 c
308 6 j
309 7 M
310 8 e
311 9 f
312 </arrays>
314 <coordinates>
315 # File name
316 ./unitary/reorder_all.c
317 # Starting line and column
318 2 0
319 # Ending line and column
320 14 0
321 # Indentation
323 </coordinates>
325 <clay>
326    reorder([], [2,1,0]);
327 </clay>
329 </OpenScop>