#include "symtab.h"#include "irbdata_defs.h"

Go to the source code of this file.
Definition at line 358 of file irbdata.h.
References INITV_IDX_ZERO, Set_INITO_val(), and Set_INITV_next().

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().

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().

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

Definition at line 71 of file irbdata.h.
References INITO::st_idx, and St_Table.
Definition at line 73 of file irbdata.h.
References Inito_Table, and St_Table.
Definition at line 69 of file irbdata.h.
References INITO::st_idx, and St_Table.
Referenced by INIT2F_Get_Initv_Array(), INITO2C_translate(), INITO2F_translate(), finalize_inito::operator()(), IPO_SYMTAB::promote_entry< T >::operator()(), PARAMETER2F_translate(), Update_EHRegion_Inito(), Update_EHRegion_Inito_Used(), and WN_CopyNode().
Definition at line 62 of file irbdata.h.
References INITO::st_idx.
Referenced by ir_put_wn(), find_inito_predicate::operator()(), IPO_SYMTAB::fix_table_entry< T >::operator()(), and match_inito_by_st::operator()().
Definition at line 78 of file irbdata.h.
References Inito_Table, and INITO_val().

Definition at line 76 of file irbdata.h.
References INITO::val.
Referenced by Get_INITO_Size(), INIT2F_Get_Initv_Array(), INITO2C_translate(), INITO_val(), finalize_inito::operator()(), Rename_INITV_Labels(), ST_has_initv(), and ST_is_const_initialized_scalar().
Definition at line 282 of file irbdata.h.
References INITV::Blk(), INITV_read_check(), INITVKIND_BLOCK, and INITV::kind.
Referenced by IPO_SYMTAB::Clone_INITVs_For_EH(), Get_INITV_Size(), INIT2F_Collect_Initvs(), INIT2F_Number_Of_Initvs(), INITV2C_array_dimension(), INITV2C_block_array(), INITV2C_block_struct(), INITV2C_block_union(), INITV_blk(), Print_INITV(), and Rename_INITV_Labels().

Definition at line 287 of file irbdata.h.
References INITV_blk(), and Initv_Table.

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.

| void INITV_Init_Symdiff | ( | INITV_IDX | inv, | |
| LABEL_IDX | lab1, | |||
| ST * | st2, | |||
| BOOL | halfword, | |||
| UINT16 | repeat = 1 | |||
| ) |
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().

Definition at line 111 of file irbdata.h.
References Initv_Table.
Definition at line 109 of file irbdata.h.
References INITV::kind.
Referenced by IPO_SYMTAB::Clone_INITVs_For_EH(), Get_INITV_Size(), INIT2F_array(), INIT2F_choose_repeat(), INIT2F_Collect_Initvs(), INIT2F_Get_Array_Segment(), INIT2F_is_string_initv(), INIT2F_Number_Of_Initvs(), INIT2F_Skip_Padding(), INITV2C_array_dimension(), INITV2C_block_array(), INITV2C_block_struct(), INITV2C_block_union(), INITV2C_struct_fill(), INITV2C_symoff_help(), INITV2C_translate(), INITV2C_val(), INITVKIND_translate(), INITVKIND_ty(), Print_INITV(), Rename_INITV_Labels(), ST_is_const_initialized_scalar(), and TCON_For_Initv().
Definition at line 195 of file irbdata.h.
References INITV_read_check(), INITVKIND_LABEL, INITV::kind, and INITV::Lab().
Referenced by IPO_SYMTAB::Clone_INITVs_For_EH(), INITV_lab(), Print_INITV(), and Rename_INITV_Labels().

Definition at line 200 of file irbdata.h.
References INITV_lab(), and Initv_Table.

Definition at line 215 of file irbdata.h.
References INITV_read_check(), INITVKIND_SYMDIFF, INITVKIND_SYMDIFF16, INITV::kind, and INITV::Lab1().
Referenced by IPO_SYMTAB::Clone_INITVs_For_EH(), INITV_lab1(), Print_INITV(), and Rename_INITV_Labels().

Definition at line 221 of file irbdata.h.
References INITV_lab1(), and Initv_Table.

Definition at line 275 of file irbdata.h.
References INITV_read_check(), Initv_Table, INITVKIND_ONE, INITVKIND_ZERO, and kind.

Definition at line 269 of file irbdata.h.
References INITV_read_check(), INITVKIND_ONE, INITVKIND_ZERO, INITV::kind, and INITV::Mtype().
Referenced by Get_INITV_Size(), INITVKIND_ty(), and TCON_For_Initv().

