initial version of ppcg
[ppcg.git] / clan / tests / unitary / binop.c.scop
blob2643368b755970e8a8a2dae2d9c679da453ad834
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 2
37 # Parameter names are not provided
40 # Number of statements
43 # =============================================== Statement 1
44 # ----------------------------------------------  1.1 Domain
45 # Iteration domain
47 1 3
48    0    1    0    ## fakeiter == 0
50 # ----------------------------------------------  1.2 Scattering
51 # Scattering function is provided
53 # Scattering function
54 3 3
55    0    0    0    ## 0
56    0    1    0    ## fakeiter
57    0    0    0    ## 0
59 # ----------------------------------------------  1.3 Access
60 # Access informations are provided
62 # Read access informations
63 2 3
64    1    0    0    ## a[0]
65    2    0    0    ## b[0]
66 # Write access informations
67 1 3
68    1    0    0    ## a[0]
70 # ----------------------------------------------  1.4 Body
71 # Statement body is provided
73 # Original iterator names
74 fakeiter 
75 # Statement body
76 a+=b;
79 # =============================================== Statement 2
80 # ----------------------------------------------  2.1 Domain
81 # Iteration domain
83 1 3
84    0    1    0    ## fakeiter == 0
86 # ----------------------------------------------  2.2 Scattering
87 # Scattering function is provided
89 # Scattering function
90 3 3
91    0    0    1    ## 1
92    0    1    0    ## fakeiter
93    0    0    0    ## 0
95 # ----------------------------------------------  2.3 Access
96 # Access informations are provided
98 # Read access informations
99 1 3
100    1    0    0    ## a[0]
101 # Write access informations
102 1 3
103    1    0    0    ## a[0]
105 # ----------------------------------------------  2.4 Body
106 # Statement body is provided
108 # Original iterator names
109 fakeiter 
110 # Statement body
111 --a;
114 # =============================================== Statement 3
115 # ----------------------------------------------  3.1 Domain
116 # Iteration domain
118 1 3
119    0    1    0    ## fakeiter == 0
121 # ----------------------------------------------  3.2 Scattering
122 # Scattering function is provided
124 # Scattering function
125 3 3
126    0    0    2    ## 2
127    0    1    0    ## fakeiter
128    0    0    0    ## 0
130 # ----------------------------------------------  3.3 Access
131 # Access informations are provided
133 # Read access informations
134 1 3
135    2    0    0    ## b[0]
136 # Write access informations
137 1 3
138    2    0    0    ## b[0]
140 # ----------------------------------------------  3.4 Body
141 # Statement body is provided
143 # Original iterator names
144 fakeiter 
145 # Statement body
146 b++;
149 # =============================================== Options
150 <arrays>
152 1 a
153 2 b
154 </arrays>