Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
controls.h File Reference
This graph shows which files directly or indirectly include this file:

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 Documentation

#define CONTROL_FIRST   CONTROL_ACIR
#define CONTROL_JFE_LAST   (CONTROL_XREF+1)

Definition at line 140 of file controls.h.

#define CONTROL_LAST   CONTROL_MAX_CONTROL
#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.


Typedef Documentation

typedef enum control CONTROL

Enumeration Type Documentation

enum control
Enumerator:
CONTROL_MIN_CONTROL 

Definition at line 63 of file controls.h.


Function Documentation

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.

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

Here is the call graph for this function:

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

Here is the call graph for this function:

INT Process_Pragma ( char *  x)

Definition at line 1051 of file controls.cxx.

References HCO_ONCE, HCO_PRAGMA, and Process_Control_Opt().

Here is the call graph for this function:

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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines