osprey/common/com/symtab_idx.h File Reference

#include "errors.h"

Include dependency graph for symtab_idx.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Types

type  TABLE_INDEXED_BY_LEVEL8_AND_INDEX24< ENTRY_TYPE, INDEX_TYPE, LEVEL_INDEX_TYPE, LEVEL_CONTAINER_TYPE, level_container_ptr, LEVEL_MEMBER_ACCESSOR >

Typedefs

typedef mUINT32 ST_IDX
typedef mUINT32 TY_IDX
typedef mUINT32 FLD_IDX
typedef mUINT32 ARB_IDX
typedef mUINT32 TYLIST_IDX
typedef mUINT32 PU_IDX
typedef mUINT32 TARGET_INFO_IDX
typedef mUINT32 TCON_IDX
typedef mUINT32 LABEL_IDX
typedef mUINT32 PREG_IDX
typedef mUINT32 ST_ATTR_IDX
typedef mUINT32 BLK_IDX
typedef mUINT32 INITO_IDX
typedef mUINT32 INITV_IDX
typedef mUINT64 STR_IDX
typedef mUINT8 SYMTAB_IDX

Functions/Subroutines

template<class INDEX_TYPE, class LEVEL_INDEX_TYPE>
LEVEL_INDEX_TYPE Extract_level8 (INDEX_TYPE idx, LEVEL_INDEX_TYPE *)
template<class INDEX_TYPE>
UINT32 Extract_index24 (INDEX_TYPE idx)
SYMTAB_IDX ST_IDX_level (ST_IDX st_idx)
UINT32 ST_IDX_index (ST_IDX st_idx)
ST_IDX make_ST_IDX (UINT index, SYMTAB_IDX level)
SYMTAB_IDX INITO_IDX_level (INITO_IDX inito_idx)
UINT32 INITO_IDX_index (INITO_IDX inito_idx)
INITO_IDX make_INITO_IDX (UINT index, SYMTAB_IDX level)
SYMTAB_IDX LABEL_IDX_level (LABEL_IDX label_idx)
UINT32 LABEL_IDX_index (LABEL_IDX label_idx)
LABEL_IDX make_LABEL_IDX (UINT index, SYMTAB_IDX level)
UINT32 TY_IDX_index (TY_IDX ty_idx)
void Set_TY_IDX_index (TY_IDX &ty_idx, UINT32 index)
TY_IDX make_TY_IDX (UINT32 index)
BOOL TY_is_const (TY_IDX ty_idx)
void Set_TY_is_const (TY_IDX &ty_idx)
void Clear_TY_is_const (TY_IDX &ty_idx)
BOOL TY_is_volatile (TY_IDX ty_idx)
void Set_TY_is_volatile (TY_IDX &ty_idx)
void Clear_TY_is_volatile (TY_IDX &ty_idx)
BOOL TY_is_restrict (TY_IDX ty_idx)
void Set_TY_is_restrict (TY_IDX &ty_idx)
void Clear_TY_is_restrict (TY_IDX &ty_idx)
UINT TY_align_exp (TY_IDX ty_idx)
void Set_TY_align_exp (TY_IDX &ty_idx, UINT exp)
UINT TY_align (TY_IDX ty_idx)
void Set_TY_align (TY_IDX &ty_idx, UINT32 align)

Variables

static const ST_IDX ST_IDX_ZERO = 0
static const TY_IDX TY_IDX_ZERO = 0
static const FLD_IDX FLD_IDX_ZERO = 0
static const ARB_IDX ARB_IDX_ZERO = 0
static const TYLIST_IDX TYLIST_IDX_ZERO = 0
static const PU_IDX PU_IDX_ZERO = 0
static const TARGET_INFO_IDX TARGET_INFO_IDX_ZERO = 0
static const TCON_IDX TCON_IDX_ZERO = 0
static const LABEL_IDX LABEL_IDX_ZERO = 0
static const PREG_IDX PREG_IDX_ZERO = 0
static const ST_ATTR_IDX ST_ATTR_IDX_ZERO = 0
static const BLK_IDX BLK_IDX_ZERO = 0
static const INITO_IDX INITO_IDX_ZERO = 0
static const INITV_IDX INITV_IDX_ZERO = 0
static const STR_IDX STR_IDX_ZERO = 0
static const SYMTAB_IDX SYMTAB_IDX_ZERO = 0
const UINT32 TY_RESTRICT = 0x00000080
const UINT32 TY_VOLATILE = 0x00000040
const UINT32 TY_CONST = 0x00000020
const UINT32 TY_ALIGN = 0x0000001f


