2 /**-------------------------------------------------------------------**
4 **-------------------------------------------------------------------**
6 **-------------------------------------------------------------------**
7 ** First version: november 4th 2001 **
8 **-------------------------------------------------------------------**/
11 /******************************************************************************
12 * CLooG : the Chunky Loop Generator (experimental) *
13 ******************************************************************************
15 * Copyright (C) 2001-2005 Cedric Bastoul *
17 * This is free software; you can redistribute it and/or modify it under the *
18 * terms of the GNU General Public License as published by the Free Software *
19 * Foundation; either version 2 of the License, or (at your option) any later *
22 * This software is distributed in the hope that it will be useful, but *
23 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY *
24 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License *
27 * You should have received a copy of the GNU General Public License along *
28 * with software; if not, write to the Free Software Foundation, Inc., *
29 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
31 * CLooG, the Chunky Loop Generator *
32 * Written by Cedric Bastoul, Cedric.Bastoul@inria.fr *
34 ******************************************************************************/
37 #ifndef CLOOG_STATEMENT_H
38 #define CLOOG_STATEMENT_H
39 #if defined(__cplusplus)
46 { int number
; /* The statement unique number. */
47 void * usr
; /* A pointer for library users convenience. */
48 struct cloogstatement
* next
; /* Pointer to the next statement with the
49 * same original domain and the same
50 * scattering function.
53 typedef struct cloogstatement CloogStatement
;
56 /******************************************************************************
57 * Structure display function *
58 ******************************************************************************/
59 void cloog_statement_print_structure(FILE *, CloogStatement
*, int) ;
60 void cloog_statement_print(FILE *, CloogStatement
*) ;
63 /******************************************************************************
64 * Memory deallocation function *
65 ******************************************************************************/
66 void cloog_statement_free(CloogStatement
*) ;
69 /******************************************************************************
70 * Processing functions *
71 ******************************************************************************/
72 CloogStatement
* cloog_statement_malloc() ;
73 CloogStatement
* cloog_statement_alloc(int) ;
74 CloogStatement
* cloog_statement_copy(CloogStatement
*) ;
75 void cloog_statement_add(CloogStatement
**, CloogStatement
**, CloogStatement
*) ;
77 #if defined(__cplusplus)
80 #endif /* define _H */