blob: 26db5d8151189055257652f30f7b36fd53f661d1 [file] [log] [blame]
#
# <|
# A
# /.\
# <| [""M#
# A | # Clan McCloog Castle
# /.\ [""M# [Generated by the OpenScop Library 0.3.0 64 bits]
# [""M# | # U"U#U
# | # | # \ .:/
# | # | #___| #
# | "--' .-"
# |"-"-"-"-"-#-#-##
# | # ## ######
# \ .::::'/
# \ ::::'/
# :8a| # # ##
# ::88a ###
# ::::888a 8a ##::.
# ::::::888a88a[]::::
# :::::::::SUNDOGa8a::::. ..
# :::::8::::888:Y8888:::::::::...
#::':::88::::888::Y88a______________________________________________________
#:: ::::88a::::88a:Y88a __---__-- __
#' .: ::Y88a:::::8a:Y88a __----_-- -------_-__
# :' ::::8P::::::::::88aa. _ _- -- --_ --- __ --- __--
#.:: :::::::::::::::::::Y88as88a...s88aa.
<OpenScop>
# =============================================== Global
# Language
C
# Context
CONTEXT
1 3 0 0 0 1
# e/i N 1
1 1 3
# Parameter names are provided
1
# Parameter names
<strings>
N
</strings>
# Number of statements
1
# =============================================== Statement 1
# Number of relations describing the statement
6
# ---------------------------------------------- 1.1 Domain
DOMAIN
2
4 5 2 0 0 1
# e/i i j N 1
1 1 0 0 0 ## i >= 0
1 -1 0 1 -1 ## -i+N-1 >= 0
1 0 1 0 0 ## j >= 0
1 0 -1 1 -1 ## -j+N-1 >= 0
5 5 2 0 0 1
# e/i i j N 1
1 1 0 0 0 ## i >= 0
1 -1 0 1 -1 ## -i+N-1 >= 0
1 0 1 0 0 ## j >= 0
1 0 -1 1 -1 ## -j+N-1 >= 0
1 0 -1 1 -1 ## -j+N-1 >= 0
# ---------------------------------------------- 1.2 Scattering
SCATTERING
5 10 5 2 0 1
# e/i s1 s2 s3 s4 s5 i j N 1
0 -1 0 0 0 0 0 0 0 0 ## 0
0 0 -1 0 0 0 1 0 0 0 ## i
0 0 0 -1 0 0 0 0 0 0 ## 0
0 0 0 0 -1 0 0 1 0 0 ## j
0 0 0 0 0 -1 0 0 0 0 ## 0
# ---------------------------------------------- 1.3 Access
READ
2 7 2 2 0 1
# e/i Arr [1] i j N 1
0 -1 0 0 0 0 1 ## C[i+j]
0 0 -1 1 1 0 0 ##
READ
2 7 2 2 0 1
# e/i Arr [1] i j N 1
0 -1 0 0 0 0 2 ## A[i]
0 0 -1 1 0 0 0 ##
READ
2 7 2 2 0 1
# e/i Arr [1] i j N 1
0 -1 0 0 0 0 3 ## B[j]
0 0 -1 0 1 0 0 ##
WRITE
2 7 2 2 0 1
# e/i Arr [1] i j N 1
0 -1 0 0 0 0 1 ## C[i+j]
0 0 -1 1 1 0 0 ##
# ---------------------------------------------- 1.4 Body
# Statement body is provided
1
<body>
# Number of original iterators
2
# Original iterator names
i j
# Statement body
C[i+j]+=A[i]*B[j];
</body>
# =============================================== Options
<arrays>
3
1 C
2 A
3 B
</arrays>
<comment>
hello, world
HELLO WORLD I SAID
</comment>
</OpenScop>