Typedef Documentation

typedef mUINT32 ARB_IDX

Definition at line 54 of file symtab_idx.h.

typedef mUINT32 BLK_IDX

Definition at line 62 of file symtab_idx.h.

typedef mUINT32 FLD_IDX

Definition at line 53 of file symtab_idx.h.

typedef mUINT32 INITO_IDX

Definition at line 63 of file symtab_idx.h.

typedef mUINT32 INITV_IDX

Definition at line 64 of file symtab_idx.h.

typedef mUINT32 LABEL_IDX

Definition at line 59 of file symtab_idx.h.

typedef mUINT32 PREG_IDX

Definition at line 60 of file symtab_idx.h.

typedef mUINT32 PU_IDX

Definition at line 56 of file symtab_idx.h.

Definition at line 61 of file symtab_idx.h.

typedef mUINT32 ST_IDX

Definition at line 51 of file symtab_idx.h.

typedef mUINT64 STR_IDX

Definition at line 65 of file symtab_idx.h.

typedef mUINT8 SYMTAB_IDX

Definition at line 66 of file symtab_idx.h.

Definition at line 57 of file symtab_idx.h.

typedef mUINT32 TCON_IDX

Definition at line 58 of file symtab_idx.h.

typedef mUINT32 TY_IDX

Definition at line 52 of file symtab_idx.h.

Definition at line 55 of file symtab_idx.h.


Function Documentation

void Clear_TY_is_const ( TY_IDX ty_idx  )  [inline]

Definition at line 241 of file symtab_idx.h.

References TY_CONST.

Referenced by Synch_TY_IDX().

void Clear_TY_is_restrict ( TY_IDX ty_idx  )  [inline]

Definition at line 249 of file symtab_idx.h.

References TY_RESTRICT.

Referenced by IPO_INLINE::Create_Copy_In_Symbol(), and Synch_TY_IDX().

void Clear_TY_is_volatile ( TY_IDX ty_idx  )  [inline]

template<class INDEX_TYPE>
UINT32 Extract_index24 ( INDEX_TYPE  idx  )  [inline]

template<class INDEX_TYPE, class LEVEL_INDEX_TYPE>
LEVEL_INDEX_TYPE Extract_level8 ( INDEX_TYPE  idx,
LEVEL_INDEX_TYPE *   
) [inline]

UINT32 INITO_IDX_index ( INITO_IDX  inito_idx  )  [inline]

SYMTAB_IDX INITO_IDX_level ( INITO_IDX  inito_idx  )  [inline]

Definition at line 140 of file symtab_idx.h.

References Extract_level8().

Referenced by IPO_SYMTAB::Get_INITO(), and Make_inito_iter().

UINT32 LABEL_IDX_index ( LABEL_IDX  label_idx  )  [inline]

SYMTAB_IDX LABEL_IDX_level ( LABEL_IDX  label_idx  )  [inline]

INITO_IDX make_INITO_IDX ( UINT  index,
SYMTAB_IDX  level 
) [inline]

LABEL_IDX make_LABEL_IDX ( UINT  index,
SYMTAB_IDX  level 
) [inline]

ST_IDX make_ST_IDX ( UINT  index,
SYMTAB_IDX  level 
) [inline]

TY_IDX make_TY_IDX ( UINT32  index  )  [inline]

void Set_TY_align ( TY_IDX ty_idx,
UINT32  align 
) [inline]

Definition at line 259 of file symtab_idx.h.

References Set_TY_align_exp(), TY_log_base2(), and UINT32.

void Set_TY_align_exp ( TY_IDX ty_idx,
UINT  exp 
) [inline]

void Set_TY_IDX_index ( TY_IDX ty_idx,
UINT32  index 
) [inline]

void Set_TY_is_const ( TY_IDX ty_idx  )  [inline]

Definition at line 240 of file symtab_idx.h.

References TY_CONST.

void Set_TY_is_restrict ( TY_IDX ty_idx  )  [inline]

Definition at line 248 of file symtab_idx.h.

References TY_RESTRICT.

void Set_TY_is_volatile ( TY_IDX ty_idx  )  [inline]

Definition at line 244 of file symtab_idx.h.

References TY_VOLATILE.

UINT32 ST_IDX_index ( ST_IDX  st_idx  )  [inline]

SYMTAB_IDX ST_IDX_level ( ST_IDX  st_idx  )  [inline]

Definition at line 125 of file symtab_idx.h.

References Extract_level8().

Referenced by Add_actual_to_caller_linex(), IPA_NODE_SECTION_INFO::Add_Global_Array_Info(), IPA_NODE_SECTION_INFO::Add_Global_Array_List(), Add_One_Node(), POINTS_TO::Analyze_ST(), Are_Equal_Dims(), IP_ALIAS_CLASSIFICATION::Base_id(), Copy_ST(), CR_Compare_Symbols(), Dim_Count(), Exp_To_Linex_Array(), IPA_NODE_SECTION_INFO::Find_Global_Array_Info(), GLOBAL_ARRAY_LIST::Find_Global_Array_Info(), IPA_NODE_SECTION_INFO::Find_Global_Array_List(), IPA_NODE_SECTION_INFO::Find_Global_Array_Sections(), Find_INITO_For_Symbol(), Find_PREG_For_Symbol(), Find_Section_Name_For_ST(), Get_Node_From_PU(), IPO_SYMTAB::Get_Orig_ST(), Get_ST(), Get_ST_Id(), IP_ALIAS_CLASSIFICATION::Handle_assignment(), IP_READ_fix_tree(), IPA_build_symbol_index_map(), IPA_map_symbol_index(), IPA_update_summary_st_idx(), Is_callee_formal_mappable_to_caller(), Is_Scalar(), Is_term_mappable_to_caller(), Make_st_iter(), LINEX::Map_access_vector(), Merge_Global_Initv(), Merge_Section(), Mismatched_Types(), ALIAS_CLASSIFICATION::New_base_id(), New_INITO(), IPO_SYMTAB::promote_entry< T >::operator()(), IPO_SYMTAB::fix_table_entry< T >::operator()(), process_compile_time_addr_saved< program >::operator()(), AUX_SYMBOL_ACCESS::operator()(), ST_IDX_MAP::operator[](), AUX_SYMBOL_ACCESS::operator[](), AUX_ST_TABLE::operator[](), IPA_ARRAY_DF_FLOW::PostProcessIO(), FLD::Print(), SUMMARY_SYMBOL::Print(), ST::Print(), Same_Global_Value(), Set_Caller_Actual_Messy(), ST_IDX_MAP::set_map(), AC_PREG_IDENTIFIER::Set_pu_st_idx(), AC_ST_IDENTIFIER::Set_pu_st_idx(), ST_has_initv(), ST_is_const_initialized_scalar(), ST_is_private_local(), ST_level(), CG_BROWSER::Symbol_Name(), Symbol_Name(), Try_Reshape_Callee_Formal(), OPT_STAB::Update_attr_cache(), update_region(), FLD::Verify(), INITO::Verify(), and ST_ATTR::Verify().

UINT TY_align ( TY_IDX  ty_idx  )  [inline]

Definition at line 258 of file symtab_idx.h.

References TY_ALIGN.

UINT TY_align_exp ( TY_IDX  ty_idx  )  [inline]

UINT32 TY_IDX_index ( TY_IDX  ty_idx  )  [inline]

Definition at line 230 of file symtab_idx.h.

