summaryrefslogtreecommitdiff
path: root/test/darte.c
diff options
context:
space:
mode:
authorjk7744.park <jk7744.park@samsung.com>2015-09-09 02:18:21 +0900
committerjk7744.park <jk7744.park@samsung.com>2015-09-09 02:18:21 +0900
commit40ef93558be42b604f5eb912414f767972a70b8c (patch)
treedd3a18995e2d72f452f3804d87b8a205f0f0a936 /test/darte.c
parenteea72ec0021ec2c1c84631af37435123c063eaf1 (diff)
downloadcloog-tizen_2.3.1.tar.gz
cloog-tizen_2.3.1.tar.bz2
cloog-tizen_2.3.1.zip
Diffstat (limited to 'test/darte.c')
-rw-r--r--test/darte.c65
1 files changed, 65 insertions, 0 deletions
diff --git a/test/darte.c b/test/darte.c
new file mode 100644
index 0000000..b4771cd
--- /dev/null
+++ b/test/darte.c
@@ -0,0 +1,65 @@
+/* Generated from /home/skimo/git/cloog-parma/cloog-core/test/darte.cloog by CLooG 0.14.0-285-g341b1cd gmp bits. */
+if (n >= 1) {
+ for (t3=n+3;t3<=3*n+1;t3++) {
+ if ((t3+n+1)%2 == 0) {
+ S1(1,n,(t3-n-1)/2);
+ }
+ }
+ for (t1=-n+2;t1<=n-1;t1++) {
+ for (t2=max(-t1+2,t1+2);t2<=min(-t1+4,-t1+2*n);t2++) {
+ for (t3=t2+2;t3<=t2+2*n;t3++) {
+ if ((t1+t2)%2 == 0) {
+ if ((t1+t3)%2 == 0) {
+ S1((t1+t2)/2,(-t1+t2)/2,(-t2+t3)/2);
+ }
+ }
+ }
+ }
+ if (t1 >= 2) {
+ for (t3=t1+4;t3<=t1+2*n+2;t3++) {
+ if ((t1+t3)%2 == 0) {
+ S1(t1+1,1,(-t1+t3-2)/2);
+ }
+ }
+ }
+ for (t2=max(-t1+5,t1+3);t2<=min(-t1+2*n,t1+2*n);t2++) {
+ for (t3=1;t3<=min(n,t2+1);t3++) {
+ if ((t1+t2+1)%2 == 0) {
+ S2((t1+t2-3)/2,(-t1+t2-1)/2,t3);
+ }
+ }
+ for (t3=t2+2;t3<=n;t3++) {
+ if ((t1+t2+1)%2 == 0) {
+ S2((t1+t2-3)/2,(-t1+t2-1)/2,t3);
+ }
+ if ((t1+t2)%2 == 0) {
+ if ((t1+t3)%2 == 0) {
+ S1((t1+t2)/2,(-t1+t2)/2,(-t2+t3)/2);
+ }
+ }
+ }
+ for (t3=max(n+1,t2+2);t3<=t2+2*n;t3++) {
+ if ((t1+t2)%2 == 0) {
+ if ((t1+t3)%2 == 0) {
+ S1((t1+t2)/2,(-t1+t2)/2,(-t2+t3)/2);
+ }
+ }
+ }
+ }
+ for (t2=max(-t1+5,-t1+2*n+1);t2<=min(-t1+2*n+3,t1+2*n+1);t2++) {
+ for (t3=1;t3<=n;t3++) {
+ if ((t1+t2+1)%2 == 0) {
+ S2((t1+t2-3)/2,(-t1+t2-1)/2,t3);
+ }
+ }
+ }
+ if (t1 <= -1) {
+ for (t3=1;t3<=n;t3++) {
+ S2(t1+n-1,n,t3);
+ }
+ }
+ }
+ for (t3=1;t3<=n;t3++) {
+ S2(n,1,t3);
+ }
+}