osprey/driver/opt_actions.h File Reference

#include "basic.h"

Include dependency graph for opt_actions.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define UNDEFINED   -1
#define ENDIAN_BIG   0
#define ENDIAN_LITTLE   1
#define EXTENDED_ANSI   0
#define KR_ANSI   1
#define STRICT_ANSI   2
#define POSIX   3
#define CALL_SHARED   0
#define NON_SHARED   1
#define DSO_SHARED   2
#define RELOCATABLE   4
#define NORMAL_MP   0
#define CRAY_MP   1

Enumerations

enum  m_flag { M_CPU, M_ARCH, M_TUNE }
enum  ABI {
  ABI_RAG32, ABI_N32, ABI_64, ABI_I32,
  ABI_I64, ABI_IA32, ABI_W64
}
enum  ISA {
  ISA_NONE = 0, ISA_MIPS1 = 1, ISA_MIPS2 = 2, ISA_MIPS3 = 3,
  ISA_MIPS4 = 4, ISA_MIPS5 = 5, ISA_MIPS6 = 6, ISA_MIPSX = 9,
  ISA_MIPS64 = 10, ISA_IA641 = 11, ISA_IA32 = 12, ISA_X8664 = 13,
  ISA_COMPUTE_10 = 14, ISA_COMPUTE_11 = 15, ISA_COMPUTE_12 = 16, ISA_COMPUTE_13 = 17,
  ISA_SL = 18
}

Functions/Subroutines

boolean is_toggled (int obj)
void toggle (int *obj, int value)
void Check_Target (void)
void dash_F_option (void)
void untoggle (int *obj, int value)
void save_name (char **obj, char *value)
void opt_action (int optflag)
boolean flag_is_superceded (int optflag)
void check_opt_tls_model (char *model)
void check_dashdash (void)
void set_dsm_options (void)
void Process_Mp (void)
void Process_Cray_Mp (void)
void toggle_inline_on (void)
void print_file_path (char *, int)

Variables

boolean debug
boolean nostdinc
boolean print_help
char * help_pattern
int inline_t
boolean dashdash_flag
boolean read_stdin
boolean xpg_flag
int default_olevel
int ofast
int instrumentation_invoked
boolean ftz_crt
int subverbose
char * target_cpu


Define Documentation

#define CALL_SHARED   0

Definition at line 54 of file opt_actions.h.

Referenced by specify_dyn_linker(), and specify_ipa_dyn_linker().

#define CRAY_MP   1

Definition at line 60 of file opt_actions.h.

Referenced by add_special_options().

#define DSO_SHARED   2

Definition at line 56 of file opt_actions.h.

Referenced by add_file_args(), and add_final_ld_args().

#define ENDIAN_BIG   0

#define ENDIAN_LITTLE   1

#define EXTENDED_ANSI   0

Definition at line 49 of file opt_actions.h.

Referenced by if().

#define KR_ANSI   1

Definition at line 50 of file opt_actions.h.

Referenced by add_language_option().

#define NON_SHARED   1

Definition at line 55 of file opt_actions.h.

Referenced by add_special_options(), if(), and save_ipl_commands().

#define NORMAL_MP   0

Definition at line 59 of file opt_actions.h.

Referenced by add_special_options().

#define POSIX   3

Definition at line 52 of file opt_actions.h.

#define RELOCATABLE   4

Definition at line 57 of file opt_actions.h.

Referenced by add_file_args(), add_final_ld_args(), and run_ld().

#define STRICT_ANSI   2

Definition at line 51 of file opt_actions.h.

Referenced by add_file_args(), and set_defaults().

#define UNDEFINED   -1

Definition at line 44 of file opt_actions.h.


Enumeration Type Documentation

enum ABI

Enumerator:
ABI_RAG32 
ABI_N32 
ABI_64 
ABI_I32 
ABI_I64 
ABI_IA32 
ABI_W64 

Definition at line 68 of file opt_actions.h.

enum ISA

Enumerator:
ISA_NONE 
ISA_MIPS1 
ISA_MIPS2 
ISA_MIPS3 
ISA_MIPS4 
ISA_MIPS5 
ISA_MIPS6 
ISA_MIPSX 
ISA_MIPS64 
ISA_IA641 
ISA_IA32 
ISA_X8664 
ISA_COMPUTE_10 
ISA_COMPUTE_11 
ISA_COMPUTE_12 
ISA_COMPUTE_13 
ISA_SL 

Definition at line 77 of file opt_actions.h.

enum m_flag

Enumerator:
M_CPU 
M_ARCH 
M_TUNE 

Definition at line 62 of file opt_actions.h.


Function Documentation

void check_dashdash ( void   ) 

Definition at line 1155 of file opt_actions.c.

References dashdash_flag, error(), option_name, and xpg_flag.

void check_opt_tls_model ( char *  model  ) 

Definition at line 1143 of file opt_actions.c.

References error(), and strcmp().

void Check_Target ( void   ) 

void dash_F_option ( void   ) 

Definition at line 1024 of file opt_actions.c.

References earliest_phase(), error(), invoked_lang, L_CC, L_f77, last_phase, P_ratfor, and parse_error().

boolean flag_is_superceded ( int  optflag  ) 

Referenced by FOREACH_OPTION_SEEN().

boolean is_toggled ( int  obj  ) 

Definition at line 178 of file opt_actions.c.

References UNDEFINED.

Referenced by add_special_options(), display_version(), print_defaults(), set_defaults(), and toggle().

void opt_action ( int  optflag  ) 

Referenced by main().

void print_file_path ( char *  ,
int   
)

void Process_Cray_Mp ( void   ) 

Definition at line 1433 of file opt_actions.c.

References error(), invoked_lang, and L_f90.

Referenced by add_special_options().

void Process_Mp ( void   ) 

void save_name ( char **  obj,
char *  value 
)

Definition at line 1098 of file opt_actions.c.

References string_copy().

Referenced by if().

void set_dsm_options ( void   ) 

void toggle ( int *  obj,
int  value 
)

void toggle_inline_on ( void   ) 

Definition at line 943 of file opt_actions.c.

References FALSE, inline_on_seen, inline_t, option_name, TRUE, and warning.

Referenced by Process_Inline().

void untoggle ( int *  obj,
int  value 
)

Definition at line 1037 of file opt_actions.c.

References UNDEFINED.


Variable Documentation

boolean debug

Definition at line 91 of file simd.cxx.

Definition at line 93 of file opt_actions.c.

Referenced by add_special_options(), and Process_Default_Group().

Definition at line 99 of file opt_actions.c.

Referenced by add_file_args(), Process_Ofast(), and Process_Targ_Group().

char* help_pattern

Definition at line 77 of file main.c.

Referenced by print_help_msg().

int inline_t

Definition at line 79 of file main.c.

Referenced by add_special_options().

int ofast

Definition at line 140 of file opt_actions.c.

Referenced by Process_Ofast().

boolean print_help

Definition at line 85 of file main.c.

Referenced by c_common_decode_option(), and common_handle_option().

Definition at line 87 of file opt_actions.c.

Referenced by if(), and lang_specific_driver().

Definition at line 76 of file phases.c.

char* target_cpu

Definition at line 1658 of file opt_actions.c.

Definition at line 88 of file opt_actions.c.

Referenced by add_object(), append_objects_to_list(), check_dashdash(), and init_phase_info().


Generated on Wed Apr 8 15:07:22 2009 for Open64 by  doxygen 1.5.6