#include <stdint.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 "version.h"#include <cmplrs/make_depend.h>#include <stdarg.h>#include <signal.h>

Go to the source code of this file.
| #define __STDC_LIMIT_MACROS |
Definition at line 48 of file sgi_cmd_line.cxx.
| #define DEF_DEBUG_LEVEL 0 |
Definition at line 158 of file sgi_cmd_line.cxx.
| #define DEF_MSG_LEVEL 2 |
Definition at line 164 of file sgi_cmd_line.cxx.
| #define DEF_PROFILE_LEVEL 0 |
Definition at line 161 of file sgi_cmd_line.cxx.
| #define MAX_MSG_LEVEL 2 |
Definition at line 163 of file sgi_cmd_line.cxx.
| #define MAX_PROFILE_LEVEL 0 |
Definition at line 160 of file sgi_cmd_line.cxx.
| void add_cray_args | ( | const char * | arg | ) |
Definition at line 239 of file sgi_cmd_line.cxx.
References argv_cray, NULL, num_cray_args, realloc, size_cray_argv, and strdup.
Referenced by Cray_Woff(), DEBUG_Configure(), Process_Command_Line(), and sgi_cmd_line().
| void add_deferred_cray_args | ( | char * | arg | ) |
Definition at line 257 of file sgi_cmd_line.cxx.
References deferred_argv_cray, NULL, num_deferred_cray_args, realloc, size_deferred_cray_argv, and strdup.
Referenced by Process_Command_Line().
| void Cray_Woff | ( | char * | list | ) |
Definition at line 297 of file sgi_cmd_line.cxx.
References add_cray_args(), free(), malloc, strcat(), strcpy, and strlen().
Referenced by DEBUG_Configure(), and Process_Command_Line().
| static WN_PRAGMA_SCHEDTYPE_KIND identify_schedtype | ( | char * | text | ) | [static] |
Definition at line 213 of file sgi_cmd_line.cxx.
References EC_Unknown_Mpsched, ErrMsg(), 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().
Definition at line 317 of file sgi_cmd_line.cxx.
References add_cray_args(), add_deferred_cray_args(), argc_cray, argv_cray, BOOL, build_host, build_root, build_user, c, Common_Option_Groups, Cray_Woff(), cset_id, Debug_Level, DEF_O_LEVEL, DEF_SDATA_ELT_SIZE, deferred_argv_cray, disable_old_mp, disable_open_mp, enable_dsm_processing, enable_dsm_recompile, enable_mp_processing, Enable_WN_Simp, Err_File_Name, ES_ADVISORY, ES_ERROR, ES_WARNING, f, F2C_ABI_filename, FALSE, fclose(), FE_align, FE_command_line, fgets(), fopen, fprintf(), free(), fseek, Get_Numeric_Flag(), getc(), global_chunk_pragma_set, global_chunk_pragma_value, global_schedtype_pragma_set, global_schedtype_pragma_val, i, identify_schedtype(), INCLUDE_STAMP, INT, INT32_MAX, Irb_File_Name, Lib_File_Name, Lst_File_Name, malloc, 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, object_file_name, Opt_Level, Orig_Src_File_Name, p, parse_decorate_script(), path_intrinsic_list, Process_Command_Line_Group(), process_cri_mp_pragmas, Process_Trace_Option(), rii_file_name, SEEK_SET, Show_Progress, size_cray_argv, size_deferred_cray_argv, sprintf(), strcat(), strcmp(), strcpy, strdup, strlen(), strncmp(), Tracing_Enabled, Trc_File_Name, TRUE, and WN_PRAGMA_SCHEDTYPE_UNKNOWN.
Definition at line 919 of file sgi_cmd_line.cxx.
References add_cray_args(), argc_cray, argv_cray, char, 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(), host_errlist, i, Init_Error_Handler(), INT, IPA_Configure_Target(), LANG_F90, Language, len, malloc, 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, strlen(), strtok(), TFile, TP_IRB, TRUE, option_list::val, debug_flags::warning, and debug_flags::warning_set.
Referenced by init_compiler().
Definition at line 198 of file sgi_cmd_line.cxx.
Referenced by Process_Command_Line(), and sgi_cmd_line().
| char** argv_cray |
Definition at line 199 of file sgi_cmd_line.cxx.
Referenced by add_cray_args(), Process_Command_Line(), and sgi_cmd_line().
| INT8 Debug_Level = DEF_DEBUG_LEVEL |
Definition at line 159 of file sgi_cmd_line.cxx.
| char** deferred_argv_cray |
Definition at line 203 of file sgi_cmd_line.cxx.
Referenced by add_deferred_cray_args(), Process_Command_Line(), and sgi_cmd_line().
| BOOL disable_old_mp = FALSE |
Definition at line 128 of file sgi_cmd_line.cxx.
Referenced by Process_Command_Line(), and sgi_cmd_line().
| BOOL disable_open_mp = FALSE |
Definition at line 130 of file sgi_cmd_line.cxx.
Referenced by Process_Command_Line(), and sgi_cmd_line().
| BOOL enable_dsm_processing = FALSE |
Definition at line 101 of file sgi_cmd_line.cxx.
Referenced by PDGCS_initialize(), and Process_Command_Line().
| BOOL enable_dsm_recompile = FALSE |
Definition at line 100 of file sgi_cmd_line.cxx.
Referenced by PDGCS_initialize(), and Process_Command_Line().
BOOL enable_mp_processing = FALSE [static] |
Definition at line 102 of file sgi_cmd_line.cxx.
Referenced by cwh_types_copyin_pragma(), Process_Command_Line(), and sgi_cmd_line().
| BOOL FE_Call_Never_Return = TRUE |
Definition at line 132 of file sgi_cmd_line.cxx.
Referenced by cwh_stmt_call_helper(), and fei_stop().
| BOOL FE_Endloop_Marker = FALSE |
| BOOL FE_Full_Split = FALSE |
Definition at line 91 of file sgi_cmd_line.cxx.
Referenced by cwh_stab_emit_commons_and_equivalences(), and PDGCS_initialize().
| BOOL FE_Full_Split_Set = FALSE |
| char* FE_gdar_filename = NULL |
Definition at line 108 of file sgi_cmd_line.cxx.
Definition at line 141 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(), and fei_next_func_idx().
MEM_POOL FE_Mempool_s [static] |
Definition at line 140 of file sgi_cmd_line.cxx.
Initial value:
{
{ "FE", ':', '=', Options_FE },
{ NULL }
}
Definition at line 192 of file sgi_cmd_line.cxx.
| BOOL Full_arrayexp = TRUE |
Definition at line 104 of file sgi_cmd_line.cxx.
Referenced by cwh_expr_extract_arrayexp(), cwh_expr_operand(), and cwh_expr_restore_arrayexp().
| BOOL Full_arrayexp_set = FALSE |
Definition at line 105 of file sgi_cmd_line.cxx.
| BOOL global_chunk_pragma_set = FALSE |
Definition at line 118 of file sgi_cmd_line.cxx.
Referenced by cwh_stmt_add_parallel_pragmas(), and Process_Command_Line().
Definition at line 117 of file sgi_cmd_line.cxx.
Referenced by cwh_stmt_add_parallel_pragmas(), and Process_Command_Line().
| BOOL global_schedtype_pragma_set = FALSE |
Definition at line 121 of file sgi_cmd_line.cxx.
Referenced by cwh_stmt_add_parallel_pragmas(), and Process_Command_Line().
Definition at line 120 of file sgi_cmd_line.cxx.
Referenced by cwh_stmt_add_parallel_pragmas(), and Process_Command_Line().
| BOOL IO_Comments = TRUE |
Definition at line 87 of file sgi_cmd_line.cxx.
Referenced by fei_end_ioblock(), and fei_start_ioblock().
BOOL Matmul_Inline = FALSE [static] |
BOOL Matmul_Inline_Set = FALSE [static] |
BOOL Mv_Matmul_Inline = FALSE [static] |
BOOL Mv_Matmul_Inline_Set = FALSE [static] |
Definition at line 201 of file sgi_cmd_line.cxx.
Referenced by add_cray_args(), Process_Command_Line(), and sgi_cmd_line().
Definition at line 205 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 210 of file sgi_cmd_line.cxx.
OPTION_DESC Options_FE[] [static] |
Initial value:
{
{ OVK_NAME, OV_INTERNAL, FALSE, "cmdline", "cmdline",
0, 0, 0, &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",
0, 0, 0, &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 }
}
Definition at line 168 of file sgi_cmd_line.cxx.
| BOOL process_cri_mp_pragmas = FALSE |
Definition at line 123 of file sgi_cmd_line.cxx.
Referenced by cwh_types_copyin_pragma(), and Process_Command_Line().
| INT8 Profile_Level = DEF_PROFILE_LEVEL |
Definition at line 162 of file sgi_cmd_line.cxx.
char* rcs_id = "$Source: /proj/osprey/CVS/open64/osprey1.0/crayf90/sgi/sgi_cmd_line.cxx,v $ $Revision: 1.1.1.1 $" [static] |
Definition at line 46 of file sgi_cmd_line.cxx.
| char* rii_file_name = NULL |
Definition at line 99 of file sgi_cmd_line.cxx.
Referenced by delete_rii_file(), PDGCS_initialize(), Process_Command_Line(), run_compiler(), and update_rii_file().
Definition at line 208 of file sgi_cmd_line.cxx.
Referenced by cwh_dst_get_command_line_options(), defer_opt(), print_options(), process_cmd_line(), and sgi_cmd_line().
| char** save_argv |
Definition at line 207 of file sgi_cmd_line.cxx.
Referenced by cwh_dst_get_command_line_options(), print_options(), and sgi_cmd_line().
Definition at line 200 of file sgi_cmd_line.cxx.
Referenced by add_cray_args(), and Process_Command_Line().
Definition at line 204 of file sgi_cmd_line.cxx.
Referenced by add_deferred_cray_args(), and Process_Command_Line().
const char* source_file = __FILE__ [static] |
Definition at line 45 of file sgi_cmd_line.cxx.
| BOOL Use_Three_Call = FALSE |
Definition at line 88 of file sgi_cmd_line.cxx.
Referenced by fei_formatted_read(), fei_formatted_write(), fei_iolength(), fei_unformatted_read(), and fei_unformatted_write().
1.5.6