1139823Simp/* Generated from ../../../git/cloog/test/ex1.cloog by CLooG 0.14.0-72-gefe2fc2 gmp bits in 0.00s. */
21541Srgrimesextern void hash(int);
31541Srgrimes
41541Srgrimes/* Useful macros. */
51541Srgrimes#define floord(n,d) (((n)<0) ? -((-(n)+(d)-1)/(d)) : (n)/(d))
61541Srgrimes#define ceild(n,d)  (((n)<0) ? -((-(n))/(d)) : ((n)+(d)-1)/(d))
71541Srgrimes#define max(x,y)    ((x) > (y) ? (x) : (y))
81541Srgrimes#define min(x,y)    ((x) < (y) ? (x) : (y))
91541Srgrimes
101541Srgrimes#define S1(i,j) { hash(1); hash(i); hash(j); }
111541Srgrimes#define S2(i,j) { hash(2); hash(i); hash(j); }
121541Srgrimes
131541Srgrimesvoid test(int n)
141541Srgrimes{
151541Srgrimes  /* Original iterators. */
161541Srgrimes  int i, j;
171541Srgrimes  for (i=0;i<=14;i++) {
181541Srgrimes    for (j=0;j<=n-15;j++) {
191541Srgrimes      S1(i,j) ;
201541Srgrimes    }
211541Srgrimes  }
221541Srgrimes  for (i=15;i<=n;i++) {
231541Srgrimes    for (j=0;j<=9;j++) {
241541Srgrimes      S1(i,j) ;
251541Srgrimes    }
261541Srgrimes    for (j=10;j<=n-15;j++) {
271541Srgrimes      S1(i,j) ;
281541Srgrimes      S2(i,j) ;
291541Srgrimes    }
301541Srgrimes    for (j=n-14;j<=n;j++) {
311541Srgrimes      S2(i,j) ;
321541Srgrimes    }
331541Srgrimes  }
341541Srgrimes}
351541Srgrimes