Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
Go to the source code of this file.
#define Set_ST_auxst_altentry_shareTY | ( | st, | |
val | |||
) | cwh_auxst_set_flag(st,f_ALTTY,val) |
Definition at line 121 of file cwh_auxst.h.
Referenced by cwh_stab_altres_offset().
#define Set_ST_auxst_has_rslt_tmp | ( | st, | |
val | |||
) | cwh_auxst_set_flag(st,f_RSLTTMP,val) |
Definition at line 109 of file cwh_auxst.h.
Referenced by fei_proc_def(), fei_proc_imp(), and fei_proc_interface().
#define Set_ST_auxst_is_allocatable | ( | st, | |
val | |||
) | cwh_auxst_set_flag(st,f_ALLOC,val) |
Definition at line 145 of file cwh_auxst.h.
Referenced by fei_object().
#define Set_ST_auxst_is_altentry | ( | st, | |
val | |||
) | cwh_auxst_set_flag(st,f_ALTENT,val) |
Definition at line 118 of file cwh_auxst.h.
Referenced by fei_proc_def(), and fei_proc_interface().
#define Set_ST_auxst_is_assumed_shape | ( | st, | |
val | |||
) | cwh_auxst_set_flag(st,f_ASSUMED,val) |
Definition at line 148 of file cwh_auxst.h.
Referenced by fei_object().
#define Set_ST_auxst_is_assumed_size | ( | st, | |
val | |||
) | cwh_auxst_set_flag(st,f_A_SIZE,val) |
Definition at line 151 of file cwh_auxst.h.
Referenced by fei_object().
#define Set_ST_auxst_is_auto_or_cpointer | ( | st, | |
val | |||
) | cwh_auxst_set_flag(st,f_AUTO_OR_CPTR,val) |
Definition at line 130 of file cwh_auxst.h.
Referenced by fei_object().
#define Set_ST_auxst_is_elemental | ( | st, | |
val | |||
) | cwh_auxst_set_flag(st,f_ELEM,val) |
Definition at line 115 of file cwh_auxst.h.
Referenced by fei_proc_def(), fei_proc_imp(), and fei_proc_interface().
#define Set_ST_auxst_is_f90_pointer | ( | st, | |
val | |||
) | cwh_auxst_set_flag(st,f_F90_PTR,val) |
Definition at line 133 of file cwh_auxst.h.
Referenced by fei_object().
#define Set_ST_auxst_is_module_data | ( | st, | |
val | |||
) | cwh_auxst_set_flag(st,f_MODULE,val) |
Definition at line 136 of file cwh_auxst.h.
Referenced by fei_seg().
#define Set_ST_auxst_is_non_contiguous | ( | st, | |
val | |||
) | cwh_auxst_set_flag(st,f_NONCONT,val) |
Definition at line 127 of file cwh_auxst.h.
Referenced by fei_object().
#define Set_ST_auxst_is_rslt_tmp | ( | st, | |
val | |||
) | cwh_auxst_set_flag(st,f_IS_RSLTTMP,val) |
Definition at line 112 of file cwh_auxst.h.
Referenced by fei_object().
#define Set_ST_auxst_is_tmp | ( | st, | |
val | |||
) | cwh_auxst_set_flag(st,f_IS_TMP,val) |
Definition at line 142 of file cwh_auxst.h.
Referenced by fei_object().
#define Set_ST_auxst_visited | ( | st, | |
val | |||
) | cwh_auxst_set_flag(st,f_VISITED,val) |
Definition at line 124 of file cwh_auxst.h.
Referenced by cwh_io_analyse_arr(), cwh_io_analyse_expr(), cwh_io_analyse_io_item(), and cwh_io_unmark().
#define Set_ST_auxst_xpragma_copyin | ( | st, | |
val | |||
) | cwh_auxst_set_flag(st,f_XP_COPY,val) |
Definition at line 139 of file cwh_auxst.h.
Referenced by cwh_types_copyin_pragma(), and fei_copyin_bound().
#define ST_auxst_altentry_shareTY | ( | st | ) | cwh_auxst_read_flag(st,f_ALTTY) |
Definition at line 122 of file cwh_auxst.h.
Referenced by cwh_addr_pstid(), cwh_addr_pstore_ST(), cwh_addr_stid(), cwh_addr_store_ST(), and cwh_stmt_return_altentry().
#define ST_auxst_has_rslt_tmp | ( | st | ) | cwh_auxst_read_flag(st,f_RSLTTMP) |
Definition at line 110 of file cwh_auxst.h.
Referenced by cwh_auxst_set_tylist(), and cwh_stmt_call_helper().
#define ST_auxst_is_allocatable | ( | st | ) | cwh_auxst_read_flag(st,f_ALLOC) |
Definition at line 146 of file cwh_auxst.h.
Referenced by cwh_dst_mk_common(), and cwh_dst_mk_variable().
#define ST_auxst_is_altentry | ( | st | ) | cwh_auxst_read_flag(st,f_ALTENT) |
Definition at line 119 of file cwh_auxst.h.
#define ST_auxst_is_assumed_shape | ( | st | ) | cwh_auxst_read_flag(st,f_ASSUMED) |
Definition at line 149 of file cwh_auxst.h.
Referenced by cwh_dst_mk_common(), cwh_dst_mk_formal(), and cwh_dst_mk_variable().
#define ST_auxst_is_assumed_size | ( | st | ) | cwh_auxst_read_flag(st,f_A_SIZE) |
Definition at line 152 of file cwh_auxst.h.
Referenced by cwh_dst_mk_common(), cwh_dst_mk_formal(), and cwh_dst_mk_variable().
#define ST_auxst_is_auto_or_cpointer | ( | st | ) | cwh_auxst_read_flag(st,f_AUTO_OR_CPTR) |
Definition at line 131 of file cwh_auxst.h.
Referenced by cwh_addr_address_ST(), cwh_addr_load_ST(), cwh_addr_pstore_ST(), cwh_addr_store_ST(), and cwh_dst_mk_variable().
#define ST_auxst_is_elemental | ( | st | ) | cwh_auxst_read_flag(st,f_ELEM) |
Definition at line 116 of file cwh_auxst.h.
Referenced by cwh_stmt_call_helper().
#define ST_auxst_is_f90_pointer | ( | st | ) | cwh_auxst_read_flag(st,f_F90_PTR) |
Definition at line 134 of file cwh_auxst.h.
Referenced by cwh_addr_f90_pointer_reference(), cwh_dst_mk_common(), cwh_dst_mk_dope_bound(), cwh_dst_mk_formal(), cwh_dst_mk_variable(), and is_f90_pointer().
#define ST_auxst_is_module_data | ( | st | ) | cwh_auxst_read_flag(st,f_MODULE) |
Definition at line 137 of file cwh_auxst.h.
Referenced by cwh_stab_earlier_common().
#define ST_auxst_is_non_contiguous | ( | st | ) | cwh_auxst_read_flag(st,f_NONCONT) |
Definition at line 128 of file cwh_auxst.h.
Referenced by fei_nseq_subscr().
#define ST_auxst_is_rslt_tmp | ( | st | ) | cwh_auxst_read_flag(st,f_IS_RSLTTMP) |
Definition at line 113 of file cwh_auxst.h.
Referenced by fei_return().
#define ST_auxst_is_tmp | ( | st | ) | cwh_auxst_read_flag(st,f_IS_TMP) |
Definition at line 143 of file cwh_auxst.h.
Referenced by cwh_dst_mk_variable().
#define ST_auxst_visited | ( | st | ) | cwh_auxst_read_flag(st,f_VISITED) |
Definition at line 125 of file cwh_auxst.h.
Referenced by cwh_io_analyse_arr(), cwh_io_analyse_expr(), cwh_io_analyse_index_expr(), cwh_io_analyse_io_item(), and cwh_io_unmark().
#define ST_auxst_xpragma_copyin | ( | st | ) | cwh_auxst_read_flag(st,f_XP_COPY) |
Definition at line 140 of file cwh_auxst.h.
Referenced by cwh_types_copyin_pragma(), and fei_copyin_bound().
enum flags_a |
f_RSLTTMP | |
f_ELEM | |
f_ALTENT | |
f_ALTTY | |
f_VISITED | |
f_NONCONT | |
f_AUTO_OR_CPTR | |
f_F90_PTR | |
f_MODULE | |
f_XP_COPY | |
f_IS_TMP | |
f_ALLOC | |
f_ASSUMED | |
f_A_SIZE | |
f_IS_RSLTTMP |
Definition at line 90 of file cwh_auxst.h.
enum list_name |
l_COMLIST | |
l_ALTENTRY | |
l_RETURN_TEMPS | |
l_NAMELIST | |
l_SPLITLIST | |
l_EQVLIST | |
l_DST_COMLIST | |
l_DST_PARMLIST | |
l_TYMDLIST |
Definition at line 72 of file cwh_auxst.h.
void cwh_auxst_add_dummy | ( | ST * | dummy, |
BOOL | result | ||
) |
Definition at line 809 of file cwh_auxst.cxx.
References alist::arg_lengths_index, alist::arglist, alist::args_seen, AUXST_Dummies, Be_Type_Tbl, cwh_addr_char_len_typeid, cwh_types_character_extra(), DevAssert, dummy, EP_Current, alist::fe_given_args, alist::last_len_ty_seen, alist::last_parm_ty_seen, Make_Pointer_Type(), NULL, PARMS_next, PARMS_ty, alist::ret_type, SCLASS_FORMAL_REF, ST_sclass(), ST_type(), and alist::total_args.
Referenced by fei_name(), and fei_object().
void cwh_auxst_add_item | ( | ST * | parent, |
ST * | st, | ||
enum list_name | list | ||
) |
Definition at line 400 of file cwh_auxst.cxx.
References c, cwh_auxst_add_to_list(), cwh_auxst_find(), cwh_auxst_find_list(), FALSE, l_COMLIST, and TRUE.
Referenced by cwh_stab_altres_offset(), cwh_stab_emit_split(), cwh_stab_split_common(), fei_gen_st_for_type(), fei_object(), fei_proc_def(), fei_proc_interface(), fei_seg(), fei_smt_parameter(), and fei_user_type().
void cwh_auxst_add_list | ( | ST * | parent, |
LIST * | l, | ||
enum list_name | list | ||
) |
Definition at line 458 of file cwh_auxst.cxx.
References AUXST_Altentries, AUXST_Commons, AUXST_Dstcomlist, AUXST_Dstparmlist, AUXST_Equivs, AUXST_Namelist, AUXST_RtnTemps, AUXST_SplitCommons, cwh_auxst_find(), DevAssert, l_ALTENTRY, l_COMLIST, l_DST_COMLIST, l_DST_PARMLIST, l_EQVLIST, l_NAMELIST, l_RETURN_TEMPS, l_SPLITLIST, and TRUE.
Referenced by fei_namelist().
ITEM* cwh_auxst_add_to_list | ( | LIST ** | lp, |
ST * | st, | ||
BOOL | order | ||
) |
Definition at line 551 of file cwh_auxst.cxx.
References I_element, I_next, L_first, L_last, L_num, NULL, and ST_ofst().
Referenced by cwh_auxst_add_item(), cwh_stab_to_list_of_equivs(), fei_name(), fei_proc_def(), fei_proc_imp(), fei_proc_interface(), and fei_seg().
void cwh_auxst_alloc_container_table | ( | void | ) |
Definition at line 146 of file cwh_auxst.cxx.
References Auxst_tab, FE_Mempool, MAX_AUXST_LEVEL, and MEM_POOL_Alloc.
Referenced by PDGCS_initialize().
void cwh_auxst_alloc_proc_entry | ( | ST * | st, |
INT32 | num_dum_args, | ||
TY_IDX | ret_type | ||
) |
Definition at line 754 of file cwh_auxst.cxx.
References alist::arg_lengths_index, alist::arglist, alist::args_seen, AUXST_Dummies, cwh_auxst_find(), cwh_auxst_find_entry(), EP_Current, alist::fe_given_args, alist::last_len_ty_seen, alist::last_parm_ty_seen, NULL, alist::orig_ret_type, alist::parms, PARMS_next, alist::ret_type, alist::total_args, and TRUE.
Referenced by fei_proc_def(), and fei_proc_interface().
ST** cwh_auxst_arglist | ( | ST * | entry | ) |
Definition at line 1161 of file cwh_auxst.cxx.
References alist::arglist, and cwh_auxst_find_entry().
Referenced by cwh_stmt_init_pu(), cwh_stmt_return_altentry(), fei_entry_pt(), and fei_gen_func_entry().
INT32* cwh_auxst_assign_id | ( | SYMTAB_IDX | level, |
LABEL_IDX | idx | ||
) |
Definition at line 1072 of file cwh_auxst.cxx.
References Auxlabel_Table, and idx.
Referenced by fei_label_addr().
void cwh_auxst_clear | ( | ST * | st | ) |
Definition at line 198 of file cwh_auxst.cxx.
References Auxst_Table, NULL, and ST_st_idx().
Referenced by cwh_load_distribute_temp(), cwh_stab_address_temp_ST(), cwh_stab_altentry_temp(), cwh_stab_common_ST(), cwh_stab_mk_fn_0args(), cwh_stab_module_ST(), cwh_stab_temp_ST(), cwh_types_formal_util(), fei_end_ioblock(), fei_enddo(), fei_interface(), fei_namelist(), fei_object(), fei_proc_def(), fei_proc_interface(), fei_seg(), and fei_start_ioblock().
void cwh_auxst_clear_per_PU | ( | void | ) |
Definition at line 281 of file cwh_auxst.cxx.
References Auxlabel_Table, AUXST_Next, AUXST_Pragma, RELATED_SEGMENTED_ARRAY< T, block_size >::Clear(), CURRENT_SYMTAB, GLOBAL_SYMTAB, NULL, s, and Top_Auxst.
Referenced by cwh_stab_end_procs().
ST* cwh_auxst_cri_pointee | ( | ST * | ptr, |
ST * | pointee | ||
) |
Definition at line 1020 of file cwh_auxst.cxx.
References AUXST_CRIPointee, cwh_auxst_find(), and NULL.
Referenced by cwh_data_set_init_flag(), and fei_object().
PREG_det cwh_auxst_distr_preg | ( | ST * | st | ) |
Definition at line 971 of file cwh_auxst.cxx.
References AUXST_DstrPreg, AUXST_DstrReg, cwh_auxst_find(), cwh_preg_next_preg(), MTYPE_I4, NULL, and TRUE.
Referenced by cwh_mp_region(), cwh_stab_distrib_pragmas(), and fei_redistribute().
void cwh_auxst_dump | ( | ST * | st | ) |
Definition at line 1358 of file cwh_auxst.cxx.
References AUXST_AssignId, AUXST_CRIPointee, AUXST_DataInfo, AUXST_DstrReg, AUXST_Dummies, AUXST_Flag, AUXST_Next, AUXST_OwningST, AUXST_Pragma, AUXST_SrcPos, AUXST_Stem, cwh_auxst_dump_dummies(), cwh_auxst_dump_list(), cwh_auxst_find(), cwh_auxst_find_list(), f_ALTENT, f_ALTTY, f_AUTO_OR_CPTR, f_ELEM, f_F90_PTR, f_MODULE, f_NONCONT, f_RSLTTMP, FALSE, l_ALTENTRY, l_COMLIST, l_DST_COMLIST, l_DST_PARMLIST, l_EQVLIST, L_first, l_NAMELIST, l_RETURN_TEMPS, l_SPLITLIST, NULL, return(), ST_name(), USRCPOS_filenum, and USRCPOS_linenum.
void cwh_auxst_dump_list | ( | LIST * | l, |
BOOL | verbose | ||
) |
BOOL cwh_auxst_find_dummy | ( | ST * | arg | ) |
Definition at line 1087 of file cwh_auxst.cxx.
References alist::arglist, alist::args_seen, AUXST_Dummies, EP_Current, FALSE, and TRUE.
Referenced by fei_name().
ST* cwh_auxst_find_dummy_len | ( | ST * | arg | ) |
Definition at line 1115 of file cwh_auxst.cxx.
References alist::arglist, alist::args_seen, AUXST_Dummies, AUXST_Flag, c, cwh_types_is_character(), DevAssert, EP_Current, f_RSLTTMP, alist::fe_given_args, NULL, alist::ret_type, and ST_type().
ST* cwh_auxst_find_item | ( | LIST * | l, |
char * | name | ||
) |
Definition at line 427 of file cwh_auxst.cxx.
References I_element, I_next, L_first, NULL, and ST_name().
Referenced by fei_proc_def(), fei_proc_imp(), and fei_proc_interface().
void cwh_auxst_free | ( | void | ) |
Definition at line 213 of file cwh_auxst.cxx.
References AUXST_Dummies, AUXST_Next, AUXST_OwningST, AUXST_Pragma, AUXST_Stem, Auxst_Table, CURRENT_SYMTAB, cwh_auxst_find_list(), cwh_auxst_free_list(), free(), l_ALTENTRY, l_COMLIST, l_DST_COMLIST, l_DST_PARMLIST, l_EQVLIST, l_NAMELIST, l_RETURN_TEMPS, l_SPLITLIST, NULL, ST_st_idx(), and Top_Auxst.
Referenced by cwh_stab_end_procs().
void cwh_auxst_free_list | ( | LIST ** | lp | ) |
Definition at line 629 of file cwh_auxst.cxx.
References free(), I_next, L_first, and NULL.
Referenced by cwh_auxst_free(), and cwh_stab_emit_list().
LIST* cwh_auxst_get_list | ( | ST * | st, |
enum list_name | list | ||
) |
Definition at line 309 of file cwh_auxst.cxx.
References cwh_auxst_find(), cwh_auxst_find_list(), FALSE, and NULL.
Referenced by cwh_stab_full_split(), and cwh_stab_mk_flds().
ITEM* cwh_auxst_next_element | ( | ST * | parent, |
ITEM * | i, | ||
enum list_name | list | ||
) |
Definition at line 520 of file cwh_auxst.cxx.
References cwh_auxst_find(), cwh_auxst_find_list(), I_next, L_first, NULL, and TRUE.
Referenced by cwh_data_set_init_flag(), cwh_stab_altres_offset(), cwh_stab_full_split(), cwh_stab_mk_flds(), cwh_stab_seen_common_element(), cwh_stab_seen_derived_type_or_imported_var(), cwh_stab_set_tylist_for_entries(), fei_control_list(), fei_copy_in(), fei_namelist(), and fei_return().
INT16 cwh_auxst_num_dummies | ( | ST * | entry | ) |
Definition at line 1181 of file cwh_auxst.cxx.
References cwh_auxst_find_entry(), and alist::total_args.
Referenced by cwh_stmt_init_pu(), fei_entry_pt(), and fei_gen_func_entry().
void cwh_auxst_patch_proc | ( | TY_IDX | rty_idx | ) |
Definition at line 891 of file cwh_auxst.cxx.
References alist::arg_lengths_index, AUXST_Dummies, EP_Current, alist::fe_given_args, alist::last_parm_ty_seen, alist::parms, PARMS_next, alist::ret_type, and alist::total_args.
Referenced by fei_object().
WN* cwh_auxst_pragma | ( | ST * | ptr, |
WN * | wn = NULL |
||
) |
Definition at line 1047 of file cwh_auxst.cxx.
References AUXST_Pragma, cwh_auxst_find(), NULL, and wn.
Referenced by cwh_stab_add_pragma().
BOOL cwh_auxst_read_flag | ( | ST * | st, |
enum flags_a | f | ||
) |
Definition at line 682 of file cwh_auxst.cxx.
References AUXST_Flag, cwh_auxst_find(), FALSE, and NULL.
void cwh_auxst_register_table | ( | void | ) |
Definition at line 104 of file cwh_auxst.cxx.
References Auxlabel_Table, Auxst_tab, AUXST_TAB::Auxst_table, CURRENT_SYMTAB, CXX_NEW, FE_Mempool, GLOBAL_SYMTAB, SCOPE::label_tab, growing_table::Register(), Scope_tab, and SCOPE::st_tab.
Referenced by fei_next_func_idx(), and PDGCS_initialize().
void cwh_auxst_set_flag | ( | ST * | st, |
enum flags_a | f, | ||
BOOL | val | ||
) |
Definition at line 660 of file cwh_auxst.cxx.
References Clear_AUXST_Flag, cwh_auxst_find(), Set_AUXST_Flag, and TRUE.
void cwh_auxst_set_tylist | ( | ST * | en | ) |
Definition at line 1204 of file cwh_auxst.cxx.
References AUXST_Dummies, cwh_auxst_find(), FALSE, alist::fe_given_args, New_TYLIST(), alist::orig_ret_type, alist::parms, PARMS_next, PARMS_ty, alist::ret_type, Set_TY_tylist(), ST_auxst_has_rslt_tmp, ST_pu_type(), STRUCT_BY_VALUE, alist::total_args, Ty_Table, and Tylist_Table.
Referenced by cwh_stab_set_tylist_for_entries().
USRCPOS* cwh_auxst_srcpos_addr | ( | ST * | st | ) |
Definition at line 936 of file cwh_auxst.cxx.
References AUXST_SrcPos, cwh_auxst_find(), and TRUE.
Referenced by cwh_stab_set_linenum().
USRCPOS cwh_auxst_srcpos_val | ( | ST * | st | ) |
Definition at line 953 of file cwh_auxst.cxx.
References AUXST_SrcPos, cwh_auxst_find(), and TRUE.
char* cwh_auxst_stem_name | ( | ST * | st, |
char * | name = NULL |
||
) |
Definition at line 991 of file cwh_auxst.cxx.
References AUXST_Stem, cwh_auxst_find(), name, and NULL.
Referenced by cwh_dst_mk_const(), cwh_stab_adjust_name(), and fei_smt_parameter().
void cwh_auxst_un_register_table | ( | void | ) |
Definition at line 123 of file cwh_auxst.cxx.
References Auxlabel_Table, Auxst_tab, CURRENT_SYMTAB, CXX_DELETE, FE_Mempool, GLOBAL_SYMTAB, SCOPE::label_tab, Scope_tab, SCOPE::st_tab, and growing_table::Un_register().
Referenced by cwh_stab_end_procs().
void Set_ST_auxst_data_info | ( | ST * | st, |
data_info_s * | data_info | ||
) |
Definition at line 706 of file cwh_auxst.cxx.
References AUXST_DataInfo, cwh_auxst_find(), return(), and TRUE.
Referenced by emit_inits_for_symbol(), and fei_static_base().
data_info_s* ST_auxst_data_info | ( | ST * | st | ) |
Definition at line 723 of file cwh_auxst.cxx.
References AUXST_DataInfo, cwh_auxst_find(), FALSE, and NULL.
Referenced by emit_inits_for_symbol(), and fei_static_base().