Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
Go to the source code of this file.
typedef struct Fld_Path_Info FLD_PATH_INFO |
static BOOL GetTmpVarTransInfo | ( | TOKEN_BUFFER | decl_tokens, |
ST_IDX | arbnd, | ||
WN * | wn | ||
) | [static] |
void TY2F_Dump_Fld_Path | ( | FLD_PATH_INFO * | fld_path | ) |
Definition at line 2189 of file ty2f.cxx.
References Fld_Path_Info::arr_elt, Fld_Path_Info::arr_ofst, Fld_Path_Info::arr_wn, f, FALSE, Fld_Path_Info::fld, FLD_HANDLE::Idx(), Fld_Path_Info::next, NULL, and TY2F_Fld_Name().
const char* TY2F_Fld_Name | ( | FLD_HANDLE | , |
BOOL | , | ||
BOOL | |||
) |
Definition at line 890 of file ty2f.cxx.
References FALSE, FLD_name(), NULL, W2CF_Symtab_Nameof_Fld(), and WHIRL2F_make_valid_name().
Referenced by TY2F_Declare_Common_Flds(), TY2F_Dump_Fld_Path(), TY2F_Equivalence_FldList(), TY2F_List_Common_Flds(), TY2F_Translate_EquivCommon_PtrFld(), TY2F_Translate_Fld_Path(), TY2F_Translate_Structure(), and WN2F_array().
void TY2F_Fld_Separator | ( | TOKEN_BUFFER | tokens | ) |
Definition at line 2145 of file ty2f.cxx.
References Append_Token_Special(), and WN2F_F90_pu.
Referenced by TY2F_Translate_Fld_Path(), WN2F_array(), WN2F_Offset_Memref(), and WN2F_Offset_Symref().
FLD_PATH_INFO* TY2F_Free_Fld_Path | ( | FLD_PATH_INFO * | fld_path | ) |
Definition at line 2023 of file ty2f.cxx.
References Free_Fld_Path_Info, Fld_Path_Info::next, and NULL.
Referenced by INIT2F_structured(), Select_Best_Fld_Path(), WN2F_Load_Return_Reg(), WN2F_Offset_Memref(), WN2F_Offset_Symref(), and WN2F_String_Argument().
FLD_PATH_INFO* TY2F_Get_Fld_Path | ( | const TY_IDX | struct_ty, |
const TY_IDX | object_ty, | ||
STAB_OFFSET | offset | ||
) |
Definition at line 2040 of file ty2f.cxx.
References ASSERT_DBG_FATAL, Construct_Fld_Path(), DIAG_W2F_UNEXPECTED_TYPE_KIND, FLD_last_field(), KIND_STRUCT, Make_fld_iter(), NOT_BITFIELD_OR_IS_FIRST_OF_BITFIELD, NULL, Select_Best_Fld_Path(), TY_flist(), TY_kind(), TY_size(), and Ty_Table.
Referenced by Construct_Fld_Path(), INIT2F_structured(), WN2F_array(), WN2F_Load_Return_Reg(), WN2F_Offset_Memref(), WN2F_Offset_Symref(), and WN2F_String_Argument().
FLD_HANDLE TY2F_Last_Fld | ( | FLD_PATH_INFO * | fld_path | ) |
Definition at line 2158 of file ty2f.cxx.
References f, Fld_Path_Info::fld, Fld_Path_Info::next, and NULL.
Referenced by WN2F_String_Argument().
FLD_PATH_INFO* TY2F_Point_At_Path | ( | FLD_PATH_INFO * | path, |
STAB_OFFSET | off | ||
) |
Definition at line 2172 of file ty2f.cxx.
References Fld_Path_Info::fld, FLD_ofst(), Fld_Path_Info::next, NULL, and path.
Referenced by LOC_INFO::WN2F_Find_And_Mark_Nested_Address().
void TY2F_Prepend_Structures | ( | TOKEN_BUFFER | tokens | ) |
Definition at line 2014 of file ty2f.cxx.
References NULL, and Prepend_And_Reclaim_Token_List().
Referenced by ST2F_decl_parameter(), ST2F_decl_type(), ST2F_decl_var(), and ST2F_Declare_Return_Type().
void TY2F_translate | ( | TOKEN_BUFFER | tokens, |
TY_IDX | ty | ||
) |
Definition at line 1813 of file ty2f.cxx.
References TY2F_translate().
void TY2F_translate | ( | TOKEN_BUFFER | tokens, |
TY_IDX | ty, | ||
BOOL | notyappend | ||
) |
Definition at line 1801 of file ty2f.cxx.
References TY2F_2_struct(), TY2F_Handler, TY_kind(), and Ty_Table.
Referenced by ST2F_decl_parameter(), ST2F_decl_type(), ST2F_decl_var(), ST2F_Declare_Return_Type(), ST2F_Declare_Tempvar(), ST2F_Define_Preg(), ST2F_func_header(), TY2F_array(), TY2F_array_for_pointer(), TY2F_Declare_Common_Flds(), TY2F_pointer(), TY2F_Purple_Assumed_Sized_Array(), TY2F_translate(), TY2F_Translate_EquivCommon_PtrFld(), TY2F_Translate_Purple_Array(), TY2F_Translate_Structure(), WN2F_interface_blk(), and WN2F_translate_purple_main().
void TY2F_Translate_ArrayElt | ( | TOKEN_BUFFER | tokens, |
TY_IDX | arr_ty, | ||
STAB_OFFSET | arr_ofst | ||
) |
Definition at line 1852 of file ty2f.cxx.
References Append_And_Reclaim_Token_List(), Append_Token_Special(), Append_Token_String(), ARB_const_stride(), ARB_dimension(), ARB_stride_val(), ASSERT_FATAL, DIAG_W2F_UNEXPECTED_TYPE_KIND, GetLB(), idx, New_Token_Buffer(), Number_as_String(), Prepend_Token_Special(), Prepend_Token_String(), TY_arb(), TY_Is_Array(), TY_Is_Character_String(), and TY_kind().
Referenced by INIT2F_Translate_Array_Ref(), and WN2F_Offset_Symref().
void TY2F_Translate_Common | ( | TOKEN_BUFFER | tokens, |
const char * | name, | ||
TY_IDX | ty | ||
) |
Definition at line 1912 of file ty2f.cxx.
References Append_And_Reclaim_Token_List(), Append_F77_Indented_Newline(), Append_Token_String(), ASSERT_DBG_FATAL, Concat3_Strings(), DIAG_W2F_UNEXPECTED_TYPE_KIND, FALSE, KIND_STRUCT, New_Token_Buffer(), NULL, TY2F_Declare_Common_Flds(), TY2F_Equivalence_List(), TY2F_List_Common_Flds(), TY_flist(), TY_kind(), and Ty_Table.
Referenced by ST2F_decl_var().
void TY2F_Translate_Equivalence | ( | TOKEN_BUFFER | tokens, |
TY_IDX | ty, | ||
BOOL | alt_return | ||
) |
Definition at line 1971 of file ty2f.cxx.
References ASSERT_DBG_FATAL, DIAG_W2F_UNEXPECTED_TYPE_KIND, FLD_next(), KIND_STRUCT, TY2F_Equivalence_List(), TY_flist(), TY_kind(), and Ty_Table.
Referenced by ST2F_decl_var().
void TY2F_Translate_Fld_Path | ( | TOKEN_BUFFER | tokens, |
FLD_PATH_INFO * | fld_path, | ||
BOOL | deref, | ||
BOOL | member_of_common, | ||
BOOL | name_as_is, | ||
WN2F_CONTEXT | context | ||
) |
Definition at line 2086 of file ty2f.cxx.
References Append_Token_String(), Fld_Path_Info::arr_elt, Fld_Path_Info::arr_wn, f, FALSE, Fld_Path_Info::fld, FLD_type(), Fld_Path_Info::next, NULL, TY2F_Fld_Name(), TY2F_Fld_Separator(), TY_Is_Pointer(), W2CF_Symtab_Nameof_Fld_Pointee(), and WN2F_array_bounds().
Referenced by WN2F_Load_Return_Reg(), WN2F_Offset_Memref(), and WN2F_Offset_Symref().
void TY2F_Translate_Purple_Array | ( | TOKEN_BUFFER | tokens, |
ST * | st, | ||
TY_IDX | ty | ||
) |
Definition at line 1820 of file ty2f.cxx.
References Stab_Is_Assumed_Sized_Array(), TY2F_Purple_Assumed_Sized_Array(), TY2F_Purple_Ptr_As_Array(), TY2F_translate(), TY_Is_Pointer(), TY_pointed(), TY_ptr_as_array(), and Ty_Table.
Referenced by ST2F_decl_parameter(), ST2F_decl_type(), and ST2F_decl_var().
BOOL Array_Bnd_Temp_Var = FALSE [static] |