Namespaces | |
| namespace | XlateFlags |
Enumerations | |
| enum | status { good, bad } |
Functions | |
| void | TranslateGlobalSymbolTables (sexp_t *gbl_symtab, int flags=0) |
| void | TranslateLocalSymbolTables (sexp_t *pu_symtab, SYMTAB_IDX stab_lvl, int flags=0) |
| void | xlate_FILE_INFO (sexp_t *file_info) |
| void | xlate_ST_TAB (sexp_t *st_tab, SYMTAB_IDX stab_lvl) |
| void | xlate_ST_TAB (sexp_t *st_tab, const SCOPE &scope) |
| void | xlate_ST_ATTR_TAB (sexp_t *st_attr_tab, SYMTAB_IDX stab_lvl) |
| void | xlate_PU_TAB (sexp_t *pu_tab) |
| void | xlate_TY_TAB (sexp_t *ty_tab) |
| void | xlate_FLD_TAB (sexp_t *fld_tab) |
| void | xlate_ARB_TAB (sexp_t *arb_tab) |
| void | xlate_TYLIST_TAB (sexp_t *tylist_tab) |
| void | xlate_TCON_TAB (sexp_t *tcon_tab) |
| void | xlate_TCON_STR_TAB (sexp_t *str_tab) |
| void | xlate_INITO_TAB (sexp_t *inito_tab, SYMTAB_IDX stab_lvl) |
| void | xlate_INITV_TAB (sexp_t *initv_tab) |
| void | xlate_BLK_TAB (sexp_t *blk_tab) |
| void | xlate_STR_TAB (sexp_t *str_tab) |
| void | xlate_LABEL_TAB (sexp_t *label_tab, SYMTAB_IDX stab_lvl) |
| void | xlate_PREG_TAB (sexp_t *preg_tab, SYMTAB_IDX stab_lvl) |
| ST * | xlate_ST_TAB_entry (sexp_t *sx) |
| ST_ATTR * | xlate_ST_ATTR_TAB_entry (sexp_t *sx) |
| PU * | xlate_PU_TAB_entry (sexp_t *sx) |
| TY * | xlate_TY_TAB_entry (sexp_t *sx) |
| FLD * | xlate_FLD_TAB_entry (sexp_t *sx) |
| ARB * | xlate_ARB_TAB_entry (sexp_t *sx) |
| TYLIST * | xlate_TYLIST_TAB_entry (sexp_t *sx) |
| TCON * | xlate_TCON_TAB_entry (sexp_t *sx) |
| INITO * | xlate_INITO_TAB_entry (sexp_t *sx) |
| INITV * | xlate_INITV_TAB_entry (sexp_t *sx) |
| BLK * | xlate_BLK_TAB_entry (sexp_t *sx) |
| LABEL * | xlate_LABEL_TAB_entry (sexp_t *sx) |
| PREG * | xlate_PREG_TAB_entry (sexp_t *sx) |
| UINT32 | xlate_TCON_STR_TAB_entry (sexp_t *sx, std::string &buf) |
| UINT32 | xlate_STR_TAB_entry (sexp_t *sx, std::string &buf) |
| template<typename T > | |
| T * | xlate_SYMTAB_entry (sexp_t *sx) |
| template<> | |
| ST * | xlate_SYMTAB_entry< ST > (sexp_t *sx) |
| template<> | |
| ST_ATTR * | xlate_SYMTAB_entry< ST_ATTR > (sexp_t *sx) |
| template<> | |
| PU * | xlate_SYMTAB_entry< PU > (sexp_t *sx) |
| template<> | |
| TY * | xlate_SYMTAB_entry< TY > (sexp_t *sx) |
| template<> | |
| FLD * | xlate_SYMTAB_entry< FLD > (sexp_t *sx) |
| template<> | |
| ARB * | xlate_SYMTAB_entry< ARB > (sexp_t *sx) |
| template<> | |
| TYLIST * | xlate_SYMTAB_entry< TYLIST > (sexp_t *sx) |
| template<> | |
| TCON * | xlate_SYMTAB_entry< TCON > (sexp_t *sx) |
| template<> | |
| INITO * | xlate_SYMTAB_entry< INITO > (sexp_t *sx) |
| template<> | |
| INITV * | xlate_SYMTAB_entry< INITV > (sexp_t *sx) |
| template<> | |
| BLK * | xlate_SYMTAB_entry< BLK > (sexp_t *sx) |
| template<> | |
| LABEL * | xlate_SYMTAB_entry< LABEL > (sexp_t *sx) |
| template<> | |
| PREG * | xlate_SYMTAB_entry< PREG > (sexp_t *sx) |
| PU_Info * | TranslateIR (sexp_t *ir, int flags=0) |
| void | DumpIR (sexp_t *ir, int flags) |
| const char * | ErrIR (sexp_t *ir, int flags=0) |
| WN * | TranslateWN (sexp_t *sx) |
| std::vector< WN * > | TranslateWNChildren (sexp_t *sx) |
| ST_IDX | GetWhirlSym (sexp_t *sx) |
| TY_IDX | GetWhirlTy (sexp_t *sx) |
| OPERATOR | GetWhirlOpr (sexp_t *sx) |
| OPCODE | GetWhirlOpc (sexp_t *sx) |
| ST_IDX | GetWhirlSymRef (sexp_t *sx) |
| TY_IDX | GetWhirlTyUse (sexp_t *sx) |
| const char * | GetWhirlFlg (sexp_t *sx) |
| UINT64 | GetWhirlOpaqueFlg (sexp_t *sx) |
| WN * | xlate_INTERFACE (sexp_t *sx) |
| WN * | xlate_FUNC_ENTRY (sexp_t *sx) |
| WN * | xlate_BLOCK (sexp_t *sx) |
| WN * | xlate_REGION (sexp_t *sx) |
| WN * | xlate_structured_cf (sexp_t *sx) |
| WN * | xlate_IMPLIED_DO (sexp_t *sx) |
| WN * | xlate_GOTOx_LABEL (sexp_t *sx) |
| WN * | xlate_multiBR (sexp_t *sx) |
| WN * | xlate_CASEGOTO (sexp_t *sx) |
| WN * | xlate_AGOTO (sexp_t *sx) |
| WN * | xlate_ALTENTRY (sexp_t *sx) |
| WN * | xlate_condBR (sexp_t *sx) |
| WN * | xlate_RETURNx (sexp_t *sx) |
| WN * | xlate_xCALL (sexp_t *sx) |
| WN * | xlate_IO (sexp_t *sx) |
| WN * | xlate_misc_stmt (sexp_t *sx) |
| WN * | xlate_xPRAGMA (sexp_t *sx) |
| WN * | xlate_LDA_LDMA (sexp_t *sx) |
| WN * | xlate_LDID_STID (sexp_t *sx) |
| WN * | xlate_IDNAME (sexp_t *sx) |
| WN * | xlate_xLOADx_xSTOREx (sexp_t *sx) |
| WN * | xlate_PSTID (sexp_t *sx) |
| WN * | xlate_PSTORE (sexp_t *sx) |
| WN * | xlate_STRCTFLD (sexp_t *sx) |
| WN * | xlate_ARRAYx (sexp_t *sx) |
| WN * | xlate_CVT_CVTL (sexp_t *sx) |
| WN * | xlate_TAS (sexp_t *sx) |
| WN * | xlate_CONST (sexp_t *sx) |
| WN * | xlate_INTCONST (sexp_t *sx) |
| WN * | xlate_UnaryOp (sexp_t *sx) |
| WN * | xlate_PARM (sexp_t *sx) |
| WN * | xlate_ALLOCA (sexp_t *sx) |
| WN * | xlate_BinaryOp (sexp_t *sx) |
| WN * | xlate_TernaryOp (sexp_t *sx) |
| WN * | xlate_IO_ITEM (sexp_t *sx) |
| WN * | xlate_unknown (sexp_t *sx) |
| enum sexp2whirl::status |
| void sexp2whirl::DumpIR | ( | sexp_t * | ir, | |
| int | flags | |||
| ) |
| const char * sexp2whirl::ErrIR | ( | sexp_t * | ir, | |
| int | flags = 0 | |||
| ) |
| const char * sexp2whirl::GetWhirlFlg | ( | sexp_t * | sx | ) |
Definition at line 225 of file sexp2wn.cxx.
References SexpTags::FLG, FORTTK_ASSERT, sexp::get_elem0(), sexp::get_elem1(), sexp::get_value(), sexp::is_list(), and fortTkSupport::Diagnostics::UnexpectedInput.
Referenced by xlate_ARB_TAB_entry(), xlate_BLK_TAB_entry(), xlate_FILE_INFO(), xlate_FLD_TAB_entry(), xlate_LABEL_TAB_entry(), xlate_PU_TAB_entry(), xlate_ST_TAB_entry(), xlate_TCON_TAB_entry(), and xlate_TY_TAB_entry().

| UINT64 sexp2whirl::GetWhirlOpaqueFlg | ( | sexp_t * | sx | ) |
Definition at line 248 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_elem0(), sexp::get_elem1(), sexp::get_value(), sexp::get_value_ui64(), sexp::is_list(), SexpTags::OFLG, and fortTkSupport::Diagnostics::UnexpectedInput.
Referenced by xlate_GOTOx_LABEL(), xlate_IO(), xlate_misc_stmt(), xlate_PARM(), xlate_structured_cf(), xlate_xCALL(), and xlate_xPRAGMA().

| OPCODE sexp2whirl::GetWhirlOpc | ( | sexp_t * | sx | ) |
Definition at line 151 of file sexp2wn.cxx.
References sexp::get_elem1(), sexp::get_elem2(), sexp::get_value(), GetWhirlOpr(), Name_To_Mtype(), and OPCODE_make_op().
Referenced by xlate_ARRAYx(), xlate_BinaryOp(), xlate_BLOCK(), xlate_CASEGOTO(), xlate_condBR(), xlate_CONST(), xlate_CVT_CVTL(), xlate_FUNC_ENTRY(), xlate_GOTOx_LABEL(), xlate_IDNAME(), xlate_INTCONST(), xlate_INTERFACE(), xlate_IO(), xlate_IO_ITEM(), xlate_LDA_LDMA(), xlate_LDID_STID(), xlate_misc_stmt(), xlate_multiBR(), xlate_PARM(), xlate_RETURNx(), xlate_STRCTFLD(), xlate_structured_cf(), xlate_TAS(), xlate_TernaryOp(), xlate_UnaryOp(), xlate_xCALL(), xlate_xLOADx_xSTOREx(), and xlate_xPRAGMA().

| OPERATOR sexp2whirl::GetWhirlOpr | ( | sexp_t * | sx | ) |
Definition at line 127 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_elem0(), sexp::get_value(), sexp::is_list(), Name_To_OPERATOR(), and fortTkSupport::Diagnostics::UnexpectedInput.
Referenced by GetWhirlOpc(), TranslateWN(), xlate_INTERFACE(), and xlate_unknown().

| ST_IDX sexp2whirl::GetWhirlSym | ( | sexp_t * | sx | ) |
Definition at line 75 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_elem0(), sexp::get_elem1(), sexp::get_elem2(), sexp::get_value(), sexp::get_value_ui32(), idx, sexp::is_list(), make_ST_IDX(), SexpTags::ST, and fortTkSupport::Diagnostics::UnexpectedInput.
Referenced by xlate_ARB_TAB_entry(), xlate_FLD_TAB_entry(), xlate_INITO_TAB_entry(), xlate_ST_ATTR_TAB_entry(), and xlate_ST_TAB_entry().

| ST_IDX sexp2whirl::GetWhirlSymRef | ( | sexp_t * | sx | ) |
Definition at line 172 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_elem0(), sexp::get_elem2(), sexp::get_elem3(), sexp::get_value(), sexp::get_value_ui32(), idx, sexp::is_list(), make_ST_IDX(), SexpTags::ST, and fortTkSupport::Diagnostics::UnexpectedInput.
Referenced by xlate_CONST(), xlate_FUNC_ENTRY(), xlate_IDNAME(), xlate_INTERFACE(), xlate_LDA_LDMA(), xlate_LDID_STID(), xlate_misc_stmt(), xlate_PU(), xlate_xCALL(), and xlate_xPRAGMA().

| TY_IDX sexp2whirl::GetWhirlTy | ( | sexp_t * | sx | ) |
Definition at line 99 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_elem0(), sexp::get_elem2(), sexp::get_elem3(), sexp::get_value(), sexp::get_value_ui32(), idx, sexp::is_list(), make_TY_IDX(), Set_TY_align(), SexpTags::TY, and fortTkSupport::Diagnostics::UnexpectedInput.
Referenced by xlate_FLD_TAB_entry(), xlate_PU_TAB_entry(), xlate_ST_TAB_entry(), xlate_TY_TAB_entry(), and xlate_TYLIST_TAB_entry().

| TY_IDX sexp2whirl::GetWhirlTyUse | ( | sexp_t * | sx | ) |
Definition at line 197 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_elem0(), sexp::get_elem2(), sexp::get_elem3(), sexp::get_value(), sexp::get_value_ui32(), idx, sexp::is_list(), make_TY_IDX(), Set_TY_align(), SexpTags::TY, and fortTkSupport::Diagnostics::UnexpectedInput.
Referenced by xlate_IO_ITEM(), xlate_LDA_LDMA(), xlate_LDID_STID(), xlate_PARM(), xlate_STRCTFLD(), xlate_TAS(), xlate_xCALL(), and xlate_xLOADx_xSTOREx().

| void sexp2whirl::TranslateGlobalSymbolTables | ( | sexp_t * | gbl_symtab, | |
| int | flags = 0 | |||
| ) |
Definition at line 96 of file sexp2symtab.cxx.
References DST_Init(), FALSE, FORTTK_ASSERT, SexpTags::GBL_SYMTAB, sexp::get_elem0(), sexp::get_elem1(), sexp::get_next(), sexp::get_value(), GLOBAL_SYMTAB, idx, Initialize_Symbol_Tables(), Initv_Table, SEGMENTED_ARRAY< T, block_size >::Insert(), sexp::is_list(), Malloc_Mem_Pool, New_ARB(), New_BLK(), SEGMENTED_ARRAY< T, block_size >::New_entry(), New_FLD(), New_PU(), New_Scope(), New_TY(), New_TYLIST(), NULL, Read_Global_Data, Tcon_Table, TRUE, fortTkSupport::Diagnostics::UnexpectedInput, xlate_ARB_TAB(), xlate_BLK_TAB(), xlate_FILE_INFO(), xlate_FLD_TAB(), xlate_INITO_TAB(), xlate_INITV_TAB(), xlate_PU_TAB(), xlate_ST_ATTR_TAB(), xlate_ST_TAB(), xlate_STR_TAB(), xlate_TCON_STR_TAB(), xlate_TCON_TAB(), xlate_TY_TAB(), and xlate_TYLIST_TAB().
Referenced by xlate_IR().

| PU_Info * sexp2whirl::TranslateIR | ( | sexp_t * | ir, | |
| int | flags = 0 | |||
| ) |
Definition at line 36 of file sexp2whirl.cxx.
References xlate_IR().
Referenced by real_main().

| void sexp2whirl::TranslateLocalSymbolTables | ( | sexp_t * | pu_symtab, | |
| SYMTAB_IDX | stab_lvl, | |||
| int | flags = 0 | |||
| ) |
Definition at line 191 of file sexp2symtab.cxx.
References FORTTK_ASSERT, sexp::get_elem0(), sexp::get_elem1(), sexp::get_next(), sexp::get_value(), sexp::is_list(), Malloc_Mem_Pool, New_Scope(), SexpTags::PU_SYMTAB, TRUE, fortTkSupport::Diagnostics::UnexpectedInput, xlate_INITO_TAB(), xlate_LABEL_TAB(), xlate_PREG_TAB(), xlate_ST_ATTR_TAB(), and xlate_ST_TAB().
Referenced by xlate_PU().

| WN * sexp2whirl::TranslateWN | ( | sexp_t * | sx | ) |
Definition at line 26 of file sexp2wn.cxx.
References FORTTK_DEVMSG, GetWhirlOpr(), sexp::is_null_list(), NULL, and OPERATOR_name().
Referenced by TranslateWNChildren(), xlate_BLOCK(), xlate_condBR(), xlate_CVT_CVTL(), xlate_GOTOx_LABEL(), xlate_INTERFACE(), xlate_LDID_STID(), xlate_PARM(), xlate_RETURNx(), xlate_TAS(), xlate_UnaryOp(), xlate_WN(), and xlate_xPRAGMA().

| std::vector< WN * > sexp2whirl::TranslateWNChildren | ( | sexp_t * | sx | ) |
Definition at line 48 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_next(), sexp::get_wnast_kid0(), sexp::is_list(), TranslateWN(), and fortTkSupport::Diagnostics::UnexpectedInput.
Referenced by xlate_ARRAYx(), xlate_BinaryOp(), xlate_FUNC_ENTRY(), xlate_INTERFACE(), xlate_IO(), xlate_IO_ITEM(), xlate_misc_stmt(), xlate_multiBR(), xlate_STRCTFLD(), xlate_structured_cf(), xlate_TernaryOp(), xlate_xCALL(), and xlate_xLOADx_xSTOREx().

| WN * sexp2whirl::xlate_AGOTO | ( | sexp_t * | sx | ) |
Definition at line 468 of file sexp2wn.cxx.
References FORTTK_DIE, NULL, and fortTkSupport::Diagnostics::Unimplemented.
| WN * sexp2whirl::xlate_ALLOCA | ( | sexp_t * | sx | ) |
Definition at line 1125 of file sexp2wn.cxx.
References FORTTK_DIE, NULL, and fortTkSupport::Diagnostics::Unimplemented.
| WN * sexp2whirl::xlate_ALTENTRY | ( | sexp_t * | sx | ) |
Definition at line 476 of file sexp2wn.cxx.
References FORTTK_DIE, NULL, and fortTkSupport::Diagnostics::Unimplemented.
| void sexp2whirl::xlate_ARB_TAB | ( | sexp_t * | arb_tab | ) |
Definition at line 303 of file sexp2symtab.cxx.
References SexpTags::ARB_TAB, Arb_Table, and xlate_SYMTAB().
Referenced by TranslateGlobalSymbolTables().

| ARB * sexp2whirl::xlate_ARB_TAB_entry | ( | sexp_t * | sx | ) |
Definition at line 654 of file sexp2symtab.cxx.
References ARB_CONST_LBND, ARB_CONST_STRIDE, ARB_CONST_UBND, ARB::co_dimension, ARB::dimension, ARB::flags, sexp::get_elem1(), sexp::get_next(), sexp::get_value_i64(), sexp::get_value_ui32(), GetWhirlFlg(), GetWhirlSym(), MEM_pu_pool_ptr, ARB::Set_lbnd_val(), ARB::Set_lbnd_var(), ARB::Set_stride_val(), ARB::Set_stride_var(), ARB::Set_ubnd_val(), ARB::Set_ubnd_var(), Str_To_ARB_FLAGS(), and TYPE_MEM_POOL_ALLOC.

| WN * sexp2whirl::xlate_ARRAYx | ( | sexp_t * | sx | ) |
Definition at line 928 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_elem0(), sexp::get_value_i64(), sexp::get_wnast_attrs(), GetWhirlOpc(), OPCODE_operator(), OPR_ARRAY, OPR_ARRAYEXP, OPR_ARRSECTION, TranslateWNChildren(), fortTkSupport::Diagnostics::UnexpectedInput, WN_Create(), WN_element_size(), and WN_kid().

| WN * sexp2whirl::xlate_BinaryOp | ( | sexp_t * | sx | ) |
Definition at line 1137 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_wnast_attrs(), GetWhirlOpc(), OPCODE_name(), OPCODE_nkids(), TranslateWNChildren(), fortTkSupport::Diagnostics::UnexpectedInput, WN_Create(), WN_kid0(), and WN_kid1().

| void sexp2whirl::xlate_BLK_TAB | ( | sexp_t * | blk_tab | ) |
Definition at line 355 of file sexp2symtab.cxx.
References SexpTags::BLK_TAB, Blk_Table, and xlate_SYMTAB().
Referenced by TranslateGlobalSymbolTables().

| BLK * sexp2whirl::xlate_BLK_TAB_entry | ( | sexp_t * | sx | ) |
Definition at line 830 of file sexp2symtab.cxx.
References sexp::get_elem1(), sexp::get_next(), sexp::get_value_ui32(), sexp::get_value_ui64(), GetWhirlFlg(), MEM_pu_pool_ptr, BLK::Set_align(), BLK::Set_flags(), BLK::Set_scninfo_idx(), BLK::Set_section_idx(), BLK::Set_size(), size, Str_To_BLK_FLAGS(), and TYPE_MEM_POOL_ALLOC.

| WN * sexp2whirl::xlate_BLOCK | ( | sexp_t * | sx | ) |
Definition at line 305 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_next(), sexp::get_wnast_attrs(), sexp::get_wnast_kid0(), GetWhirlOpc(), OPCODE_operator(), OPR_BLOCK, TranslateWN(), fortTkSupport::Diagnostics::UnexpectedInput, WN_CreateBlock(), and WN_INSERT_BlockLast.

| WN * sexp2whirl::xlate_CASEGOTO | ( | sexp_t * | sx | ) |
Definition at line 447 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_elem0(), sexp::get_elem1(), sexp::get_value_i32(), sexp::get_value_i64(), sexp::get_wnast_attrs(), GetWhirlOpc(), OPCODE_operator(), OPR_CASEGOTO, fortTkSupport::Diagnostics::UnexpectedInput, and WN_CreateCasegoto().

| WN * sexp2whirl::xlate_condBR | ( | sexp_t * | sx | ) |
Definition at line 484 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_elem0(), sexp::get_value_i32(), sexp::get_wnast_attrs(), sexp::get_wnast_kid0(), GetWhirlOpc(), OPCODE_operator(), OPR_FALSEBR, OPR_TRUEBR, TranslateWN(), fortTkSupport::Diagnostics::UnexpectedInput, WN_Create(), WN_kid0(), and WN_label_number().

| WN * sexp2whirl::xlate_CONST | ( | sexp_t * | sx | ) |
Definition at line 1028 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_elem0(), sexp::get_wnast_attrs(), GetWhirlOpc(), GetWhirlSymRef(), OPCODE_operator(), OPR_CONST, fortTkSupport::Diagnostics::UnexpectedInput, and WN_CreateConst().

| WN * sexp2whirl::xlate_CVT_CVTL | ( | sexp_t * | sx | ) |
Definition at line 960 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_elem0(), sexp::get_value_i32(), sexp::get_wnast_attrs(), sexp::get_wnast_kid0(), GetWhirlOpc(), OPCODE_operator(), OPR_CVT, OPR_CVTL, TranslateWN(), fortTkSupport::Diagnostics::UnexpectedInput, WN_Create(), WN_cvtl_bits(), and WN_kid0().

| void sexp2whirl::xlate_FILE_INFO | ( | sexp_t * | file_info | ) |
Definition at line 232 of file sexp2symtab.cxx.
References File_info, SexpTags::FILE_INFO, FILE_INFO::flags, FORTTK_ASSERT, sexp::get_elem0(), sexp::get_elem1(), sexp::get_next(), sexp::get_value(), sexp::get_value_ui32(), GetWhirlFlg(), sexp::is_list(), Set_FILE_INFO_gp_group(), Str_To_FILE_INFO_FLAGS(), and fortTkSupport::Diagnostics::UnexpectedInput.
Referenced by TranslateGlobalSymbolTables().

| void sexp2whirl::xlate_FLD_TAB | ( | sexp_t * | fld_tab | ) |
Definition at line 296 of file sexp2symtab.cxx.
References SexpTags::FLD_TAB, Fld_Table, and xlate_SYMTAB().
Referenced by TranslateGlobalSymbolTables().

| FLD * sexp2whirl::xlate_FLD_TAB_entry | ( | sexp_t * | sx | ) |
Definition at line 605 of file sexp2symtab.cxx.
References FLD::bofst, FLD::bsize, FLD::flags, sexp::get_elem1(), sexp::get_next(), sexp::get_value_ui32(), sexp::get_value_ui64(), GetWhirlFlg(), GetWhirlSym(), GetWhirlTy(), MEM_pu_pool_ptr, FLD::name_idx, FLD::ofst, FLD::st, Str_To_FLD_FLAGS(), FLD::type, and TYPE_MEM_POOL_ALLOC.

| WN * sexp2whirl::xlate_FUNC_ENTRY | ( | sexp_t * | sx | ) |
Definition at line 275 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_elem0(), sexp::get_wnast_attrs(), GetWhirlOpc(), GetWhirlSymRef(), OPCODE_operator(), OPR_FUNC_ENTRY, TranslateWNChildren(), fortTkSupport::Diagnostics::UnexpectedInput, WN_CreateEntry(), and WN_kid().

| WN * sexp2whirl::xlate_GOTOx_LABEL | ( | sexp_t * | sx | ) |
Definition at line 376 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_elem0(), sexp::get_elem1(), sexp::get_value_i32(), sexp::get_value_ui32(), sexp::get_wnast_attrs(), sexp::get_wnast_kid0(), GetWhirlOpaqueFlg(), GetWhirlOpc(), NULL, OPCODE_operator(), OPR_GOTO, OPR_GOTO_OUTER_BLOCK, OPR_LABEL, OPR_REGION_EXIT, TranslateWN(), fortTkSupport::Diagnostics::UnexpectedInput, WN_CreateGoto(), WN_CreateGotoOuterBlock(), WN_CreateLabel(), and WN_CreateRegionExit().

| WN * sexp2whirl::xlate_IDNAME | ( | sexp_t * | sx | ) |
Definition at line 856 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_elem0(), sexp::get_elem1(), sexp::get_value_ui32(), sexp::get_wnast_attrs(), GetWhirlOpc(), GetWhirlSymRef(), OPCODE_operator(), OPR_IDNAME, fortTkSupport::Diagnostics::UnexpectedInput, and WN_CreateIdname().

| WN * sexp2whirl::xlate_IMPLIED_DO | ( | sexp_t * | sx | ) |
Definition at line 368 of file sexp2wn.cxx.
References FORTTK_DIE, NULL, and fortTkSupport::Diagnostics::Unimplemented.
| void sexp2whirl::xlate_INITO_TAB | ( | sexp_t * | inito_tab, | |
| SYMTAB_IDX | stab_lvl | |||
| ) |
Definition at line 340 of file sexp2symtab.cxx.
References SexpTags::INITO_TAB, Scope_tab, and xlate_SYMTAB().
Referenced by TranslateGlobalSymbolTables(), and TranslateLocalSymbolTables().

| INITO * sexp2whirl::xlate_INITO_TAB_entry | ( | sexp_t * | sx | ) |
Definition at line 770 of file sexp2symtab.cxx.
References sexp::get_elem1(), sexp::get_next(), sexp::get_value_ui32(), GetWhirlSym(), MEM_pu_pool_ptr, INITO::st_idx, TYPE_MEM_POOL_ALLOC, and INITO::val.

| void sexp2whirl::xlate_INITV_TAB | ( | sexp_t * | initv_tab | ) |
Definition at line 348 of file sexp2symtab.cxx.
References SexpTags::INITV_TAB, Initv_Table, and xlate_SYMTAB().
Referenced by TranslateGlobalSymbolTables().

| INITV * sexp2whirl::xlate_INITV_TAB_entry | ( | sexp_t * | sx | ) |
Definition at line 792 of file sexp2symtab.cxx.
References sexp::get_elem1(), sexp::get_next(), sexp::get_value(), sexp::get_value_i32(), sexp::get_value_ui32(), INITV::kind, kind, MEM_pu_pool_ptr, Name_To_InitvKind(), INITV::next, INITV::repeat1, TYPE_MEM_POOL_ALLOC, and INITV::u.

| WN * sexp2whirl::xlate_INTCONST | ( | sexp_t * | sx | ) |
Definition at line 1009 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_elem0(), sexp::get_value_i64(), sexp::get_wnast_attrs(), GetWhirlOpc(), OPCODE_operator(), OPR_INTCONST, fortTkSupport::Diagnostics::UnexpectedInput, and WN_CreateIntconst().

| WN * sexp2whirl::xlate_INTERFACE | ( | sexp_t * | sx | ) |
Definition at line 638 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_elem0(), sexp::get_next(), sexp::get_wnast_attrs(), sexp::get_wnast_kid0(), GetWhirlOpc(), GetWhirlOpr(), GetWhirlSymRef(), OPC_FUNC_ENTRY, OPCODE_operator(), OPR_FUNC_ENTRY, OPR_INTERFACE, TranslateWN(), TranslateWNChildren(), fortTkSupport::Diagnostics::UnexpectedInput, WN_Create(), WN_entry_name, WN_kid(), and WN_st_idx().

