Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
Go to the source code of this file.
#define DST_NAME_TABLE_SIZE 64 /* Increment size of the dir and file list */ |
Definition at line 96 of file cwh_dst.i.
Referenced by DST_get_ordinal_num().
#define GET_DOPE_BASE_TY | ( | t | ) | cwh_types_dope_basic_TY(t) |
Definition at line 174 of file cwh_dst.i.
Referenced by cwh_dst_dope_bounds(), cwh_dst_dope_type(), and cwh_dst_struct_has_DST().
#define GET_DOPE_BOUNDS | ( | t | ) | cwh_types_dope_dims_FLD(t) |
Definition at line 177 of file cwh_dst.i.
Referenced by cwh_dst_dope_bounds(), and cwh_dst_has_dope().
#define GET_MAIN_ST | ( | ) | cwh_stab_main_ST() |
Definition at line 178 of file cwh_dst.i.
Referenced by cwh_dst_enter_pu().
#define GET_MODIFIED_NAME | ( | s | ) | cwh_auxst_stem_name(s) |
Definition at line 170 of file cwh_dst.i.
Referenced by cwh_dst_mk_func().
#define GET_NEXT_ALTENTRY | ( | c, | |
s | |||
) | cwh_auxst_next_element(c,s,l_ALTENTRY) |
Definition at line 169 of file cwh_dst.i.
Referenced by cwh_dst_enter_pu().
#define GET_NEXT_COMMON | ( | p, | |
c | |||
) | cwh_auxst_next_element(p,c,l_DST_COMLIST) |
Definition at line 171 of file cwh_dst.i.
Referenced by cwh_dst_enter_pu().
#define GET_NEXT_ELEMENT_ST | ( | c, | |
s | |||
) | cwh_auxst_next_element(c,s,l_COMLIST) |
Definition at line 168 of file cwh_dst.i.
Referenced by cwh_dst_mk_common().
#define GET_NEXT_PARAMETER | ( | p, | |
c | |||
) | cwh_auxst_next_element(p,c,l_DST_PARMLIST) |
Definition at line 172 of file cwh_dst.i.
Referenced by cwh_dst_enter_pu().
#define GET_ST_LINENUM | ( | s | ) | cwh_auxst_srcpos_val(s) |
Definition at line 176 of file cwh_dst.i.
Referenced by cwh_dst_mk_common(), cwh_dst_mk_common_inclusion(), cwh_dst_mk_const(), cwh_dst_mk_formal(), cwh_dst_mk_func(), cwh_dst_mk_MAIN(), and cwh_dst_mk_variable().
#define INNER_DST_SIZE_CHANGE 128 |
Definition at line 150 of file cwh_dst.i.
Referenced by cwh_dst_inner_add_DST().
#define IS_ALTENTRY | ( | s | ) | ST_auxst_is_altentry(s) |
Definition at line 175 of file cwh_dst.i.
Referenced by cwh_dst_mk_func().
#define IS_DOPE_TY | ( | t | ) | cwh_types_is_dope(t) |
Definition at line 173 of file cwh_dst.i.
Referenced by cwh_dst_has_dope(), cwh_dst_member(), cwh_dst_mk_common(), cwh_dst_mk_formal(), cwh_dst_mk_variable(), cwh_dst_stride_kind(), and cwh_dst_struct_has_DST().
#define STRUCT_DST_SIZE_CHANGE 512 |
Definition at line 139 of file cwh_dst.i.
Referenced by cwh_dst_struct_set_DST().
typedef struct type_trans type_trans |
enum str_knd |
static DST_INFO_IDX cwh_dst_array_type | ( | TY_IDX | ty | ) | [static] |
static DST_INFO_IDX cwh_dst_basetype | ( | TY_IDX | ty | ) | [static] |
static void cwh_dst_dope_bounds | ( | TY_IDX | td, |
ST * | st, | ||
mINT64 | offset, | ||
DST_INFO_IDX | aa, | ||
DST_INFO_IDX | p, | ||
BOOL | comp | ||
) | [static] |
static DST_INFO_IDX cwh_dst_dope_type | ( | TY_IDX | ty, |
ST * | st, | ||
mINT64 | ofst, | ||
DST_INFO_IDX | p, | ||
BOOL | ptr, | ||
DST_INFO_IDX * | dope_ty | ||
) | [static] |
static DST_FILE_IDX cwh_dst_enter_files | ( | void | ) | [static] |
static char* cwh_dst_get_command_line_options | ( | void | ) | [static] |
static BOOL cwh_dst_has_dope | ( | TY_IDX | ty | ) | [static] |
static void cwh_dst_inner_add_DST | ( | DST_INFO_IDX | i | ) | [static] |
static void cwh_dst_inner_clear_DSTs | ( | void | ) | [static] |
static void cwh_dst_inner_read_DSTs | ( | DST_INFO_IDX | parent | ) | [static] |
static BOOL cwh_dst_is_character_TY | ( | TY_IDX | ty | ) | [static] |
static DST_INFO_IDX cwh_dst_member | ( | FLD_HANDLE | f, |
DST_INFO_IDX | p | ||
) | [static] |
static DST_INFO_IDX cwh_dst_mk_common | ( | ST * | st | ) | [static] |
static DST_INFO_IDX cwh_dst_mk_common_inclusion | ( | ST * | com, |
DST_IDX | c | ||
) | [static] |
static void cwh_dst_mk_const | ( | ST * | st, |
DST_INFO_IDX | parent | ||
) | [static] |
static DST_INFO_IDX cwh_dst_mk_dope_bound | ( | ST * | dp, |
mINT64 | offset, | ||
DST_INFO_IDX | t, | ||
DST_INFO_IDX | p, | ||
BOOL | comp | ||
) | [static] |
static DST_INFO_IDX cwh_dst_mk_formal | ( | ST * | st | ) | [static] |
static DST_INFO_IDX cwh_dst_mk_func | ( | ST * | st | ) | [static] |
static void cwh_dst_mk_MAIN | ( | ST * | mn, |
DST_INFO_IDX | en_idx | ||
) | [static] |
static DST_INFO_IDX cwh_dst_mk_subroutine_type | ( | TY_IDX | ty | ) | [static] |
static DST_INFO_IDX cwh_dst_mk_type | ( | TY_IDX | ty | ) | [static] |
static void cwh_dst_mk_var | ( | ST * | st, |
DST_INFO_IDX | parent | ||
) | [static] |
static DST_INFO_IDX cwh_dst_mk_variable | ( | ST * | st | ) | [static] |
static DST_INFO_IDX cwh_dst_pointer_type | ( | TY_IDX | ty | ) | [static] |
static enum str_knd cwh_dst_stride_kind | ( | TY_IDX | ty | ) | [static] |
static void cwh_dst_struct_clear_DSTs | ( | void | ) | [static] |
static DST_INFO_IDX cwh_dst_struct_has_DST | ( | TY_IDX | ty | ) | [static] |
static void cwh_dst_struct_set_DST | ( | TY_IDX | ty, |
DST_INFO_IDX | i | ||
) | [static] |
static DST_INFO_IDX cwh_dst_struct_type | ( | TY_IDX | ty | ) | [static] |
static DST_INFO_IDX cwh_dst_subrange | ( | ARB_HANDLE | ar | ) | [static] |
static DST_INFO_IDX cwh_dst_substring_type | ( | TY_IDX | ty | ) | [static] |
static void DST_directory_of | ( | char * | file_path, |
char ** | dir_name, | ||
UINT32 * | dir_length | ||
) | [static] |
static mUINT16 DST_get_ordinal_num | ( | char * | the_name, |
char *** | the_list, | ||
mUINT16 * | the_next, | ||
mUINT16 * | the_size | ||
) | [static] |
static INT32 DST_set_assoc_idx | ( | INT32 | dummy, |
DST_DW_tag | tag, | ||
DST_flag | flag, | ||
DST_ATTR_IDX | iattr, | ||
DST_INFO_IDX | inode | ||
) | [static] |
static DST_DIR_IDX DST_write_directories | ( | void | ) | [static] |
static DST_FILE_IDX DST_write_files | ( | void | ) | [static] |
type_trans ate_types[] [static] |
{ 4, "BAD", 0, 4, "UNK", 0, 1, "INTEGER_1", DW_ATE_signed, 2, "INTEGER_2", DW_ATE_signed, 4, "INTEGER_4", DW_ATE_signed, 8, "INTEGER_8", DW_ATE_signed, 1, "INTEGER*1", DW_ATE_unsigned, 2, "INTEGER*2", DW_ATE_unsigned, 4, "INTEGER*4", DW_ATE_unsigned, 8, "INTEGER*8", DW_ATE_unsigned, 4, "REAL_4", DW_ATE_float, 8, "REAL_8", DW_ATE_float, 10,"UNK", DW_ATE_float, 16,"REAL_16", DW_ATE_float, 1 ,"CHAR" , DW_ATE_signed_char, 16,"REAL_16", DW_ATE_float, 1, "UNK", DW_ATE_unsigned_char, 8, "COMPLEX_4", DW_ATE_complex_float, 16,"COMPLEX_8", DW_ATE_complex_float, 32,"COMPLEX_16",DW_ATE_complex_float, 1, "VOID", 0, 1, "LOGICAL_1", DW_ATE_boolean, 2, "LOGICAL_2", DW_ATE_boolean, 4, "LOGICAL_4", DW_ATE_boolean, 8, "LOGICAL_8", DW_ATE_boolean, }
Definition at line 52 of file cwh_dst.i.
Referenced by cwh_dst_basetype().
DST_INFO_IDX base_types[MTYPE_LAST+5] [static] |
{ DST_INVALID_INIT,DST_INVALID_INIT,DST_INVALID_INIT,DST_INVALID_INIT, DST_INVALID_INIT,DST_INVALID_INIT,DST_INVALID_INIT,DST_INVALID_INIT, DST_INVALID_INIT,DST_INVALID_INIT,DST_INVALID_INIT,DST_INVALID_INIT, DST_INVALID_INIT,DST_INVALID_INIT,DST_INVALID_INIT,DST_INVALID_INIT, DST_INVALID_INIT,DST_INVALID_INIT,DST_INVALID_INIT,DST_INVALID_INIT, DST_INVALID_INIT,DST_INVALID_INIT,DST_INVALID_INIT,DST_INVALID_INIT, DST_INVALID_INIT }
Definition at line 41 of file cwh_dst.i.
Referenced by cwh_dst_basetype().
DST_INFO_IDX comp_unit_idx = DST_INVALID_INIT [static] |
Definition at line 83 of file cwh_dst.i.
Referenced by cwh_dst_basetype(), cwh_dst_enter_pu(), cwh_dst_init_file(), cwh_dst_mk_MAIN(), and cwh_dst_write().
char* current_host_dir [static] |
Definition at line 90 of file cwh_dst.i.
Referenced by cwh_dst_init_file().
DST_INFO_IDX current_scope_idx = DST_INVALID_INIT [static] |
Definition at line 82 of file cwh_dst.i.
Referenced by cwh_dst_array_type(), cwh_dst_enter_pu(), cwh_dst_mk_const(), cwh_dst_mk_formal(), cwh_dst_mk_subroutine_type(), cwh_dst_mk_variable(), cwh_dst_pointer_type(), cwh_dst_process_var(), cwh_dst_struct_type(), cwh_dst_subrange(), and cwh_dst_substring_type().
char* current_working_dir [static] |
char** dir_list [static] |
Definition at line 97 of file cwh_dst.i.
Referenced by DST_write_directories(), and DST_write_files().
mUINT16 dir_list_size = 0 [static] |
Definition at line 99 of file cwh_dst.i.
Referenced by DST_write_files().
char** file_list [static] |
Definition at line 104 of file cwh_dst.i.
Referenced by cwh_dst_enter_path(), cwh_dst_filename_from_filenum(), and DST_write_files().
mUINT16 file_list_size = 0 [static] |
Definition at line 106 of file cwh_dst.i.
Referenced by cwh_dst_enter_path().
DST_FILE_IDX file_name_idx = DST_INVALID_INIT [static] |
Definition at line 85 of file cwh_dst.i.
Referenced by cwh_dst_write().
DST_DIR_IDX incl_dir_idx = DST_INVALID_INIT [static] |
Definition at line 86 of file cwh_dst.i.
Referenced by cwh_dst_write().
INT32 Inner_Current_Size = 0 [static] |
Definition at line 151 of file cwh_dst.i.
Referenced by cwh_dst_inner_add_DST().
DST_INFO_IDX* Inner_DSTs [static] |
Definition at line 148 of file cwh_dst.i.
Referenced by cwh_dst_inner_add_DST(), and cwh_dst_inner_read_DSTs().
Definition at line 152 of file cwh_dst.i.
Referenced by cwh_dst_inner_add_DST(), cwh_dst_inner_clear_DSTs(), and cwh_dst_inner_read_DSTs().
Definition at line 128 of file cwh_dst.i.
Referenced by cwh_dst_member(), cwh_dst_mk_dope_bound(), cwh_dst_mk_var(), and cwh_dst_struct_has_DST().
mUINT16 next_dir_idx = 0 [static] |
Definition at line 98 of file cwh_dst.i.
Referenced by DST_write_directories(), and DST_write_files().
mUINT16 next_file_idx = 0 [static] |
Definition at line 105 of file cwh_dst.i.
Referenced by cwh_dst_enter_path(), cwh_dst_filename_from_filenum(), and DST_write_files().
INT32 Struct_Current_Size = 0 [static] |
Definition at line 140 of file cwh_dst.i.
Referenced by cwh_dst_struct_set_DST().
TYIDX* Struct_DSTs = NULL [static] |
Definition at line 141 of file cwh_dst.i.
Referenced by cwh_dst_struct_has_DST(), and cwh_dst_struct_set_DST().
INT32 Struct_Top = -1 [static] |
Definition at line 142 of file cwh_dst.i.
Referenced by cwh_dst_struct_clear_DSTs(), cwh_dst_struct_has_DST(), and cwh_dst_struct_set_DST().
Definition at line 126 of file cwh_dst.i.
Referenced by cwh_dst_member(), cwh_dst_mk_common(), and cwh_dst_mk_var().
Definition at line 127 of file cwh_dst.i.
Referenced by cwh_dst_mk_common(), cwh_dst_mk_var(), and cwh_dst_struct_type().