initial version of ppcg
[ppcg.git] / clan / tests / unitary / complexcond.c.scop
blob4519ec0d051c4106462f96e162589b5ec886d0ab
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 3
37 # Parameter names are provided
39 # Parameter names
40
42 # Number of statements
45 # =============================================== Statement 1
46 # ----------------------------------------------  1.1 Domain
47 # Iteration domain
49 3 4
50    1    1    0    0    ## i >= 0
51    1   -1    1   -1    ## -i+n-1 >= 0
52    1    1    0   -2    ## i-2 >= 0
54 # ----------------------------------------------  1.2 Scattering
55 # Scattering function is provided
57 # Scattering function
58 3 4
59    0    0    0    0    ## 0
60    0    1    0    0    ## i
61    0    0    0    0    ## 0
63 # ----------------------------------------------  1.3 Access
64 # Access informations are provided
66 # Read access informations
67 0 4
68 # Write access informations
69 1 4
70    1    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 # =============================================== Statement 2
82 # ----------------------------------------------  2.1 Domain
83 # Iteration domain
85 2 4
86    1    1    0    0    ## i >= 0
87    1   -1    1   -1    ## -i+n-1 >= 0
89 # ----------------------------------------------  2.2 Scattering
90 # Scattering function is provided
92 # Scattering function
93 3 4
94    0    0    0    0    ## 0
95    0    1    0    0    ## i
96    0    0    0    1    ## 1
98 # ----------------------------------------------  2.3 Access
99 # Access informations are provided
101 # Read access informations
102 0 4
103 # Write access informations
104 1 4
105    2    0    0    0    ## b[0]
107 # ----------------------------------------------  2.4 Body
108 # Statement body is provided
110 # Original iterator names
112 # Statement body
113 b=0;
116 # =============================================== Statement 3
117 # ----------------------------------------------  3.1 Domain
118 # Iteration domain
120 4 4
121    1    1    0    0    ## i >= 0
122    1   -1    1   -1    ## -i+n-1 >= 0
123    1    1    0   -3    ## i-3 >= 0
124    1   -1    1   -2    ## -i+n-2 >= 0
126 # ----------------------------------------------  3.2 Scattering
127 # Scattering function is provided
129 # Scattering function
130 3 4
131    0    0    0    0    ## 0
132    0    1    0    0    ## i
133    0    0    0    2    ## 2
135 # ----------------------------------------------  3.3 Access
136 # Access informations are provided
138 # Read access informations
139 0 4
140 # Write access informations
141 1 4
142    3    0    0    0    ## c[0]
144 # ----------------------------------------------  3.4 Body
145 # Statement body is provided
147 # Original iterator names
149 # Statement body
150 c=0;
153 # =============================================== Statement 4
154 # ----------------------------------------------  4.1 Domain
155 # Iteration domain
157 3 4
158    1    1    0    0    ## i >= 0
159    1   -1    1   -1    ## -i+n-1 >= 0
160    1    1    0   -3    ## i-3 >= 0
162 # ----------------------------------------------  4.2 Scattering
163 # Scattering function is provided
165 # Scattering function
166 3 4
167    0    0    0    0    ## 0
168    0    1    0    0    ## i
169    0    0    0    3    ## 3
171 # ----------------------------------------------  4.3 Access
172 # Access informations are provided
174 # Read access informations
175 0 4
176 # Write access informations
177 1 4
178    4    0    0    0    ## d[0]
180 # ----------------------------------------------  4.4 Body
181 # Statement body is provided
183 # Original iterator names
185 # Statement body
186 d=0;
189 # =============================================== Options
190 <arrays>
192 1 a
193 2 b
194 3 c
195 4 d
196 </arrays>