First commit : 0.14.0 version (with roadmap in doc instead of
[cloog/uuh.git] / include / cloog / statement.h
blob4ab8824fb7d0fee266e1bcdfebef4d435841c26f
2 /**-------------------------------------------------------------------**
3 ** CLooG **
4 **-------------------------------------------------------------------**
5 ** statement.h **
6 **-------------------------------------------------------------------**
7 ** First version: november 4th 2001 **
8 **-------------------------------------------------------------------**/
11 /******************************************************************************
12 * CLooG : the Chunky Loop Generator (experimental) *
13 ******************************************************************************
14 * *
15 * Copyright (C) 2001-2005 Cedric Bastoul *
16 * *
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 *
20 * version. *
21 * *
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 *
25 * for more details. *
26 * *
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 *
30 * *
31 * CLooG, the Chunky Loop Generator *
32 * Written by Cedric Bastoul, Cedric.Bastoul@inria.fr *
33 * *
34 ******************************************************************************/
37 #ifndef CLOOG_STATEMENT_H
38 #define CLOOG_STATEMENT_H
39 #if defined(__cplusplus)
40 extern "C"
42 #endif
45 struct cloogstatement
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.
52 } ;
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)
79 #endif
80 #endif /* define _H */