1 
2    /**-------------------------------------------------------------------**
3     **                              CLooG                                **
4     **-------------------------------------------------------------------**
5     **                             pprint.h                              **
6     **-------------------------------------------------------------------**
7     **                 First version: october 26th 2001                  **
8     **-------------------------------------------------------------------**/
9 
10 
11 /******************************************************************************
12  *               CLooG : the Chunky Loop Generator (experimental)             *
13  ******************************************************************************
14  *                                                                            *
15  * Copyright (C) 2001-2005 Cedric Bastoul                                     *
16  *                                                                            *
17  * This library is free software; you can redistribute it and/or              *
18  * modify it under the terms of the GNU Lesser General Public                 *
19  * License as published by the Free Software Foundation; either               *
20  * version 2.1 of the License, or (at your option) any later version.         *
21  *                                                                            *
22  * This library is distributed in the hope that it will be useful,            *
23  * but WITHOUT ANY WARRANTY; without even the implied warranty of             *
24  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU          *
25  * Lesser General Public License for more details.                            *
26  *                                                                            *
27  * You should have received a copy of the GNU Lesser General Public           *
28  * License along with this library; if not, write to the Free Software        *
29  * Foundation, Inc., 51 Franklin Street, Fifth Floor,                         *
30  * Boston, MA  02110-1301  USA                                                *
31  *                                                                            *
32  * CLooG, the Chunky Loop Generator                                           *
33  * Written by Cedric Bastoul, [email protected]                         *
34  *                                                                            *
35  ******************************************************************************/
36 
37 
38 #ifndef CLOOG_PPRINT_H
39 #define CLOOG_PPRINT_H
40 #if defined(__cplusplus)
41 extern "C"
42   {
43 #endif
44 
45 
46 # define MAX_STRING_VAL 32
47 # define INDENT_STEP 2
48 
49 # define EQTYPE_NONE	 0
50 # define EQTYPE_CONSTANT 1
51 # define EQTYPE_PUREITEM 2
52 # define EQTYPE_EXAFFINE 3
53 
54 #define CLOOG_LANGUAGE_C 0
55 #define CLOOG_LANGUAGE_FORTRAN 1
56 
57 /******************************************************************************
58  *                          Structure display function                        *
59  ******************************************************************************/
60 void clast_pprint(FILE *foo, struct clast_stmt *root, int indent,
61 	    CloogOptions *options);
62 
63 
64 #if defined(__cplusplus)
65   }
66 #endif
67 #endif /* define _H */
68