PIPS
defines-local.h
Go to the documentation of this file.
1 /* Copyright 2007, 2008 Alain Muller, Frederique Silber-Chaussumier
2 
3 This file is part of STEP.
4 
5 The program is distributed under the terms of the GNU General Public
6 License.
7 */
8 
9 #ifdef HAVE_CONFIG_H
10  #include "pips_config.h"
11 #endif
12 
13 /*
14 
15 Module STEP
16 
17 regroupement de la majorité des includes
18 
19 */
20 
21 #include "step.h" // include step-local.h
22 
23 #include "pipsdbm.h" // for db_get_memory_resource, ...
24 #include "properties.h" // for get_string_property, ...
25 
26 #include "misc.h" // for pips_debug, pips_assert, ...
27 #include "ri-util.h"
28 #include "text-util.h" // for text_to_string
29 #include "effects-util.h" // for action_equal_p, statement_mapping, ...
30 #include "effects-generic.h" // needed by effects-convex.h for descriptor
31 #include "effects-simple.h" // for effect_to_string
32 #include "effects-convex.h" // for region
33 
34 #include "step_common.h" // for STEP_PARALLEL, ...
35 #include "STEP_name.h" // for STEP_PROD_NAME, STEP_MAX_NB_REQUEST_NAME, ...
36 
37 
38 /* debug macro
39  */
40 extern int the_current_debug_level;
41 #define GEN_DEBUG(D, W, P) ifdebug(D) { pips_debug(D, "%s:\n", W); P;}
42 #define STEP_DEBUG_STATEMENT(D, W, S) GEN_DEBUG(D, W, print_statement(S))
43 #define STEP_DEBUG_DIRECTIVE(D, W, DRT) GEN_DEBUG(D, W, step_print_directive(DRT))
44 
45 #define STEP_DEFAULT_RT_H "step/c"
46 
47 /* STEP sentinelle */
48 #define STEP_SENTINELLE "STEP "
49 
50  // definit les valeurs possible pour la property STEP_DEFAULT_TRANSFORMATION utilisee en l'abscence de clause STEP
51 #define STEP_DEFAULT_TRANSFORMATION_OMP_TXT "OMP"
52 #define STEP_DEFAULT_TRANSFORMATION_HYBRID_TXT "HYBRID"
53 #define STEP_DEFAULT_TRANSFORMATION_MPI_TXT "MPI"
54 
55 #define STEP_TRANSFORMATION_OMP 1
56 #define STEP_TRANSFORMATION_MPI 2
57 #define STEP_TRANSFORMATION_HYBRID 3
58 #define STEP_TRANSFORMATION_SEQ 4
int the_current_debug_level
Copyright 2007, 2008 Alain Muller, Frederique Silber-Chaussumier.
Definition: debug.c:53
Some useful declarations and definitions.