| WN * sexp2whirl::xlate_IO | ( | sexp_t * | sx | ) |
Definition at line 584 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_elem0(), sexp::get_elem1(), sexp::get_value(), sexp::get_wnast_attrs(), GetWhirlOpaqueFlg(), GetWhirlOpc(), Name_To_IOSTATEMENT, OPCODE_operator(), OPR_IO, TranslateWNChildren(), fortTkSupport::Diagnostics::UnexpectedInput, WN_CreateIo(), WN_io_flag(), and WN_kid().

| WN * sexp2whirl::xlate_IO_ITEM | ( | sexp_t * | sx | ) |
Definition at line 612 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_elem0(), sexp::get_elem1(), sexp::get_value(), sexp::get_wnast_attrs(), GetWhirlOpc(), GetWhirlTyUse(), Name_To_IOITEM, OPCODE_operator(), OPR_IO_ITEM, TranslateWNChildren(), fortTkSupport::Diagnostics::UnexpectedInput, WN_CreateIoItemN(), and WN_kid().

| void sexp2whirl::xlate_LABEL_TAB | ( | sexp_t * | label_tab, | |
| SYMTAB_IDX | stab_lvl | |||
| ) |
Definition at line 375 of file sexp2symtab.cxx.
References SexpTags::LABEL_TAB, Scope_tab, and xlate_SYMTAB().
Referenced by TranslateLocalSymbolTables().

| LABEL * sexp2whirl::xlate_LABEL_TAB_entry | ( | sexp_t * | sx | ) |
Definition at line 867 of file sexp2symtab.cxx.
References LABEL::flags, sexp::get_elem1(), sexp::get_next(), sexp::get_value(), sexp::get_value_ui32(), GetWhirlFlg(), MEM_pu_pool_ptr, Name_To_LABEL_Kind(), Set_LABEL_KIND(), Set_LABEL_name_idx(), Str_To_LABEL_FLAGS(), and TYPE_MEM_POOL_ALLOC.

| WN * sexp2whirl::xlate_LDA_LDMA | ( | sexp_t * | sx | ) |
Definition at line 776 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_elem0(), sexp::get_elem1(), sexp::get_elem2(), sexp::get_elem3(), sexp::get_value_ui32(), sexp::get_wnast_attrs(), GetWhirlOpc(), GetWhirlSymRef(), GetWhirlTyUse(), NULL, OPCODE_operator(), OPR_LDA, OPR_LDMA, fortTkSupport::Diagnostics::UnexpectedInput, WN_CreateLda(), and WN_CreateLdma().

| WN * sexp2whirl::xlate_LDID_STID | ( | sexp_t * | sx | ) |
Definition at line 811 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_elem0(), sexp::get_elem1(), sexp::get_elem2(), sexp::get_elem3(), sexp::get_value_ui32(), sexp::get_wnast_attrs(), sexp::get_wnast_kid0(), GetWhirlOpc(), GetWhirlSymRef(), GetWhirlTyUse(), NULL, OPCODE_operator(), OPR_LDID, OPR_PSTID, OPR_STID, TranslateWN(), fortTkSupport::Diagnostics::UnexpectedInput, WN_CreateLdid(), WN_CreatePStid(), and WN_CreateStid().

| WN * sexp2whirl::xlate_misc_stmt | ( | sexp_t * | sx | ) |
Definition at line 684 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_elem0(), sexp::get_next(), sexp::get_value_ui32(), sexp::get_wnast_attrs(), GetWhirlOpaqueFlg(), GetWhirlOpc(), GetWhirlSymRef(), OPCODE_operator(), OPERATOR_has_flags(), OPERATOR_has_offset(), OPERATOR_has_sym(), OPR_AFFIRM, OPR_ARRAY_CONSTRUCT, OPR_ASSERT, OPR_BACKWARD_BARRIER, OPR_COMMENT, OPR_DEALLOCA, OPR_EVAL, OPR_FORWARD_BARRIER, OPR_IMPLICIT_BND, OPR_INTERFACE, OPR_NAMELIST, OPR_NULLIFY, OPR_PREFETCH, OPR_PREFETCHX, OPR_TRAP, OPR_USE, TranslateWNChildren(), fortTkSupport::Diagnostics::UnexpectedInput, WN_Create(), WN_kid(), WN_offset(), WN_set_flag(), and WN_st_idx().

| WN * sexp2whirl::xlate_multiBR | ( | sexp_t * | sx | ) |
Definition at line 417 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_elem0(), sexp::get_elem1(), sexp::get_value_i32(), sexp::get_wnast_attrs(), GetWhirlOpc(), OPCODE_operator(), OPR_COMPGOTO, OPR_SWITCH, TranslateWNChildren(), fortTkSupport::Diagnostics::UnexpectedInput, WN_Create(), WN_kid(), WN_last_label(), and WN_num_entries().

| WN * sexp2whirl::xlate_PARM | ( | sexp_t * | sx | ) |
Definition at line 1102 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_elem0(), sexp::get_elem1(), sexp::get_wnast_attrs(), sexp::get_wnast_kid0(), GetWhirlOpaqueFlg(), GetWhirlOpc(), GetWhirlTyUse(), OPCODE_operator(), OPCODE_rtype(), OPR_PARM, TranslateWN(), fortTkSupport::Diagnostics::UnexpectedInput, and WN_CreateParm().

| void sexp2whirl::xlate_PREG_TAB | ( | sexp_t * | preg_tab, | |
| SYMTAB_IDX | stab_lvl | |||
| ) |
Definition at line 383 of file sexp2symtab.cxx.
References SexpTags::PREG_TAB, Scope_tab, and xlate_SYMTAB().
Referenced by TranslateLocalSymbolTables().

