Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#include "defs.h"
Go to the source code of this file.
#define DST_FOREIGN_BLOCK_IDX -2 |
Definition at line 73 of file dwarf_DST_mem.h.
#define DST_FOREIGN_BYTE_IDX -2 |
Definition at line 74 of file dwarf_DST_mem.h.
Definition at line 82 of file dwarf_DST_mem.h.
#define DST_INVALID_BLOCK_IDX -1 |
Definition at line 71 of file dwarf_DST_mem.h.
Referenced by DST_begin_block(), DST_CHECK_BLOCK_IDX(), DST_get_block_list(), DST_Init(), and New_DST().
#define DST_INVALID_BYTE_IDX -1 |
Definition at line 72 of file dwarf_DST_mem.h.
Referenced by Do_WOPT_and_CG_with_Regions(), and DST_idx_to_string().
Definition at line 81 of file dwarf_DST_mem.h.
Referenced by DST_enter_cloned_subroutine(), DST_write_directories(), and DST_write_files().
#define DST_IS_FOREIGN_OBJ | ( | i | ) |
(((i).byte_idx == DST_FOREIGN_BYTE_IDX) || \ ((i).block_idx == DST_FOREIGN_BLOCK_IDX))
Definition at line 91 of file dwarf_DST_mem.h.
Referenced by DST_CHECK_IDX(), DST_put_idx_attribute(), DST_put_inlined_subroutine(), and get_abstract_origin().
#define DST_IS_NULL | ( | i | ) |
(((i).byte_idx == DST_INVALID_BYTE_IDX) ||\ ((i).block_idx == DST_INVALID_BLOCK_IDX))
Definition at line 87 of file dwarf_DST_mem.h.
Referenced by cwh_dst_basetype(), cwh_dst_mk_subroutine_type(), cwh_dst_mk_var(), cwh_dst_struct_type(), cwh_dst_write(), DRA_Mangle_All(), DST_append_child(), DST_begin_PU(), DST_dump(), DST_dump_files(), DST_dump_include_dirs(), DST_end_PU(), DST_enter_cloned_childs(), DST_mk_compile_unit(), DST_mk_file_name(), DST_mk_include_dir(), DST_preorder_visit(), DST_put_idx_attribute(), DST_put_string_attribute(), DST_release_from_file_scope_mem(), Gen_File_Table(), get_abstract_origin(), Get_Orig_PU_Name(), IR_Dwarf_Gen_File_Table(), and ir_print_filename().
typedef mINT32 DST_BLOCK_IDX |
Definition at line 62 of file dwarf_DST_mem.h.
typedef enum DST_block_kind DST_BLOCK_KIND |
typedef mINT32 DST_BYTE_IDX |
Definition at line 61 of file dwarf_DST_mem.h.
typedef void* DST_TYPE |
Definition at line 158 of file dwarf_DST_mem.h.
enum DST_block_kind |
DST_include_dirs_block | |
DST_file_names_block | |
DST_macro_info_block | |
DST_file_scope_block | |
DST_local_scope_block | |
DST_noblock |
Definition at line 146 of file dwarf_DST_mem.h.
DST_IDX DST_allocate | ( | INT32 | bytes, |
INT32 | align | ||
) |
Definition at line 255 of file dwarf_DST_mem.cxx.
References DST_idx::block_idx, DST_idx::byte_idx, Current_DST, current_DST, DST_local_scope_block, new_block(), set_current_dst_to_current(), and size.
Referenced by DST_mk_name(), and DST_mk_string().
void DST_begin_block | ( | DST_BLOCK_KIND | block_kind | ) |
Definition at line 244 of file dwarf_DST_mem.cxx.
References Current_DST, current_DST, DST_INVALID_BLOCK_IDX, and new_block().
Referenced by DST_mk_compile_unit(), DST_mk_file_name(), and DST_mk_include_dir().
DST_IDX DST_get_compile_unit | ( | void | ) |
Definition at line 405 of file dwarf_DST_mem.cxx.
References Current_DST, current_DST, DST_file_scope_block, and DST_get_block_list().
Referenced by DRA_Add_Clone(), and Dump_DST().
DST_IDX DST_get_file_names | ( | void | ) |
Definition at line 383 of file dwarf_DST_mem.cxx.
References Current_DST, current_DST, DST_file_names_block, and DST_get_block_list().
Referenced by Dump_DST(), Gen_File_Table(), and ir_print_filename().
DST_IDX DST_get_include_dirs | ( | void | ) |
Definition at line 372 of file dwarf_DST_mem.cxx.
References Current_DST, current_DST, DST_get_block_list(), and DST_include_dirs_block.
Referenced by Dump_DST(), Gen_File_Table(), and IR_Dwarf_Gen_File_Table().
DST_IDX DST_get_macro_info | ( | void | ) |
Definition at line 394 of file dwarf_DST_mem.cxx.
References Current_DST, current_DST, DST_get_block_list(), and DST_macro_info_block.
char* DST_idx_to_string | ( | DST_IDX | ) |
Definition at line 338 of file dwarf_DST_mem.cxx.
References block, DST_idx::block_idx, DST_idx::byte_idx, Current_DST, current_DST, DST_CHECK_IDX(), DST_INVALID_BYTE_IDX, and NULL.
Definition at line 150 of file dwarf_DST_mem.cxx.
References Current_DST, current_DST, DST_INVALID_BLOCK_IDX, kind, New_DST(), NULL, NUM_BLOCK_HEADERS, Symtab_Alloc(), and TRUE.
Referenced by cwh_dst_init_file(), and WN_get_dst().
void DST_return_to_block | ( | DST_IDX | idx | ) |
Definition at line 320 of file dwarf_DST_mem.cxx.
References DST_idx::block_idx, Current_DST, current_DST, and DST_CHECK_IDX().
Referenced by DST_end_PU(), and DST_release_from_file_scope_mem().
Definition at line 130 of file dwarf_DST_mem.cxx.
References DST_INVALID_BLOCK_IDX, DST_noblock, MEM_src_pool_ptr, NUM_BLOCK_HEADERS, and TYPE_MEM_POOL_ALLOC.
Referenced by DST_Init().
Definition at line 85 of file dwarf_DST_mem.cxx.
Referenced by DRA_Add_Clone(), DST_allocate(), DST_begin_block(), DST_dump(), DST_enter_cloned_childs(), DST_enter_inlined_subroutine(), DST_get_compile_unit(), DST_get_file_names(), DST_get_include_dirs(), DST_get_macro_info(), DST_idx_to_string(), DST_Init(), DST_return_to_block(), ir_b_write_dst(), WN_get_dst(), and Write_Global_Info().
Definition at line 92 of file dwarf_DST_mem.cxx.
Referenced by cwh_dst_array_type(), cwh_dst_basetype(), cwh_dst_dope_type(), cwh_dst_mk_dope_bound(), cwh_dst_mk_formal(), cwh_dst_mk_func(), cwh_dst_mk_subroutine_type(), cwh_dst_mk_type(), cwh_dst_mk_variable(), cwh_dst_struct_has_DST(), cwh_dst_struct_type(), DST_end_PU(), DST_enter_cloned_childs(), DST_first_child(), DST_get_block_list(), DST_init_info(), DST_last_child(), DST_mk_array_type(), DST_mk_class_type(), DST_mk_cloned_subprogram(), DST_mk_common_block(), DST_mk_compile_unit(), DST_mk_entry_point(), DST_mk_enumeration_type(), DST_mk_file_name(), DST_mk_formal_parameter(), DST_mk_include_dir(), DST_mk_inlined_subroutine(), DST_mk_lexical_block(), DST_mk_name(), DST_mk_string(), DST_mk_structure_type(), DST_mk_subprogram(), DST_mk_subprogram_memdef(), DST_mk_subrange_type(), DST_mk_subroutine_type(), DST_mk_union_type(), DST_mk_variable(), DST_release_from_file_scope_mem(), and PU_Info_init().