/* A suffix to manipulate the file name. */
char *dump_file_suffix = "";
+char *dump_file_filter = "";
+
/* file to dump to */
static FILE *F;
ir_graph *rem;
char *suffix;
rem = current_ir_graph;
- current_ir_graph = irg;
+ if(strncmp(get_irg_dump_name(irg),dump_file_filter,strlen(dump_file_filter))!=0) return;
+
+ current_ir_graph = irg;
if (interprocedural_view) suffix = "-pure-ip";
else suffix = "-pure";
vcg_open (irg, dump_file_suffix, suffix);
int i;
char *suffix;
+ if(strncmp(get_irg_dump_name(irg),dump_file_filter,strlen(dump_file_filter))!=0) return;
+
if (interprocedural_view) suffix = "-ip";
else suffix = "";
vcg_open (irg, dump_file_suffix, suffix);
{
ir_graph *rem = current_ir_graph;
char *suffix;
+
+ if(strncmp(get_irg_dump_name(irg),dump_file_filter,strlen(dump_file_filter))!=0) return;
+
current_ir_graph = irg;
if (interprocedural_view) suffix = "-pure-wtypes-ip";
char *suffix;
ir_graph *rem = current_ir_graph;
+ if(strncmp(get_irg_dump_name(irg),dump_file_filter,strlen(dump_file_filter))!=0) return;
+
if (interprocedural_view) suffix = "-wtypes-ip";
else suffix = "-wtypes";
vcg_open (irg, dump_file_suffix, suffix);
ir_graph *rem = current_ir_graph;
int ddif = dump_dominator_information_flag;
int ipv = interprocedural_view;
+
+ if(strncmp(get_irg_dump_name(irg),dump_file_filter,strlen(dump_file_filter))!=0) return;
+
current_ir_graph = irg;
vcg_open (irg, dump_file_suffix, "-cfg");
{
ir_graph *rem;
rem = current_ir_graph;
+
+ if(strncmp(get_irg_dump_name(irg),dump_file_filter,strlen(dump_file_filter))!=0) return;
+
current_ir_graph = irg;
vcg_open (irg, dump_file_suffix, "-type");
void dump_loops_standalone (ir_loop *loop) {
- int i, loop_node_started = 0, son_number = 0, first;
+ int i, loop_node_started = 0, son_number = 0, first = 0;
loop_element le;
/* Dump a new loop node. */
int el_rem = edge_label;
edge_label = 1;
+ if(strncmp(get_irg_dump_name(irg),dump_file_filter,strlen(dump_file_filter))!=0) return;
+
current_ir_graph = irg;
vcg_open(irg, suffix, "-looptree");