CLooG 0.18.4
[cloog.git] / test / param-split.good.c
blob25b3bc6c5637cc1e57a30c069b4697bf978fc89d
1 /* Generated from ../../../git/cloog/test/param-split.cloog by CLooG 0.14.0-277-gce2ba57 gmp bits in 0.00s. */
2 extern void hash(int);
4 /* Useful macros. */
5 #define floord(n,d) (((n)<0) ? -((-(n)+(d)-1)/(d)) : (n)/(d))
6 #define ceild(n,d) (((n)<0) ? -((-(n))/(d)) : ((n)+(d)-1)/(d))
7 #define max(x,y) ((x) > (y) ? (x) : (y))
8 #define min(x,y) ((x) < (y) ? (x) : (y))
10 #define S1(i) { hash(1); hash(i); }
11 #define S2(i) { hash(2); hash(i); }
13 void test(int M)
15 /* Original iterators. */
16 int i;
17 if (M >= 0) {
18 S1(0);
19 S2(0);
21 for (i=1;i<=M;i++) {
22 S1(i);
24 if (M <= -1) {
25 S2(0);