Referenced by analyze_addressof_ty_being_split(), aux_CreateMstore(), Build_Class_Hierarchy(), Clear_Temp_Idx_Specific(), Commit_Recursive_Type(), Commit_Ty_Specific(), Create_Split_Common(), cwh_addr_mk_ldid(), enter_st(), Find_virtual_function(), Fixup_Base(), fixup_realloc_pointer(), Gen_exp_wn(), Gen_stmt_wn(), IPA_CLASS_HIERARCHY::Get_Ancestor_Offset(), Get_Kid_TY_IDX(), Get_ST(), handle_assignment(), handle_istore(), handle_istore_assignment(), handle_kid_of_istore(), Insert_Allocated_Ty(), Insert_Recursive_Type(), Insert_Ty(), Insert_Ty_Specific(), Invalid_Pointer_Map_Entry(), IPA_collect_class_instances(), IPA_devirtualization(), IPO_Fld_Table_Update_For_Struct_Opt(), Is_constructor(), Is_Incomplete_Or_Recursive(), lower_bit_field_id(), Make_Function_Type(), Make_ty_iter(), Merge_All_Types(), Merge_Global_Ty(), Merge_St_With_St(), merge_ty(), New_Partial_Match(), TYPE_TABLE::operator[](), TY_IDX_MAP::operator[](), Partial_Match(), Predefined_Void_Type(), ST::Print(), Print_TY_IDX_verbose(), recursive_ty_hash(), Reset_recursive_type_mapping(), Reset_TY_is_translated_to_c(), SE_Symbols_For_SE(), Set_TY_is_translated_to_c(), ST_Verify_Fields(), Traverse_TYs(), traverse_wn_tree(), ALIAS_RULE::Ty1_Include_Ty2(), TY_are_equivalent(), TY_id(), TY_is_incomplete(), TY_is_translated_to_c(), TY_is_unique_op(), ty_processed(), TY_Temp_Idx(), Update_Pointer_Map(), Validate_Pointer_Map(), PU::Verify(), TY::Verify(), FLD::Verify(), and W2CF_Dump_Symbol().

BOOL TY_is_const ( TY_IDX  ty_idx  )  [inline]

Definition at line 239 of file symtab_idx.h.

References TY_CONST.

BOOL TY_is_restrict ( TY_IDX  ty_idx  )  [inline]

Definition at line 247 of file symtab_idx.h.

References TY_RESTRICT.

BOOL TY_is_volatile ( TY_IDX  ty_idx  )  [inline]

Definition at line 243 of file symtab_idx.h.

References TY_VOLATILE.


Variable Documentation

const ARB_IDX ARB_IDX_ZERO = 0 [static]

Definition at line 73 of file symtab_idx.h.

const BLK_IDX BLK_IDX_ZERO = 0 [static]

Definition at line 81 of file symtab_idx.h.

const FLD_IDX FLD_IDX_ZERO = 0 [static]

Definition at line 72 of file symtab_idx.h.

Referenced by Comput_flatten_flds().

const INITO_IDX INITO_IDX_ZERO = 0 [static]

const INITV_IDX INITV_IDX_ZERO = 0 [static]

const LABEL_IDX LABEL_IDX_ZERO = 0 [static]

const PREG_IDX PREG_IDX_ZERO = 0 [static]

Definition at line 79 of file symtab_idx.h.

const PU_IDX PU_IDX_ZERO = 0 [static]

Definition at line 75 of file symtab_idx.h.

Referenced by Get_Node_From_PU(), and Get_Parent_Of_Nested_PU().

const ST_ATTR_IDX ST_ATTR_IDX_ZERO = 0 [static]

Definition at line 80 of file symtab_idx.h.

const ST_IDX ST_IDX_ZERO = 0 [static]

const STR_IDX STR_IDX_ZERO = 0 [static]

const SYMTAB_IDX SYMTAB_IDX_ZERO = 0 [static]

Definition at line 85 of file symtab_idx.h.

Referenced by Init_ST_formal_info_for_PU(), lower_mp(), and Translate_Label().

Definition at line 76 of file symtab_idx.h.

Referenced by PU_Init(), and PU::Verify().

const TCON_IDX TCON_IDX_ZERO = 0 [static]

Definition at line 77 of file symtab_idx.h.

const UINT32 TY_ALIGN = 0x0000001f

const UINT32 TY_CONST = 0x00000020

Definition at line 227 of file symtab_idx.h.

const TY_IDX TY_IDX_ZERO = 0 [static]

const UINT32 TY_RESTRICT = 0x00000080

Definition at line 225 of file symtab_idx.h.

const UINT32 TY_VOLATILE = 0x00000040

Definition at line 226 of file symtab_idx.h.

const TYLIST_IDX TYLIST_IDX_ZERO = 0 [static]

Definition at line 74 of file symtab_idx.h.


Generated on Wed Apr 8 14:40:09 2009 for Open64 by  doxygen 1.5.6