initial version of ppcg
[ppcg.git] / clan / tests / unitary / minloopsimple.c.scop
blobf45c8c5f68b7dfba262bb8db60857c4f1a751f07
1 #                                                   
2 #          <|                                       
3 #           A                                       
4 #          /.\                                     
5 #     <|  [""M#                                   
6 #      A   | #              Clan McCloog Castle     
7 #     /.\ [""M#             [File generated by Clan 0.5.0 64 bits]
8 #    [""M# | #  U"U#U                            
9 #     | #  | #  \ .:/                              
10 #     | #  | #___| #                                
11 #     | "--'     .-"                              
12 #   |"-"-"-"-"-#-#-##                          
13 #   |     # ## ######                               
14 #    \       .::::'/                               
15 #     \      ::::'/                                
16 #   :8a|    # # ##                                  
17 #   ::88a      ###                                  
18 #  ::::888a  8a ##::.                               
19 #  ::::::888a88a[]::::                              
20 # :::::::::SUNDOGa8a::::. ..                        
21 # :::::8::::888:Y8888:::::::::...                   
22 #::':::88::::888::Y88a______________________________________________________
23 #:: ::::88a::::88a:Y88a                                  __---__-- __
24 #' .: ::Y88a:::::8a:Y88a                            __----_-- -------_-__
25 #  :' ::::8P::::::::::88aa.                   _ _- --  --_ --- __  --- __--
26 #.::  :::::::::::::::::::Y88as88a...s88aa.
28 SCoP
30 # =============================================== Global
31 # Language
34 # Context
35 0 4
37 # Parameter names are provided
39 # Parameter names
40 m n 
42 # Number of statements
45 # =============================================== Statement 1
46 # ----------------------------------------------  1.1 Domain
47 # Iteration domain
49 3 5
50    1    1    0    0    0    ## i >= 0
51    1   -1    1    0   -1    ## -i+m-1 >= 0
52    1   -1    0    1   -1    ## -i+n-1 >= 0
54 # ----------------------------------------------  1.2 Scattering
55 # Scattering function is provided
57 # Scattering function
58 3 5
59    0    0    0    0    0    ## 0
60    0    1    0    0    0    ## i
61    0    0    0    0    0    ## 0
63 # ----------------------------------------------  1.3 Access
64 # Access informations are provided
66 # Read access informations
67 0 5
68 # Write access informations
69 1 5
70    1    0    0    0    0    ## a[0]
72 # ----------------------------------------------  1.4 Body
73 # Statement body is provided
75 # Original iterator names
76
77 # Statement body
78 a=0;
81 # =============================================== Options
82 <arrays>
84 1 a
85 </arrays>