mirror of
https://review.haiku-os.org/buildtools
synced 2025-02-07 14:34:51 +01:00
5873a060ca
* these are dependencies for gcc 4 Graphite engine build. * CLooG 0.18.0 includes ISL 0.11.1 which is the backend that the build script enables. * PPL is needed by GCC build even if it isn't the chosen backend.
135 lines
3.7 KiB
Plaintext
135 lines
3.7 KiB
Plaintext
#
|
|
# <|
|
|
# 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>
|
|
|