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

Go to the source code of this file.

Defines

#define W2F_ACTIVE_TYPE_LEN   28

Typedefs

typedef enum W2F_File_Kind W2F_FILE_KIND
typedef map< TY_IDX, ST_IDXTyIdxToStIdxMap

Enumerations

enum  W2F_File_Kind { W2F_ORIG_FILE, W2F_FTN_FILE, W2F_LOC_FILE, W2F_NUM_FILES }

Functions

BOOL W2F_Should_Emit_Nested_PUs (void)
void W2F_Process_Command_Line (INT phase_argc, char *phase_argv[], INT argc, char *argv[])
void W2F_Init (void)
void W2F_Fini (void)
void W2F_Push_PU (WN *pu, WN *body_part_of_interest)
void W2F_Pop_PU (void)
void W2F_Mark_Loads (void)
void W2F_Nomark_Loads (void)
void W2F_Set_Prompf_Emission (WN_MAP *construct_map)
void W2F_Set_Frequency_Map (WN_MAP frequency_map)
const char * W2F_Get_Transformed_Src_Path (void)
void W2F_Set_Purple_Emission (void)
void W2F_Reset_Purple_Emission (void)
void W2F_Def_ST (FILE *outfile, ST *st)
const char * W2F_Object_Name (ST *func_st)
void W2F_Translate_Stid_Lhs (char *strbuf, UINT bufsize, ST *stid_st, mINT64 stid_ofst, TY_IDX stid_ty, TYPE_ID stid_mtype)
void W2F_Translate_Istore_Lhs (char *strbuf, UINT bufsize, WN *lhs, mINT64 istore_ofst, TY_IDX istore_addr_ty, TYPE_ID istore_mtype)
void W2F_Translate_Wn (FILE *outfile, WN *wn)
void W2F_Translate_Wn_Str (char *strbuf, UINT bufsize, WN *wn)
void W2F_Translate_Purple_Main (FILE *outfile, WN *pu, const char *region_name)
void W2F_Outfile_Init (void)
void W2F_Outfile_Translate_Pu (WN *pu)
void W2F_Outfile_Fini (void)
void W2F_Cleanup (void)

Variables

BOOL W2F_Verbose
BOOL W2F_Old_F77
BOOL W2F_Ansi_Format
BOOL W2F_No_Pragmas
BOOL W2F_Emit_Prefetch
BOOL W2F_Emit_All_Regions
BOOL W2F_Emit_Linedirs
BOOL W2F_Emit_Frequency
BOOL W2F_Purple_Emission
BOOL W2F_Emit_Pcf
BOOL W2F_Emit_Omp
BOOL W2F_OpenAD
char W2F_activeType [W2F_ACTIVE_TYPE_LEN]
FILE * W2F_File [W2F_NUM_FILES]
TyIdxToStIdxMap tyidx_modidx

Define Documentation

#define W2F_ACTIVE_TYPE_LEN   28

Definition at line 226 of file w2f_driver.h.

Referenced by Process_Command_Line().


Typedef Documentation

typedef map<TY_IDX, ST_IDX> TyIdxToStIdxMap

Definition at line 296 of file w2f_driver.h.


Enumeration Type Documentation

Enumerator:
W2F_ORIG_FILE 
W2F_FTN_FILE 
W2F_LOC_FILE 
W2F_NUM_FILES 

Definition at line 233 of file w2f_driver.h.


Function Documentation

void W2F_Cleanup ( void  )

Definition at line 1473 of file w2f_driver.cxx.

References Close_W2f_Output_File(), NULL, unlink, W2F_File_Name, W2F_FTN_FILE, and W2F_LOC_FILE.

Here is the call graph for this function:

void W2F_Def_ST ( FILE *  outfile,
ST st 
)

Definition at line 923 of file w2f_driver.cxx.

References W2F_File_Name, and W2F_FTN_FILE.

Referenced by Anl_Init().

void W2F_Mark_Loads ( void  )

Definition at line 894 of file w2f_driver.cxx.

References TRUE, and W2F_Only_Mark_Loads.

void W2F_Nomark_Loads ( void  )

Definition at line 901 of file w2f_driver.cxx.

References FALSE, and W2F_Only_Mark_Loads.

const char* W2F_Object_Name ( ST func_st)

Definition at line 959 of file w2f_driver.cxx.

References W2CF_Symtab_Nameof_St().

Referenced by W2CF_TRANSLATOR::Transformed_Symname_To_String(), WN2F_Append_Purple_Funcinfo(), WN2F_Append_Purple_Xsym(), and WN2F_Exit_PU_Block().

Here is the call graph for this function:

void W2F_Reset_Purple_Emission ( void  )

Definition at line 937 of file w2f_driver.cxx.

References FALSE, and W2F_Purple_Emission.

void W2F_Set_Frequency_Map ( WN_MAP  frequency_map)

Definition at line 916 of file w2f_driver.cxx.

References W2F_Frequency_Map.

void W2F_Set_Prompf_Emission ( WN_MAP construct_map)

Definition at line 908 of file w2f_driver.cxx.

References TRUE, W2F_Construct_Map, and W2F_Prompf_Emission.

void W2F_Set_Purple_Emission ( void  )

Definition at line 930 of file w2f_driver.cxx.

References TRUE, and W2F_Purple_Emission.

Definition at line 725 of file w2f_driver.cxx.

References W2F_Emit_Nested_PUs.

void W2F_Translate_Istore_Lhs ( char *  strbuf,
UINT  bufsize,
WN lhs,
mINT64  istore_ofst,
TY_IDX  istore_addr_ty,
TYPE_ID  istore_mtype 
)
void W2F_Translate_Stid_Lhs ( char *  strbuf,
UINT  bufsize,
ST stid_st,
mINT64  stid_ofst,
TY_IDX  stid_ty,
TYPE_ID  stid_mtype 
)

Variable Documentation

Definition at line 165 of file w2f_driver.cxx.

Referenced by Process_Command_Line(), and TY2F_scalar().

Definition at line 154 of file w2f_driver.cxx.

Referenced by W2F_Fini(), and W2F_Process_Command_Line().

Definition at line 161 of file w2f_driver.cxx.

Definition at line 160 of file w2f_driver.cxx.

Referenced by W2F_Process_Command_Line().

Definition at line 164 of file w2f_driver.cxx.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines