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

Go to the source code of this file.

Typedefs

typedef enum W2C_File_Kind W2C_FILE_KIND

Enumerations

enum  W2C_File_Kind {
  W2C_ORIG_FILE, W2C_DOTH_FILE, W2C_DOTC_FILE, W2C_LOC_FILE,
  W2C_DATA_FILE, W2C_NUM_FILES
}

Functions

BOOL W2C_Should_Emit_Nested_PUs (void)
void W2C_Process_Command_Line (INT phase_argc, char *const phase_argv[], INT argc, char *const argv[])
void W2C_Init (void)
void W2C_Fini (void)
void W2C_Push_PU (const WN *pu, WN *body_part_of_interest)
void W2C_Pop_PU (void)
void W2C_Mark_Loads (void)
void W2C_Nomark_Loads (void)
void W2C_Set_Prompf_Emission (const WN_MAP *construct_map)
void W2C_Set_Frequency_Map (WN_MAP frequency_map)
const char * W2C_Get_Transformed_Src_Path (void)
void W2C_Set_Purple_Emission (void)
void W2C_Reset_Purple_Emission (void)
void W2C_Translate_Global_Types (FILE *outfile)
void W2C_Translate_Global_Defs (FILE *outfile)
const char * W2C_Object_Name (const ST *func_st)
void W2C_Translate_Stid_Lhs (char *strbuf, UINT bufsize, const ST *stid_st, mINT64 stid_ofst, TY_IDX stid_ty, TYPE_ID stid_mtype)
void W2C_Translate_Istore_Lhs (char *strbuf, UINT bufsize, const WN *lhs, mINT64 istore_ofst, TY_IDX istore_addr_ty, TYPE_ID istore_mtype)
void W2C_Translate_Wn (FILE *outfile, const WN *wn)
void W2C_Translate_Wn_Str (char *strbuf, UINT bufsize, const WN *wn)
void W2C_Translate_Purple_Main (FILE *outfile, const WN *pu, const char *region_name)
void W2C_Outfile_Init (BOOL emit_global_decls)
void W2C_Outfile_Translate_Pu (WN *pu, BOOL emit_global_decls)
void W2C_Outfile_Fini (BOOL emit_global_decls)
void W2C_Cleanup (void)

Variables

BOOL W2C_Verbose
BOOL W2C_No_Pragmas
BOOL W2C_Emit_Adims
BOOL W2C_Emit_Prefetch
BOOL W2C_Emit_All_Regions
BOOL W2C_Emit_Linedirs
BOOL W2C_Emit_Frequency
BOOL W2C_Emit_Cgtag
BOOL W2C_Lower_Fortran
BOOL W2F_Emit_Omp
BOOL W2C_Only_Mark_Loads
BOOL W2C_Purple_Emission
BOOL W2C_Prompf_Emission
const WN_MAPW2C_Construct_Map
WN_MAP W2C_Frequency_Map
BOOL W2C_Cplus_Initializer
FILE * W2C_File [W2C_NUM_FILES]

Typedef Documentation


Enumeration Type Documentation

Enumerator:
W2C_ORIG_FILE 
W2C_DOTH_FILE 
W2C_DOTC_FILE 
W2C_LOC_FILE 
W2C_DATA_FILE 
W2C_NUM_FILES 

Definition at line 251 of file w2c_driver.h.


Function Documentation

void W2C_Cleanup ( void  )

Definition at line 1347 of file w2c_driver.cxx.

References Close_W2c_Output_File(), NULL, unlink, W2C_DOTC_FILE, W2C_DOTH_FILE, W2C_File_Name, and W2C_LOC_FILE.

Here is the call graph for this function:

Definition at line 817 of file w2c_driver.cxx.

References W2C_DOTC_FILE, and W2C_File_Name.

Referenced by Anl_Init().

void W2C_Mark_Loads ( void  )

Definition at line 788 of file w2c_driver.cxx.

References TRUE, and W2C_Only_Mark_Loads.

void W2C_Nomark_Loads ( void  )

Definition at line 795 of file w2c_driver.cxx.

References FALSE, and W2C_Only_Mark_Loads.

const char* W2C_Object_Name ( const ST func_st)

Definition at line 893 of file w2c_driver.cxx.

References W2CF_Symtab_Nameof_St().

Referenced by W2CF_TRANSLATOR::Transformed_Symname_To_String(), WN2C_Append_Purple_Funcinfo(), and WN2C_block().

Here is the call graph for this function:

void W2C_Push_PU ( const WN pu,
WN body_part_of_interest 
)
void W2C_Reset_Purple_Emission ( void  )

Definition at line 831 of file w2c_driver.cxx.

References FALSE, and W2C_Purple_Emission.

void W2C_Set_Frequency_Map ( WN_MAP  frequency_map)

Definition at line 810 of file w2c_driver.cxx.

References W2C_Frequency_Map.

void W2C_Set_Prompf_Emission ( const WN_MAP construct_map)

Definition at line 802 of file w2c_driver.cxx.

References TRUE, W2C_Construct_Map, and W2C_Prompf_Emission.

void W2C_Set_Purple_Emission ( void  )

Definition at line 824 of file w2c_driver.cxx.

References TRUE, and W2C_Purple_Emission.

Definition at line 628 of file w2c_driver.cxx.

References W2C_Emit_Nested_PUs.

void W2C_Translate_Global_Defs ( FILE *  outfile)

Definition at line 877 of file w2c_driver.cxx.

References Check_Initialized(), outfile, W2C_DOTH_FILE, W2C_File, W2C_Undo_Whirl_Side_Effects(), and WN2C_translate_file_scope_defs().

Here is the call graph for this function:

void W2C_Translate_Global_Types ( FILE *  outfile)

Definition at line 854 of file w2c_driver.cxx.

References Check_Initialized(), outfile, W2C_DOTH_FILE, W2C_File, W2C_Undo_Whirl_Side_Effects(), and WN2C_translate_structured_types().

Here is the call graph for this function:

void W2C_Translate_Istore_Lhs ( char *  strbuf,
UINT  bufsize,
const WN lhs,
mINT64  istore_ofst,
TY_IDX  istore_addr_ty,
TYPE_ID  istore_mtype 
)

Definition at line 925 of file w2c_driver.cxx.

References INIT_CONTEXT, New_Token_Buffer(), Str_Write_And_Reclaim_Tokens(), Ty_Table, W2C_Undo_Whirl_Side_Effects(), and WN2C_memref_lhs().

Here is the call graph for this function:

void W2C_Translate_Stid_Lhs ( char *  strbuf,
UINT  bufsize,
const ST stid_st,
mINT64  stid_ofst,
TY_IDX  stid_ty,
TYPE_ID  stid_mtype 
)

Definition at line 900 of file w2c_driver.cxx.

References INIT_CONTEXT, New_Token_Buffer(), Str_Write_And_Reclaim_Tokens(), W2C_Undo_Whirl_Side_Effects(), and WN2C_stid_lhs().

Referenced by W2CF_TRANSLATOR::Stid_Lhs_To_String().

Here is the call graph for this function:


Variable Documentation

Definition at line 162 of file w2c_driver.cxx.

Referenced by W2C_Process_Command_Line(), and WN2C_do_loop().

Definition at line 161 of file w2f_driver.cxx.

Referenced by W2F_Process_Command_Line(), and WN2F_is_omp().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines