#include "defs.h"#include "tracing.h"#include "irbdata.h"#include "ir_a2b_util.h"
Go to the source code of this file.
Definition at line 84 of file irbdata.cxx.
References Inito_Table, Initv_Table, and Set_INITO_val().
Referenced by Copy_INITV(), Irb_Init_Block(), Irb_Init_Label(), Irb_Init_Pad(), Irb_Init_predefined_integer(), Irb_Init_Symdiff(), Irb_Init_Symoff(), and Irb_Init_Val().

Definition at line 93 of file irbdata.cxx.
References add_initv(), idx, Initv_Table, and SEGMENTED_ARRAY< T, block_size >::New_entry().
Referenced by IPO_SYMTAB::Clone_INITVs_For_EH(), and Rename_INITV_Labels().

| void dump_INITO_idx | ( | INITO_IDX | idx | ) |
Definition at line 592 of file irbdata.cxx.
References Get_Trace_File(), Inito_Table, Print_INITO(), and Set_Trace_File_internal().

| void dump_INITV_idx | ( | INITV_IDX | idx | ) |
Definition at line 602 of file irbdata.cxx.
References Get_Trace_File(), Initv_Table, Print_INITV(), and Set_Trace_File_internal().

Definition at line 386 of file irbdata.cxx.
References For_all_until(), idx, Inito_Table, ST_IDX_level(), ST_st_idx(), ST_type(), and TY_is_shared().
Referenced by write_st::operator()(), ST2C_decl_var(), ST2C_Get_Common_Ty2c_List(), and ST2F_decl_var().

| void For_all_initv | ( | INITV_IDX | idx, | |
| const OP | op | |||
| ) |
Definition at line 403 of file irbdata.cxx.
References INITV_next(), and Initv_Table.
Referenced by Print_INITVs().

Definition at line 654 of file irbdata.cxx.
References Get_INITV_Size(), INITO_val(), and INITV_next().

Definition at line 614 of file irbdata.cxx.
References FALSE, FmtAssert, INITV_blk(), INITV_kind(), INITV_mtype(), INITV_next(), INITV_pad(), INITV_repeat(), INITV_tc_val(), INITVKIND_BLOCK, INITVKIND_LABEL, INITVKIND_ONE, INITVKIND_PAD, INITVKIND_SYMDIFF, INITVKIND_SYMOFF, INITVKIND_VAL, INITVKIND_ZERO, MTYPE_byte_size, MTYPE_STR, Pointer_Size, and TCON_ty.
Referenced by Get_INITO_Size().

Definition at line 161 of file irbdata.cxx.
References INITV_Set_BLOCK(), and Initv_Table.

Definition at line 119 of file irbdata.cxx.
References Enter_tcon(), Host_To_Targ_Float(), INITV_Set_VAL(), and Initv_Table.

Definition at line 106 of file irbdata.cxx.
References Enter_tcon(), Host_To_Targ(), INITV_Set_ONE(), INITV_Set_VAL(), INITV_Set_ZERO(), and Initv_Table.

Definition at line 141 of file irbdata.cxx.
References INITV_Set_LABEL(), and Initv_Table.

Definition at line 155 of file irbdata.cxx.
References INITV_Set_PAD(), and Initv_Table.
Referenced by Assign_ST_To_Named_Section().

Definition at line 126 of file irbdata.cxx.
References Enter_tcon(), Host_To_Targ_String(), INITV_Set_VAL(), Initv_Table, and MTYPE_STR.

Definition at line 147 of file irbdata.cxx.
References INITV_Set_SYMDIFF(), Initv_Table, and ST_st_idx().

Definition at line 135 of file irbdata.cxx.
References INITV_Set_SYMOFF(), Initv_Table, and ST_st_idx().

| const char* InitvKind_Name | ( | INITVKIND | knd | ) |
Definition at line 449 of file irbdata.cxx.
References INITVKIND_COUNT, and ir_a2b::MapEnumToStr().

Definition at line 238 of file irbdata.cxx.
References add_initv(), idx, INITV_Set_BLOCK(), Initv_Table, and SEGMENTED_ARRAY< T, block_size >::New_entry().
Referenced by emit_inits_for_symbol().

Definition at line 280 of file irbdata.cxx.
References Irb_Init_Integer_Of_Type().

| INITV_IDX Irb_Init_Integer_Of_Type | ( | TYPE_ID | mtype, | |
| INT64 | value, | |||
| INT32 | repeat, | |||
| INITO_IDX | ino, | |||
| INITV_IDX | inv | |||
| ) |
Definition at line 267 of file irbdata.cxx.
References Enter_tcon(), Host_To_Targ(), Irb_Init_predefined_integer(), and Irb_Init_Val().
Referenced by Irb_Init_Integer().

Definition at line 188 of file irbdata.cxx.
References add_initv(), idx, INITV_Set_LABEL(), Initv_Table, and SEGMENTED_ARRAY< T, block_size >::New_entry().

Definition at line 226 of file irbdata.cxx.
References add_initv(), idx, INITV_Set_PAD(), Initv_Table, and SEGMENTED_ARRAY< T, block_size >::New_entry().
Referenced by emit_inits_for_symbol().

