Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
Go to the source code of this file.
Functions | |
void | W2C_Cleanup (void) |
void | W2C_Init (void) |
void | W2C_Outfile_Fini (BOOL emit_global_decls) |
void | W2C_Outfile_Init (BOOL emit_global_decls) |
void | W2C_Outfile_Translate_Pu (WN *pu, BOOL emit_global_decls) |
void | W2C_Pop_PU (void) |
void | W2C_Process_Command_Line (INT phase_argc, char *const phase_argv[], INT argc, char *const argv[]) |
void | W2C_Push_PU (const WN *pu, WN *body_part_of_interest) |
void | W2C_Set_Frequency_Map (WN_MAP frequency_map) |
void | W2C_Set_Prompf_Emission (const WN_MAP *construct_map) |
BOOL | W2C_Should_Emit_Nested_PUs (void) |
void | W2C_Translate_Istore_Lhs (char *strbuf, UINT bufsize, const WN *lhs, mINT64 istore_ofst, TY_IDX istore_addr_ty, TYPE_ID istore_mtype) |
void | W2C_Translate_Wn (FILE *outfile, const WN *wn) |
void | W2C_Translate_Wn_Str (char *strbuf, UINT bufsize, const WN *wn) |
void | W2F_Cleanup (void) |
void | W2F_Init (void) |
void | W2F_Outfile_Fini (void) |
void | W2F_Outfile_Init (void) |
void | W2F_Outfile_Translate_Pu (WN *pu) |
void | W2F_Pop_PU (void) |
void | W2F_Process_Command_Line (INT phase_argc, char *phase_argv[], INT argc, char *argv[]) |
void | W2F_Push_PU (WN *pu, WN *body_part_of_interest) |
void | W2F_Set_Frequency_Map (WN_MAP frequency_map) |
void | W2F_Set_Prompf_Emission (WN_MAP *construct_map) |
BOOL | W2F_Should_Emit_Nested_PUs (void) |
void | W2F_Translate_Istore_Lhs (char *strbuf, UINT bufsize, WN *lhs, mINT64 istore_ofst, TY_IDX istore_addr_ty, TYPE_ID istore_mtype) |
void | W2F_Translate_Wn (FILE *outfile, WN *wn) |
void | W2F_Translate_Wn_Str (char *strbuf, UINT bufsize, WN *wn) |
void | Whirl2Src_Init (WN *func_nd) |
void | Whirl2Src_Emit (FILE *fp, WN *wn) |
void | Whirl2C_Init (WN *func_nd) |
void | Whirl2C_Emit (FILE *fp, WN *wn) |
void | Whirl2F_Init (WN *func_nd) |
void | Whirl2F_Emit (FILE *fp, WN *wn) |
void W2C_Cleanup | ( | void | ) |
Definition at line 1347 of file w2c_driver.cxx.
Referenced by Cleanup_Files().
void W2C_Init | ( | void | ) |
Definition at line 671 of file w2c_driver.cxx.
Referenced by W2C_Outfile_Init(), and Whirl2C_Init().
void W2C_Outfile_Fini | ( | BOOL | emit_global_decls | ) |
Definition at line 1295 of file w2c_driver.cxx.
Referenced by main(), and Phase_Fini().
void W2C_Outfile_Init | ( | BOOL | emit_global_decls | ) |
Definition at line 1112 of file w2c_driver.cxx.
Referenced by main(), and Phase_Init().
void W2C_Outfile_Translate_Pu | ( | WN * | pu, |
BOOL | emit_global_decls | ||
) |
Definition at line 1242 of file w2c_driver.cxx.
Referenced by main(), Post_LNO_Processing(), and Prompf_Emit_Whirl_to_Source().
void W2C_Pop_PU | ( | void | ) |
Definition at line 751 of file w2c_driver.cxx.
Referenced by W2CF_TRANSLATOR::_Istore_Lhs_To_String(), W2CF_TRANSLATOR::Expr_To_File(), W2CF_TRANSLATOR::Expr_To_String(), W2CF_TRANSLATOR::Stid_Lhs_To_String(), W2CF_TRANSLATOR::Transformed_Symname_To_String(), W2C_Outfile_Translate_Pu(), W2C_Translate_Purple_Main(), Whirl2C_Emit(), Whirl2Src_Translate_Iload_Str(), and Whirl2Src_Translate_Istore_Str().
void W2C_Process_Command_Line | ( | INT | phase_argc, |
char *const | phase_argv[], | ||
INT | argc, | ||
char *const | argv[] | ||
) |
Definition at line 636 of file w2c_driver.cxx.
Referenced by load_components(), main(), and Whirl2C_Init().
void W2C_Push_PU | ( | const WN * | pu, |
WN * | body_part_of_interest | ||
) |
Definition at line 719 of file w2c_driver.cxx.
Referenced by W2CF_TRANSLATOR::_Istore_Lhs_To_String(), W2CF_TRANSLATOR::Expr_To_File(), W2CF_TRANSLATOR::Expr_To_String(), W2CF_TRANSLATOR::Stid_Lhs_To_String(), W2CF_TRANSLATOR::Transformed_Symname_To_String(), W2C_Outfile_Translate_Pu(), W2C_Translate_Purple_Main(), Whirl2C_Emit(), Whirl2Src_Translate_Iload_Str(), and Whirl2Src_Translate_Istore_Str().
void W2C_Set_Frequency_Map | ( | WN_MAP | frequency_map | ) |
Definition at line 810 of file w2c_driver.cxx.
Referenced by Post_LNO_Processing().
void W2C_Set_Prompf_Emission | ( | const WN_MAP * | construct_map | ) |
Definition at line 802 of file w2c_driver.cxx.
Referenced by load_components().
BOOL W2C_Should_Emit_Nested_PUs | ( | void | ) |
Definition at line 628 of file w2c_driver.cxx.
Referenced by Post_LNO_Processing(), and Prompf_Emit_Whirl_to_Source().
void W2C_Translate_Istore_Lhs | ( | char * | strbuf, |
UINT | bufsize, | ||
const WN * | lhs, | ||
mINT64 | istore_ofst, | ||
TY_IDX | istore_addr_ty, | ||
TYPE_ID | istore_mtype | ||
) |
Definition at line 925 of file w2c_driver.cxx.
Referenced by W2CF_TRANSLATOR::_Istore_Lhs_To_String(), dummy(), and Whirl2Src_Translate_Istore_Str().
void W2C_Translate_Wn | ( | FILE * | outfile, |
const WN * | wn | ||
) |
Definition at line 951 of file w2c_driver.cxx.
Referenced by W2CF_TRANSLATOR::Expr_To_File(), and Whirl2C_Emit().
void W2C_Translate_Wn_Str | ( | char * | strbuf, |
UINT | bufsize, | ||
const WN * | wn | ||
) |
Definition at line 975 of file w2c_driver.cxx.
Referenced by dummy(), W2CF_TRANSLATOR::Expr_To_String(), and Whirl2Src_Translate_Iload_Str().
void W2F_Cleanup | ( | void | ) |
Definition at line 1473 of file w2f_driver.cxx.
Referenced by Cleanup_Files().
void W2F_Init | ( | void | ) |
Definition at line 774 of file w2f_driver.cxx.
Referenced by W2F_Outfile_Init(), and Whirl2F_Init().
void W2F_Outfile_Fini | ( | void | ) |
Definition at line 1430 of file w2f_driver.cxx.
Referenced by main(), and Phase_Fini().
void W2F_Outfile_Init | ( | void | ) |
Definition at line 1192 of file w2f_driver.cxx.
Referenced by main(), and Phase_Init().
void W2F_Outfile_Translate_Pu | ( | WN * | pu | ) |
Definition at line 1315 of file w2f_driver.cxx.
Referenced by main(), Post_LNO_Processing(), and Prompf_Emit_Whirl_to_Source().
void W2F_Pop_PU | ( | void | ) |
Definition at line 867 of file w2f_driver.cxx.
Referenced by W2CF_TRANSLATOR::_Istore_Lhs_To_String(), W2CF_TRANSLATOR::Expr_To_File(), W2CF_TRANSLATOR::Expr_To_String(), W2CF_TRANSLATOR::Stid_Lhs_To_String(), W2CF_TRANSLATOR::Transformed_Symname_To_String(), W2F_Outfile_Translate_Pu(), W2F_Translate_Purple_Main(), Whirl2F_Emit(), Whirl2Src_Translate_Iload_Str(), and Whirl2Src_Translate_Istore_Str().
void W2F_Process_Command_Line | ( | INT | phase_argc, |
char * | phase_argv[], | ||
INT | argc, | ||
char * | argv[] | ||
) |
Definition at line 732 of file w2f_driver.cxx.
Referenced by load_components(), main(), and Whirl2F_Init().
void W2F_Push_PU | ( | WN * | pu, |
WN * | body_part_of_interest | ||
) |
Definition at line 830 of file w2f_driver.cxx.
Referenced by W2CF_TRANSLATOR::_Istore_Lhs_To_String(), W2CF_TRANSLATOR::Expr_To_File(), W2CF_TRANSLATOR::Expr_To_String(), W2CF_TRANSLATOR::Stid_Lhs_To_String(), W2CF_TRANSLATOR::Transformed_Symname_To_String(), W2F_Outfile_Translate_Pu(), W2F_Translate_Purple_Main(), Whirl2F_Emit(), Whirl2Src_Translate_Iload_Str(), and Whirl2Src_Translate_Istore_Str().
void W2F_Set_Frequency_Map | ( | WN_MAP | frequency_map | ) |
Definition at line 916 of file w2f_driver.cxx.
Referenced by Post_LNO_Processing().
void W2F_Set_Prompf_Emission | ( | WN_MAP * | construct_map | ) |
Definition at line 908 of file w2f_driver.cxx.
Referenced by load_components().
BOOL W2F_Should_Emit_Nested_PUs | ( | void | ) |
Definition at line 725 of file w2f_driver.cxx.
Referenced by Post_LNO_Processing(), and Prompf_Emit_Whirl_to_Source().
void W2F_Translate_Istore_Lhs | ( | char * | strbuf, |
UINT | bufsize, | ||
WN * | lhs, | ||
mINT64 | istore_ofst, | ||
TY_IDX | istore_addr_ty, | ||
TYPE_ID | istore_mtype | ||
) |
Definition at line 996 of file w2f_driver.cxx.
Referenced by W2CF_TRANSLATOR::_Istore_Lhs_To_String(), dummy(), and Whirl2Src_Translate_Istore_Str().
void W2F_Translate_Wn | ( | FILE * | outfile, |
WN * | wn | ||
) |
Definition at line 1026 of file w2f_driver.cxx.
Referenced by W2CF_TRANSLATOR::Expr_To_File(), and Whirl2F_Emit().
void W2F_Translate_Wn_Str | ( | char * | strbuf, |
UINT | bufsize, | ||
WN * | wn | ||
) |
Definition at line 1053 of file w2f_driver.cxx.
Referenced by dummy(), W2CF_TRANSLATOR::Expr_To_String(), and Whirl2Src_Translate_Iload_Str().
void Whirl2C_Emit | ( | FILE * | fp, |
WN * | wn | ||
) |
Definition at line 138 of file whirl2src.cxx.
References FALSE, init_whirl2c, Is_True, W2C_Pop_PU(), W2C_Push_PU(), and W2C_Translate_Wn().
Referenced by Whirl2Src_Emit().
void Whirl2C_Init | ( | WN * | func_nd | ) |
Definition at line 64 of file whirl2src.cxx.
References init_whirl2c, load_so(), NULL, Show_Progress, TRUE, W2C_Init(), W2C_Path, and W2C_Process_Command_Line().
Referenced by Whirl2Src_Init().
void Whirl2F_Emit | ( | FILE * | fp, |
WN * | wn | ||
) |
Definition at line 156 of file whirl2src.cxx.
References FALSE, init_whirl2f, Is_True, W2F_Pop_PU(), W2F_Push_PU(), and W2F_Translate_Wn().
Referenced by Whirl2Src_Emit().
void Whirl2F_Init | ( | WN * | func_nd | ) |
Definition at line 91 of file whirl2src.cxx.
References init_whirl2f, load_so(), NULL, Show_Progress, TRUE, W2F_Init(), W2F_Path, and W2F_Process_Command_Line().
Referenced by Whirl2Src_Init().
void Whirl2Src_Emit | ( | FILE * | fp, |
WN * | wn | ||
) |
Definition at line 174 of file whirl2src.cxx.
References FALSE, FmtAssert, Get_Current_PU(), PU_C_LANG, PU_CXX_LANG, PU_F77_LANG, PU_F90_LANG, PU_src_lang(), Whirl2C_Emit(), and Whirl2F_Emit().
void Whirl2Src_Init | ( | WN * | func_nd | ) |
Definition at line 115 of file whirl2src.cxx.
References FALSE, FmtAssert, Get_Current_PU(), PU_C_LANG, PU_CXX_LANG, PU_F77_LANG, PU_F90_LANG, PU_src_lang(), Whirl2C_Init(), and Whirl2F_Init().