Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
ir_reader.h File Reference
This graph shows which files directly or indirectly include this file:

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)
WNIR_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

Function Documentation

void CG_Dump_Region ( FILE *  f,
WN  
)
void Check_for_IR_Dump ( INT  phase,
WN pu,
const char *  phase_name 
)

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().

Here is the call graph for this function:

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.

Here is the call graph for this function:

void dump_tree ( WN wn)

Definition at line 1485 of file ir_reader.cxx.

References fdump_tree().

Referenced by dump_tree_no_st().

Here is the call graph for this function:

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.

Here is the call graph for this function:

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().

Here is the call graph for this function:

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.

Here is the call graph for this function:

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().

Here is the call graph for this function:

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.

Here is the call graph for this function:

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(), IR_alias_map, and IR_alias_mgr.

Here is the call graph for this function:

void fdump_tree_with_freq ( FILE *  fp,
const WN wn,
WN_MAP  map 
)

Definition at line 1587 of file ir_reader.cxx.

References fdump_tree(), and IR_freq_map.

Here is the call graph for this function:

void fdump_wn ( FILE *  f,
WN wn 
)

Definition at line 1473 of file ir_reader.cxx.

References fp, IR_Dwarf_Gen_File_Table(), ir_ofile, ir_put_wn(), IR_reader_init(), is_initialized, and TRUE.

Here is the call graph for this function:

void fdump_wn_no_st ( FILE *  fp,
WN wn 
)

Definition at line 1509 of file ir_reader.cxx.

References FALSE, follow_st, fp, IR_Dwarf_Gen_File_Table(), ir_ofile, ir_put_wn(), IR_reader_init(), is_initialized, and TRUE.

Here is the call graph for this function:

void IR_close ( void  )
void IR_close_output ( void  )
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().

Here is the call graph for this function:

void IR_reader_finish ( void  )
BOOL IR_set_dump_order ( BOOL  dump_prefix)

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 
)
void WN_TREE_dump_tree ( WN wn)

Definition at line 1889 of file ir_reader.cxx.

References WN_TREE_fdump_tree().

Here is the call graph for this function:

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().

Here is the call graph for this function:


Variable Documentation

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().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines