|
libFirm 1.20
|
Typedefs | |
| typedef void(* | ir_prog_dump_func )(FILE *out) |
| type for dumpers that dump information about the whole program | |
| typedef void(* | ir_graph_dump_func )(FILE *out, ir_graph *graph) |
| type for graph dumpers | |
Functions | |
| void | dump_ir_graph (ir_graph *graph, const char *suffix) |
| Convenience interface for dumping a graph as vcg file. | |
| void | dump_ir_prog_ext (ir_prog_dump_func func, const char *suffix) |
| Convenience interface for dumping the whole compilation-unit/program. | |
| void | dump_ir_graph_ext (ir_graph_dump_func func, ir_graph *graph, const char *suffix) |
| Convenience interface for dumping graphs. | |
| void | dump_all_ir_graphs (const char *suffix) |
| A walker that calls a dumper for each graph in the program. | |
| void | ir_set_dump_path (const char *path) |
| Specifies output path for the dump_ir_graph function. | |
| void | ir_set_dump_filter (const char *name) |
| Sets a prefix filter for output functions. | |
| const char * | ir_get_dump_filter (void) |
| Returns the prefix filter set with ir_set_dump_filter. | |
| int | ir_should_dump (const char *name) |
| Returns true if dump file filter is not set, or if it is a prefix of name. | |
| ir_prog_pass_t * | dump_all_ir_graph_pass (const char *name, const char *suffix) |
| Creates an ir_prog pass for dump_all_ir_graphs(). | |
| typedef void(* ir_graph_dump_func)(FILE *out, ir_graph *graph) |
| typedef void(* ir_prog_dump_func)(FILE *out) |
| ir_prog_pass_t* dump_all_ir_graph_pass | ( | const char * | name, |
| const char * | suffix | ||
| ) |
Creates an ir_prog pass for dump_all_ir_graphs().
| name | the name of this pass or NULL |
| suffix | A suffix for the file name. |
| void dump_all_ir_graphs | ( | const char * | suffix | ) |
A walker that calls a dumper for each graph in the program.
| suffix | A suffix for the file name. |
| void dump_ir_graph | ( | ir_graph * | graph, |
| const char * | suffix | ||
| ) |
Convenience interface for dumping a graph as vcg file.
For details on how the filename is constructed see dump_ir_graph_ext
| void dump_ir_graph_ext | ( | ir_graph_dump_func | func, |
| ir_graph * | graph, | ||
| const char * | suffix | ||
| ) |
Convenience interface for dumping graphs.
The filename is constructed by combining a counter, the name of the graphs entity and the given suffix. The file-extensions is determined by looking at mime_type. The file is stored into the directory specified by ir_set_dump_path
| func | Dumper. Usually one of dump_cfg, dump_loop_tree, dump_ir_graph_file |
| graph | the graph to dump |
| suffix | suffix |
| void dump_ir_prog_ext | ( | ir_prog_dump_func | func, |
| const char * | suffix | ||
| ) |
Convenience interface for dumping the whole compilation-unit/program.
The filename is constructed by combining a counter, the name of the current ir_prog and the given suffix. The file-extensions is determined by looking at mime_type. The file is stored into the directory specified by ir_set_dump_path
| func | Dumper. Usually one of dump_callgraph, dump_typegraph, dump_class_hierarchy, dump_types_as_text, dump_globals_as_text |
| suffix | Suffix to append to the name |
| const char* ir_get_dump_filter | ( | void | ) |
Returns the prefix filter set with ir_set_dump_filter.
| void ir_set_dump_filter | ( | const char * | name | ) |
Sets a prefix filter for output functions.
All graph dumpers check this name. If the name is != "" and not a prefix of the graph to be dumped, the dumper does not dump the graph.
| name | The prefix of the name of the method entity to be dumped. |
| void ir_set_dump_path | ( | const char * | path | ) |
Specifies output path for the dump_ir_graph function.
| int ir_should_dump | ( | const char * | name | ) |
Returns true if dump file filter is not set, or if it is a prefix of name.