Clan  0.8.1
scop.h
Go to the documentation of this file.
1 
2  /*+------- <| --------------------------------------------------------**
3  ** A Clan **
4  **--- /.\ -----------------------------------------------------**
5  ** <| [""M# scop.h **
6  **- A | # -----------------------------------------------------**
7  ** /.\ [""M# First version: 30/04/2008 **
8  **- [""M# | # U"U#U -----------------------------------------------**
9  | # | # \ .:/
10  | # | #___| #
11  ****** | "--' .-" ******************************************************
12  * |"-"-"-"-"-#-#-## Clan : the Chunky Loop Analyzer (experimental) *
13  **** | # ## ###### *****************************************************
14  * \ .::::'/ *
15  * \ ::::'/ Copyright (C) 2008 University Paris-Sud 11 *
16  * :8a| # # ## *
17  * ::88a ### This is free software; you can redistribute it *
18  * ::::888a 8a ##::. and/or modify it under the terms of the GNU Lesser *
19  * ::::::::888a88a[]::: General Public License as published by the Free *
20  *::8:::::::::SUNDOGa8a::. Software Foundation, either version 2.1 of the *
21  *::::::::8::::888:Y8888:: License, or (at your option) any later version. *
22  *::::':::88::::888::Y88a::::::::::::... *
23  *::'::.. . ..... .. ... . *
24  * This software is distributed in the hope that it will be useful, but *
25  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY *
26  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License *
27  * for more details. *
28  * *
29  * You should have received a copy of the GNU Lesser General Public License *
30  * along with software; if not, write to the Free Software Foundation, Inc., *
31  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
32  * *
33  * Clan, the Chunky Loop Analyzer *
34  * Written by Cedric Bastoul, Cedric.Bastoul@u-psud.fr *
35  * *
36  ******************************************************************************/
37 
38 
39 #ifndef CLAN_SCOP_H
40 # define CLAN_SCOP_H
41 
42 # include <stdio.h>
43 # include <clan/macros.h>
44 # include <clan/options.h>
45 
46 # if defined(__cplusplus)
47 extern "C"
48  {
49 # endif
50 
51 
52 struct osl_scop;
53 
54 
55 /*+****************************************************************************
56  * Processing functions *
57  ******************************************************************************/
58 struct osl_scop* clan_scop_extract(FILE*, clan_options_p);
59 void clan_scop_compact(struct osl_scop*);
60 void clan_scop_print(FILE*, struct osl_scop*, clan_options_p);
61 void clan_scop_generate_scatnames(struct osl_scop*);
62 void clan_scop_generate_coordinates(struct osl_scop*, char*);
63 void clan_scop_generate_clay(struct osl_scop*, char*);
64 void clan_scop_fill_options(struct osl_scop*, int*, int*);
65 void clan_scop_update_coordinates(struct osl_scop*,
66  int (*)[CLAN_MAX_SCOPS]);
67 void clan_scop_print_autopragma(FILE*, int,
68  int (*)[CLAN_MAX_SCOPS]);
69 void clan_scop_simplify(struct osl_scop*);
70 void clan_scop_insert_pragmas(struct osl_scop*, char*, int);
71 
72 
73 # if defined(__cplusplus)
74  }
75 # endif
76 #endif /* define CLAN_SCOP_H */
struct osl_scop * clan_scop_extract(FILE *, clan_options_p)
Definition: scop.c:84
void clan_scop_generate_clay(struct osl_scop *, char *)
void clan_scop_update_coordinates(struct osl_scop *, int(*)[CLAN_MAX_SCOPS])
void clan_scop_print_autopragma(FILE *, int, int(*)[CLAN_MAX_SCOPS])
void clan_scop_print(FILE *, struct osl_scop *, clan_options_p)
void clan_scop_insert_pragmas(struct osl_scop *, char *, int)
void clan_scop_compact(struct osl_scop *)
void clan_scop_simplify(struct osl_scop *)
void clan_scop_fill_options(struct osl_scop *, int *, int *)
void clan_scop_generate_scatnames(struct osl_scop *)
void clan_scop_generate_coordinates(struct osl_scop *, char *)