25 #include "pips_config.h"
83 string dg_name = NULL;
84 string local_dg_name = NULL;
97 with_dg? DBR_DG: DBR_CHAINS, mod_name,
true);
101 "/", local_dg_name, NULL));
147 string dg_name = NULL;
148 string local_dg_name = NULL;
static graph dg
dg is the dependency graph ; FIXME : should not be static global ?
FILE * safe_fopen(const char *filename, const char *what)
int safe_fclose(FILE *stream, const char *filename)
bool get_bool_property(const string)
FC 2015-07-20: yuk, moved out to prevent an include cycle dependency include "properties....
struct _newgen_struct_graph_ * graph
void reset_current_module_entity(void)
Reset the current module entity.
void reset_current_module_statement(void)
Reset the current module statement.
statement set_current_module_statement(statement)
Set the current module statement.
statement get_current_module_statement(void)
Get the current module statement.
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_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.
string db_build_file_resource_name(const char *rname, const char *oname, const char *suffix)
returns an allocated file name for a file resource.
string concatenate(const char *,...)
Return the concatenation of the given strings.
hash_table set_ordering_to_statement(statement s)
To be used instead of initialize_ordering_to_statement() to make sure that the hash table ots is in s...
void reset_ordering_to_statement(void)
Reset the mapping from ordering to statement.
string db_get_current_workspace_directory(void)
void set_bool_property(const char *, bool)
entity local_name_to_top_level_entity(const char *n)
This function try to find a top-level entity from a local name.
bool print_chains_graph(string name)
static bool print_dot_dependence_or_chains_graph(string mod_name, bool with_dg)
Output dependence graph in a file in graphviz dot format.
bool print_dependence_graph(string name)
bool print_whole_dependence_graph(const string mod_name)
DG PRINTING FUNCTIONS
static bool print_dependence_or_chains_graph(string mod_name, bool with_dg)
bool print_loop_carried_dependence_graph(const string mod_name)
bool print_dot_chains_graph(string name)
This pipmake pass output the chains in a file usable by the graphviz tool dot.
bool print_filtered_dependence_graph(const string mod_name)
bool print_filtered_dependence_daVinci_graph(const string mod_name)
bool print_dot_dependence_graph(string name)
This pipmake pass output the DG in a file usable by graphviz tool dot.
bool print_effective_dependence_graph(const string mod_name)
void prettyprint_dependence_graph(FILE *, statement, graph)
Print all edges and arcs.
bool print_filtered_dg_or_dvdg(string, bool)
void prettyprint_dependence_graph_view(FILE *, statement, graph)
Do not print vertices and arcs ignored by the parallelization algorithms.
void prettyprint_dot_dependence_graph(FILE *, statement, graph)
Output dependence graph in a file in graphviz dot format.