
Go to the source code of this file.
Functions | |
| void | IR_reader_init (void) |
| void | IR_reader_finish (void) |
| FILE * | IR_open (const char *filename) |
| void | IR_close (void) |
| BOOL | IR_open_output (const char *filename) |
| void | IR_close_output (void) |
| WN * | IR_get_func (void) |
| void | IR_put_func (WN *wn, FILE *f) |
| void | IR_Dwarf_Gen_File_Table (BOOL dump_filenames) |
| void | IR_Srcpos_Filename (SRCPOS srcpos, const char **fname, const char **dirname) |
| void | Check_for_IR_Dump (INT phase, WN *pu, const char *phase_name) |
| void | dump_wn (WN *wn) |
| void | dump_tree (WN *wn) |
| void | dump_region_tree (WN *wn) |
| void | dump_wn_no_st (WN *wn) |
| void | fdump_wn_no_st (FILE *fp, WN *wn) |
| void | dump_tree_no_st (WN *wn) |
| void | fdump_tree_with_alias (FILE *fp, const WN *wn, WN_MAP map, const struct ALIAS_MANAGER *) |
| void | fdump_tree_with_freq (FILE *fp, const WN *wn, WN_MAP map) |
| void | fdump_wn (FILE *f, WN *wn) |
| void | fdump_tree (FILE *f, WN *wn) |
| void | fdump_tree_no_st (FILE *f, WN *wn) |
| void | fdump_region_tree (FILE *f, WN *wn) |
| void | fdump_dep_tree (FILE *f, WN *wn, struct ALIAS_MANAGER *alias) |
| void | CG_Dump_Region (FILE *f, WN *) |
| BOOL | IR_set_dump_order (BOOL dump_prefix) |
| void | enable_tree_freq_display (void) |
| void | disable_tree_freq_display (void) |
| void | WN_TREE_put_func (WN *, FILE *) |
| void | WN_TREE_dump_tree (WN *wn) |
| void | WN_TREE_fdump_tree (FILE *f, WN *wn) |
Variables | |
| BOOL | IR_dump_map_info |
| BOOL | IR_dump_region |
| BOOL | IR_dump_line_numbers |
| void CG_Dump_Region | ( | FILE * | f, | |
| WN * | ||||
| ) |
Definition at line 1898 of file ir_reader.cxx.
References CURRENT_SYMTAB, fdump_tree(), fprintf(), Get_Trace(), GLOBAL_SYMTAB, Print_symtab(), TFile, TKIND_IR, and TKIND_SYMTAB.
Referenced by LNO_Processing(), Preprocess_PU(), and WOPT_Processing().

| void disable_tree_freq_display | ( | void | ) |
Definition at line 1582 of file ir_reader.cxx.
References IR_freq_map, and WN_MAP_UNDEFINED.
| void dump_region_tree | ( | WN * | wn | ) |
Definition at line 1491 of file ir_reader.cxx.
References fdump_tree(), IR_dump_region, and TRUE.

| void dump_tree | ( | WN * | wn | ) |
Definition at line 1485 of file ir_reader.cxx.
References fdump_tree().
Referenced by dump_tree_no_st(), and WB_BROWSER::This_Tree().

| void dump_tree_no_st | ( | WN * | wn | ) |
Definition at line 1523 of file ir_reader.cxx.
References dump_tree(), FALSE, follow_st, IR_reader_init(), and is_initialized.

| void dump_wn | ( | WN * | wn | ) |
Definition at line 1461 of file ir_reader.cxx.
References IR_Dwarf_Gen_File_Table(), ir_ofile, ir_put_wn(), IR_reader_init(), is_initialized, and TRUE.
Referenced by cwh_block_dump(), and dump_wn_no_st().

| void dump_wn_no_st | ( | WN * | wn | ) |
Definition at line 1499 of file ir_reader.cxx.
References dump_wn(), FALSE, follow_st, IR_reader_init(), and is_initialized.

| void enable_tree_freq_display | ( | void | ) |
Definition at line 1577 of file ir_reader.cxx.
References IR_freq_map, and WN_MAP_FEEDBACK.
| void fdump_dep_tree | ( | FILE * | f, | |
| WN * | wn, | |||
| struct ALIAS_MANAGER * | alias | |||
| ) |
| void fdump_region_tree | ( | FILE * | f, | |
| WN * | wn | |||
| ) |
Definition at line 1595 of file ir_reader.cxx.
References fdump_tree(), IR_dump_region, and TRUE.
Referenced by Do_WOPT_and_CG_with_Regions(), LNO_Processing(), Post_Process_Backend(), and WOPT_Processing().

| void fdump_tree | ( | FILE * | f, | |
| WN * | wn | |||
| ) |
Definition at line 1533 of file ir_reader.cxx.
| void fdump_tree_no_st | ( | FILE * | f, | |
| WN * | wn | |||
| ) |
Definition at line 1556 of file ir_reader.cxx.
References FALSE, fdump_tree(), follow_st, IR_reader_init(), and is_initialized.

