PIPS
|
Go to the source code of this file.
Macros | |
#define | ADD_ELEMENT_TO_LIST(_list, _type, _element) (_list = gen_nconc( _list, CONS( _type, _element, NIL))) |
Functions | |
vertex | get_vertex_in_list (list in_l, string in_s) |
get vertex in a list by the vertex's label More... | |
void | prettyprint_graph_text (FILE *out_f, list l_of_vers) |
print a graph to text format More... | |
void | prettyprint_graph_daVinci (FILE *out_f, list l_of_vers) |
print a graph to daVinci format, each label of successor is represented by a circular node, each vertex is represented by a square node More... | |
list | make_filtered_dg_or_dvdg (statement mod_stat, graph mod_graph) |
bool | print_filtered_dg_or_dvdg (string mod_name, bool is_dv) |
static void | statement_in_loopnest (statement s) |
static void | print_cone_vecteur (FILE *fd, Pvecteur v, Ptsg gs, int type) |
bool | print_loopnest_dependence_cone (const char *module_name) |
Variables | |
static bool | statement_in_loopnest_p = false |
static statement | test_statement_of_reference |
entity | selected_label |
Interface with pipsmake for interactive loop transformations: loop interchange, hyperplane method,... More... | |
get vertex in a list by the vertex's label
in_l | n_l |
in_s | n_s |
Definition at line 35 of file trace.c.
References MAP, same_string_p, VERTEX, vertex_undefined, and vertex_vertex_label.
Referenced by make_filtered_dg_or_dvdg().
for computing the line numbers of statements
Additional information for EDF prettyprint. Instruction calls are given with statement numbers
mod_stat | od_stat |
mod_graph | od_graph |
Definition at line 101 of file trace.c.
References action_read_p, ADD_ELEMENT_TO_LIST, apply_persistant_statement_to_int(), call_function, CAR, cone_levels, cone_undefined, CONFLICT, conflict_cone, conflict_sink, conflict_source, dg_arc_label_conflicts, effect_action, effect_any_reference, effect_words_reference(), entity_local_name(), free_persistant_statement_to_int(), gen_free_list(), gen_in_list_p(), get_bool_property(), get_current_module_entity(), get_list_of_variable_to_filter(), get_vertex_in_list(), graph_vertices, instruction_call, instruction_call_p, INT, make_successor(), make_vertex(), malloc(), MAP, MAPL, memset(), mod_stat, module_to_declaration_length(), NIL, persistant_statement_to_int_undefined, pl, reference_variable, s1, statement_instruction, statement_number, statement_to_line_number(), statement_undefined_p, SUCCESSOR, successor_arc_label, successor_vertex, verlist, VERTEX, vertex_successors, vertex_to_statement(), vertex_undefined_p, and words_to_string().
Referenced by print_filtered_dg_or_dvdg().
void prettyprint_graph_daVinci | ( | FILE * | out_f, |
list | l_of_vers | ||
) |
print a graph to daVinci format, each label of successor is represented by a circular node, each vertex is represented by a square node
To match the call to the free() at the end:
out_f | ut_f |
l_of_vers | _of_vers |
Definition at line 63 of file trace.c.
References concatenate(), fprintf(), free(), MAP, strdup(), SUCCESSOR, successor_arc_label, successor_vertex, VERTEX, vertex_successors, and vertex_vertex_label.
Referenced by print_filtered_dg_or_dvdg().
void prettyprint_graph_text | ( | FILE * | out_f, |
list | l_of_vers | ||
) |
print a graph to text format
out_f | ut_f |
l_of_vers | _of_vers |
Definition at line 46 of file trace.c.
References FOREACH, fprintf(), SUCCESSOR, successor_arc_label, successor_vertex, VERTEX, vertex_successors, and vertex_vertex_label.
Referenced by print_filtered_dg_or_dvdg().
Definition at line 258 of file trace.c.
References type_sg::base, fprint_string_Value(), fprintf(), Svecteur::succ, vect_coeff(), vect_in_basis_p(), VECTEUR_NUL_P, and vecteur_var.
Referenced by print_loopnest_dependence_cone().
mod_name | od_name |
is_dv | s_dv |
Definition at line 202 of file trace.c.
References concatenate(), db_build_file_resource_name(), db_get_current_workspace_directory(), db_get_memory_resource(), DB_PUT_FILE_RESOURCE, debug_off, debug_on, dg, free(), gen_free_list(), get_current_module_statement(), local_name_to_top_level_entity(), make_filtered_dg_or_dvdg(), mod_stat, prettyprint_graph_daVinci(), prettyprint_graph_text(), reset_current_module_entity(), reset_current_module_statement(), reset_ordering_to_statement(), safe_fclose(), safe_fopen(), set_current_module_entity(), set_current_module_statement(), set_ordering_to_statement(), and strdup().
Referenced by print_filtered_dependence_daVinci_graph(), and print_filtered_dependence_graph().
bool print_loopnest_dependence_cone | ( | const char * | module_name | ) |
Get the loop label from the user
module_name | odule_name |
Definition at line 274 of file trace.c.
References type_sg::base, base_fprint(), concatenate(), cone_generating_system, cone_undefined, CONFLICT, conflict_cone, db_build_file_resource_name(), db_get_current_workspace_directory(), db_get_memory_resource(), DB_PUT_FILE_RESOURCE, debug_off, debug_on, dg, dg_arc_label_conflicts, entity_undefined_p, find_label_entity(), find_loop_from_label(), FOREACH, fprintf(), free(), gen_recurse, gen_true(), get_current_module_statement(), get_string_property(), graph_vertices, local_name_to_top_level_entity(), mod_stat, module_name(), pips_user_warning, print_cone_vecteur(), reset_current_module_entity(), reset_current_module_statement(), reset_ordering_to_statement(), safe_entity_name(), safe_fclose(), safe_fopen(), selected_label, set_current_module_entity(), set_current_module_statement(), set_ordering_to_statement(), sg_droites, sg_nbre_droites, sg_nbre_rayons, sg_nbre_sommets, sg_rayons, sg_sommets, SG_UNDEFINED_P, statement_domain, statement_in_loopnest(), statement_in_loopnest_p, strdup(), string_undefined_p, SUCCESSOR, successor_arc_label, successor_vertex, test_statement_of_reference, vect_chg_sgn(), vect_copy(), vect_rm(), VERTEX, vertex_successors, and vertex_to_statement().
|
static |
Definition at line 252 of file trace.c.
References statement_in_loopnest_p, statement_number, and test_statement_of_reference.
Referenced by print_loopnest_dependence_cone().
|
extern |
Interface with pipsmake for interactive loop transformations: loop interchange, hyperplane method,...
Definition at line 61 of file interactive_loop_transformation.c.
Referenced by print_loopnest_dependence_cone().
Definition at line 250 of file trace.c.
Referenced by print_loopnest_dependence_cone(), and statement_in_loopnest().
|
static |
Definition at line 251 of file trace.c.
Referenced by print_loopnest_dependence_cone(), and statement_in_loopnest().