6 #ifndef callgraph_header_included
7 #define callgraph_header_included
36 #ifndef CALLGRAPH_INCLUDED
37 #define CALLGRAPH_INCLUDED
39 #define CALLGRAPH_NOT_FOUND NULL
41 #define CALLGRAPH_DRAW "CALLGRAPH_DRAW"
42 #define CALLGRAPH_DEBUG "CALLGRAPH_DEBUG"
43 #define CALLGRAPH_DEBUG_LEVEL "CALLGRAPH_DEBUG_LEVEL"
44 #define CALLGRAPH_SHORT_NAMES "CALLGRAPH_SHORT_NAMES"
46 #define CALLGRAPH_INDENT 4
bool print_decorated_call_graph(const string, text(*)(const string))
bool callgraph(const string)
callgraph computes the caller list of each module, using the callees list of them.
list callers_to_call_sites(list, entity)
given a list callers_statement of module statements returns a list of calls to module called_module
bool module_is_called_by_main_program_p(entity)
bool print_call_graph(const string)
void sort_parameters(entity, gen_cmp_func_t)
change the parameter order for function module using comparison function cmp both compilation unit an...
bool module_to_callgraph(entity, text(*)(const string))
bool full_graph_of_calls(string)
To be called by pipsmake.
list string_to_callees(const string)
CALLGRAPH_INCLUDED.
list entity_to_callees(entity)
bool graph_of_calls(const string)
graph.c
callees compute_callees(const statement)
Recompute the callees of a module statement.
void print_callees(callees)
print.c
list callers_to_statements(list)
given a list callers of module name calling module called module return a list of their body
int(* gen_cmp_func_t)(const void *, const void *)
The structure used to build lists in NewGen.