Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#include "x_string.h"
#include "stamp.h"
#include "defs.h"
#include "config.h"
#include "config_debug.h"
#include "file_util.h"
#include "flags.h"
#include "glob.h"
#include "tracing.h"
#include "util.h"
#include "wn.h"
#include "erglob.h"
#include "erlib.h"
#include "err_host.tab"
#include "sgi_cmd_line.h"
#include "cwh_mkdepend.h"
#include <cmplrs/make_depend.h>
#include <stdarg.h>
#include <signal.h>
Go to the source code of this file.
#define DEF_DEBUG_LEVEL 0 |
Definition at line 123 of file sgi_cmd_line.cxx.
#define DEF_MSG_LEVEL 2 |
Definition at line 129 of file sgi_cmd_line.cxx.
#define DEF_PROFILE_LEVEL 0 |
Definition at line 126 of file sgi_cmd_line.cxx.
#define MAX_MSG_LEVEL 2 |
Definition at line 128 of file sgi_cmd_line.cxx.
Referenced by Process_Command_Line().
#define MAX_PROFILE_LEVEL 0 |
Definition at line 125 of file sgi_cmd_line.cxx.
void add_cray_args | ( | char * | arg | ) |
Definition at line 206 of file sgi_cmd_line.cxx.
References argv_cray, NULL, num_cray_args, size_cray_argv, and ux_strdup().
Referenced by Cray_Woff(), DEBUG_Configure(), Process_Command_Line(), and sgi_cmd_line().
void add_deferred_cray_args | ( | char * | arg | ) |
Definition at line 224 of file sgi_cmd_line.cxx.
References deferred_argv_cray, NULL, num_deferred_cray_args, size_deferred_cray_argv, and ux_strdup().
Referenced by Process_Command_Line().
void Cray_Woff | ( | char * | list | ) |
Definition at line 264 of file sgi_cmd_line.cxx.
References add_cray_args(), free(), and strcpy.
Referenced by DEBUG_Configure(), and Process_Command_Line().
static WN_PRAGMA_SCHEDTYPE_KIND identify_schedtype | ( | char * | text | ) | [static] |
Definition at line 180 of file sgi_cmd_line.cxx.
References EC_Unknown_Mpsched, ErrMsg(), ux_strncasecmp(), WN_PRAGMA_SCHEDTYPE_DYNAMIC, WN_PRAGMA_SCHEDTYPE_GSS, WN_PRAGMA_SCHEDTYPE_INTERLEAVE, WN_PRAGMA_SCHEDTYPE_PSEUDOLOWERED, WN_PRAGMA_SCHEDTYPE_RUNTIME, WN_PRAGMA_SCHEDTYPE_SIMPLE, and WN_PRAGMA_SCHEDTYPE_UNKNOWN.
Referenced by Process_Command_Line().
void Process_Command_Line | ( | INT | argc, |
char ** | argv | ||
) |
Definition at line 284 of file sgi_cmd_line.cxx.
References add_cray_args(), add_deferred_cray_args(), add_phase_args(), argc_cray, argv_cray, c, cleanUpWhirl, Common_Option_Groups, Compile_Upc, compiling_upc_flag, Config_File_Name, Cray_Woff(), CXX_Exceptions_On, Debug_Level, DEF_O_LEVEL, DEF_SDATA_ELT_SIZE, deferred_argv_cray, disable_old_mp, disable_open_mp, Dsm_Recompile, EC_File_Flag, EC_File_Name, EC_No_Sources, EC_Unknown_Flag, enable_dsm_processing, enable_dsm_recompile, enable_mp_processing, Err_File_Name, ErrMsg(), ES_ADVISORY, ES_ERROR, ES_WARNING, exit(), f, FALSE, FE_align, FE_command_line, Feedback_File_Name, fprintf(), free(), Get_Numeric_Flag(), Get_Trace(), global_chunk_pragma_set, global_chunk_pragma_value, Global_File_Name, global_schedtype_pragma_set, global_schedtype_pragma_val, Handle_Phase_Specific_Options(), identify_schedtype(), INCLUDE_STAMP, Initialize_Timing(), Irb_File_Name, Last_Pathname_Component(), List_Enabled, List_Phase_Numbers(), Lst_File_Name, MAX_DEBUG_LEVEL, MAX_MSG_LEVEL, MAX_OPT_LEVEL, Max_Sdata_Elt_Size, MAX_SDATA_ELT_SIZE, mdtarget_file, mdupdate_file, mfef90_compiler_build_date, Min_Error_Severity, NULL, num_cray_args, num_deferred_cray_args, Obj_File_Name, object_file_name, Olimit_opt, Opt_Level, Orig_Src_File_Name, PHASE_CG, PHASE_IPL, PHASE_W2F, Process_Command_Line_Group(), process_cri_mp_pragmas, Process_Trace_Option(), Rag_Handle_Woff_Args(), RC_USER_ERROR, rii_file_name, Run_autopar, Run_cg, Run_Dsm_Check, Run_Dsm_Cloner, Run_Dsm_Common_Check, Run_ipl, Run_lno, Run_MemCtr, Run_preopt, Run_purple, Run_w2c, Run_w2f, Run_w2fc_early, Run_wopt, Set_Trace(), Show_Progress, size_cray_argv, size_deferred_cray_argv, Src_File_Name, strcpy, TINFO_TFLAGS, TKIND_INFO, Tlog_Enabled, Tlog_File_Name, TP_PTRACE1, TP_PTRACE1_ALL, TP_PTRACE2, Tracing_Enabled, Trc_File_Name, TRUE, ux_strdup(), and WN_PRAGMA_SCHEDTYPE_UNKNOWN.
void sgi_cmd_line | ( | INT * | argc, |
char *** | argv | ||
) |
Definition at line 767 of file sgi_cmd_line.cxx.
References add_cray_args(), argc_cray, argv_cray, Configure(), Configure_Source(), Current_DEBUG, DEBUG_Fullwarn, DEBUG_Subscript_Check, deferred_argv_cray, disable_old_mp, disable_open_mp, enable_mp_processing, debug_flags::error, ERROR_LINE_UNKNOWN, debug_flags::error_set, fprintf(), free(), FTN_Short_Circuit_On, Get_Trace(), Handle_Signals(), Init_Error_Handler(), IPA_Configure_Target(), LANG_F90, Language, len, Matmul_Inline, Matmul_Inline_Set, mdtarget_file, MEM_Initialize(), MEM_POOL_Initialize, MEM_POOL_Push, Mv_Matmul_Inline, Mv_Matmul_Inline_Set, option_list::next, NULL, num_cray_args, num_deferred_cray_args, object_file_name, Opt_Level, Phases, Pointer_Size, Preconfigure(), Process_Command_Line(), save_argc, save_argv, Set_Error_File(), Set_Error_Line(), Set_Error_Phase(), Set_Error_Tables(), strcpy, TFile, TP_IRB, TRUE, option_list::val, debug_flags::warning, and debug_flags::warning_set.
Referenced by init_compiler().
Definition at line 165 of file sgi_cmd_line.cxx.
Referenced by Process_Command_Line(), and sgi_cmd_line().
char** argv_cray |
Definition at line 166 of file sgi_cmd_line.cxx.
Referenced by add_cray_args(), Process_Command_Line(), and sgi_cmd_line().
Definition at line 97 of file sgi_cmd_line.cxx.
Referenced by PDGCS_do_proc(), and Process_Command_Line().
Definition at line 124 of file sgi_cmd_line.cxx.
char** deferred_argv_cray |
Definition at line 170 of file sgi_cmd_line.cxx.
Referenced by add_deferred_cray_args(), Process_Command_Line(), and sgi_cmd_line().
Definition at line 101 of file sgi_cmd_line.cxx.
Referenced by Process_Command_Line(), and sgi_cmd_line().
Definition at line 102 of file sgi_cmd_line.cxx.
Referenced by Process_Command_Line(), and sgi_cmd_line().
Definition at line 83 of file sgi_cmd_line.cxx.
Referenced by PDGCS_initialize(), and Process_Command_Line().
Definition at line 82 of file sgi_cmd_line.cxx.
Referenced by PDGCS_initialize(), and Process_Command_Line().
BOOL enable_mp_processing = FALSE [static] |
Definition at line 84 of file sgi_cmd_line.cxx.
Referenced by cwh_types_copyin_pragma(), Process_Command_Line(), and sgi_cmd_line().
Definition at line 88 of file sgi_cmd_line.cxx.
Referenced by Process_Command_Line().
Definition at line 104 of file sgi_cmd_line.cxx.
Referenced by cwh_stmt_call_helper(), and fei_stop().
Definition at line 74 of file sgi_cmd_line.cxx.
Referenced by fei_enddo().
Definition at line 73 of file sgi_cmd_line.cxx.
Referenced by cwh_stab_emit_commons_and_equivalences(), and PDGCS_initialize().
Definition at line 72 of file sgi_cmd_line.cxx.
Referenced by PDGCS_initialize().
char* FE_gdar_filename = NULL |
Definition at line 90 of file sgi_cmd_line.cxx.
Definition at line 113 of file sgi_cmd_line.cxx.
Referenced by cwh_auxst_alloc_container_table(), cwh_auxst_register_table(), cwh_auxst_un_register_table(), cwh_pdgcs_pu_mem(), emit_inits_for_symbol(), fei_next_func_idx(), and fei_static_base().
MEM_POOL FE_Mempool_s [static] |
Definition at line 112 of file sgi_cmd_line.cxx.
{ { "FE", ':', '=', Options_FE }, { NULL } }
Definition at line 159 of file sgi_cmd_line.cxx.
Definition at line 86 of file sgi_cmd_line.cxx.
Referenced by cwh_expr_extract_arrayexp(), cwh_expr_operand(), and cwh_expr_restore_arrayexp().
Definition at line 87 of file sgi_cmd_line.cxx.
Definition at line 93 of file sgi_cmd_line.cxx.
Referenced by cwh_stmt_add_parallel_pragmas(), and Process_Command_Line().
Definition at line 92 of file sgi_cmd_line.cxx.
Referenced by cwh_stmt_add_parallel_pragmas(), and Process_Command_Line().
Definition at line 96 of file sgi_cmd_line.cxx.
Referenced by cwh_stmt_add_parallel_pragmas(), and Process_Command_Line().
Definition at line 95 of file sgi_cmd_line.cxx.
Referenced by cwh_stmt_add_parallel_pragmas(), and Process_Command_Line().
Definition at line 69 of file sgi_cmd_line.cxx.
Referenced by fei_end_ioblock(), and fei_start_ioblock().
BOOL Matmul_Inline = FALSE [static] |
Definition at line 76 of file sgi_cmd_line.cxx.
Referenced by sgi_cmd_line().
BOOL Matmul_Inline_Set = FALSE [static] |
Definition at line 78 of file sgi_cmd_line.cxx.
Referenced by sgi_cmd_line().
Definition at line 1 of file compiler_build_date.c.
Referenced by Process_Command_Line().
BOOL Mv_Matmul_Inline = FALSE [static] |
Definition at line 77 of file sgi_cmd_line.cxx.
Referenced by sgi_cmd_line().
BOOL Mv_Matmul_Inline_Set = FALSE [static] |
Definition at line 79 of file sgi_cmd_line.cxx.
Referenced by sgi_cmd_line().
Definition at line 168 of file sgi_cmd_line.cxx.
Referenced by add_cray_args(), Process_Command_Line(), and sgi_cmd_line().
Definition at line 172 of file sgi_cmd_line.cxx.
Referenced by add_deferred_cray_args(), Process_Command_Line(), and sgi_cmd_line().
char* object_file_name = NULL [static] |
Definition at line 177 of file sgi_cmd_line.cxx.
Referenced by Process_Command_Line(), and sgi_cmd_line().
OPTION_DESC Options_FE[] [static] |
{ { OVK_NAME, OV_INTERNAL, FALSE, "cmdline", "cmdline", NULL, NULL, NULL, &FE_command_line, NULL }, { OVK_BOOL, OV_INTERNAL, FALSE, "iocomment", "ioc", 0, 0, 0, &IO_Comments , NULL }, { OVK_BOOL, OV_INTERNAL, FALSE, "three_call", "three_call", 0, 0, 0, &Use_Three_Call, NULL }, { OVK_BOOL, OV_INTERNAL, FALSE, "full_split", "full", 0, 0, 0, &FE_Full_Split, &FE_Full_Split_Set }, { OVK_BOOL, OV_INTERNAL, FALSE, "arrayexp", "arrayexp", 0, 0, 0, &Full_arrayexp, &Full_arrayexp_set }, { OVK_NAME, OV_INTERNAL, FALSE, "gdar", "gdar", NULL, NULL, NULL, &FE_gdar_filename, NULL }, { OVK_BOOL, OV_INTERNAL, FALSE, "endloop_markers", "endloop_marker", 0, 0, 0, &FE_Endloop_Marker, NULL }, { OVK_BOOL, OV_INTERNAL, FALSE, "matmul_inline", "matmul_inline", 0, 0, 0, &Matmul_Inline, &Matmul_Inline_Set }, { OVK_BOOL, OV_INTERNAL, FALSE, "mv_matmul_inline", "mv_matmul_inline", 0, 0, 0, &Mv_Matmul_Inline, &Mv_Matmul_Inline_Set }, { OVK_BOOL, OV_INTERNAL, FALSE, "call_never_return", "call_never_return", 0, 0, 0, &FE_Call_Never_Return, NULL }, { OVK_COUNT, 0, FALSE, NULL, NULL, 0, 0, 0, NULL, NULL, NULL } }
Definition at line 133 of file sgi_cmd_line.cxx.
Definition at line 99 of file sgi_cmd_line.cxx.
Referenced by cwh_types_copyin_pragma(), and Process_Command_Line().
Definition at line 127 of file sgi_cmd_line.cxx.
char* rii_file_name = NULL |
Definition at line 81 of file sgi_cmd_line.cxx.
Referenced by delete_rii_file(), PDGCS_initialize(), Process_Command_Line(), and update_rii_file().
Definition at line 175 of file sgi_cmd_line.cxx.
Referenced by cwh_dst_get_command_line_options(), and sgi_cmd_line().
char** save_argv |
Definition at line 174 of file sgi_cmd_line.cxx.
Referenced by cwh_dst_get_command_line_options(), and sgi_cmd_line().
Definition at line 167 of file sgi_cmd_line.cxx.
Referenced by add_cray_args(), and Process_Command_Line().
Definition at line 171 of file sgi_cmd_line.cxx.
Referenced by add_deferred_cray_args(), and Process_Command_Line().
char* source_file = __FILE__ [static] |
Definition at line 37 of file sgi_cmd_line.cxx.
Definition at line 70 of file sgi_cmd_line.cxx.
Referenced by fei_formatted_read(), fei_formatted_write(), fei_iolength(), fei_unformatted_read(), and fei_unformatted_write().