#include <config.h>#include "system.h"#include "rtl.h"#include "flags.h"#include "output.h"#include "function.h"#include "hard-reg-set.h"#include "basic-block.h"#include "toplev.h"#include "graph.h"

Go to the source code of this file.
Functions/Subroutines | |
| static void start_fct | PARAMS ((FILE *)) |
| static void start_bb | PARAMS ((FILE *, int)) |
| static void node_data | PARAMS ((FILE *, rtx)) |
| static void draw_edge | PARAMS ((FILE *, int, int, int, int)) |
| static void | start_fct (FILE *fp) |
| static void | start_bb (FILE *fp, int bb) |
| static void | node_data (FILE *fp, rtx tmp_rtx) |
| static void | draw_edge (FILE *fp, int from, int to, int bb_edge, int class) |
| static void | end_bb (FILE *fp) |
| static void | end_fct (FILE *fp) |
| void | print_rtl_graph_with_bb (char *base, const char *suffix, rtx rtx_first) const |
| void | clean_graph_dump_file (char *base, const char *suffix) const |
| void | finish_graph_dump_file (char *base, const char *suffix) const |
Variables | |
| static const char *const | graph_ext [] |
| void clean_graph_dump_file | ( | char * | base, | |
| const char * | suffix | |||
| ) | const |
Definition at line 403 of file graph.c.
References abort, alloca, buf, fclose(), fopen, fp, fputs(), graph_dump_format, graph_ext, memcpy, no_graph, NULL, strlen(), and vcg.
Referenced by close_dump_file(), execute_one_pass(), and open_dump_file().
Definition at line 171 of file graph.c.
References current_function_name, fprintf(), fputs(), graph_dump_format, no_graph, and vcg.
Referenced by print_rtl_graph_with_bb().
Definition at line 203 of file graph.c.
References fputs(), graph_dump_format, no_graph, and vcg.
Referenced by CGGRP_Check_Split_BB(), CSE::Do_cse_pass_2(), Handle_Chk_Split_Bunch(), print_rtl_graph_with_bb(), and reorder_range_list().
Definition at line 217 of file graph.c.
References current_function_name, fprintf(), graph_dump_format, no_graph, and vcg.
Referenced by print_rtl_graph_with_bb().
| void finish_graph_dump_file | ( | char * | base, | |
| const char * | suffix | |||
| ) | const |
Definition at line 107 of file graph.c.
References current_function_name, fprintf(), fputs(), GET_CODE, GET_NOTE_INSN_NAME, GET_RTX_NAME, graph_dump_format, INSN_P, no_graph, NOTE_LINE_NUMBER, PATTERN, PREV_INSN, print_rtl_single(), vcg, and XINT.
Referenced by print_rtl_graph_with_bb().
Definition at line 234 of file graph.c.
References alloca, BASIC_BLOCK, basic_block_info, buf, edge::dest, draw_edge(), dump_for_graph, EDGE_ABNORMAL, basic_block_def::end, end, end_bb(), end_fct(), EXIT_BLOCK_PTR, fclose(), edge::flags, fopen, FOR_EACH_BB_REVERSE, fp, fprintf(), free(), GET_CODE, get_max_uid(), graph_dump_format, graph_ext, basic_block_def::head, i, basic_block_def::index, INSN_UID, max_uid, memcpy, NEXT_INSN, next_insn(), next_nonnote_insn(), node_data(), NULL, NULL_RTX, start, start_bb(), start_fct(), strlen(), basic_block_def::succ, edge::succ_next, x, XINT, and xmalloc().
Referenced by close_dump_file(), and execute_todo().
Definition at line 66 of file graph.c.
References current_function_name, EXECUTE_IF_SET_IN_REG_SET, FIRST_PSEUDO_REGISTER, fprintf(), fputc(), fputs(), graph_dump_format, i, no_graph, reg_names, and vcg.
Referenced by CFG::Add_one_do_loop_stmt(), HAS_NO_CALL_OR_HAS_NULL_OR_UNREACHABLE_LABEL::operator()(), print_rtl_graph_with_bb(), and update_ssa().
Definition at line 49 of file graph.c.
References current_function_name, fprintf(), graph_dump_format, no_graph, and vcg.
Referenced by print_rtl_graph_with_bb().
const char* const graph_ext[] [static] |
Initial value:
{
"",
".vcg",
}
Definition at line 34 of file graph.c.
Referenced by clean_graph_dump_file(), finish_graph_dump_file(), and print_rtl_graph_with_bb().
1.5.6