osprey/crayf90/sgi/sgi_cmd_line.cxx File Reference

#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>

Include dependency graph for sgi_cmd_line.cxx:

Go to the source code of this file.

Defines

#define __STDC_LIMIT_MACROS
#define DEF_DEBUG_LEVEL   0
#define MAX_PROFILE_LEVEL   0
#define DEF_PROFILE_LEVEL   0
#define MAX_MSG_LEVEL   2
#define DEF_MSG_LEVEL   2

Functions/Subroutines

static WN_PRAGMA_SCHEDTYPE_KIND identify_schedtype (char *text)
void add_cray_args (const char *arg)
void add_deferred_cray_args (char *arg)
void Cray_Woff (char *list)
void Process_Command_Line (INT argc, char **argv)
void sgi_cmd_line (INT *argc, char ***argv)

Variables

static const char * source_file = __FILE__
static char * rcs_id = "$Source: /proj/osprey/CVS/open64/osprey1.0/crayf90/sgi/sgi_cmd_line.cxx,v $ $Revision: 1.1.1.1 $"
BOOL IO_Comments = TRUE
BOOL Use_Three_Call = FALSE
BOOL FE_Full_Split_Set = FALSE
BOOL FE_Full_Split = FALSE
BOOL FE_Endloop_Marker = FALSE
static BOOL Matmul_Inline = FALSE
static BOOL Mv_Matmul_Inline = FALSE
static BOOL Matmul_Inline_Set = FALSE
static BOOL Mv_Matmul_Inline_Set = FALSE
char * rii_file_name = NULL
BOOL enable_dsm_recompile = FALSE
BOOL enable_dsm_processing = FALSE
static BOOL enable_mp_processing = FALSE
BOOL Full_arrayexp = TRUE
BOOL Full_arrayexp_set = FALSE
mUINT16 FE_align = 8
char * FE_gdar_filename = NULL
INT32 global_chunk_pragma_value
BOOL global_chunk_pragma_set = FALSE
INT32 global_schedtype_pragma_val
BOOL global_schedtype_pragma_set = FALSE
BOOL process_cri_mp_pragmas = FALSE
BOOL disable_old_mp = FALSE
BOOL disable_open_mp = FALSE
BOOL FE_Call_Never_Return = TRUE
static MEM_POOL FE_Mempool_s
MEM_POOLFE_Mempool = &FE_Mempool_s
INT8 Debug_Level = DEF_DEBUG_LEVEL
INT8 Profile_Level = DEF_PROFILE_LEVEL
static OPTION_DESC Options_FE []
OPTION_GROUP FE_Option_Groups []
INT argc_cray
char ** argv_cray
INT size_cray_argv
INT num_cray_args
char ** deferred_argv_cray
INT size_deferred_cray_argv
INT num_deferred_cray_args
char ** save_argv
INT save_argc
static char * object_file_name = NULL


Define Documentation

#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.


Function Documentation

void add_cray_args ( const char *  arg  ) 

void add_deferred_cray_args ( char *  arg  ) 

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]

void Process_Command_Line ( INT  argc,
char **  argv 
)

void sgi_cmd_line ( INT argc,
char ***  argv 
)


Variable Documentation

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.

Definition at line 203 of file sgi_cmd_line.cxx.

Referenced by add_deferred_cray_args(), Process_Command_Line(), and sgi_cmd_line().

Definition at line 128 of file sgi_cmd_line.cxx.

Referenced by Process_Command_Line(), and sgi_cmd_line().

Definition at line 130 of file sgi_cmd_line.cxx.

Referenced by Process_Command_Line(), and sgi_cmd_line().

Definition at line 101 of file sgi_cmd_line.cxx.

Referenced by PDGCS_initialize(), and Process_Command_Line().

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

Definition at line 106 of file sgi_cmd_line.cxx.

Referenced by Process_Command_Line().

Definition at line 132 of file sgi_cmd_line.cxx.

Referenced by cwh_stmt_call_helper(), and fei_stop().

Definition at line 92 of file sgi_cmd_line.cxx.

Referenced by fei_enddo().

Definition at line 91 of file sgi_cmd_line.cxx.

Referenced by cwh_stab_emit_commons_and_equivalences(), and PDGCS_initialize().

Definition at line 90 of file sgi_cmd_line.cxx.

Referenced by PDGCS_initialize().

char* FE_gdar_filename = NULL

Definition at line 108 of file sgi_cmd_line.cxx.

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.

Definition at line 105 of file sgi_cmd_line.cxx.

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

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]

Definition at line 94 of file sgi_cmd_line.cxx.

Referenced by sgi_cmd_line().

BOOL Matmul_Inline_Set = FALSE [static]

Definition at line 96 of file sgi_cmd_line.cxx.

Referenced by sgi_cmd_line().

BOOL Mv_Matmul_Inline = FALSE [static]

Definition at line 95 of file sgi_cmd_line.cxx.

Referenced by sgi_cmd_line().

BOOL Mv_Matmul_Inline_Set = FALSE [static]

Definition at line 97 of file sgi_cmd_line.cxx.

Referenced by sgi_cmd_line().

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.

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

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.


Generated on Wed Apr 8 14:45:55 2009 for Open64 by  doxygen 1.5.6