| PREG * sexp2whirl::xlate_PREG_TAB_entry | ( | sexp_t * | sx | ) |
Definition at line 895 of file sexp2symtab.cxx.
References sexp::get_elem1(), sexp::get_value_ui32(), MEM_pu_pool_ptr, Set_PREG_name_idx(), and TYPE_MEM_POOL_ALLOC.

| WN* sexp2whirl::xlate_PSTID | ( | sexp_t * | sx | ) |
| WN* sexp2whirl::xlate_PSTORE | ( | sexp_t * | sx | ) |
| void sexp2whirl::xlate_PU_TAB | ( | sexp_t * | pu_tab | ) |
Definition at line 282 of file sexp2symtab.cxx.
References SexpTags::PU_TAB, Pu_Table, and xlate_SYMTAB().
Referenced by TranslateGlobalSymbolTables().

| PU * sexp2whirl::xlate_PU_TAB_entry | ( | sexp_t * | sx | ) |
Definition at line 493 of file sexp2symtab.cxx.
References PU::flags, sexp::get_elem1(), sexp::get_next(), sexp::get_value_ui32(), GetWhirlFlg(), GetWhirlTy(), MEM_pu_pool_ptr, Set_PU_gp_group(), Set_PU_lexical_level(), Set_PU_prototype(), Set_PU_target_idx(), PU::src_lang, Str_To_PU_FLAGS(), Str_To_PU_SRC_LANG_FLAGS(), and TYPE_MEM_POOL_ALLOC.

| WN * sexp2whirl::xlate_REGION | ( | sexp_t * | sx | ) |
Definition at line 327 of file sexp2wn.cxx.
References FORTTK_DIE, NULL, and fortTkSupport::Diagnostics::Unimplemented.
| WN * sexp2whirl::xlate_RETURNx | ( | sexp_t * | sx | ) |
Definition at line 508 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_wnast_attrs(), sexp::get_wnast_kid0(), GetWhirlOpc(), NULL, OPCODE_operator(), OPR_RETURN, OPR_RETURN_VAL, TranslateWN(), fortTkSupport::Diagnostics::UnexpectedInput, WN_CreateReturn(), and WN_CreateReturn_Val().

| void sexp2whirl::xlate_ST_ATTR_TAB | ( | sexp_t * | st_attr_tab, | |
| SYMTAB_IDX | stab_lvl | |||
| ) |
Definition at line 273 of file sexp2symtab.cxx.
References Scope_tab, SexpTags::ST_ATTR_TAB, and xlate_SYMTAB().
Referenced by TranslateGlobalSymbolTables(), and TranslateLocalSymbolTables().

| ST_ATTR * sexp2whirl::xlate_ST_ATTR_TAB_entry | ( | sexp_t * | sx | ) |
Definition at line 466 of file sexp2symtab.cxx.
References sexp::get_elem1(), sexp::get_next(), sexp::get_value(), sexp::get_value_ui32(), GetWhirlSym(), ST_ATTR::kind, MEM_pu_pool_ptr, Name_To_ST_ATTR_Kind(), Set_ST_ATTR_reg_id(), Set_ST_ATTR_st_idx(), and TYPE_MEM_POOL_ALLOC.

| void sexp2whirl::xlate_ST_TAB | ( | sexp_t * | st_tab, | |
| const SCOPE & | scope | |||
| ) |
Definition at line 265 of file sexp2symtab.cxx.
References FORTTK_DIE, and fortTkSupport::Diagnostics::Unimplemented.
| void sexp2whirl::xlate_ST_TAB | ( | sexp_t * | st_tab, | |
| SYMTAB_IDX | stab_lvl | |||
| ) |
Definition at line 257 of file sexp2symtab.cxx.
References Scope_tab, SexpTags::ST_TAB, and xlate_SYMTAB().
Referenced by TranslateGlobalSymbolTables(), and TranslateLocalSymbolTables().

| ST * sexp2whirl::xlate_ST_TAB_entry | ( | sexp_t * | sx | ) |
Definition at line 395 of file sexp2symtab.cxx.
References CLASS_BLOCK, CLASS_FUNC, ST::flags, ST::flags_ext, sexp::get_elem1(), sexp::get_next(), sexp::get_value(), sexp::get_value_ui32(), sexp::get_value_ui64(), GetWhirlFlg(), GetWhirlSym(), GetWhirlTy(), MEM_pu_pool_ptr, Name_To_Class(), Name_To_Export(), Name_To_Sclass(), Set_ST_base_idx(), Set_ST_blk(), Set_ST_export(), Set_ST_name_idx(), Set_ST_ofst(), Set_ST_pu(), Set_ST_sclass(), Set_ST_st_idx(), Set_ST_sym_class(), Set_ST_type(), Str_To_ST_EXT_FLAGS(), Str_To_ST_FLAGS(), and TYPE_MEM_POOL_ALLOC.

| void sexp2whirl::xlate_STR_TAB | ( | sexp_t * | str_tab | ) |
Definition at line 362 of file sexp2symtab.cxx.
References buf, Initialize_Strtab(), SexpTags::STR_TAB, xlate_STR_TAB_entry(), and xlate_SYMTAB().
Referenced by TranslateGlobalSymbolTables().

| UINT32 sexp2whirl::xlate_STR_TAB_entry | ( | sexp_t * | sx, | |
| std::string & | buf | |||
| ) |
Definition at line 953 of file sexp2symtab.cxx.
References FORTTK_ASSERT, sexp::get_elem0(), sexp::get_elem1(), sexp::get_value(), sexp::get_value_ui32(), and idx.
Referenced by xlate_STR_TAB().

| WN * sexp2whirl::xlate_STRCTFLD | ( | sexp_t * | sx | ) |
Definition at line 1070 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_elem0(), sexp::get_next(), sexp::get_value_ui32(), sexp::get_wnast_attrs(), GetWhirlOpc(), GetWhirlTyUse(), OPCODE_operator(), OPR_STRCTFLD, TranslateWNChildren(), fortTkSupport::Diagnostics::UnexpectedInput, WN_Create(), WN_kid(), WN_set_field_id(), WN_set_load_addr_ty(), and WN_set_ty().