| void fdump_tree_with_alias | ( | FILE * | fp, | |
| const WN * | wn, | |||
| WN_MAP | map, | |||
| const struct ALIAS_MANAGER * | ||||
| ) |
Definition at line 1566 of file ir_reader.cxx.
References fdump_tree(), and IR_alias_map.

Definition at line 1587 of file ir_reader.cxx.
References fdump_tree(), and IR_freq_map.

| void fdump_wn | ( | FILE * | f, | |
| WN * | wn | |||
| ) |
Definition at line 1473 of file ir_reader.cxx.
References IR_Dwarf_Gen_File_Table(), ir_ofile, ir_put_wn(), IR_reader_init(), is_initialized, and TRUE.

| void fdump_wn_no_st | ( | FILE * | fp, | |
| WN * | wn | |||
| ) |
Definition at line 1509 of file ir_reader.cxx.
References FALSE, follow_st, IR_Dwarf_Gen_File_Table(), ir_ofile, ir_put_wn(), IR_reader_init(), is_initialized, and TRUE.

| void IR_close | ( | void | ) |
| void IR_close_output | ( | void | ) |
| void IR_Dwarf_Gen_File_Table | ( | BOOL | dump_filenames | ) |
Definition at line 488 of file ir_reader.cxx.
References DST_DIR_IDX_TO_PTR, DST_get_include_dirs(), DST_INCLUDE_DIR_next, DST_INCLUDE_DIR_path, DST_IS_NULL, DST_STR_IDX_TO_PTR, file_info::fileptr, fprintf(), idx, incl_table_size, INT, ir_print_filename(), file_info::max_line_printed, name, NULL, and TRUE.
Referenced by dump_wn(), fdump_tree(), fdump_wn(), fdump_wn_no_st(), ir_b2a(), IR_Srcpos_Filename(), and WN_TREE_fdump_tree().

| WN* IR_get_func | ( | void | ) |
| FILE* IR_open | ( | const char * | filename | ) |
| BOOL IR_open_output | ( | const char * | filename | ) |
| void IR_put_func | ( | WN * | wn, | |
| FILE * | f | |||
| ) |
Definition at line 1438 of file ir_reader.cxx.
References ir_ofile, and ir_put_stmt().
Referenced by fdump_tree(), and ir_b2a_process_PUs().

| void IR_reader_finish | ( | void | ) |
| void IR_reader_init | ( | void | ) |
Definition at line 310 of file ir_reader.cxx.
References follow_st, ir_ofile, is_initialized, LINE_LEN, MEM_local_pool, MEM_POOL_Alloc, MEM_POOL_Push, TRUE, and USRCPOS_clear.
Referenced by dump_tree_no_st(), dump_wn(), dump_wn_no_st(), fdump_tree(), fdump_tree_no_st(), fdump_wn(), fdump_wn_no_st(), ir_b2a(), and WN_TREE_fdump_tree().
Definition at line 327 of file ir_reader.cxx.
References dump_parent_before_children.
| void IR_Srcpos_Filename | ( | SRCPOS | srcpos, | |
| const char ** | fname, | |||
| const char ** | dirname | |||
| ) |
Definition at line 547 of file ir_reader.cxx.
References FALSE, file_info::filename, file_info::incl_index, IR_Dwarf_Gen_File_Table(), NULL, USRCPOS_filenum, and USRCPOS_srcpos.
Referenced by ErrMsgSrcpos(), Output_Srcpos_Directive(), Set_Error_Srcpos(), and Write_Srcpos_File_Map_Table().

| void WN_TREE_dump_tree | ( | WN * | wn | ) |
Definition at line 1889 of file ir_reader.cxx.
References WN_TREE_fdump_tree().

| void WN_TREE_fdump_tree | ( | FILE * | f, | |
| WN * | wn | |||
| ) |
Definition at line 1866 of file ir_reader.cxx.
References fprintf(), IR_Dwarf_Gen_File_Table(), ir_ofile, ir_print_filename(), IR_reader_init(), is_initialized, NULL, OPC_FUNC_ENTRY, OPCODE_is_expression(), OPCODE_is_scf(), OPCODE_is_stmt(), TRUE, WN_opcode(), WN_TREE_put_expr(), WN_TREE_put_func(), and WN_TREE_put_stmt().
Referenced by WN_TREE_dump_tree().

| void WN_TREE_put_func | ( | WN * | , | |
| FILE * | ||||
| ) |
Definition at line 1853 of file ir_reader.cxx.
References ir_ofile, and WN_TREE_put_stmt().
Referenced by WN_TREE_fdump_tree().

Definition at line 221 of file ir_reader.cxx.
Referenced by ir_put_wn(), and main().
Definition at line 218 of file ir_reader.cxx.
Referenced by ir_put_wn(), and main().
Definition at line 219 of file ir_reader.cxx.
Referenced by dump_region_tree(), and fdump_region_tree().
1.6.1