25 #include "pips_config.h"
39 #include "constants.h"
73 #include "resources.h"
74 #include "scheduling.h"
75 #include "array_dfg.h"
81 #define BDT_EXT ".bdt_file"
105 "/", localfilename, NULL));
116 fprintf(stderr,
"\n\n *** PRINT_BDT DONE\n");
146 fprintf(stderr,
"\n\nBegin scheduling\n");
147 fprintf(stderr,
"DEBUT DU PROGRAMME\n");
148 fprintf(stderr,
"==================\n\n");
184 fprintf(stderr,
"\n==============================================");
185 fprintf(stderr,
"\nBase de temps trouvee :\n");
187 fprintf(stderr,
"\nEnd of scheduling\n");
void user_log(const char *format,...)
graph adg_pure_dfg(graph in_gr)
======================================================================
void fprint_dfg(FILE *fp, graph obj)
===========================================================================
static hash_table STS
The "STS" global variable is the hash table that maps the static_control on the statements.
graph dfg
Global variables
void fprint_bdt_with_stat(FILE *fp, bdt obj)
===========================================================================
struct _newgen_struct_statement_ * statement
const char * module_name(const char *s)
Return the module part of an entity name.
FILE * safe_fopen(const char *filename, const char *what)
int safe_fclose(FILE *stream, const char *filename)
struct _newgen_struct_graph_ * graph
void reset_current_module_entity(void)
Reset the current module entity.
entity set_current_module_entity(entity)
static.c
string db_get_memory_resource(const char *rname, const char *oname, bool pure)
Return the pointer to the resource, whatever it is.
#define DB_PUT_MEMORY_RESOURCE(res_name, own_name, res_val)
conform to old interface.
#define DB_PUT_FILE_RESOURCE
Put a file resource into the current workspace database.
static statement mod_stat
We want to keep track of the current statement inside the recurse.
bdt search_graph_bdt(sccs rgraph)
=================================================================
#define pips_internal_error
int get_debug_level(void)
GET_DEBUG_LEVEL returns the current debugging level.
#define GET_STATEMENT_MAPPING(map, stat)
hash_table statement_mapping
these macros are obsolete! newgen functions (->) should be used instead
string concatenate(const char *,...)
Return the concatenation of the given strings.
void reset_current_stco_map(void)
========================================================================
void set_current_stco_map(statement_mapping)
========================================================================
void fprint_bdt(FILE *, bdt)
===========================================================================
struct _newgen_struct_static_control_ * static_control
struct _newgen_struct_bdt_ * bdt
#define static_control_yes(x)
#define static_control_undefined
string db_get_current_workspace_directory(void)
bdt the_bdt
The data flow graph.
entity local_name_to_top_level_entity(const char *n)
This function try to find a top-level entity from a local name.
int fprintf()
test sc_min : ce test s'appelle par : programme fichier1.data fichier2.data ...
graph dfg_reverse_graph(graph g)
======================================================================
sccs dfg_find_sccs(graph g)
=================================================================
void fprint_sccs(FILE *fp, sccs obj)
===========================================================================
dfg_arc_label arc_label
lint
bool print_bdt(const string module_name)
=================================================================
dfg_vertex_label vertex_label
bool scheduling(const string mod_name)
=================================================================
char vcid_scheduling_scheduling[]