Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
Go to the source code of this file.
Defines | |
#define | CONTROL_FIRST CONTROL_ACIR |
#define | CONTROL_JFE_LAST (CONTROL_XREF+1) |
#define | CONTROL_LAST CONTROL_MAX_CONTROL |
#define | HCO_AAVAL 1 /* from -AA option */ |
#define | HCO_IMPLICIT 2 /* Obtained from expansion of a group */ |
#define | HCO_ONCE 4 /* appeared with %once */ |
#define | HCO_PUSH 8 /* appeared with %push */ |
#define | HCO_POP 16 /* appeared with %pop */ |
#define | HCO_PRAGMA 32 /* from a pragma, as opposed to coomand line */ |
Typedefs | |
typedef enum control | CONTROL |
Enumerations | |
enum | control { CONTROL_MIN_CONTROL = 0 } |
Functions | |
void | Init_Controls_Tbl (void) |
void | Handle_Control_Opt (char *, BOOL) |
void | Apply_Controls (void) |
INT32 | Get_Int_Ctrl_Val (CONTROL a) |
char * | Get_Name_Ctrl_Val (CONTROL a) |
void | Pop_Controls (INT32 level) |
void | Save_Routine_Top_Ctrls (void) |
void | Restore_Routine_Top_Ctrls (void) |
void | Restore_Cmd_Line_Ctrls (void) |
void | Print_Controls (FILE *fp, char *tag, BOOL def) |
INT | Process_Pragma (char *x) |
INT | Process_Control_Opt (char *save_a, INT flags) |
void | Fix_g_O (void) |
#define CONTROL_FIRST CONTROL_ACIR |
Definition at line 65 of file controls.h.
Referenced by Init_Controls_Tbl(), is_nlist_typed(), Pop_Controls(), Print_Controls(), save_ctrl_val_set(), and store_ctrl().
#define CONTROL_JFE_LAST (CONTROL_XREF+1) |
Definition at line 140 of file controls.h.
#define CONTROL_LAST CONTROL_MAX_CONTROL |
Definition at line 147 of file controls.h.
Referenced by Init_Controls_Tbl(), is_nlist_typed(), Pop_Controls(), Print_Controls(), and store_ctrl().
#define HCO_AAVAL 1 /* from -AA option */ |
Definition at line 153 of file controls.h.
Referenced by store_ctrl().
#define HCO_IMPLICIT 2 /* Obtained from expansion of a group */ |
Definition at line 154 of file controls.h.
Referenced by store_ctrl().
#define HCO_ONCE 4 /* appeared with %once */ |
Definition at line 155 of file controls.h.
Referenced by Process_Pragma(), and store_ctrl().
#define HCO_POP 16 /* appeared with %pop */ |
Definition at line 157 of file controls.h.
#define HCO_PRAGMA 32 /* from a pragma, as opposed to coomand line */ |
Definition at line 158 of file controls.h.
Referenced by Process_Pragma(), and store_ctrl().
#define HCO_PUSH 8 /* appeared with %push */ |
Definition at line 156 of file controls.h.
enum control |
Definition at line 63 of file controls.h.
void Apply_Controls | ( | void | ) |
Definition at line 911 of file controls.cxx.
void Fix_g_O | ( | void | ) |
Definition at line 1118 of file controls.cxx.
INT32 Get_Int_Ctrl_Val | ( | CONTROL | a | ) |
Definition at line 987 of file controls.cxx.
Referenced by Apply_Routine_Scope_Controls().
char* Get_Name_Ctrl_Val | ( | CONTROL | a | ) |
Definition at line 997 of file controls.cxx.
void Handle_Control_Opt | ( | char * | , |
BOOL | |||
) |
void Init_Controls_Tbl | ( | void | ) |
Definition at line 783 of file controls.cxx.
References CI_allowed_vals, CI_is_int_type, CONTROL_FIRST, CONTROL_LAST, CONTROL_INFO::cur_val, CONTROL_INFO::first_def, fprintf(), Get_Trace(), CONTROL_INFO::index, Is_True, str_list::item, CONTROL_INFO::max_val, CONTROL_INFO::min_val, CONTROL_INFO::name, str_list::next, NULL, Print_Controls(), CONTROL_INFO::sec_def, Set_CI_nlist, TFile, TP_MISC, and TRUE.
void Pop_Controls | ( | INT32 | level | ) |
Definition at line 1019 of file controls.cxx.
References CI_has_once_val, CI_scope, CONTROL_FIRST, CONTROL_LAST, CONTROL_INFO::cur_val, CONTROL_INFO::prev_val, and Reset_CI_has_once_val.
Referenced by Pop_Once_Line_Controls().
void Print_Controls | ( | FILE * | fp, |
char * | tag, | ||
BOOL | def | ||
) |
Definition at line 1092 of file controls.cxx.
References CI_is_int_type, CI_nlist, CONTROL_FIRST, CONTROL_LAST, CONTROL_INFO::cur_val, CONTROL_INFO::first_def, fprintf(), str_list::item, CONTROL_INFO::name, str_list::next, and s.
Referenced by Init_Controls_Tbl().
INT Process_Control_Opt | ( | char * | save_a, |
INT | flags | ||
) |
Definition at line 430 of file controls.cxx.
References EC_Ctrl_Paren, EC_Ctrl_Syntax, ERRORS_FOUND, IS_ID_CHAR, is_nlist_typed(), make_nlist(), name, nl, NO_ERRORS_FOUND, NULL, Report_Error, s, Src_Alloc, store_ctrl(), and strcpy.
Referenced by Process_Pragma(), and store_ctrl().
INT Process_Pragma | ( | char * | x | ) |
Definition at line 1051 of file controls.cxx.
References HCO_ONCE, HCO_PRAGMA, and Process_Control_Opt().
void Restore_Cmd_Line_Ctrls | ( | void | ) |
Definition at line 898 of file controls.cxx.
void Restore_Routine_Top_Ctrls | ( | void | ) |
Definition at line 884 of file controls.cxx.
void Save_Routine_Top_Ctrls | ( | void | ) |
Definition at line 870 of file controls.cxx.