Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
Go to the source code of this file.
#define cast_to_LIST | ( | x | ) | ((LIST *) (void *)(x)) |
Definition at line 82 of file cwh_stab.h.
#define cast_to_SCLASS | ( | x | ) | ((ST_SCLASS) (INT)(x)) |
Definition at line 81 of file cwh_stab.h.
Referenced by fei_object().
#define IS_AUTO_OR_FORMAL | ( | s | ) |
((ST_sclass(s) == SCLASS_FORMAL) || \ (ST_sclass(s) == SCLASS_FORMAL_REF) || \ (ST_sclass(s) == SCLASS_AUTO))
Definition at line 95 of file cwh_stab.h.
Referenced by fei_object().
((ST_sclass(s) == SCLASS_COMMON) || \ (ST_sclass(s) == SCLASS_MODULE) || \ (ST_sclass(s) == SCLASS_DGLOBAL))
Definition at line 91 of file cwh_stab.h.
Referenced by cwh_types_mk_element(), and fei_object().
(((ST_sclass(s) == SCLASS_FORMAL) || \ (ST_sclass(s) == SCLASS_FORMAL_REF)) && \ (!Has_Base_Block(st)))
Definition at line 87 of file cwh_stab.h.
enum is_form |
Definition at line 63 of file cwh_stab.h.
WN* cwh_load_distribute_temp | ( | void | ) |
Definition at line 3164 of file cwh_stab.cxx.
References Be_Type_Tbl, cwh_auxst_clear(), Gen_Temp_Symbol(), MTYPE_I4, NULL, OPC_I4I4LDID, st_for_distribute_temp, TY_name(), and WN_CreateLdid().
Referenced by cwh_stab_distrib_pragmas(), and fei_redistribute().
void cwh_stab_add_pragma | ( | ST * | st, |
WN_PRAGMA_ACCESSED_FLAGS | flag | ||
) |
Definition at line 2046 of file cwh_stab.cxx.
References block, block_ca, cwh_auxst_pragma(), cwh_stmt_add_to_preamble(), NULL, wn, WN_CreatePragma(), WN_DELETE_Tree(), WN_PRAGMA_ACCESSED_ID, and WN_pragma_arg2().
Referenced by cwh_addr_access_flags().
ST* cwh_stab_address_temp_ST | ( | char * | name, |
TY_IDX | ty, | ||
BOOL | uniq | ||
) |
Definition at line 1989 of file cwh_stab.cxx.
References CLASS_VAR, CURRENT_SYMTAB, cwh_auxst_clear(), cwh_expr_temp_set_pragma(), cwh_types_mk_anon_name(), EXPORT_LOCAL, New_ST(), Save_Str(), SCLASS_AUTO, Set_ST_is_temp_var(), Set_ST_pt_to_unique_mem(), and ST_Init().
Referenced by cwh_stab_altentry_temp(), and fei_allocate().
TY_IDX cwh_stab_altentry_TY | ( | ST * | st, |
BOOL | expr | ||
) |
Definition at line 3038 of file cwh_stab.cxx.
References Be_Type_Tbl, DevAssert, KIND_SCALAR, max, MTYPE_C4, MTYPE_F4, MTYPE_F8, MTYPE_FQ, MTYPE_I8, MTYPE_is_complex, MTYPE_is_float, ST_base(), ST_ofst(), ST_type(), TY_kind(), TY_mtype(), and TY_size().
Referenced by cwh_addr_pstid(), cwh_addr_stid(), and cwh_stmt_return_altentry().
WN* cwh_stab_const | ( | ST * | st | ) |
Definition at line 1963 of file cwh_stab.cxx.
References Const_Opcode, ST_type(), TY_mtype(), wn, and WN_CreateConst().
Referenced by fei_constant().
ST* cwh_stab_const_ST | ( | WN * | wn | ) |
Definition at line 1936 of file cwh_stab.cxx.
References Be_Type_Tbl, DevAssert, Enter_tcon(), Host_To_Targ(), New_Const_Sym(), OPR_CONST, OPR_INTCONST, WN_const_val(), WN_st(), WNOPR, and WNRTY.
Referenced by fei_smt_parameter().
void cwh_stab_emit_commons_and_equivalences | ( | SYMTAB_IDX | level | ) |
Definition at line 3277 of file cwh_stab.cxx.
References Commons_Already_Seen, cwh_stab_emit_list(), cwh_stab_full_split(), cwh_stab_mk_flds(), Equivalences, FE_Full_Split, fp, GLOBAL_SYMTAB, HOST_LEVEL, Hosted_Equivalences, l_COMLIST, and l_EQVLIST.
Referenced by fei_proc_body(), and PDGCS_terminate().
void cwh_stab_end_procs | ( | void | ) |
Definition at line 2152 of file cwh_stab.cxx.
References Current_scope, CURRENT_SYMTAB, cwh_auxst_clear_per_PU(), cwh_auxst_free(), cwh_auxst_un_register_table(), cwh_stab_free_packet(), Delete_Scope(), entry_point_count, FALSE, Has_nested_proc, and IN_NESTED_PU.
Referenced by PDGCS_end_procs().
void cwh_stab_init_auxst_tab_size | ( | void | ) |
ST* cwh_stab_main_ST | ( | void | ) |
Definition at line 2326 of file cwh_stab.cxx.
References Main_ST.
ST* cwh_stab_mk_fn_0args | ( | char * | name, |
ST_EXPORT | eclass, | ||
SYMTAB_IDX | level, | ||
TY_IDX | rty | ||
) |
Definition at line 3460 of file cwh_stab.cxx.
References CLASS_FUNC, cwh_auxst_clear(), cwh_stab_mk_pu(), cwh_types_mk_procedure_TY(), FALSE, GLOBAL_SYMTAB, New_ST(), Save_Str(), SCLASS_EXTERN, Set_PU_need_unparsed(), Set_ST_ofst(), ST_Init(), and TRUE.
Referenced by cwh_intrin_make_intrinsic_symbol(), and fei_proc_imp().
STB_pkt* cwh_stab_packet | ( | void * | thing, |
enum is_form | fm | ||
) |
Definition at line 2077 of file cwh_stab.cxx.
References cwh_stab_packet_typed().
Referenced by fei_arith_con(), fei_constant(), fei_interface(), fei_name(), fei_namelist(), fei_next_func_idx(), fei_object(), fei_proc_def(), fei_proc_imp(), fei_proc_interface(), and fei_seg().
STB_pkt* cwh_stab_packet_typed | ( | void * | thing, |
enum is_form | fm, | ||
TY_IDX | ty | ||
) |
Definition at line 2097 of file cwh_stab.cxx.
References al::form, al::item, al::next, STB_list, and al::ty.
Referenced by cwh_stab_packet(), and fei_constant().
ST* cwh_stab_seen_derived_type_or_imported_var | ( | ST * | c, |
char * | name | ||
) |
Definition at line 3435 of file cwh_stab.cxx.
References cwh_auxst_next_element(), I_element, l_TYMDLIST, NULL, ST_base(), ST_name(), and ST_pu().
Referenced by fei_gen_st_for_type(), fei_imported_type(), and fei_object().
void cwh_stab_set_symtab | ( | ST * | st | ) |
Definition at line 1922 of file cwh_stab.cxx.
References Current_scope, and PU_lexical_level().
Referenced by PDGCS_new_proc().
void cwh_stab_set_tylist_for_entries | ( | ST * | st | ) |
Definition at line 3252 of file cwh_stab.cxx.
References cwh_auxst_next_element(), cwh_auxst_set_tylist(), I_element, l_ALTENTRY, and NULL.
Referenced by fei_proc_body().
ST* cwh_stab_temp_ST | ( | TY_IDX | ty, |
char * | name | ||
) |
Definition at line 2020 of file cwh_stab.cxx.
References cwh_auxst_clear(), cwh_expr_temp_set_pragma(), and Gen_Temp_Symbol().
Referenced by cwh_intrin_sync_intrin(), cwh_types_make_bounds_ST(), and fei_new_select().
LABEL& F90_New_LABEL | ( | SYMTAB_IDX | scope, |
LABEL_IDX & | label_idx | ||
) |
ST* F90_New_ST | ( | SYMTAB_IDX | level | ) |
void New_Auxst | ( | SYMTAB_IDX | level, |
ST_IDX | idx | ||
) |
Definition at line 191 of file cwh_stab.i.
Referenced by cwh_addr_pstore_ST(), cwh_addr_store_ST(), fei_next_func_idx(), and fei_object().
Definition at line 104 of file cwh_pdgcs.cxx.
Referenced by fei_label_addr(), and PDGCS_new_proc().
Definition at line 709 of file cwh_stab.i.
Referenced by cwh_stab_common_ST(), cwh_stab_module_ST(), fei_proc_def(), and PDGCS_do_proc().
Definition at line 706 of file cwh_stab.i.
Referenced by cwh_stab_distrib_pragmas(), fei_proc_def(), fei_proc_interface(), and fei_redistribute().
Definition at line 188 of file cwh_stab.i.
Referenced by cwh_directive_fill_align(), cwh_stmt_return_altentry(), fei_assert(), fei_proc_def(), fei_proc_interface(), fei_seg(), and fei_smt_parameter().