| static INITV_IDX Irb_Init_predefined_integer | ( | INITO_IDX | ino, | |
| INITV_IDX | inv, | |||
| INT32 | repeat, | |||
| TYPE_ID | mtype, | |||
| INT32 | val | |||
| ) | [static] |
Definition at line 250 of file irbdata.cxx.
References add_initv(), idx, INITV_Set_ONE(), INITV_Set_ZERO(), Initv_Table, and SEGMENTED_ARRAY< T, block_size >::New_entry().
Referenced by Irb_Init_Integer_Of_Type().

Definition at line 305 of file irbdata.cxx.
References Enter_tcon(), Host_To_Targ_String(), Irb_Init_Val(), and MTYPE_STR.

| INITV_IDX Irb_Init_Symdiff | ( | INITO_IDX | ino, | |
| INITV_IDX | inv, | |||
| mUINT16 | repeat, | |||
| LABEL_IDX | lab1, | |||
| ST * | st2, | |||
| BOOL | halfword | |||
| ) |
Definition at line 200 of file irbdata.cxx.
References add_initv(), idx, INITV_Set_SYMDIFF(), Initv_Table, SEGMENTED_ARRAY< T, block_size >::New_entry(), and ST_st_idx().

Definition at line 168 of file irbdata.cxx.
References add_initv(), idx, INITV_Set_SYMOFF(), Initv_Table, SEGMENTED_ARRAY< T, block_size >::New_entry(), and ST_st_idx().
Referenced by data_element_s::create_initv(), and create_initv().

Definition at line 214 of file irbdata.cxx.
References add_initv(), idx, INITV_Set_VAL(), Initv_Table, and SEGMENTED_ARRAY< T, block_size >::New_entry().
Referenced by data_element_s::create_initv(), create_initv(), Irb_Init_Integer_Of_Type(), and Irb_Init_String().

| INITVKIND Name_To_InitvKind | ( | const char * | nm | ) |
Definition at line 457 of file irbdata.cxx.
References INITVKIND_COUNT, and ir_a2b::MapStrToEnum().

Definition at line 64 of file irbdata.cxx.
References idx, SCOPE::inito_tab, make_INITO_IDX(), SEGMENTED_ARRAY< T, block_size >::New_entry(), Scope_tab, Set_INITO_st_idx(), Set_INITO_val(), and ST_IDX_level().
Referenced by Assign_ST_To_Named_Section(), data_info_s::data_info_s(), New_INITO(), IPO_SYMTAB::promote_entry< T >::operator()(), and WN_CopyNode().

| INITV_IDX New_INITV | ( | void | ) |
Definition at line 76 of file irbdata.cxx.
References idx, Initv_Table, and SEGMENTED_ARRAY< T, block_size >::New_entry().
Referenced by Assign_ST_To_Named_Section().

| void Print_INITO | ( | const INITO & | ino | ) |
Definition at line 577 of file irbdata.cxx.
References INITO::Print(), and TFile.
Referenced by dump_INITO_idx(), Print_INITO(), and Print_Inits().

| void Print_Inits | ( | UINT | level | ) |
Definition at line 584 of file irbdata.cxx.
References SCOPE::inito_tab, Print_INITO(), Scope_tab, and SEGMENTED_ARRAY< T, block_size >::Size().

| void Print_INITV | ( | const INITV & | initv | ) |
Definition at line 466 of file irbdata.cxx.
References CLASS_CONST, fprintf(), INITV_blk(), INITV_kind(), INITV_lab(), INITV_lab1(), INITV_ofst(), INITV_pad(), INITV_repeat1(), INITV_repeat2(), INITV_st(), INITV_st2(), INITV_tc(), INITVKIND_BLOCK, INITVKIND_LABEL, INITVKIND_ONE, INITVKIND_PAD, INITVKIND_SYMDIFF, INITVKIND_SYMDIFF16, INITVKIND_SYMOFF, INITVKIND_VAL, INITVKIND_ZERO, LABEL_name(), NULL, Print_INITVs(), ST_class(), ST_name(), Targ_Print(), Tcon_Table, and TFile.
Referenced by dump_INITV_idx(), and Print_INITV_fnctr::operator()().

| void Print_INITVs | ( | FILE * | f, | |
| INITV_IDX | idx | |||
| ) |
Definition at line 556 of file irbdata.cxx.
References Get_Trace_File(), Print_INITVs(), and Set_Trace_File_internal().

| void Print_INITVs | ( | INITV_IDX | idx | ) |
Definition at line 550 of file irbdata.cxx.
References For_all_initv().
Referenced by INITO::Print(), Print_INITV(), and Print_INITVs().

| EnumToStr_t InitvKindToNameTbl[INITVKIND_COUNT] |
{
EnumToStr_t(INITVKIND_UNK, "INITV_UNK"),
EnumToStr_t(INITVKIND_SYMOFF, "INITV_SYMOFF"),
EnumToStr_t(INITVKIND_ZERO, "INITV_ZERO"),
EnumToStr_t(INITVKIND_ONE, "INITV_ONE"),
EnumToStr_t(INITVKIND_VAL, "INITV_VAL"),
EnumToStr_t(INITVKIND_BLOCK, "INITV_BLOCK"),
EnumToStr_t(INITVKIND_PAD, "INITV_PAD"),
EnumToStr_t(INITVKIND_SYMDIFF, "INITV_SYMDIFF"),
EnumToStr_t(INITVKIND_SYMDIFF16, "INITV_SYMDIFF16"),
EnumToStr_t(INITVKIND_LABEL, "INITV_LABEL"),
}
Definition at line 434 of file irbdata.cxx.
1.7.1