Definition at line 91 of file irbdata.h.
References INITV::next.
Referenced by IPO_SYMTAB::Clone_INITVs_For_EH(), For_all_initv(), Get_INITO_Size(), Get_INITV_Size(), INIT2C_Next_Initv(), INIT2F_Collect_Initvs(), INIT2F_Number_Of_Initvs(), INITV2C_array_dimension(), INITV2C_block_array(), INITV2C_block_struct(), INITV2C_block_union(), INITV2C_symoff_help(), INITV2C_val(), and Rename_INITV_Labels().
Definition at line 93 of file irbdata.h.
References Initv_Table.
| INITV_IDX INITV_Next_Idx | ( | void | ) | [inline] |
Definition at line 369 of file irbdata.h.
References Initv_Table, and SEGMENTED_ARRAY< T, block_size >::Size().

Definition at line 178 of file irbdata.h.
References INITV_read_check(), INITVKIND_SYMOFF, INITV::kind, and INITV::Ofst().
Referenced by INITV2C_symoff(), INITVKIND_translate(), and Print_INITV().

Definition at line 183 of file irbdata.h.
References INITV_read_check(), Initv_Table, INITVKIND_SYMOFF, and kind.

Definition at line 301 of file irbdata.h.
References INITV_read_check(), INITVKIND_PAD, INITV::kind, and INITV::Pad().
Referenced by Get_INITV_Size(), INIT2F_Skip_Padding(), INITV2C_struct_fill(), and Print_INITV().

Definition at line 306 of file irbdata.h.
References INITV_read_check(), Initv_Table, INITVKIND_PAD, and kind.

| void INITV_read_check | ( | BOOL | condition | ) | [inline] |
Definition at line 103 of file irbdata.h.
References Is_True.
Referenced by INITV_blk(), INITV_lab(), INITV_lab1(), INITV_mtype(), INITV_ofst(), INITV_pad(), INITV_repeat1(), INITV_repeat2(), INITV_st(), INITV_st2(), INITV_tc(), INITV_tc_val(), Set_INITV_lab(), Set_INITV_lab1(), Set_INITV_ofst(), Set_INITV_st(), and Set_INITV_st2().
Definition at line 148 of file irbdata.h.
References Initv_Table, INITVKIND_ONE, INITVKIND_VAL, INITVKIND_ZERO, and kind.
Referenced by Get_INITV_Size().
Definition at line 114 of file irbdata.h.
References FALSE, INITV_read_check(), INITVKIND_ONE, INITVKIND_VAL, INITVKIND_ZERO, INITV::kind, and INITV::repeat1.
Referenced by INIT2F_choose_repeat(), and Print_INITV().

Definition at line 131 of file irbdata.h.
References FALSE, INITV_read_check(), INITVKIND_ONE, INITVKIND_VAL, INITVKIND_ZERO, INITV::kind, and INITV::Repeat2().
Referenced by INIT2F_choose_repeat(), and Print_INITV().

Definition at line 447 of file irbdata.h.
References INITV::kind, INITV::next, INITV::repeat1, and INITV::u.
Referenced by INITV_Init_Block(), and Irb_Init_Block().
Definition at line 421 of file irbdata.h.
References INITV::kind, INITV::next, INITV::repeat1, and INITV::u.
Referenced by INITV_Set_ONE(), and INITV_Set_ZERO().
Definition at line 412 of file irbdata.h.
References INITV::kind, INITV::next, INITV::repeat1, and INITV::u.
Referenced by INITV_Init_Label(), and Irb_Init_Label().
Definition at line 433 of file irbdata.h.
References INITV_Set_int(), and INITVKIND_ONE.
Referenced by INITV_Init_Integer(), and Irb_Init_predefined_integer().

Definition at line 456 of file irbdata.h.
References INITV::kind, INITV::next, INITV::repeat1, and INITV::u.
Referenced by INITV_Init_Pad(), and Irb_Init_Pad().
| void INITV_Set_SYMDIFF | ( | INITV & | initv, | |
| mUINT16 | rp1, | |||
| LABEL_IDX | s1, | |||
| ST_IDX | s2, | |||
| BOOL | halfword | |||
| ) | [inline] |
Definition at line 465 of file irbdata.h.
References INITVKIND_SYMDIFF16, INITV::kind, INITV::next, INITV::repeat1, and INITV::u.
Referenced by INITV_Init_Symdiff(), and Irb_Init_Symdiff().
Definition at line 403 of file irbdata.h.
References INITV::kind, INITV::next, INITV::repeat1, and INITV::u.
Referenced by INITV_Init_Symoff(), and Irb_Init_Symoff().
Definition at line 438 of file irbdata.h.
References INITV::kind, INITV::next, INITV::repeat1, and INITV::u.
Referenced by INITV_Init_Float(), INITV_Init_Integer(), INITV_Init_String(), and Irb_Init_Val().
Definition at line 429 of file irbdata.h.
References INITV_Set_int(), and INITVKIND_ZERO.
Referenced by INITV_Init_Integer(), and Irb_Init_predefined_integer().

Definition at line 161 of file irbdata.h.
References INITV_read_check(), INITVKIND_SYMOFF, INITV::kind, and INITV::St().
Referenced by IPO_SYMTAB::Clone_INITVs_For_EH(), INITV2C_symoff(), INITVKIND_translate(), INITVKIND_ty(), and Print_INITV().

Definition at line 166 of file irbdata.h.
References INITV_read_check(), Initv_Table, INITVKIND_SYMOFF, and kind.

Definition at line 236 of file irbdata.h.
References INITV_read_check(), INITVKIND_SYMDIFF, INITVKIND_SYMDIFF16, INITV::kind, and INITV::St2().
Referenced by IPO_SYMTAB::Clone_INITVs_For_EH(), INITV_st2(), and Print_INITV().

Definition at line 242 of file irbdata.h.
References INITV_st2(), and Initv_Table.

Definition at line 253 of file irbdata.h.
References INITV_read_check(), INITVKIND_VAL, INITV::kind, and INITV::Tc().
Referenced by INITVKIND_translate(), Print_INITV(), and ST_is_const_initialized_scalar().

Definition at line 263 of file irbdata.h.
References INITV_read_check(), Initv_Table, INITVKIND_VAL, kind, and Tcon_Table.

Definition at line 258 of file irbdata.h.
References INITV_read_check(), INITVKIND_VAL, INITV::kind, INITV::Tc(), and Tcon_Table.
Referenced by Get_INITV_Size(), INIT2F_array(), INIT2F_Get_Array_Segment(), INIT2F_is_string_initv(), INIT2F_substring(), INIT2F_Translate_Array_Ref(), INITV2C_block_array(), INITVKIND_ty(), and TCON_For_Initv().

| 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().

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().

Definition at line 321 of file irbdata.h.
References New_INITO(), ST_st_idx(), and val.

| 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 | ( | INITO_IDX | idx | ) | [inline] |
Definition at line 394 of file irbdata.h.
References Inito_Table, and Print_INITO().

| 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 | ( | INITV_IDX | initv | ) |
Definition at line 550 of file irbdata.cxx.
References For_all_initv().
Referenced by INITO::Print(), Print_INITV(), and Print_INITVs().

Definition at line 64 of file irbdata.h.
References INITO::st_idx.
Referenced by New_INITO(), IPO_SYMTAB::fix_table_entry< T >::operator()(), and Set_INITO_st_idx().
Definition at line 66 of file irbdata.h.
References Inito_Table, and Set_INITO_st_idx().

Definition at line 80 of file irbdata.h.
References INITO::val.
Referenced by add_initv(), Append_INITV(), Assign_ST_To_Named_Section(), New_INITO(), Rename_INITV_Labels(), and Set_INITO_val().
Definition at line 82 of file irbdata.h.
References Inito_Table, and Set_INITO_val().

Definition at line 296 of file irbdata.h.
References Initv_Table, and Set_INITV_blk().

Definition at line 291 of file irbdata.h.
References INITV::u.
Referenced by IPO_SYMTAB::Clone_INITVs_For_EH(), emit_inits_for_symbol(), Rename_INITV_Labels(), and Set_INITV_blk().
Definition at line 209 of file irbdata.h.
References INITV_read_check(), Initv_Table, INITVKIND_LABEL, kind, and Set_INITV_lab().

Definition at line 204 of file irbdata.h.
References INITV::u.
Referenced by IPO_SYMTAB::Clone_INITVs_For_EH(), Rename_INITV_Labels(), and Set_INITV_lab().
Definition at line 225 of file irbdata.h.
References INITV::u.
Referenced by IPO_SYMTAB::Clone_INITVs_For_EH(), Rename_INITV_Labels(), and Set_INITV_lab1().
Definition at line 229 of file irbdata.h.
References INITV_read_check(), Initv_Table, INITVKIND_SYMDIFF, INITVKIND_SYMDIFF16, kind, and Set_INITV_lab1().

Definition at line 96 of file irbdata.h.
References Initv_Table.
Referenced by Append_INITV(), emit_inits_for_symbol(), and Rename_INITV_Labels().
Definition at line 188 of file irbdata.h.
References INITV_read_check(), Initv_Table, INITVKIND_SYMOFF, and kind.

Definition at line 171 of file irbdata.h.
References INITV_read_check(), Initv_Table, INITVKIND_SYMOFF, and kind.
Referenced by IPO_SYMTAB::Clone_INITVs_For_EH().

Definition at line 246 of file irbdata.h.
References INITV_read_check(), Initv_Table, INITVKIND_SYMDIFF, INITVKIND_SYMDIFF16, and kind.
Referenced by IPO_SYMTAB::Clone_INITVs_For_EH().

1.7.1