#include "cmplr_segmented_array.h"#include "symtab.h"#include "wn.h"#include "targ_sim.h"


Go to the source code of this file.
| typedef RELATED_SEGMENTED_ARRAY<BE_PREG> BE_PREG_TAB |
Definition at line 524 of file be_symtab.h.
Definition at line 57 of file be_symtab.h.
| typedef RELATED_SEGMENTED_ARRAY<BE_ST> BE_ST_TAB |
Definition at line 89 of file be_symtab.h.
| typedef TABLE_INDEXED_BY_LEVEL8_AND_INDEX24<BE_ST, ST_IDX, SYMTAB_IDX, BE_SCOPE *, &Be_scope_tab, BE_SCOPE_TAB_BE_ST_TAB_ACCESS> BE_SYMBOL_TABLE |
Definition at line 107 of file be_symtab.h.
Definition at line 179 of file be_symtab.h.
References BE_ST_ADDR_PASSED.
Referenced by POINTS_TO::Analyze_ST(), Can_Be_Tail_Call(), OPT_STAB::Make_st_group(), and OPT_STAB::Update_attr_cache().
Definition at line 118 of file be_symtab.h.
References BE_ST_ADDR_USED_LOCALLY, and BE_ST::Is_set().
Definition at line 112 of file be_symtab.h.
References BE_ST_ADDR_USED_LOCALLY.
Referenced by POINTS_TO::Analyze_ST(), Can_Be_Tail_Call(), OPT_STAB::Make_st_group(), and OPT_STAB::Update_attr_cache().
Definition at line 356 of file be_symtab.h.
References BE_ST_PU_HAS_VALID_ADDR_FLAGS, and ST_st_idx.
Definition at line 350 of file be_symtab.h.
References BE_ST_PU_HAS_VALID_ADDR_FLAGS, and BE_ST::Is_set().
Definition at line 344 of file be_symtab.h.
References BE_ST_PU_HAS_VALID_ADDR_FLAGS.
Referenced by Can_Be_Tail_Call().
Definition at line 411 of file be_symtab.h.
References BE_ST_PU_NEEDS_ADDR_FLAG_ADJUST, and ST_st_idx.
Definition at line 405 of file be_symtab.h.
References BE_ST_PU_NEEDS_ADDR_FLAG_ADJUST, and BE_ST::Is_set().
Definition at line 399 of file be_symtab.h.
References BE_ST_PU_NEEDS_ADDR_FLAG_ADJUST.
Referenced by PU_adjust_addr_flags().
Definition at line 453 of file be_symtab.h.
References BE_ST_REFERENCED, and ST_st_idx.
Referenced by Process_Initos_And_Literals(), and put_location().
Definition at line 166 of file be_symtab.h.
Referenced by cwh_stab_find_auxst(), and cwh_stab_free_auxst().
Definition at line 289 of file be_symtab.h.
References BE_ST_UNKNOWN_CONST.
Referenced by ST_is_const_and_has_initv(), ST_is_const_initialized(), and ST_is_const_initialized_scalar().
Definition at line 234 of file be_symtab.h.
References BE_ST_W2FC_REFERENCED.
Referenced by write_st::operator()(), and WN2C_Append_Symtab_Vars().
| void BE_symtab_alloc_scope_level | ( | SYMTAB_IDX | ) |
Definition at line 69 of file be_symtab.cxx.
References BE_SCOPE::be_st_tab, CXX_DELETE_ARRAY, CXX_NEW, CXX_NEW_ARRAY, i, next_level, and NULL.
Referenced by BE_Current_Init(), BE_Symtab_Initialize(), IPA_Preoptimize(), main(), and Preprocess_PU().
Definition at line 62 of file be_symtab.cxx.
References MEM_POOL_Delete(), and MEM_POOL_Pop.
Referenced by BE_Symtab_Finalize(), and main().
Definition at line 55 of file be_symtab.cxx.
References FALSE, MEM_POOL_Initialize, and MEM_POOL_Push.
Referenced by BE_Symtab_Initialize(), and main().
Definition at line 154 of file be_symtab.h.
References BE_ST_ADDR_USED_LOCALLY, and BE_ST::Clear_flag().
Definition at line 148 of file be_symtab.h.
References BE_ST_ADDR_USED_LOCALLY.
Referenced by OPT_STAB::Count_syms().
Definition at line 386 of file be_symtab.h.
References BE_ST_PU_HAS_VALID_ADDR_FLAGS, and ST_st_idx.
Definition at line 380 of file be_symtab.h.
References BE_ST_PU_HAS_VALID_ADDR_FLAGS, and BE_ST::Clear_flag().
Referenced by Do_WOPT_and_CG_with_Regions().
Definition at line 441 of file be_symtab.h.
References BE_ST_PU_NEEDS_ADDR_FLAG_ADJUST, and ST_st_idx.
Definition at line 435 of file be_symtab.h.
References BE_ST_PU_NEEDS_ADDR_FLAG_ADJUST, and BE_ST::Clear_flag().
Referenced by PU_adjust_addr_flags().
Definition at line 325 of file be_symtab.h.
References BE_ST_UNKNOWN_CONST, and BE_ST::Clear_flag().
Definition at line 270 of file be_symtab.h.
References BE_ST_W2FC_REFERENCED, and BE_ST::Clear_flag().
Referenced by Stab_Reset_Referenced_Flag(), and WN2F_Offset_Symref().
Definition at line 532 of file be_symtab.h.
References Last_Dedicated_Preg_Offset.
Referenced by OPT_STAB::Alloc_preg(), AssignPregExprPos(), Atomic_Using_Swap(), Convert_Section_To_Pdo(), Copy_Array(), Copy_Array_Section(), Copy_Loads_In_Bound(), create_doloop(), Create_Initialize_Loop(), Create_Io_Entry(), Create_Preg_or_Temp(), Create_Preg_Symbol(), cwh_addr_do_bounds_check(), cwh_inline_allocate(), cwh_io_split_io_items(), cwh_preg_next_preg(), cwh_preg_temp_save(), cwh_stmt_insert_conformance_check(), emit_builtin_compare_and_swap(), emit_builtin_lock_test_and_set(), emit_builtin_sync_fetch_op(), F90_Lower_Alloc_Dealloc(), F90_Lower_Copy_To_STemp(), fei_doloop(), Formal_Sym(), Gen_Save_Stack_Pointer(), Handle_ASM(), HMB_Hoist_Expressions(), HMB_Replace_Messy_Bounds(), Hoist_Iload_Ldid_Upper_Bound_One_Level(), Init_Pregs(), WN_INSTRUMENT_WALKER::Instrument_Branch(), WN_INSTRUMENT_WALKER::Instrument_Circuit(), WN_INSTRUMENT_WALKER::Instrument_Compgoto(), WN_INSTRUMENT_WALKER::Instrument_Cselect(), WN_INSTRUMENT_WALKER::Instrument_Switch(), lower_bit_field_id(), lower_cshift(), lower_eoshift(), lower_io_items(), Lower_Master(), lower_maxminloc(), lower_mm_matmul(), lower_mv_matmul(), lower_pack(), lower_random_number(), lower_record_items(), lower_reduction(), lower_unpack(), GOTO_TABLE::Move_Goto_Out(), NORMALIZE_LOOP::Normalize_do_loop(), Parallelize_Doacross_Loop(), RVI::Perform_variable_constant_rvi(), process_inqvar(), process_iostat(), Process_Store(), Read_Pragma_Thread_Affinity(), Replace_store_of_ded_reg(), Save_And_Restore_Stack(), Split_Using_Preg(), Transform_Code(), WN_INSTRUMENT_WALKER::Tree_Walk_Node(), vho_lower_cand_cior(), vho_lower_comma(), vho_lower_cselect(), vho_lower_rcomma(), WFE_Expand_Expr(), WFE_Lhs_Of_Modify_Expr(), WGEN_Expand_Expr(), and WGEN_Lhs_Of_Modify_Expr().
Definition at line 540 of file be_symtab.h.
References idx, Last_Dedicated_Preg_Offset, NULL, RELATED_SEGMENTED_ARRAY< T, block_size >::Size(), and UINT.
Referenced by Gen_exp_wn(), LOCAL_CLSC::Get_bitpos(), Get_Liternal_TN(), Preg_Is_Rematerializable(), and SIMPNODE_GetDefinition().
Definition at line 197 of file be_symtab.h.
References BE_ST_ADDR_PASSED.
Referenced by Collect_addr_passed(), and OPT_STAB::Make_st_group().
Definition at line 136 of file be_symtab.h.
References BE_ST_ADDR_USED_LOCALLY, and BE_ST::Set_flag().
Definition at line 130 of file be_symtab.h.
References BE_ST_ADDR_USED_LOCALLY.
Referenced by OPT_STAB::Convert_ST_to_AUX(), intrinsic_runtime(), and OPT_STAB::Make_st_group().
Definition at line 374 of file be_symtab.h.
References BE_ST_PU_HAS_VALID_ADDR_FLAGS, and ST_st_idx.
Definition at line 368 of file be_symtab.h.
References BE_ST_PU_HAS_VALID_ADDR_FLAGS, and BE_ST::Set_flag().
Definition at line 362 of file be_symtab.h.
References BE_ST_PU_HAS_VALID_ADDR_FLAGS.
Referenced by OPT_STAB::Create().
Definition at line 429 of file be_symtab.h.
References BE_ST_PU_NEEDS_ADDR_FLAG_ADJUST, and ST_st_idx.
Definition at line 423 of file be_symtab.h.
References BE_ST_PU_NEEDS_ADDR_FLAG_ADJUST, and BE_ST::Set_flag().
Definition at line 417 of file be_symtab.h.
References BE_ST_PU_NEEDS_ADDR_FLAG_ADJUST.
Referenced by Do_WOPT_and_CG_with_Regions(), and Walk_and_Localize().
Definition at line 458 of file be_symtab.h.
References BE_ST_REFERENCED, and ST_st_idx.
Referenced by Exp_Ldst().
Definition at line 307 of file be_symtab.h.
References BE_ST_UNKNOWN_CONST.
Referenced by DISTR_INFO::DISTR_INFO().
Definition at line 258 of file be_symtab.h.
References BE_ST_W2FC_REFERENCED, and BE_ST::Set_flag().
Definition at line 252 of file be_symtab.h.
References BE_ST_W2FC_REFERENCED.
Referenced by ST2C_use_func(), ST2C_use_var(), ST2F_deref_translate(), ST2F_use_func(), ST2F_use_var(), and WN2F_Offset_Symref().
Definition at line 285 of file be_symtab.cxx.
References For_all_until(), Inito_Table, INITO_val(), ST_IDX_level(), ST_is_initialized, ST_st_idx, and ST_type.
Referenced by ALIAS_CLASSIFICATION::Classify_deref_of_expr(), OPT_STAB::Count_syms(), OPT_STAB::Enter_symbol(), and ST_is_const_and_has_initv().
Definition at line 311 of file be_symtab.cxx.
Definition at line 94 of file be_symtab.cxx.
Definition at line 165 of file be_symtab.cxx.
References base, BE_ST_unknown_const(), BOOL, FALSE, FmtAssert, For_all_until(), FOREACH_INITV, Host_To_Targ(), Host_To_Targ_Float(), initialized, Inito_Table, INITO_val(), INITV_blk(), INITV_kind(), Initv_Table, INITV_tc(), INITVKIND_BLOCK, INITVKIND_ONE, INITVKIND_VAL, INITVKIND_ZERO, INT, Is_Simple_Type(), Is_True, KIND_ARRAY, L, mtype, MTYPE_I1, MTYPE_I2, MTYPE_I4, MTYPE_is_integral, ST_base, ST_base_idx(), ST_IDX_level(), ST_init_value_zero, ST_is_const_initialized(), ST_is_initialized, ST_st_idx, ST_type, Tcon_Table, TRUE, TY_etype, TY_kind, TY_mtype, TY_size, and TYPE_ID.
Referenced by Is_constant_global(), and COPYPROP::Prop_const_init_scalar().
Definition at line 48 of file be_symtab.cxx.
Referenced by Early_Terminate(), IPA_Preoptimize(), and Preorder_Process_PUs().
Definition at line 44 of file be_symtab.cxx.
Referenced by BE_Current_Fini(), BE_Current_Init(), BE_Symtab_Finalize(), BE_Symtab_Initialize(), Early_Terminate(), IPA_Preoptimize(), main(), Postprocess_PU(), and Preprocess_PU().
| const UINT32 BE_ST_ADDR_PASSED = 0x00000002 |
Definition at line 62 of file be_symtab.h.
Referenced by BE_ST_addr_passed(), Clear_BE_ST_addr_passed(), and Set_BE_ST_addr_passed().
| const UINT32 BE_ST_ADDR_USED_LOCALLY = 0x00000001 |
Definition at line 61 of file be_symtab.h.
Referenced by BE_ST_addr_used_locally(), Clear_BE_ST_addr_used_locally(), and Set_BE_ST_addr_used_locally().
| const UINT32 BE_ST_PU_HAS_VALID_ADDR_FLAGS = 0x00000010 |
Definition at line 67 of file be_symtab.h.
Referenced by BE_ST_pu_has_valid_addr_flags(), Clear_BE_ST_pu_has_valid_addr_flags(), and Set_BE_ST_pu_has_valid_addr_flags().
| const UINT32 BE_ST_PU_NEEDS_ADDR_FLAG_ADJUST = 0x00000020 |
Definition at line 70 of file be_symtab.h.
Referenced by BE_ST_pu_needs_addr_flag_adjust(), Clear_BE_ST_pu_needs_addr_flag_adjust(), and Set_BE_ST_pu_needs_addr_flag_adjust().
| const UINT32 BE_ST_REFERENCED = 0x00000040 |
Definition at line 72 of file be_symtab.h.
Referenced by BE_ST_referenced(), Clear_BE_ST_referenced(), and Set_BE_ST_referenced().
| const UINT32 BE_ST_UNKNOWN_CONST = 0x00000008 |
Definition at line 64 of file be_symtab.h.
Referenced by BE_ST_unknown_const(), Clear_BE_ST_unknown_const(), and Set_BE_ST_unknown_const().
| const UINT32 BE_ST_W2FC_REFERENCED = 0x00000004 |
Definition at line 63 of file be_symtab.h.
Referenced by BE_ST_w2fc_referenced(), Clear_BE_ST_w2fc_referenced(), and Set_BE_ST_w2fc_referenced().
Definition at line 46 of file be_symtab.cxx.
1.5.6