| WN * sexp2whirl::xlate_structured_cf | ( | sexp_t * | sx | ) |
Definition at line 335 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_elem0(), sexp::get_wnast_attrs(), GetWhirlOpaqueFlg(), GetWhirlOpc(), OPCODE_operator(), OPR_DO_LOOP, OPR_DO_WHILE, OPR_IF, OPR_WHILE_DO, TranslateWNChildren(), fortTkSupport::Diagnostics::UnexpectedInput, WN_Create(), WN_if_flag(), and WN_kid().

| T* sexp2whirl::xlate_SYMTAB_entry | ( | sexp_t * | sx | ) | [inline] |
| WN * sexp2whirl::xlate_TAS | ( | sexp_t * | sx | ) |
Definition at line 985 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_elem0(), sexp::get_wnast_attrs(), sexp::get_wnast_kid0(), GetWhirlOpc(), GetWhirlTyUse(), OPCODE_operator(), OPCODE_rtype(), OPR_BLOCK, TranslateWN(), fortTkSupport::Diagnostics::UnexpectedInput, and WN_Tas().

| void sexp2whirl::xlate_TCON_STR_TAB | ( | sexp_t * | str_tab | ) |
Definition at line 324 of file sexp2symtab.cxx.
References buf, Initialize_TCON_strtab(), SexpTags::TCON_STR_TAB, xlate_SYMTAB(), and xlate_TCON_STR_TAB_entry().
Referenced by TranslateGlobalSymbolTables().

| UINT32 sexp2whirl::xlate_TCON_STR_TAB_entry | ( | sexp_t * | sx, | |
| std::string & | buf | |||
| ) |
Definition at line 912 of file sexp2symtab.cxx.
References FORTTK_ASSERT, sexp::get_elem0(), sexp::get_elem1(), sexp::get_value(), sexp::get_value_ui32(), and idx.
Referenced by xlate_TCON_STR_TAB().

| void sexp2whirl::xlate_TCON_TAB | ( | sexp_t * | tcon_tab | ) |
Definition at line 317 of file sexp2symtab.cxx.
References SexpTags::TCON_TAB, Tcon_Table, and xlate_SYMTAB().
Referenced by TranslateGlobalSymbolTables().

| TCON * sexp2whirl::xlate_TCON_TAB_entry | ( | sexp_t * | sx | ) |
Definition at line 733 of file sexp2symtab.cxx.
References FortTk::assign(), TCON::cmplxval, TCON::flags, sexp::get_elem0(), sexp::get_elem1(), sexp::get_next(), sexp::get_value(), sexp::get_value_ui64(), GetWhirlFlg(), FortTk::uint128_t::hi, FortTk::uint128_t::lo, MEM_pu_pool_ptr, Name_To_Mtype(), TCON::qival, TCON::qval, Str_To_TCONFlags(), TYPE_MEM_POOL_ALLOC, and TCON::vals.

| WN * sexp2whirl::xlate_TernaryOp | ( | sexp_t * | sx | ) |
Definition at line 1165 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_wnast_attrs(), GetWhirlOpc(), OPCODE_name(), OPCODE_nkids(), TranslateWNChildren(), fortTkSupport::Diagnostics::UnexpectedInput, WN_Create(), WN_kid0(), WN_kid1(), and WN_kid2().

| void sexp2whirl::xlate_TY_TAB | ( | sexp_t * | ty_tab | ) |
Definition at line 289 of file sexp2symtab.cxx.
References SexpTags::TY_TAB, Ty_tab, and xlate_SYMTAB().
Referenced by TranslateGlobalSymbolTables().

| TY * sexp2whirl::xlate_TY_TAB_entry | ( | sexp_t * | sx | ) |
Definition at line 534 of file sexp2symtab.cxx.
References sexp::get_elem0(), sexp::get_elem1(), sexp::get_next(), sexp::get_value(), sexp::get_value_ui32(), sexp::get_value_ui64(), GetWhirlFlg(), GetWhirlTy(), KIND_ARRAY, KIND_FUNCTION, KIND_POINTER, KIND_STRUCT, MEM_pu_pool_ptr, Name_To_Kind(), Name_To_Mtype(), TY::pu_flags, TY::Set_arb(), TY::Set_etype(), TY::Set_fld(), Set_TY_flags(), Set_TY_kind(), Set_TY_mtype(), Set_TY_name_idx(), Set_TY_pointed(), Set_TY_size(), Set_TY_tylist(), Str_To_TY_FLAGS(), Str_To_TY_PU_FLAGS(), TYPE_MEM_POOL_ALLOC, and TY::u2.

| void sexp2whirl::xlate_TYLIST_TAB | ( | sexp_t * | tylist_tab | ) |
Definition at line 310 of file sexp2symtab.cxx.
References SexpTags::TYLIST_TAB, Tylist_Table, and xlate_SYMTAB().
Referenced by TranslateGlobalSymbolTables().

| TYLIST * sexp2whirl::xlate_TYLIST_TAB_entry | ( | sexp_t * | sx | ) |
Definition at line 718 of file sexp2symtab.cxx.
References sexp::get_elem1(), GetWhirlTy(), MEM_pu_pool_ptr, Set_TYLIST_type(), and TYPE_MEM_POOL_ALLOC.

| WN * sexp2whirl::xlate_UnaryOp | ( | sexp_t * | sx | ) |
Definition at line 1050 of file sexp2wn.cxx.
References FORTTK_ASSERT, sexp::get_wnast_attrs(), sexp::get_wnast_kid0(), GetWhirlOpc(), OPCODE_name(), OPCODE_nkids(), TranslateWN(), fortTkSupport::Diagnostics::UnexpectedInput, WN_Create(), and WN_kid0().