OPT_STAB Module Reference

#include <opt_sym.h>

Collaboration diagram for OPT_STAB:

Collaboration graph
[legend]

Public Member Functions

 OPT_STAB (MEM_POOL *)
 ~OPT_STAB (void)
VER_STAB_ARRAY_TYPE * Ver_stab (void)
void Create (COMP_UNIT *, REGION_LEVEL)
AUX_ID Create_vsym (EXPR_KIND k)
AUX_ID Create_preg (MTYPE preg_ty, const char *name=NULL, WN *home_wn=NULL)
AUX_ID Find_vsym_with_base (ST *)
AUX_ID Find_vsym_with_st (ST *)
AUX_ID Find_vsym_with_base_ofst_and_size (ST *, INT64, INT64, UINT8, UINT8)
AUX_ID Find_sym_with_st_and_ofst (ST *, INT64)
void Clear_coderep (void)
BOOL Verify_stack (void)
void New_coderep (MEM_POOL *pool)
void New_stack (MEM_POOL *pool)
void Check_stack (void)
WNPu (void) const
OPT_PU_POINTS_TO_SUMMARIZERPoints_to_summarizer (void)
MEM_POOLOcc_pool (void)
MEM_POOLVer_pool (void)
CFGCfg (void) const
const ALIAS_RULERule (void) const
BOOL Is_varargs_func (void) const
BOOL Allow_sim_type (void) const
BOOL Has_exc_handler (void) const
AUX_STAB_ENTRYAux_stab_entry (AUX_ID v) const
VER_STAB_ENTRYVer_stab_entry (VER_ID v) const
INT32 Lastidx (void) const
INT32 Version (AUX_ID var) const
BB_LISTDef_bbs (AUX_ID var) const
VER_LIST * Versions (AUX_ID var) const
STACK< CODEREP * > * Coderep (AUX_ID var) const
TY_IDX Ty (AUX_ID var) const
MTYPE Stype (AUX_ID var) const
INT64 Base_ofst (AUX_ID var) const
UINT8 Bit_size (AUX_ID var) const
UINT8 Bit_ofst (AUX_ID var) const
INT64 St_ofst (AUX_ID var) const
STBase (AUX_ID var) const
STSt (AUX_ID var) const
const char * St_name (AUX_ID var) const
BOOL Unique_vsym (AUX_ID var) const
void Init_mp_attribute (void)
BOOL Mp_shared (AUX_ID var) const
void Reset_mp_shared (AUX_ID var)
BOOL Mp_lastlocal (AUX_ID var) const
void Set_mp_lastlocal (AUX_ID var)
void Set_mp_firstprivate (AUX_ID var)
BOOL Mp_reduction (AUX_ID var) const
void Set_mp_reduction (AUX_ID var)
void Reset_mp_reduction (AUX_ID var)
BOOL Lda_vsym (AUX_ID var) const
BOOL Special_vsym (AUX_ID var) const
UINT16 Field_id (AUX_ID var) const
POINTS_TOPoints_to (AUX_ID var) const
void Set_version (AUX_ID var, UINT32 version)
CODEREPZero_cr (AUX_ID var) const
void Set_zero_cr (AUX_ID var, CODEREP *p)
void Push_coderep (AUX_ID var, CODEREP *cr)
INT32 Stack_elements (AUX_ID var)
CODEREPTop_coderep (AUX_ID var) const
CODEREPTop_nth_coderep (AUX_ID var, INT32 n) const
CODEREPPop_coderep (AUX_ID var)
BOOL NULL_coderep (AUX_ID var) const
INT32 Elements_coderep (AUX_ID var) const
STACK< VER_ID > * Stack (AUX_ID var) const
AUX_ID Du_aux_id (VER_ID du) const
INT32 Du_version (VER_ID du) const
TY_IDX Du_ty (VER_ID du) const
OPT_VAR_TYPE Du_stype (VER_ID du) const
INT64 Du_base_ofst (VER_ID du) const
UINT8 Du_bit_size (VER_ID du) const
UINT8 Du_bit_ofst (VER_ID du) const
INT64 Du_st_ofst (VER_ID du) const
CODEREPDu_coderep (VER_ID du) const
BOOL Du_any_use (VER_ID du) const
BOOL Du_real_use (VER_ID du) const
BOOL Du_virtual_use (VER_ID du) const
BOOL Du_unique_vsym (VER_ID du) const
BOOL Du_zero_vers (VER_ID du) const
void Du_set_coderep (VER_ID du, CODEREP *cr)
BOOL Is_virtual (AUX_ID id) const
BOOL Is_real_var (AUX_ID id) const
BOOL Du_is_virtual (VER_ID du) const
BOOL Is_volatile (AUX_ID id) const
BOOL Du_is_volatile (VER_ID du) const
AUX_ID_LISTAux_id_list (AUX_ID id) const
REGION_LEVEL Rgn_level (void) const
VER_ID Gen_name (AUX_ID)
VER_ID Gen_name_phi (PHI_NODE *)
VER_ID Gen_name_chi (CHI_NODE *, WN *wn)
VER_ID Get_name (AUX_ID)
AUX_ID Enter_symbol (OPERATOR opr, ST *st, INT64 ofst, TY_IDX wn_object_ty, BOOL is_volatile, WN *wn=NULL)
AUX_ID Enter_ded_preg (ST *, INT64, TY_IDX, INT32)
AUX_ID Identify_vsym (WN *)
void Enter_du (AUX_ID du, WN *wn, BB_NODE *bb)
void Enter_du (AUX_ID du, PHI_NODE *phi, BB_NODE *bb)
void Enter_du (AUX_ID du, CHI_NODE *chi, BB_NODE *bb)
void Enter_du (AUX_ID du)
void Delete_ver_pool (void)
BOOL Addr_saved (AUX_ID idx) const
BOOL Addr_passed (AUX_ID idx) const
BOOL Addr_used_locally (AUX_ID idx) const
BOOL External (AUX_ID idx) const
BOOL Local_static (AUX_ID idx) const
BOOL Dedicated (AUX_ID idx) const
BOOL Ref_formal (AUX_ID idx) const
BOOL Named (AUX_ID idx) const
BOOL Const (AUX_ID idx) const
BOOL Unique_pt (AUX_ID idx) const
BOOL Call_by_value (AUX_ID idx) const
BOOL Call_by_ref (AUX_ID idx) const
BOOL Asm_alias (AUX_ID idx) const
BOOL Weak_var (AUX_ID idx) const
BOOL Weak_base (AUX_ID idx) const
void Set_addr_saved (AUX_ID idx)
void Set_addr_passed (AUX_ID idx)
void Set_addr_used_locally (AUX_ID idx)
void Set_external (AUX_ID idx)
void Set_local_static (AUX_ID idx)
void Set_dedicated (AUX_ID idx)
void Set_ref_formal (AUX_ID idx)
void Set_named (AUX_ID idx)
void Set_const (AUX_ID idx)
void Reset_const (AUX_ID idx)
void Set_unique_pt (AUX_ID idx)
void Set_virtual_var (AUX_ID idx)
void Set_weak_var (AUX_ID idx)
void Set_weak_base (AUX_ID idx)
BSAddr_saved (void) const
BSAddr_passed (void) const
BSAddr_used_locally (void) const
BSExternal (void) const
BSLocal_static (void) const
BSDedicated (void) const
BSRef_formal (void) const
BSNamed (void) const
BSConst (void) const
BSUnique_pt (void) const
BSIndirect (void) const
BSInaccessible_to_callees (void) const
BSCall_by_value (void) const
BSCall_by_ref (void) const
BSVirtual_var (void) const
BSWeak_var (void) const
BSWeak_base (void) const
BSAsm_alias (void) const
void Set_addr_saved (BS *bs)
void Set_addr_passed (BS *bs)
void Set_addr_used_locally (BS *bs)
void Set_external (BS *bs)
void Set_local_static (BS *bs)
void Set_dedicated (BS *bs)
void Set_ref_formal (BS *bs)
void Set_named (BS *bs)
void Set_const (BS *bs)
void Set_unique_pt (BS *bs)
void Set_indirect (BS *bs)
void Set_inaccessible_to_callees (BS *bs)
void Set_call_by_value (BS *bs)
void Set_call_by_ref (BS *bs)
void Set_virtual_var (BS *bs)
void Set_weak_var (BS *bs)
void Set_weak_base (BS *bs)
void Set_asm_alias (BS *bs)
WN_MAP WN_sym_map (void) const
WN_MAP WN_box_refs (void) const
WN_MAP WN_box_defs (void) const
void Set_WN_sym_map (WN_MAP wnm)
void Set_WN_box_refs (WN_MAP wnm)
void Set_WN_box_defs (WN_MAP wnm)
AUX_ID Default_vsym (void) const
void Set_default_vsym (AUX_ID vsym)
AUX_ID Return_vsym (void) const
void Set_return_vsym (AUX_ID vsym)
OPT_PHASE Phase (void) const
POINTS_TO_LISTBlack_box_refs (const WN *wn) const
POINTS_TO_LISTBlack_box_defs (const WN *wn) const
void Add_black_box_ref (WN *wn, POINTS_TO *ref) const
void Add_black_box_def (WN *wn, POINTS_TO *def) const
BOOL FFA (void) const
BOOL FSA (void) const
void Set_FFA (void)
void Set_FSA (void)
BOOL Transfer_alias_class_to_occ_and_aux (RID *, WN *)
void Compute_FFA (RID *)
void Compute_FFA_for_copy (WN *, BB_NODE *, BOOL)
void Compute_FSA (void)
void Remap_ver_synonym (WN *wn)
WNCreate_entry_chi_stmt (BB_NODE *)
void Analyze_Range (WN *, POINTS_TO *)
ID_MAP< ST_CHAIN_INFO *, ST_IDX > * St_chain_map (void) const
POINTS_TOPoints_to_globals (void) const
void Set_points_to_globals (POINTS_TO *pt)
void Simplify_Pointer_Ver (VER_ID ver, POINTS_TO *ai)
void Simplify_Pointer_Arith (WN *wn, POINTS_TO *ai)
void Simplify_Pointer (WN *wn_addr, POINTS_TO *ai)
void Lower_to_base (POINTS_TO *, WN *)
void Analyze_Base_Flow_Free (POINTS_TO *pt, WN *wn)
void Analyze_Base_Flow_Sensitive (POINTS_TO *, WN *)
void Update_iload_vsym (OCC_TAB_ENTRY *)
void Update_istore_vsym (OCC_TAB_ENTRY *)
void Update_return_mu (void)
STFind_Based_Pointer (WN *, INT *depth)
void Analyze_Based_Pointer (POINTS_TO *, WN *)
AUX_ID Adjust_vsym (AUX_ID vp_idx, OCC_TAB_ENTRY *occ)
void Init_last_preg (const IDTYPE preg)
IDTYPE Alloc_preg (TYPE_ID mtype, const char *name=NULL, WN *home_wn=NULL)
IDTYPE Last_preg (void) const
BOOL Is_up_level_var (ST *st) const
void Print_aux_entry (AUX_ID i, FILE *fp=stderr)
void Print_alias_info (FILE *fp=stderr)
void Print_top_nth_coderep (AUX_ID i, INT n, FILE *fp=stderr)
OCC_TAB_ENTRYEnter_occ_tab (WN *, AUX_ID)
OCC_TAB_ENTRYGet_occ (const WN *) const
CHI_LISTGet_mem_chi_list (const WN *) const
MU_NODEGet_mem_mu_node (const WN *) const
CHI_LISTGet_stmt_chi_list (const WN *) const
MU_LISTGet_stmt_mu_list (const WN *) const
CHI_LISTGet_generic_chi_list (const WN *) const
void Update_pf_list (WN *, STMTREP *)
void Clear_itab_bitpos (void)
void Set_itab_bitpos (AUX_ID var, IDX_32 bitpos)
void Rename_aux_id_list_to_bitpos (void)
void Create_entry_chi (void)
void Compute_region_mu_chi (WN *, RID *, BOOL, BB_NODE *)
void Reset_def_bbs (void)
void Screen_rvi_candidates (void)
void Set_alias_classification (ALIAS_CLASSIFICATION &ac)
ALIAS_CLASSIFICATIONAlias_classification (void) const
MEMOP_ANNOT_CR_SR_MGRCr_sr_annot_mgr (void) const
void Incorporate_alias_class_info (void)
void Convert_EH_pragmas (WN *wn)
BOOL Safe_to_speculate (AUX_ID)
STSt_ptr (WN *wn) const
void Summarize_points_to (void)

Private Types

typedef mempool_allocator
< std::pair< IDTYPE, AUX_ID > > 
AC_VSYM_ALLOC

Private Member Functions

 OPT_STAB (void)
 OPT_STAB (const OPT_STAB &)
OPT_STABoperator= (const OPT_STAB &)
void Count_syms (WN *)
void Convert_ST_to_AUX (WN *, WN *)
void Convert_black_box (WN *)
void Convert_IO_statement (WN *, WN *, INT)
void Process_varfmt_for_cvt_io (WN *)
POINTS_TO_LISTCreate_barrier_defs (WN *)
BOOL Not_affected_by_barrier (AUX_ID id, BB_NODE *bb)
void Compute_barrier_mu_chi (OCC_TAB_ENTRY *, POINTS_TO_LIST *, BB_NODE *, BOOL, BOOL, BOOL, BOOL)
void Make_st_group (void)
void Update_attr_cache (AUX_ID, ST *, POINTS_TO *, BOOL *)
void Collect_ST_attr (void)
void Canonicalize (void)
void Remap_aux_synonym (WN *)
void Allocate_mu_chi_and_virtual_var (WN *, BB_NODE *)
void Update_alias_set_with_virtual_var (void)
void Update_aux_id_list (AUX_ID)
BOOL Var_is_loop_index (AUX_ID, BB_NODE *)
void Collect_f90_pointer_info (POINTS_TO *, const WN *)
void Collect_nested_ref_info (void)
void Generate_mu_and_chi_list (WN *, BB_NODE *)
void Compute_FSA_stmt_or_expr (WN *)
void Compute_FSA_dominator_order (BB_NODE *)
void Compute_black_box_mu_chi (const WN *, OCC_TAB_ENTRY *)
BOOL Has_read_only_parm (AUX_ID, WN *, INT32)
void Generate_call_mu_chi_by_value (WN *wn, ST *, MU_LIST *mu, CHI_LIST *chi, INT32)
void Generate_asm_mu_chi (WN *wn, MU_LIST *, CHI_LIST *)
void Generate_call_mu_chi_by_ref (WN *wn, ST *, MU_LIST *mu, CHI_LIST *chi, INT32, BB_NODE *)
void Generate_exit_mu (WN *)
void Add_nested_call_mu_chi (WN *wn, ST *, MU_LIST *mu, CHI_LIST *chi)
void Inc_const_found (void)
INT32 Const_found (void)
void REGION_add_aux_id_points_to (POINTS_TO_SET **pset, AUX_ID aux_id)
BOOL REGION_merge_aux_id_points_to (POINTS_TO_SET **pset, AUX_ID aux_id)
void REGION_add_to_bound (RID *rid, AUX_ID aux_id, BOOL empty)
BOOL REGION_verify_bound (RID *rid, AUX_ID aux_id)
BOOL Its_ret_val_of_malloc (VER_ID ver)

Private Attributes

DYN_ARRAY< AUX_STAB_ENTRYaux_stab
VER_STAB_ARRAY_TYPE * _ver_stab
CFG_cfg
CODEMAPhtable
const ALIAS_RULE_rule
WNpu_wn
OPT_PU_POINTS_TO_SUMMARIZER _pt_sum
BOOL _rgn_trace
MEM_POOLmem_pool
MEM_POOL _ver_pool
MEM_POOL _occ_pool
MEM_POOL _st_chain_pool
MEM_POOL _asm_pragma_pool
ID_MAP< ST_CHAIN_INFO *, ST_IDX > * st_chain_map
IDTYPE _orig_last_preg
IDTYPE _last_preg_num
AUX_ID _default_vsym
AUX_ID _return_vsym
OPT_PHASE _phase
BOOL _flow_free_analysis
BOOL _allow_sim_type
BOOL _has_exc_handler
POINTS_TO_points_to_globals
BOOL _is_varargs_func
BS_addr_saved
BS_addr_passed
BS_addr_used_locally
BS_external
BS_local_static
BS_dedicated
BS_ref_formal
BS_named
BS_const
BS_unique_pt
BS_virtual_var
BS_weak_var
BS_weak_base
BS_inaccessible_to_callees
BS_indirect
BS_call_by_value
BS_call_by_ref
BS_asm_alias
WN_MAP _wn_sym_map
WN_MAP _wn_box_refs
WN_MAP _wn_box_defs
ID_MAP< IDTYPE, AUX_ID_ac_2_vsym_map
REGION_LEVEL _rgn_level
ALIAS_CLASSIFICATION_alias_classification
MEMOP_ANNOT_CR_SR_MGR_cr_sr_annot_mgr
INT32 _const_found

Detailed Description

Definition at line 775 of file opt_sym.h.


Member Typedef Documentation

typedef mempool_allocator< std::pair<IDTYPE, AUX_ID> > OPT_STAB::AC_VSYM_ALLOC [private]

Definition at line 916 of file opt_sym.h.


Constructor & Destructor Documentation

OPT_STAB::OPT_STAB ( void   )  [private]

OPT_STAB::OPT_STAB ( const OPT_STAB  )  [private]

OPT_STAB::OPT_STAB ( MEM_POOL pool  ) 

OPT_STAB::~OPT_STAB ( void   ) 


Member Function/Subroutine Documentation

OPT_STAB& OPT_STAB::operator= ( const OPT_STAB  )  [private]

void OPT_STAB::Count_syms ( WN wn  )  [private]

void OPT_STAB::Convert_ST_to_AUX ( WN wn,
WN block_wn 
) [private]

Definition at line 1557 of file opt_sym.cxx.

References _rgn_trace, Allow_sim_type(), aux_stab, BOOL, Check_volatility(), CLASS_PREG, CLASS_VAR, Complex_Not_Simulated, Convert_black_box(), Cur_PU_Feedback, Delay_U64_Lowering, Enter_ded_preg(), Enter_symbol(), Fail_FmtAssertion(), FALSE, FEEDBACK::FB_simplify_branch_to_goto(), FmtAssert, fprintf(), Get_Current_PU, Get_mtype_class(), Get_Return_Info(), Get_Return_Mtypes(), Get_Return_Pregs(), i, idx, INT32, Is_region_with_pragma(), Is_True, MAINOPT_PHASE, MAX_NUMBER_OF_REGISTERS_FOR_RETURN, MTYPE_is_integral, MTYPE_signed, MTYPE_size_min, MTYPE_To_Dedicated_PREG(), MTYPE_To_TY, MTYPE_V, NULL, Only_Unsigned_64_Bit_Ops, OPCODE_make_op(), OPERATOR_has_aux(), OPERATOR_is_black_box(), OPERATOR_is_scalar_iload(), OPERATOR_is_scalar_istore(), OPERATOR_is_scalar_load(), OPR_ALTENTRY, OPR_ASM_STMT, OPR_BLOCK, OPR_CALL, OPR_DO_LOOP, OPR_FALSEBR, OPR_FUNC_ENTRY, OPR_GOTO, OPR_ICALL, OPR_ILOAD, OPR_INTCONST, OPR_INTRINSIC_CALL, OPR_LDA, OPR_REGION, OPR_STID, OPR_TRUEBR, Phase(), PU_has_mp, Pu_Table, REGION_consistency_check(), REGION_get_rid(), RETURN_INFO_count(), RETURN_INFO_mtype(), RETURN_INFO_preg(), Rgn_level(), RID_id, RID_level, RID_level_str(), Set_BE_ST_addr_used_locally(), ST_class, ST_pu(), ST_pu_type, ST_type, TFile, TRUE, TY_mtype, TY_ret_type, TYPE_ID, Use_Simulated, WHIRL_Return_Info_On, WN_asm_constraints, WN_aux(), WN_class, WN_const_val(), WN_Delete, WN_desc(), WN_field_id(), WN_first(), WN_kid(), WN_kid0(), WN_kid1(), WN_kid_count(), WN_load_addr_ty(), WN_load_offset(), WN_next(), WN_object_ty(), WN_offset(), WN_operator(), WN_pragma(), WN_PRAGMA_ASM_CONSTRAINT, WN_pragma_asm_copyout_preg(), WN_PRAGMA_MASTER_BEGIN, WN_rtype(), WN_set_aux(), WN_set_desc(), WN_set_kid_count(), WN_set_operator(), WN_set_rtype(), WN_set_ty(), WN_SimplifyIload(), WN_SimplifyIstore(), WN_st(), WN_st_idx(), WN_start, WN_ty(), and WOPT_Enable_Simp_Iload.

Referenced by Create().

void OPT_STAB::Convert_black_box ( WN wn  )  [private]

Definition at line 1501 of file opt_sym.cxx.

References Convert_IO_statement(), FALSE, FmtAssert, OPERATOR_name(), OPR_IO, and WN_operator().

Referenced by Convert_ST_to_AUX().

void OPT_STAB::Convert_IO_statement ( WN iown,
WN wn,
INT  level 
) [private]

void OPT_STAB::Process_varfmt_for_cvt_io ( WN iown  )  [private]

POINTS_TO_LIST * OPT_STAB::Create_barrier_defs ( WN wn  )  [private]

BOOL OPT_STAB::Not_affected_by_barrier ( AUX_ID  id,
BB_NODE bb 
) [private]

void OPT_STAB::Compute_barrier_mu_chi ( OCC_TAB_ENTRY occ,
POINTS_TO_LIST defs,
BB_NODE bb,
BOOL  no_dups,
BOOL  generate_mu,
BOOL  generate_chi,
BOOL  is_mp_barrier 
) [private]

void OPT_STAB::Make_st_group ( void   )  [private]

void OPT_STAB::Update_attr_cache ( AUX_ID  idx,
ST st,
POINTS_TO pt,
BOOL has_weak_var 
) [private]

void OPT_STAB::Collect_ST_attr ( void   )  [private]

void OPT_STAB::Canonicalize ( void   )  [private]

Definition at line 2269 of file opt_sym.cxx.

References aux_stab, aux_stab_iter, cur, Equivalent(), FOR_ALL_NODE, idx, Init, Is_real_var(), min, pu_wn, and Remap_aux_synonym().

Referenced by Create().

void OPT_STAB::Remap_aux_synonym ( WN wn  )  [private]

void OPT_STAB::Allocate_mu_chi_and_virtual_var ( WN wn,
BB_NODE bb 
) [private]

Definition at line 2225 of file opt_alias_analysis.cxx.

References _default_vsym, Adjust_vsym(), ALIAS_CLASSIFICATION::Alias_class(), POINTS_TO::Alias_class(), Alias_classification(), Analyze_Base_Flow_Free(), aux_stab, BASE_IS_UNKNOWN, POINTS_TO::Copy_fully(), Enter_occ_tab(), EXPR_IS_ANY, i, Identify_vsym(), POINTS_TO::Init(), INT32, POINTS_TO::Invalidate_ptr_info(), Is_True, MTYPE_BS, No_alias(), NULL, OFST_IS_INVALID, opc, OPC_BLOCK, OPC_COMPGOTO, OPC_REGION, OPCODE_is_black_box(), OPCODE_is_scf(), OPCODE_name(), OPCODE_operator(), OPR_ASM_STMT, OPR_BACKWARD_BARRIER, OPR_CALL, OPR_DEALLOCA, OPR_FORWARD_BARRIER, OPR_GOTO_OUTER_BLOCK, OPR_ICALL, OPR_ILDBITS, OPR_ILOAD, OPR_ILOADX, OPR_INTRINSIC_CALL, OPR_INTRINSIC_OP, OPR_IO, OPR_ISTBITS, OPR_ISTORE, OPR_ISTOREX, OPR_LDBITS, OPR_LDID, OPR_MLOAD, OPR_MSTORE, OPR_PARM, OPR_PREFETCH, OPR_REGION, OPR_REGION_EXIT, OPR_RETURN, OPR_RETURN_VAL, OPR_STBITS, OPR_STID, OPTIMISTIC_AC_ID, PESSIMISTIC_AC_ID, POINTS_TO::Pointer(), OCC_TAB_ENTRY::Points_to(), Points_to(), REGION_get_rid(), Rgn_level(), RID_level, POINTS_TO::Set_alias_class(), POINTS_TO::Set_base_kind(), POINTS_TO::Set_byte_size(), POINTS_TO::Set_expr_kind(), POINTS_TO::Set_ip_alias_class(), POINTS_TO::Set_ofst_kind(), Update_From_Restricted_Map(), WN_aux(), WN_desc(), WN_kid(), WN_kid0(), WN_kid_count(), WN_MAP32_Get, WN_MAP_ALIAS_CLASS, WN_object_size(), WN_opcode(), WN_operator(), WN_Parm_By_Reference, WN_Parm_By_Value, and WOPT_Alias_Class_Limit.

Referenced by Compute_FFA(), and Compute_FFA_for_copy().

void OPT_STAB::Update_alias_set_with_virtual_var ( void   )  [private]

void OPT_STAB::Update_aux_id_list ( AUX_ID  vp_idx  )  [private]

BOOL OPT_STAB::Var_is_loop_index ( AUX_ID  idx,
BB_NODE bb 
) [private]

void OPT_STAB::Collect_f90_pointer_info ( POINTS_TO pt,
const WN wn 
) [private]

void OPT_STAB::Collect_nested_ref_info ( void   )  [private]

void OPT_STAB::Generate_mu_and_chi_list ( WN wn,
BB_NODE bb 
) [private]

Definition at line 3029 of file opt_alias_analysis.cxx.

References Add_nested_call_mu_chi(), POINTS_TO::Alias_class(), ALIAS_RULE::Alias_Set_Indirect(), ALIAS_RULE::Aliased_Memop(), CHI_NODE::Aux_id(), OCC_TAB_ENTRY::Aux_id(), Aux_id_list(), aux_stab, Aux_stab_entry(), aux_stab_iter, BB_REGIONEXIT, BS_Choose(), BS_CHOOSE_FAILURE, BS_Choose_Next(), Cfg(), cnode, Compute_barrier_mu_chi(), Compute_black_box_mu_chi(), Compute_region_mu_chi(), Create_barrier_defs(), cur, FALSE, FOR_ALL_NODE, Generate_asm_mu_chi(), Generate_call_mu_chi_by_ref(), Generate_call_mu_chi_by_value(), Generate_exit_mu(), Get_Current_PU, Get_mem_chi_list(), Get_occ(), Get_stmt_chi_list(), Get_stmt_mu_list(), i, Init, INT32, INTRN_has_no_side_effects(), Is_real_var(), AUX_STAB_ENTRY::Is_real_var(), Is_True, AUX_STAB_ENTRY::Is_virtual(), Is_volatile(), AUX_STAB_ENTRY::Is_volatile(), BB_NODE::Kind(), OCC_TAB_ENTRY::Mem_chi_list(), CHI_LIST::New_chi_node(), CHI_LIST::New_chi_node_no_dups(), OCC_TAB_ENTRY::New_mem_mu_node(), POINTS_TO::No_alias(), NULL, Occ_pool(), OPC_BLOCK, OPC_COMPGOTO, OPC_REGION, OPCODE_is_black_box(), OPCODE_is_scf(), OPCODE_name(), OPCODE_operator(), OPR_ASM_STMT, OPR_BACKWARD_BARRIER, OPR_CALL, OPR_DEALLOCA, OPR_FORWARD_BARRIER, OPR_GOTO_OUTER_BLOCK, OPR_ICALL, OPR_ILDBITS, OPR_ILOAD, OPR_ILOADX, OPR_INTRINSIC_CALL, OPR_INTRINSIC_OP, OPR_IO, OPR_ISTBITS, OPR_ISTORE, OPR_ISTOREX, OPR_LDBITS, OPR_LDID, OPR_MLOAD, OPR_MSTORE, OPR_PARM, OPR_REGION, OPR_REGION_EXIT, OPR_RETURN, OPR_RETURN_VAL, OPR_STBITS, OPR_STID, OPTIMISTIC_AC_ID, PESSIMISTIC_AC_ID, OCC_TAB_ENTRY::Points_to(), Points_to(), AUX_STAB_ENTRY::Points_to(), PU_has_region, REGION_get_rid(), REGION_has_black_regions(), BB_NODE::Regioninfo(), Rgn_level(), CFG::Rid(), BB_REGION::Rid(), RID_level, RID_TYPE_transparent, Rule(), OCC_TAB_ENTRY::Set_pt_list(), TRUE, Update_aux_id_list(), Var_is_loop_index(), Virtual_var(), Weak_base(), WN_aux(), WN_intrinsic(), WN_kid(), WN_kid_count(), WN_object_ty(), WN_opcode(), WN_Parm_By_Reference, WN_Parm_By_Value, WN_sym(), WOPT_Alias_Class_Limit, and WOPT_Enable_Alias_Classification.

Referenced by Compute_FFA(), and Compute_FFA_for_copy().

void OPT_STAB::Compute_FSA_stmt_or_expr ( WN wn  )  [private]

void OPT_STAB::Compute_FSA_dominator_order ( BB_NODE bb  )  [private]

void OPT_STAB::Compute_black_box_mu_chi ( const WN wn,
OCC_TAB_ENTRY occ 
) [private]

BOOL OPT_STAB::Has_read_only_parm ( AUX_ID  idx,
WN wn,
INT32  num_parms 
) [private]

void OPT_STAB::Generate_call_mu_chi_by_value ( WN wn,
ST call_st,
MU_LIST mu,
CHI_LIST chi,
INT32  num_parms 
) [private]

void OPT_STAB::Generate_asm_mu_chi ( WN wn,
MU_LIST mu,
CHI_LIST chi 
) [private]

void OPT_STAB::Generate_call_mu_chi_by_ref ( WN wn,
ST call_st,
MU_LIST mu,
CHI_LIST chi,
INT32  num_parms,
BB_NODE bb 
) [private]

void OPT_STAB::Generate_exit_mu ( WN wn  )  [private]

void OPT_STAB::Add_nested_call_mu_chi ( WN wn,
ST call_st,
MU_LIST mu,
CHI_LIST chi 
) [private]

void OPT_STAB::Inc_const_found ( void   )  [inline, private]

Definition at line 976 of file opt_sym.h.

References _const_found.

Referenced by Update_attr_cache().

INT32 OPT_STAB::Const_found ( void   )  [inline, private]

Definition at line 977 of file opt_sym.h.

References _const_found.

Referenced by ~OPT_STAB().

void OPT_STAB::REGION_add_aux_id_points_to ( POINTS_TO_SET **  pset,
AUX_ID  aux_id 
) [private]

BOOL OPT_STAB::REGION_merge_aux_id_points_to ( POINTS_TO_SET **  pset,
AUX_ID  aux_id 
) [private]

void OPT_STAB::REGION_add_to_bound ( RID rid,
AUX_ID  aux_id,
BOOL  empty 
) [private]

BOOL OPT_STAB::REGION_verify_bound ( RID rid,
AUX_ID  aux_id 
) [private]

BOOL OPT_STAB::Its_ret_val_of_malloc ( VER_ID  ver  )  [private]

VER_STAB_ARRAY_TYPE* OPT_STAB::Ver_stab ( void   )  [inline]

Definition at line 998 of file opt_sym.h.

References _ver_stab.

void OPT_STAB::Create ( COMP_UNIT cu,
REGION_LEVEL  rgn_level 
)

AUX_ID OPT_STAB::Create_vsym ( EXPR_KIND  k  ) 

AUX_ID OPT_STAB::Create_preg ( MTYPE  preg_ty,
const char *  name = NULL,
WN home_wn = NULL 
)

AUX_ID OPT_STAB::Find_vsym_with_base ( ST st  ) 

AUX_ID OPT_STAB::Find_vsym_with_st ( ST st  ) 

AUX_ID OPT_STAB::Find_vsym_with_base_ofst_and_size ( ST base,
INT64  byte_ofst,
INT64  byte_size,
UINT8  bit_ofst,
UINT8  bit_size 
)

AUX_ID OPT_STAB::Find_sym_with_st_and_ofst ( ST st,
INT64  ofst 
)

void OPT_STAB::Clear_coderep ( void   ) 

BOOL OPT_STAB::Verify_stack ( void   ) 

void OPT_STAB::New_coderep ( MEM_POOL pool  ) 

void OPT_STAB::New_stack ( MEM_POOL pool  ) 

Definition at line 3247 of file opt_sym.cxx.

References aux_stab, CXX_NEW, i, INT32, and DYN_ARRAY< T >::Lastidx().

void OPT_STAB::Check_stack ( void   ) 

WN* OPT_STAB::Pu ( void   )  const [inline]

Definition at line 1016 of file opt_sym.h.

References pu_wn.

Referenced by Analyze_pu_attr().

OPT_PU_POINTS_TO_SUMMARIZER* OPT_STAB::Points_to_summarizer ( void   )  [inline]

Definition at line 1020 of file opt_sym.h.

References _pt_sum.

Referenced by Pre_Optimizer().

MEM_POOL* OPT_STAB::Occ_pool ( void   )  [inline]

MEM_POOL* OPT_STAB::Ver_pool ( void   )  [inline]

Definition at line 1023 of file opt_sym.h.

References _ver_pool.

CFG* OPT_STAB::Cfg ( void   )  const [inline]

const ALIAS_RULE* OPT_STAB::Rule ( void   )  const [inline]

BOOL OPT_STAB::Is_varargs_func ( void   )  const [inline]

BOOL OPT_STAB::Allow_sim_type ( void   )  const [inline]

Definition at line 1031 of file opt_sym.h.

References _allow_sim_type.

Referenced by Convert_ST_to_AUX(), and Its_ret_val_of_malloc().

BOOL OPT_STAB::Has_exc_handler ( void   )  const [inline]

Definition at line 1032 of file opt_sym.h.

References _has_exc_handler.

Referenced by Create_preg(), DSE::Dead_store_elim(), and DSE::Update_MU_list_for_call().

AUX_STAB_ENTRY* OPT_STAB::Aux_stab_entry ( AUX_ID  v  )  const [inline]

Definition at line 1034 of file opt_sym.h.

References aux_stab.

Referenced by Actual_data_size(), CODEMAP::Add_def(), DSE::Add_MU_list_for_calls(), Add_nested_call_mu_chi(), Adjust_vsym(), POINTS_TO::Analyze_Lda_Base(), MEM_ACCESS_ANALYZER::Analyze_mem_access(), MEM_ACCESS_ANALYZER::Analyze_named_symbol_pointer(), MEM_ACCESS_ANALYZER::Analyze_pointer(), BITWISE_DCE::Bits_in_var(), CODEREP::Can_be_speculated(), Change_expr_to_temp(), AUX_STAB_ENTRY::Change_to_new_preg(), CODEREP::Check_if_result_is_address(), ALIAS_CLASSIFICATION::Classify_deref_of_expr(), ALIAS_CLASSIFICATION::Classify_memops(), LOCAL_CLSC::Collect_def(), LOCAL_CLSC::Collect_def_by_chi_list(), SSA::Collect_defs_bb(), Collect_nested_ref_info(), EOCC::Collect_real_occurrences(), Collect_ST_attr(), Compute_FFA(), SSU::Construct(), SSA::Construct(), IVR::Convert_all_ivs(), CODEREP::Convert_type(), COPYPROP::Copy_propagate(), Create(), Create_entry_chi(), Create_preg(), Create_vsym(), IVR::Determine_trip_IV_and_exit_count(), CODEREP::Divisable(), COMP_UNIT::Do_local_rvi(), SSA::Du2cr(), Enter_ded_preg(), STMTREP::Enter_lhs(), Enter_symbol(), LOOP_MULTIVER::Estimate_latency(), LOOP_MULTIVER::Evaluate_cr_rec(), MEM_ACCESS_ANALYZER::Expr_of_ptr_ty(), ALIAS_CLASSIFICATION::Finalize_ac_map_wn(), BITWISE_DCE::Find_and_mark_return_live(), COMP_UNIT::Find_lr_shrink_cand(), WOVP::Find_mm_pair(), OPT_REVISE_SSA::Find_scalars_from_lda_iloads(), OPT_REVISE_SSA::Find_scalars_from_lda_indirects(), OPT_REVISE_SSA::Find_scalars_from_lowering_bitfld(), OPT_REVISE_SSA::Find_scalars_from_lowering_bitfld_cr(), Find_sym_with_st_and_ofst(), Find_vsym_with_base(), Find_vsym_with_base_ofst_and_size(), Find_vsym_with_st(), SSA::Find_zero_versions(), Fix_do_loop(), OPT_REVISE_SSA::Form_extract(), OPT_REVISE_SSA::Form_extract_compose(), Gen_exp_wn(), Gen_stmt_wn(), Generate_asm_mu_chi(), Generate_call_mu_chi_by_ref(), Generate_call_mu_chi_by_value(), Generate_exit_mu(), Generate_mu_and_chi_list(), LOCAL_CLSC::Get_bitpos(), OPT_REVISE_SSA::Get_new_occ(), EXP_OCCURS::Get_temp_cr(), LOCAL_CLSC::Get_use_by_mu_node(), ETABLE::Get_worklst(), SSA::Get_zero_version_CR(), Has_read_only_parm(), IVR::Ident_all_iv_cands(), Identify_vsym(), CODEMAP::Iload_folded(), LOCAL_CLSC::Init_bp_map(), Init_mp_attribute(), SSA::Insert_identity_assignment_4_loopexit(), OPT_REVISE_SSA::Insert_mu_and_chi_list_for_new_var(), STR_RED::Is_cvt_linear(), Its_ret_val_of_malloc(), ETABLE::LPRE_bottom_up_cr(), SSU::Make_diff_ssu_version(), RVI::Map_chi_list(), RVI::Map_mu_list(), RVI::Map_mu_node(), DCE::Mark_chinode_live(), DCE::Mark_statements_dead(), BITWISE_DCE::Mark_stmt_live(), ETABLE::New_temp_cr(), No_truncation_by_value_size(), REMOVE_EMPTY_WORKLIST::operator()(), SSA::Place_phi_node(), Primary_IV_preference(), CODEMAP::Print(), BITWISE_DCE::Print_node_usecnts(), BITWISE_DCE::Print_nodes_with_dead_bits(), Process_varfmt_for_cvt_io(), Proj_defstmt(), WOVP::Promote(), COPYPROP::Prop_const_init_scalar(), COPYPROP::Prop_ivar(), COPYPROP::Prop_var(), PRUNE_BOUND::Prune_boundary_sets(), BITWISE_DCE::Redundant_cvtl(), REGION_live_in_from_chi(), REGION_live_out_from_mu(), REGION_verify_bound(), Remap_aux_synonym(), SSU::Rename(), Rename_aux_id_list_to_bitpos(), DCE::Required_stmt(), RVI::RVI(), Safe_to_speculate(), IVR::Satisfy_primary_IV(), ETABLE::Save_replace_rhs_by_preg(), PRE_RVI_HOOKS::Setup_bitpos(), Simplify_Pointer(), Simplify_Pointer_Ver(), SSU::SPRE_candidate(), EXP_WORKLST::SPRE_perform_insert_delete(), ETABLE::Stmt_is_redundant(), Stores_proj_op_to_temp(), OPT_PU_POINTS_TO_SUMMARIZER::Summarize_points_to(), Transfer_alias_class_to_occ_and_aux(), U64_LOWER_class(), COMP_UNIT::U64_lower_cr(), LOCAL_CLSC::Update_alias(), OPT_REVISE_SSA::Update_chi_list_for_old_var(), IVR::Update_mp_pragma_list(), OPT_REVISE_SSA::Update_mu_and_chi_list(), OPT_REVISE_SSA::Update_phis(), SSA::Value_number(), and CODEREP::Verify_CODEMAP().

VER_STAB_ENTRY* OPT_STAB::Ver_stab_entry ( VER_ID  v  )  const [inline]

INT32 OPT_STAB::Lastidx ( void   )  const [inline]

INT32 OPT_STAB::Version ( AUX_ID  var  )  const [inline]

Definition at line 1040 of file opt_sym.h.

References aux_stab.

Referenced by Gen_name().

BB_LIST* OPT_STAB::Def_bbs ( AUX_ID  var  )  const [inline]

Definition at line 1041 of file opt_sym.h.

References aux_stab.

VER_LIST* OPT_STAB::Versions ( AUX_ID  var  )  const [inline]

Definition at line 1042 of file opt_sym.h.

References aux_stab.

STACK<CODEREP*>* OPT_STAB::Coderep ( AUX_ID  var  )  const [inline]

TY_IDX OPT_STAB::Ty ( AUX_ID  var  )  const [inline]

Definition at line 1045 of file opt_sym.h.

References aux_stab.

Referenced by Du_ty().

MTYPE OPT_STAB::Stype ( AUX_ID  var  )  const [inline]

Definition at line 1046 of file opt_sym.h.

References aux_stab.

Referenced by Compute_FSA_stmt_or_expr(), Du_stype(), Enter_ded_preg(), Enter_symbol(), and Identify_vsym().

INT64 OPT_STAB::Base_ofst ( AUX_ID  var  )  const [inline]

Definition at line 1047 of file opt_sym.h.

References aux_stab.

Referenced by ALIAS_CLASSIFICATION::Base_id(), and Du_base_ofst().

UINT8 OPT_STAB::Bit_size ( AUX_ID  var  )  const [inline]

UINT8 OPT_STAB::Bit_ofst ( AUX_ID  var  )  const [inline]

Definition at line 1049 of file opt_sym.h.

References aux_stab.

Referenced by Du_bit_size(), Make_st_group(), and Print_aux_entry().

INT64 OPT_STAB::St_ofst ( AUX_ID  var  )  const [inline]

ST* OPT_STAB::Base ( AUX_ID  var  )  const [inline]

Definition at line 1051 of file opt_sym.h.

References aux_stab.

Referenced by CODEMAP::Add_expr(), ALIAS_CLASSIFICATION::Base_id(), and Collect_nested_ref_info().

ST* OPT_STAB::St ( AUX_ID  var  )  const [inline]

Definition at line 1052 of file opt_sym.h.

References aux_stab.

Referenced by VALNUM_FRE::_ivc_classify(), CODEMAP::Add_expr(), ML_WHIRL_EMITTER::Build_loop_info(), Collect_nested_ref_info(), IVR::Convert_all_ivs(), Convert_EH_pragmas(), CR_st(), OPT_TAIL::Create_top_label(), SSA::Du2cr(), Enter_ded_preg(), STMTREP::Enter_lhs(), Enter_symbol(), OPT_TAIL::Exit_is_well_behaved(), CODEMAP::Expand_expr(), Find_Based_Pointer(), Find_doloop_init_stmt(), OPT_REVISE_SSA::Find_scalars_from_lda_iloads(), OPT_REVISE_SSA::Find_scalars_from_lda_indirects(), OPT_REVISE_SSA::Find_scalars_from_lowering_bitfld(), OPT_REVISE_SSA::Find_scalars_from_lowering_bitfld_cr(), Fix_do_loop(), OPT_TAIL::Fixup_exit(), Gen_stmt_wn(), Generate_call_mu_chi_by_ref(), SSA::Get_zero_version_CR(), OPT_REVISE_SSA::Insert_mu_and_chi_list_for_new_var(), COPYPROP::Invertible_occurrences(), COPYPROP::Is_function_of_itself(), CODEREP::Is_non_volatile_terminal(), CODEREP::Is_rvi_const_candidate(), CODEREP::Is_rvi_lda_candidate(), ETABLE::LPRE_bottom_up_cr(), BITWISE_DCE::Make_bb_live(), Make_st_group(), Print_aux_entry(), COPYPROP::Prop_var(), COPYPROP::Propagatable(), CODEREP::Propagatable_for_ivr(), COPYPROP::Propagatable_thru_phis(), Raise_whiledo_stmt_to_doloop(), REGION_live_in_from_chi(), REGION_live_out_from_mu(), Rehash_tree_rec(), EXP_WORKLST::Remove_if_saved_to_preg(), DSE::Required_istore(), DSE::Required_stid(), DCE::Required_store(), IVR::Reset_dont_prop(), CODEREP::Rvi_home_wn(), CFG::Screen_cand(), OPT_PU_POINTS_TO_SUMMARIZER::Summarize_points_to(), OPT_REVISE_SSA::Update_chi_list_for_old_var(), IVR::Update_mp_pragma_list(), OPT_REVISE_SSA::Update_phis(), PRUNE_BOUND::Useset_expr(), Valid_doloop_condition(), SSA::Value_number(), COPYPROP::Var_has_as_value_on_the_other_path(), Var_is_loop_index(), CODEREP::Var_type_conversion(), and STMTREP::Verify_CODEMAP().

const char* OPT_STAB::St_name ( AUX_ID  var  )  const [inline]

Definition at line 1053 of file opt_sym.h.

References aux_stab.

Referenced by Generate_call_mu_chi_by_ref(), and Print_aux_entry().

BOOL OPT_STAB::Unique_vsym ( AUX_ID  var  )  const [inline]

void OPT_STAB::Init_mp_attribute ( void   ) 

BOOL OPT_STAB::Mp_shared ( AUX_ID  var  )  const [inline]

Definition at line 1056 of file opt_sym.h.

References aux_stab.

void OPT_STAB::Reset_mp_shared ( AUX_ID  var  )  [inline]

Definition at line 1057 of file opt_sym.h.

References aux_stab.

Referenced by IVR::Preprocess_mp_pragma_list().

BOOL OPT_STAB::Mp_lastlocal ( AUX_ID  var  )  const [inline]

Definition at line 1058 of file opt_sym.h.

References aux_stab.

void OPT_STAB::Set_mp_lastlocal ( AUX_ID  var  )  [inline]

Definition at line 1059 of file opt_sym.h.

References aux_stab.

Referenced by IVR::Preprocess_mp_pragma_list().

void OPT_STAB::Set_mp_firstprivate ( AUX_ID  var  )  [inline]

Definition at line 1060 of file opt_sym.h.

References aux_stab.

Referenced by IVR::Preprocess_mp_pragma_list().

BOOL OPT_STAB::Mp_reduction ( AUX_ID  var  )  const [inline]

Definition at line 1061 of file opt_sym.h.

References aux_stab.

void OPT_STAB::Set_mp_reduction ( AUX_ID  var  )  [inline]

Definition at line 1062 of file opt_sym.h.

References aux_stab.

Referenced by IVR::Preprocess_mp_pragma_list().

void OPT_STAB::Reset_mp_reduction ( AUX_ID  var  )  [inline]

Definition at line 1063 of file opt_sym.h.

References aux_stab.

BOOL OPT_STAB::Lda_vsym ( AUX_ID  var  )  const [inline]

Definition at line 1064 of file opt_sym.h.

References aux_stab.

Referenced by Has_read_only_parm(), and CODEMAP::Print().

BOOL OPT_STAB::Special_vsym ( AUX_ID  var  )  const [inline]

Definition at line 1065 of file opt_sym.h.

References aux_stab.

Referenced by SSA::Find_zero_versions(), and DSE::Set_Required_CHI().

UINT16 OPT_STAB::Field_id ( AUX_ID  var  )  const [inline]

Definition at line 1067 of file opt_sym.h.

References aux_stab.

Referenced by CODEMAP::Iload_folded().

POINTS_TO* OPT_STAB::Points_to ( AUX_ID  var  )  const [inline]

void OPT_STAB::Set_version ( AUX_ID  var,
UINT32  version 
) [inline]

Definition at line 1070 of file opt_sym.h.

References aux_stab.

Referenced by Gen_name().

CODEREP* OPT_STAB::Zero_cr ( AUX_ID  var  )  const [inline]

Definition at line 1072 of file opt_sym.h.

References aux_stab.

Referenced by SSA::Get_zero_version_CR().

void OPT_STAB::Set_zero_cr ( AUX_ID  var,
CODEREP p 
) [inline]

Definition at line 1073 of file opt_sym.h.

References aux_stab.

Referenced by SSA::Get_zero_version_CR().

void OPT_STAB::Push_coderep ( AUX_ID  var,
CODEREP cr 
) [inline]

INT32 OPT_STAB::Stack_elements ( AUX_ID  var  )  [inline]

Definition at line 1078 of file opt_sym.h.

References Coderep(), and STACK< T >::Elements().

Referenced by Check_stack().

CODEREP* OPT_STAB::Top_coderep ( AUX_ID  var  )  const [inline]

CODEREP* OPT_STAB::Top_nth_coderep ( AUX_ID  var,
INT32  n 
) const [inline]

Definition at line 1080 of file opt_sym.h.

References Coderep(), and STACK< T >::Top_nth().

Referenced by CODEMAP::Add_idef(), and Among_top_nth_coderep().

CODEREP* OPT_STAB::Pop_coderep ( AUX_ID  var  )  [inline]

BOOL OPT_STAB::NULL_coderep ( AUX_ID  var  )  const [inline]

INT32 OPT_STAB::Elements_coderep ( AUX_ID  var  )  const [inline]

Definition at line 1083 of file opt_sym.h.

References Coderep(), and STACK< T >::Elements().

STACK<VER_ID>* OPT_STAB::Stack ( AUX_ID  var  )  const [inline]

AUX_ID OPT_STAB::Du_aux_id ( VER_ID  du  )  const [inline]

INT32 OPT_STAB::Du_version ( VER_ID  du  )  const [inline]

Definition at line 1086 of file opt_sym.h.

References Ver_stab_entry(), and VER_STAB_ENTRY::Version().

Referenced by CODEMAP::Cur_def(), SSA::Du2cr(), and STMTREP::Enter_lhs().

TY_IDX OPT_STAB::Du_ty ( VER_ID  du  )  const [inline]

Definition at line 1087 of file opt_sym.h.

References Du_aux_id(), and Ty().

OPT_VAR_TYPE OPT_STAB::Du_stype ( VER_ID  du  )  const [inline]

Definition at line 1088 of file opt_sym.h.

References Du_aux_id(), and Stype().

INT64 OPT_STAB::Du_base_ofst ( VER_ID  du  )  const [inline]

Definition at line 1089 of file opt_sym.h.

References Base_ofst(), and Du_aux_id().

UINT8 OPT_STAB::Du_bit_size ( VER_ID  du  )  const [inline]

Definition at line 1090 of file opt_sym.h.

References Bit_ofst(), and Du_aux_id().

UINT8 OPT_STAB::Du_bit_ofst ( VER_ID  du  )  const [inline]

Definition at line 1091 of file opt_sym.h.

References Bit_size(), and Du_aux_id().

INT64 OPT_STAB::Du_st_ofst ( VER_ID  du  )  const [inline]

Definition at line 1092 of file opt_sym.h.

References Du_aux_id(), and St_ofst().

Referenced by SSA::Du2cr().

CODEREP* OPT_STAB::Du_coderep ( VER_ID  du  )  const [inline]

BOOL OPT_STAB::Du_any_use ( VER_ID  du  )  const [inline]

Definition at line 1094 of file opt_sym.h.

References VER_STAB_ENTRY::Any_use(), and Ver_stab_entry().

Referenced by Du_virtual_use(), and SSA::Value_number().

BOOL OPT_STAB::Du_real_use ( VER_ID  du  )  const [inline]

Definition at line 1095 of file opt_sym.h.

References VER_STAB_ENTRY::Real_use(), and Ver_stab_entry().

Referenced by Du_virtual_use().

BOOL OPT_STAB::Du_virtual_use ( VER_ID  du  )  const [inline]

Definition at line 1096 of file opt_sym.h.

References Du_any_use(), and Du_real_use().

BOOL OPT_STAB::Du_unique_vsym ( VER_ID  du  )  const [inline]

Definition at line 1097 of file opt_sym.h.

References Du_aux_id(), and Unique_vsym().

BOOL OPT_STAB::Du_zero_vers ( VER_ID  du  )  const [inline]

void OPT_STAB::Du_set_coderep ( VER_ID  du,
CODEREP cr 
) [inline]

BOOL OPT_STAB::Is_virtual ( AUX_ID  id  )  const [inline]

BOOL OPT_STAB::Is_real_var ( AUX_ID  id  )  const [inline]

BOOL OPT_STAB::Du_is_virtual ( VER_ID  du  )  const [inline]

Definition at line 1103 of file opt_sym.h.

References Du_aux_id(), and Is_virtual().

BOOL OPT_STAB::Is_volatile ( AUX_ID  id  )  const [inline]

BOOL OPT_STAB::Du_is_volatile ( VER_ID  du  )  const [inline]

Definition at line 1106 of file opt_sym.h.

References Du_aux_id(), and Is_volatile().

Referenced by CODEMAP::Cur_def(), SSA::Du2cr(), STMTREP::Enter_lhs(), and SSA::Get_zero_version_CR().

AUX_ID_LIST* OPT_STAB::Aux_id_list ( AUX_ID  id  )  const [inline]

Definition at line 1108 of file opt_sym.h.

References aux_stab.

Referenced by Generate_exit_mu(), Generate_mu_and_chi_list(), Update_iload_vsym(), and Update_istore_vsym().

REGION_LEVEL OPT_STAB::Rgn_level ( void   )  const [inline]

VER_ID OPT_STAB::Gen_name ( AUX_ID  var  ) 

VER_ID OPT_STAB::Gen_name_phi ( PHI_NODE phi  ) 

Definition at line 3284 of file opt_sym.cxx.

References PHI_NODE::Aux_id(), Gen_name(), and PHI_NODE::Set_result().

Referenced by SSA::Rename().

VER_ID OPT_STAB::Gen_name_chi ( CHI_NODE chi,
WN wn 
)

VER_ID OPT_STAB::Get_name ( AUX_ID  var  ) 

Definition at line 3310 of file opt_sym.cxx.

References Stack().

Referenced by SSA::Rename(), and SSA::Rename_rhs().

AUX_ID OPT_STAB::Enter_symbol ( OPERATOR  opr,
ST st,
INT64  ofst,
TY_IDX  wn_object_ty,
BOOL  is_volatile,
WN wn = NULL 
)

Definition at line 701 of file opt_sym.cxx.

References ALIAS_DUMP_FLAG, aux_stab, Aux_stab_entry(), BASE_IS_FIXED, BOOL, CLASS_VAR, AUX_STAB_ENTRY::Clear_flags(), Desc_type_byte_size(), Expand_ST_into_base_and_ofst(), FALSE, FLD_And_Offset_From_Field_Id(), FLD_bofst, FLD_bsize, FLD_type, fprintf(), Get_mtype_class(), Get_Trace(), idx, POINTS_TO::Init(), INITV_kind(), INITV_ofst(), INITV_st(), Initv_Table, INITVKIND_SYMOFF, INT32, INT64, Is_real_var(), Is_True, Is_virtual(), Is_volatile(), ST_CHAIN_INFO::List_head(), mtype, MTYPE_BS, MTYPE_M, MTYPE_size_min, MTYPE_UNKNOWN, DYN_ARRAY< T >::Newidx(), NULL, OPERATOR_is_scalar_store(), OPR_LDA, OPR_LDBITS, OPR_LDID, OPR_STBITS, OPR_STID, AUX_STAB_ENTRY::Points_to(), SCLASS_PSTATIC, SCLASS_REG, AUX_STAB_ENTRY::Set_aux_id_list(), AUX_STAB_ENTRY::Set_base(), AUX_STAB_ENTRY::Set_base_byte_ofst(), AUX_STAB_ENTRY::Set_base_kind(), AUX_STAB_ENTRY::Set_bit_ofst_size(), AUX_STAB_ENTRY::Set_byte_size(), AUX_STAB_ENTRY::Set_const_init(), AUX_STAB_ENTRY::Set_def_bbs(), AUX_STAB_ENTRY::Set_dmod(), AUX_STAB_ENTRY::Set_field_id(), AUX_STAB_ENTRY::Set_has_nested_ref(), POINTS_TO::Set_hl_ty(), AUX_STAB_ENTRY::Set_home_sym(), ST_CHAIN_INFO::Set_list_head(), AUX_STAB_ENTRY::Set_mclass(), AUX_STAB_ENTRY::Set_mtype(), AUX_STAB_ENTRY::Set_no_register(), AUX_STAB_ENTRY::Set_nonzerophis(), AUX_STAB_ENTRY::Set_spre_node(), AUX_STAB_ENTRY::Set_st(), AUX_STAB_ENTRY::Set_st_group(), AUX_STAB_ENTRY::Set_st_ofst(), Set_ST_pt_to_unique_mem, AUX_STAB_ENTRY::Set_stype(), AUX_STAB_ENTRY::Set_synonym(), AUX_STAB_ENTRY::Set_ty(), AUX_STAB_ENTRY::Set_value_size(), AUX_STAB_ENTRY::Set_volatile(), AUX_STAB_ENTRY::Set_zero_cr(), St(), st_chain_map, ST_class, ST_has_initv(), ST_has_nested_ref, ST_is_const_initialized(), ST_is_initialized, ST_name, ST_sclass, ST_st_idx, St_Table, ST_type, strlen(), strncmp(), Stype(), sym, TFile, TP_GLOBOPT, TRUE, TY_is_volatile, TY_size, UINT, UINT32, UINT64, UINT8, VT_LDA_SCALAR, VT_LDA_VSYM, VT_NO_LDA_SCALAR, VT_OTHER, VT_SPECIAL_VSYM, VT_UNIQUE_VSYM, WN_bit_offset(), WN_bit_size(), WN_desc(), WN_field_id(), WN_hl_object_ty(), WN_rtype(), WN_ty(), and WOPT_Set_Unique_Pt.

Referenced by Convert_ST_to_AUX(), OPT_REVISE_SSA::Find_scalars_from_lda_iloads(), OPT_REVISE_SSA::Find_scalars_from_lda_indirects(), OPT_REVISE_SSA::Find_scalars_from_lowering_bitfld(), and OPT_REVISE_SSA::Find_scalars_from_lowering_bitfld_cr().

AUX_ID OPT_STAB::Enter_ded_preg ( ST st,
INT64  ofst,
TY_IDX  ty,
INT32  mclass 
)

AUX_ID OPT_STAB::Identify_vsym ( WN memop_wn  ) 

void OPT_STAB::Enter_du ( AUX_ID  du,
WN wn,
BB_NODE bb 
) [inline]

Definition at line 1128 of file opt_sym.h.

References VER_STAB_ENTRY::Set_stmt(), and Ver_stab_entry().

Referenced by SSA::Construct(), and SSA::Rename().

void OPT_STAB::Enter_du ( AUX_ID  du,
PHI_NODE phi,
BB_NODE bb 
) [inline]

Definition at line 1131 of file opt_sym.h.

References VER_STAB_ENTRY::Set_stmt(), and Ver_stab_entry().

void OPT_STAB::Enter_du ( AUX_ID  du,
CHI_NODE chi,
BB_NODE bb 
) [inline]

Definition at line 1134 of file opt_sym.h.

References VER_STAB_ENTRY::Set_stmt(), and Ver_stab_entry().

void OPT_STAB::Enter_du ( AUX_ID  du  )  [inline]

Definition at line 1137 of file opt_sym.h.

References ENTRY_STMT, VER_STAB_ENTRY::Set_type(), and Ver_stab_entry().

void OPT_STAB::Delete_ver_pool ( void   )  [inline]

Definition at line 1140 of file opt_sym.h.

References _ver_pool, MEM_DUMP_FLAG, OPT_POOL_Delete, and OPT_POOL_Pop.

Referenced by SSA::Create_CODEMAP().

BOOL OPT_STAB::Addr_saved ( AUX_ID  idx  )  const [inline]

Definition at line 1151 of file opt_sym.h.

References _addr_saved, and BS_MemberP().

BOOL OPT_STAB::Addr_passed ( AUX_ID  idx  )  const [inline]

Definition at line 1152 of file opt_sym.h.

References _addr_passed, and BS_MemberP().

BOOL OPT_STAB::Addr_used_locally ( AUX_ID  idx  )  const [inline]

Definition at line 1153 of file opt_sym.h.

References _addr_used_locally, and BS_MemberP().

BOOL OPT_STAB::External ( AUX_ID  idx  )  const [inline]

Definition at line 1154 of file opt_sym.h.

References _external, and BS_MemberP().

BOOL OPT_STAB::Local_static ( AUX_ID  idx  )  const [inline]

Definition at line 1155 of file opt_sym.h.

References _local_static, and BS_MemberP().

Referenced by OPT_REVISE_SSA::Insert_mu_and_chi_list_for_new_var().

BOOL OPT_STAB::Dedicated ( AUX_ID  idx  )  const [inline]

Definition at line 1156 of file opt_sym.h.

References _dedicated, and BS_MemberP().

Referenced by SSA::Insert_identity_assignment_4_loopexit().

BOOL OPT_STAB::Ref_formal ( AUX_ID  idx  )  const [inline]

Definition at line 1157 of file opt_sym.h.

References _ref_formal, and BS_MemberP().

BOOL OPT_STAB::Named ( AUX_ID  idx  )  const [inline]

Definition at line 1158 of file opt_sym.h.

References _named, and BS_MemberP().

BOOL OPT_STAB::Const ( AUX_ID  idx  )  const [inline]

Definition at line 1159 of file opt_sym.h.

References _const, and BS_MemberP().

BOOL OPT_STAB::Unique_pt ( AUX_ID  idx  )  const [inline]

Definition at line 1160 of file opt_sym.h.

References _unique_pt, and BS_MemberP().

BOOL OPT_STAB::Call_by_value ( AUX_ID  idx  )  const [inline]

Definition at line 1162 of file opt_sym.h.

References _call_by_value, and BS_MemberP().

Referenced by ALIAS_RULE::Alias_Set_Call_By_Value().

BOOL OPT_STAB::Call_by_ref ( AUX_ID  idx  )  const [inline]

Definition at line 1163 of file opt_sym.h.

References _call_by_ref, and BS_MemberP().

Referenced by ALIAS_RULE::Alias_Set_Call_By_Ref().

BOOL OPT_STAB::Asm_alias ( AUX_ID  idx  )  const [inline]

Definition at line 1164 of file opt_sym.h.

References _asm_alias, and BS_MemberP().

Referenced by ALIAS_RULE::Alias_Set_Asm().

BOOL OPT_STAB::Weak_var ( AUX_ID  idx  )  const [inline]

Definition at line 1165 of file opt_sym.h.

References _weak_var, and BS_MemberP().

BOOL OPT_STAB::Weak_base ( AUX_ID  idx  )  const [inline]

Definition at line 1166 of file opt_sym.h.

References _weak_base, and BS_MemberP().

void OPT_STAB::Set_addr_saved ( AUX_ID  idx  )  [inline]

Definition at line 1168 of file opt_sym.h.

References _addr_saved, and BS_Union1D().

Referenced by Collect_ST_attr(), and Update_attr_cache().

void OPT_STAB::Set_addr_passed ( AUX_ID  idx  )  [inline]

Definition at line 1169 of file opt_sym.h.

References _addr_passed, and BS_Union1D().

Referenced by Collect_ST_attr(), and Update_attr_cache().

void OPT_STAB::Set_addr_used_locally ( AUX_ID  idx  )  [inline]

Definition at line 1170 of file opt_sym.h.

References _addr_used_locally, and BS_Union1D().

Referenced by Collect_ST_attr(), and Update_attr_cache().

void OPT_STAB::Set_external ( AUX_ID  idx  )  [inline]

Definition at line 1171 of file opt_sym.h.

References _external, and BS_Union1D().

Referenced by Collect_ST_attr(), and Update_attr_cache().

void OPT_STAB::Set_local_static ( AUX_ID  idx  )  [inline]

Definition at line 1172 of file opt_sym.h.

References _local_static, and BS_Union1D().

Referenced by Collect_ST_attr(), and Update_attr_cache().

void OPT_STAB::Set_dedicated ( AUX_ID  idx  )  [inline]

Definition at line 1173 of file opt_sym.h.

References _dedicated, and BS_Union1D().

Referenced by Collect_ST_attr(), and Update_attr_cache().

void OPT_STAB::Set_ref_formal ( AUX_ID  idx  )  [inline]

Definition at line 1174 of file opt_sym.h.

References _ref_formal, and BS_Union1D().

Referenced by Collect_ST_attr(), and Update_attr_cache().

void OPT_STAB::Set_named ( AUX_ID  idx  )  [inline]

Definition at line 1175 of file opt_sym.h.

References _named, and BS_Union1D().

Referenced by Collect_ST_attr(), and Update_attr_cache().

void OPT_STAB::Set_const ( AUX_ID  idx  )  [inline]

Definition at line 1176 of file opt_sym.h.

References _const, and BS_Union1D().

Referenced by Collect_ST_attr(), and Update_attr_cache().

void OPT_STAB::Reset_const ( AUX_ID  idx  )  [inline]

Definition at line 1177 of file opt_sym.h.

References _const, and BS_Difference1D().

void OPT_STAB::Set_unique_pt ( AUX_ID  idx  )  [inline]

Definition at line 1178 of file opt_sym.h.

References _unique_pt, and BS_Union1D().

Referenced by Collect_ST_attr().

void OPT_STAB::Set_virtual_var ( AUX_ID  idx  )  [inline]

Definition at line 1179 of file opt_sym.h.

References _virtual_var, and BS_Union1D().

Referenced by Collect_ST_attr(), Update_alias_set_with_virtual_var(), and Update_attr_cache().

void OPT_STAB::Set_weak_var ( AUX_ID  idx  )  [inline]

Definition at line 1180 of file opt_sym.h.

References _weak_var, and BS_Union1D().

Referenced by Collect_ST_attr(), and Update_attr_cache().

void OPT_STAB::Set_weak_base ( AUX_ID  idx  )  [inline]

Definition at line 1181 of file opt_sym.h.

References _weak_base, and BS_Union1D().

Referenced by Collect_ST_attr().

BS* OPT_STAB::Addr_saved ( void   )  const [inline]

BS* OPT_STAB::Addr_passed ( void   )  const [inline]

BS* OPT_STAB::Addr_used_locally ( void   )  const [inline]

BS* OPT_STAB::External ( void   )  const [inline]

Definition at line 1186 of file opt_sym.h.

References _external.

Referenced by Collect_ST_attr(), Print_aux_entry(), and Update_alias_set_with_virtual_var().

BS* OPT_STAB::Local_static ( void   )  const [inline]

Definition at line 1187 of file opt_sym.h.

References _local_static.

Referenced by Generate_exit_mu(), and Update_return_mu().

BS* OPT_STAB::Dedicated ( void   )  const [inline]

Definition at line 1188 of file opt_sym.h.

References _dedicated.

Referenced by Collect_ST_attr(), and Transfer_alias_class_to_occ_and_aux().

BS* OPT_STAB::Ref_formal ( void   )  const [inline]

Definition at line 1189 of file opt_sym.h.

References _ref_formal.

Referenced by Print_aux_entry().

BS* OPT_STAB::Named ( void   )  const [inline]

Definition at line 1190 of file opt_sym.h.

References _named.

Referenced by Collect_ST_attr().

BS* OPT_STAB::Const ( void   )  const [inline]

Definition at line 1191 of file opt_sym.h.

References _const.

Referenced by Collect_ST_attr().

BS* OPT_STAB::Unique_pt ( void   )  const [inline]

Definition at line 1192 of file opt_sym.h.

References _unique_pt.

BS* OPT_STAB::Indirect ( void   )  const [inline]

BS* OPT_STAB::Inaccessible_to_callees ( void   )  const [inline]

BS* OPT_STAB::Call_by_value ( void   )  const [inline]

Definition at line 1195 of file opt_sym.h.

References _call_by_value.

Referenced by Update_alias_set_with_virtual_var().

BS* OPT_STAB::Call_by_ref ( void   )  const [inline]

Definition at line 1196 of file opt_sym.h.

References _call_by_ref.

Referenced by Update_alias_set_with_virtual_var().

BS* OPT_STAB::Virtual_var ( void   )  const [inline]

Definition at line 1197 of file opt_sym.h.

References _virtual_var.

Referenced by Generate_mu_and_chi_list(), and Update_alias_set_with_virtual_var().

BS* OPT_STAB::Weak_var ( void   )  const [inline]

Definition at line 1198 of file opt_sym.h.

References _weak_var.

Referenced by Collect_ST_attr().

BS* OPT_STAB::Weak_base ( void   )  const [inline]

Definition at line 1199 of file opt_sym.h.

References _weak_base.

Referenced by Generate_mu_and_chi_list().

BS* OPT_STAB::Asm_alias ( void   )  const [inline]

Definition at line 1200 of file opt_sym.h.

References _asm_alias.

Referenced by Update_alias_set_with_virtual_var().

void OPT_STAB::Set_addr_saved ( BS bs  )  [inline]

Definition at line 1202 of file opt_sym.h.

References _addr_saved.

void OPT_STAB::Set_addr_passed ( BS bs  )  [inline]

Definition at line 1203 of file opt_sym.h.

References _addr_passed.

void OPT_STAB::Set_addr_used_locally ( BS bs  )  [inline]

Definition at line 1204 of file opt_sym.h.

References _addr_used_locally.

void OPT_STAB::Set_external ( BS bs  )  [inline]

Definition at line 1205 of file opt_sym.h.

References _external.

void OPT_STAB::Set_local_static ( BS bs  )  [inline]

Definition at line 1206 of file opt_sym.h.

References _local_static.

void OPT_STAB::Set_dedicated ( BS bs  )  [inline]

Definition at line 1207 of file opt_sym.h.

References _dedicated.

void OPT_STAB::Set_ref_formal ( BS bs  )  [inline]

Definition at line 1208 of file opt_sym.h.

References _ref_formal.

void OPT_STAB::Set_named ( BS bs  )  [inline]

Definition at line 1209 of file opt_sym.h.

References _named.

void OPT_STAB::Set_const ( BS bs  )  [inline]

Definition at line 1210 of file opt_sym.h.

References _const.

void OPT_STAB::Set_unique_pt ( BS bs  )  [inline]

Definition at line 1211 of file opt_sym.h.

References _unique_pt.

void OPT_STAB::Set_indirect ( BS bs  )  [inline]

Definition at line 1212 of file opt_sym.h.

References _indirect.

Referenced by Collect_ST_attr(), and Update_alias_set_with_virtual_var().

void OPT_STAB::Set_inaccessible_to_callees ( BS bs  )  [inline]

void OPT_STAB::Set_call_by_value ( BS bs  )  [inline]

Definition at line 1214 of file opt_sym.h.

References _call_by_value.

Referenced by Collect_ST_attr(), and Update_alias_set_with_virtual_var().

void OPT_STAB::Set_call_by_ref ( BS bs  )  [inline]

Definition at line 1215 of file opt_sym.h.

References _call_by_ref.

Referenced by Collect_ST_attr(), and Update_alias_set_with_virtual_var().

void OPT_STAB::Set_virtual_var ( BS bs  )  [inline]

Definition at line 1216 of file opt_sym.h.

References _virtual_var.

void OPT_STAB::Set_weak_var ( BS bs  )  [inline]

Definition at line 1217 of file opt_sym.h.

References _weak_var.

void OPT_STAB::Set_weak_base ( BS bs  )  [inline]

Definition at line 1218 of file opt_sym.h.

References _weak_base.

void OPT_STAB::Set_asm_alias ( BS bs  )  [inline]

Definition at line 1219 of file opt_sym.h.

References _asm_alias.

Referenced by Collect_ST_attr(), and Update_alias_set_with_virtual_var().

WN_MAP OPT_STAB::WN_sym_map ( void   )  const [inline]

WN_MAP OPT_STAB::WN_box_refs ( void   )  const [inline]

Definition at line 1224 of file opt_sym.h.

References _wn_box_refs.

Referenced by Add_black_box_ref(), Black_box_refs(), and ~OPT_STAB().

WN_MAP OPT_STAB::WN_box_defs ( void   )  const [inline]

Definition at line 1225 of file opt_sym.h.

References _wn_box_defs.

Referenced by Add_black_box_def(), Black_box_defs(), and ~OPT_STAB().

void OPT_STAB::Set_WN_sym_map ( WN_MAP  wnm  )  [inline]

Definition at line 1226 of file opt_sym.h.

References _wn_sym_map.

Referenced by OPT_STAB().

void OPT_STAB::Set_WN_box_refs ( WN_MAP  wnm  )  [inline]

Definition at line 1227 of file opt_sym.h.

References _wn_box_refs.

Referenced by OPT_STAB().

void OPT_STAB::Set_WN_box_defs ( WN_MAP  wnm  )  [inline]

Definition at line 1228 of file opt_sym.h.

References _wn_box_defs.

Referenced by OPT_STAB().

AUX_ID OPT_STAB::Default_vsym ( void   )  const [inline]

void OPT_STAB::Set_default_vsym ( AUX_ID  vsym  )  [inline]

Definition at line 1234 of file opt_sym.h.

References _default_vsym.

Referenced by Adjust_vsym(), OPT_REVISE_SSA::Get_new_occ(), and Identify_vsym().

AUX_ID OPT_STAB::Return_vsym ( void   )  const [inline]

void OPT_STAB::Set_return_vsym ( AUX_ID  vsym  )  [inline]

Definition at line 1237 of file opt_sym.h.

References _return_vsym.

Referenced by Create().

OPT_PHASE OPT_STAB::Phase ( void   )  const [inline]

POINTS_TO_LIST * OPT_STAB::Black_box_refs ( const WN wn  )  const

Definition at line 3321 of file opt_sym.cxx.

References WN_box_refs(), and WN_MAP_Get.

Referenced by Add_black_box_ref(), and Compute_black_box_mu_chi().

POINTS_TO_LIST * OPT_STAB::Black_box_defs ( const WN wn  )  const

Definition at line 3328 of file opt_sym.cxx.

References WN_box_defs(), and WN_MAP_Get.

Referenced by Add_black_box_def(), and Compute_black_box_mu_chi().

void OPT_STAB::Add_black_box_ref ( WN wn,
POINTS_TO ref 
) const

void OPT_STAB::Add_black_box_def ( WN wn,
POINTS_TO def 
) const

BOOL OPT_STAB::FFA ( void   )  const [inline]

Definition at line 1252 of file opt_sym.h.

References _flow_free_analysis.

Referenced by Simplify_Pointer().

BOOL OPT_STAB::FSA ( void   )  const [inline]

Definition at line 1253 of file opt_sym.h.

References _flow_free_analysis.

Referenced by Analyze_Based_Pointer(), Find_Based_Pointer(), and Simplify_Pointer().

void OPT_STAB::Set_FFA ( void   )  [inline]

Definition at line 1254 of file opt_sym.h.

References _flow_free_analysis, and TRUE.

Referenced by Compute_FFA(), and Compute_FFA_for_copy().

void OPT_STAB::Set_FSA ( void   )  [inline]

Definition at line 1255 of file opt_sym.h.

References _flow_free_analysis, and FALSE.

Referenced by Compute_FSA().

BOOL OPT_STAB::Transfer_alias_class_to_occ_and_aux ( RID rid,
WN wn 
)

Definition at line 3367 of file opt_alias_analysis.cxx.

References ALIAS_CLASSIFICATION::Alias_class(), POINTS_TO::Alias_class(), Alias_classification(), ALIAS_DUMP_FLAG, CHI_NODE::Aux_id(), OCC_TAB_ENTRY::Aux_id(), MU_NODE::Aux_id(), aux_stab, Aux_stab_entry(), POINTS_TO::Base(), BASE_IS_FIXED, POINTS_TO::Base_kind(), BOOL, BS_Union1D(), POINTS_TO::Byte_Ofst(), CLASS_FUNC, cnode, Dedicated(), DevWarn, FALSE, fdump_tree_no_st(), FmtAssert, fprintf(), Get_occ(), Get_stmt_chi_list(), Get_stmt_mu_list(), Get_Trace(), SLIST::Head(), i, Inaccessible_to_callees(), INT, INT32, POINTS_TO::Ip_alias_class(), Is_True, Is_virtual(), Lmt_DevWarn, POINTS_TO::Meet_info_from_alias_class(), mINT64, SLIST_NODE::Next(), NULL, OFST_IS_FIXED, POINTS_TO::Ofst_kind(), OPCODE_is_black_box(), OPCODE_is_load(), OPCODE_is_store(), OPCODE_operator(), OPERATOR_is_scalar_load(), OPERATOR_is_scalar_store(), MU_NODE::Opnd(), CHI_NODE::Opnd(), OPR_ILOAD, OPR_INTCONST, OPR_INTRINSIC_CALL, OPR_INTRINSIC_OP, OPR_ISTORE, OPR_LDA, OPR_PARM, OPTIMISTIC_AC_ID, PESSIMISTIC_AC_ID, OCC_TAB_ENTRY::Points_to(), Points_to(), AUX_STAB_ENTRY::Points_to(), REGION_has_black_regions(), SLIST::Remove(), CHI_NODE::Result(), Rule(), POINTS_TO::Set_alias_class(), POINTS_TO::Set_byte_ofst(), POINTS_TO::Set_byte_size(), Set_inaccessible_to_callees(), POINTS_TO::Set_ip_alias_class(), POINTS_TO::Set_local(), POINTS_TO::Set_not_alloca_mem(), Simplify_Pointer(), ST_class, TFile, TP_GLOBOPT, TRUE, UINT, POINTS_TO::Unique_pt(), Ver_stab_entry(), WN_aux(), WN_const_val(), WN_intrinsic(), WN_kid(), WN_kid0(), WN_kid_count(), WN_MAP32_Get, WN_MAP_ALIAS_CLASS, WN_opcode(), WN_operator(), WN_Parm_By_Reference, WOPT_Alias_Class_Limit, WOPT_Enable_Alias_Classification, WOPT_Enable_Debug_Inconsistent_Ip_Class, WOPT_Enable_Tail_Recur, WOPT_Ip_Alias_Class_Limit, and ALIAS_CLASSIFICATION::Writable_by_call().

Referenced by Compute_FFA().

void OPT_STAB::Compute_FFA ( RID rid  ) 

void OPT_STAB::Compute_FFA_for_copy ( WN wn,
BB_NODE bb,
BOOL  complete_list 
)

void OPT_STAB::Compute_FSA ( void   ) 

void OPT_STAB::Remap_ver_synonym ( WN wn  ) 

WN * OPT_STAB::Create_entry_chi_stmt ( BB_NODE bb  ) 

void OPT_STAB::Analyze_Range ( WN wn_arr,
POINTS_TO pt 
)

ID_MAP<ST_CHAIN_INFO *, ST_IDX>* OPT_STAB::St_chain_map ( void   )  const [inline]

POINTS_TO* OPT_STAB::Points_to_globals ( void   )  const [inline]

Definition at line 1275 of file opt_sym.h.

References _points_to_globals.

Referenced by OPT_STAB(), and STMTREP::Points_to().

void OPT_STAB::Set_points_to_globals ( POINTS_TO pt  )  [inline]

Definition at line 1277 of file opt_sym.h.

References _points_to_globals.

Referenced by OPT_STAB().

void OPT_STAB::Simplify_Pointer_Ver ( VER_ID  ver,
POINTS_TO ai 
)

Definition at line 515 of file opt_alias_analysis.cxx.

References _ver_pool, ALIAS_DUMP_FLAG, VER_STAB_ENTRY::Aux_id(), Aux_stab_entry(), BASE_IS_DYNAMIC, BASE_IS_UNKNOWN, POINTS_TO::Base_kind(), VER_STAB_ENTRY::Bb(), CHECK_POINTS_TO, VER_STAB_ENTRY::Chi(), CHI_STMT, VER_STAB_ENTRY::Chi_wn(), CLASS_PREG, POINTS_TO::Copy_fully(), CXX_NEW, BB_NODE::Dominates(), ENTRY_STMT, EXPR_IS_ADDR, EXPR_IS_ANY, EXPR_IS_BEING_PROCESSED, EXPR_IS_UNKNOWN, POINTS_TO::Expr_kind(), FmtAssert, FOR_ALL_ELEM, fprintf(), Get_occ(), Get_Trace(), PT_MEM_ANNOT::Has_annotation(), i, BB_NODE::Id(), Init, POINTS_TO::Init(), INT32, POINTS_TO::Invalidate_ptr_info(), Is_volatile(), Its_ret_val_of_malloc(), SLIST_NODE::Len(), POINTS_TO::Meet(), POINTS_TO::Mem_annot(), NULL, OFST_IS_FIXED, OFST_IS_UNKNOWN, POINTS_TO::Ofst_kind(), OPERATOR_is_scalar_istore(), PHI_NODE::Opnd(), CHI_NODE::Opnd(), OPR_CALL, OPR_STID, VER_STAB_ENTRY::Phi(), PHI_STMT, VER_STAB_ENTRY::Points_to(), OCC_TAB_ENTRY::Points_to(), Points_to(), AUX_STAB_ENTRY::Points_to(), BB_NODE::Pred(), POINTS_TO::Print(), pt, ptr, POINTS_TO::Reset_attr(), Rule(), POINTS_TO::Set_base(), POINTS_TO::Set_base_kind(), POINTS_TO::Set_bit_ofst_size(), POINTS_TO::Set_byte_ofst(), POINTS_TO::Set_byte_size(), POINTS_TO::Set_expr_kind(), POINTS_TO::Set_global(), POINTS_TO::Set_iofst_kind(), POINTS_TO::Set_malloc_id(), POINTS_TO::Set_ofst_kind(), POINTS_TO::Set_pointer(), POINTS_TO::Set_pointer_as_aux_id(), POINTS_TO::Set_pointer_ver(), VER_STAB_ENTRY::Set_points_to(), Simplify_Pointer(), AUX_STAB_ENTRY::St(), ST_class, TFile, TP_GLOBOPT, VER_STAB_ENTRY::Type(), Ver_stab_entry(), Warn_todo(), WHIRL_STMT, VER_STAB_ENTRY::Wn(), WN_kid0(), WN_linenum(), WN_operator(), WOPT_Enable_Pt_Keep_Track_Ptr, and WOPT_Enable_Pt_Summary.

Referenced by Simplify_Pointer(), and OPT_PU_POINTS_TO_SUMMARIZER::Summarize_points_to().

void OPT_STAB::Simplify_Pointer_Arith ( WN wn,
POINTS_TO ai 
)

void OPT_STAB::Simplify_Pointer ( WN wn_addr,
POINTS_TO ai 
)

void OPT_STAB::Lower_to_base ( POINTS_TO ,
WN  
)

void OPT_STAB::Analyze_Base_Flow_Free ( POINTS_TO pt,
WN wn 
)

void OPT_STAB::Analyze_Base_Flow_Sensitive ( POINTS_TO pt,
WN wn 
)

void OPT_STAB::Update_iload_vsym ( OCC_TAB_ENTRY occ  ) 

void OPT_STAB::Update_istore_vsym ( OCC_TAB_ENTRY occ  ) 

void OPT_STAB::Update_return_mu ( void   ) 

ST * OPT_STAB::Find_Based_Pointer ( WN wn,
INT depth 
)

void OPT_STAB::Analyze_Based_Pointer ( POINTS_TO pt,
WN addr_wn 
)

AUX_ID OPT_STAB::Adjust_vsym ( AUX_ID  vp_idx,
OCC_TAB_ENTRY occ 
)

void OPT_STAB::Init_last_preg ( const IDTYPE  preg  )  [inline]

Definition at line 1317 of file opt_sym.h.

References _last_preg_num, and _orig_last_preg.

Referenced by Create().

IDTYPE OPT_STAB::Alloc_preg ( TYPE_ID  mtype,
const char *  name = NULL,
WN home_wn = NULL 
) [inline]

IDTYPE OPT_STAB::Last_preg ( void   )  const [inline]

Definition at line 1330 of file opt_sym.h.

References _last_preg_num.

BOOL OPT_STAB::Is_up_level_var ( ST st  )  const [inline]

Definition at line 1333 of file opt_sym.h.

References CLASS_VAR, CURRENT_SYMTAB, GLOBAL_SYMTAB, ST_level, and ST_sym_class().

Referenced by CODEMAP::Add_expr(), and Compute_region_mu_chi().

void OPT_STAB::Print_aux_entry ( AUX_ID  i,
FILE fp = stderr 
)

void OPT_STAB::Print_alias_info ( FILE fp = stderr  ) 

void OPT_STAB::Print_top_nth_coderep ( AUX_ID  i,
INT  n,
FILE fp = stderr 
)

OCC_TAB_ENTRY * OPT_STAB::Enter_occ_tab ( WN wn,
AUX_ID  aux_id 
)

OCC_TAB_ENTRY * OPT_STAB::Get_occ ( const WN wn  )  const

CHI_LIST * OPT_STAB::Get_mem_chi_list ( const WN wn  )  const

MU_NODE * OPT_STAB::Get_mem_mu_node ( const WN wn  )  const

CHI_LIST * OPT_STAB::Get_stmt_chi_list ( const WN wn  )  const

MU_LIST * OPT_STAB::Get_stmt_mu_list ( const WN wn  )  const

CHI_LIST * OPT_STAB::Get_generic_chi_list ( const WN wn  )  const

void OPT_STAB::Update_pf_list ( WN pref_wn,
STMTREP srep 
)

void OPT_STAB::Clear_itab_bitpos ( void   ) 

Definition at line 3512 of file opt_sym.cxx.

References aux_stab_iter, FOR_ALL_NODE, ILLEGAL_BP, Init, and Set_itab_bitpos().

Referenced by PRE_RVI_HOOKS::PRE_RVI_HOOKS().

void OPT_STAB::Set_itab_bitpos ( AUX_ID  var,
IDX_32  bitpos 
) [inline]

Definition at line 1375 of file opt_sym.h.

References aux_stab.

Referenced by Clear_itab_bitpos(), and PRE_RVI_HOOKS::Setup_bitpos().

void OPT_STAB::Rename_aux_id_list_to_bitpos ( void   ) 

void OPT_STAB::Create_entry_chi ( void   ) 

void OPT_STAB::Compute_region_mu_chi ( WN wn,
RID rid,
BOOL  mu_and_chi,
BB_NODE bb 
)

void OPT_STAB::Reset_def_bbs ( void   ) 

Definition at line 3229 of file opt_sym.cxx.

References aux_stab, i, INT32, DYN_ARRAY< T >::Lastidx(), and NULL.

Referenced by SSU::Construct().

void OPT_STAB::Screen_rvi_candidates ( void   ) 

Referenced by Pre_Optimizer().

void OPT_STAB::Set_alias_classification ( ALIAS_CLASSIFICATION ac  )  [inline]

Definition at line 1393 of file opt_sym.h.

References _alias_classification.

Referenced by Pre_Optimizer().

ALIAS_CLASSIFICATION* OPT_STAB::Alias_classification ( void   )  const [inline]

MEMOP_ANNOT_CR_SR_MGR* OPT_STAB::Cr_sr_annot_mgr ( void   )  const [inline]

void OPT_STAB::Incorporate_alias_class_info ( void   ) 

void OPT_STAB::Convert_EH_pragmas ( WN wn  ) 

BOOL OPT_STAB::Safe_to_speculate ( AUX_ID  id  ) 

ST* OPT_STAB::St_ptr ( WN wn  )  const [inline]

Definition at line 1412 of file opt_sym.h.

References aux_stab, and WN_aux().

void OPT_STAB::Summarize_points_to ( void   ) 


Field Documentation

VER_STAB_ARRAY_TYPE* OPT_STAB::_ver_stab [private]

Definition at line 789 of file opt_sym.h.

Referenced by Create(), Gen_name(), and Ver_stab().

CFG* OPT_STAB::_cfg [private]

Definition at line 790 of file opt_sym.h.

Referenced by Cfg(), Compute_FFA(), Compute_FSA(), and Create().

Definition at line 791 of file opt_sym.h.

Referenced by Create().

const ALIAS_RULE* OPT_STAB::_rule [private]

Definition at line 792 of file opt_sym.h.

Referenced by Create(), and Rule().

WN* OPT_STAB::pu_wn [private]

Definition at line 793 of file opt_sym.h.

Referenced by Canonicalize(), Create(), and Pu().

Definition at line 797 of file opt_sym.h.

Referenced by Count_syms(), OPT_STAB(), Points_to_summarizer(), and Summarize_points_to().

Definition at line 798 of file opt_sym.h.

Referenced by Compute_region_mu_chi(), Convert_ST_to_AUX(), OPT_STAB(), and REGION_add_to_bound().

Definition at line 804 of file opt_sym.h.

Definition at line 806 of file opt_sym.h.

Referenced by Create(), Delete_ver_pool(), OPT_STAB(), Simplify_Pointer_Ver(), and Ver_pool().

Definition at line 807 of file opt_sym.h.

Referenced by Occ_pool(), OPT_STAB(), and ~OPT_STAB().

Definition at line 808 of file opt_sym.h.

Referenced by Count_syms(), Create(), Enter_ded_preg(), Make_st_group(), OPT_STAB(), and ~OPT_STAB().

Definition at line 809 of file opt_sym.h.

Definition at line 831 of file opt_sym.h.

Referenced by Init_last_preg().

Definition at line 832 of file opt_sym.h.

Referenced by Alloc_preg(), Init_last_preg(), and Last_preg().

Definition at line 834 of file opt_sym.h.

Referenced by Return_vsym(), and Set_return_vsym().

Definition at line 835 of file opt_sym.h.

Referenced by Create(), and Phase().

Definition at line 836 of file opt_sym.h.

Referenced by FFA(), FSA(), Set_FFA(), and Set_FSA().

Definition at line 837 of file opt_sym.h.

Referenced by Allow_sim_type(), and Create().

Definition at line 838 of file opt_sym.h.

Referenced by Count_syms(), Has_exc_handler(), and OPT_STAB().

Definition at line 839 of file opt_sym.h.

Referenced by Points_to_globals(), and Set_points_to_globals().

Definition at line 840 of file opt_sym.h.

Referenced by Create(), and Is_varargs_func().

Definition at line 883 of file opt_sym.h.

Referenced by Addr_saved(), and Set_addr_saved().

Definition at line 884 of file opt_sym.h.

Referenced by Addr_passed(), and Set_addr_passed().

Definition at line 885 of file opt_sym.h.

Referenced by Addr_used_locally(), and Set_addr_used_locally().

BS* OPT_STAB::_external [private]

Definition at line 886 of file opt_sym.h.

Referenced by External(), and Set_external().

Definition at line 887 of file opt_sym.h.

Referenced by Local_static(), and Set_local_static().

Definition at line 888 of file opt_sym.h.

Referenced by Dedicated(), and Set_dedicated().

Definition at line 889 of file opt_sym.h.

Referenced by Ref_formal(), and Set_ref_formal().

BS* OPT_STAB::_named [private]

Definition at line 890 of file opt_sym.h.

Referenced by Named(), and Set_named().

BS* OPT_STAB::_const [private]

Definition at line 891 of file opt_sym.h.

Referenced by Const(), Reset_const(), and Set_const().

Definition at line 892 of file opt_sym.h.

Referenced by Set_unique_pt(), and Unique_pt().

Definition at line 893 of file opt_sym.h.

Referenced by Set_virtual_var(), and Virtual_var().

BS* OPT_STAB::_weak_var [private]

Definition at line 894 of file opt_sym.h.

Referenced by Set_weak_var(), and Weak_var().

Definition at line 895 of file opt_sym.h.

Referenced by Set_weak_base(), and Weak_base().

Definition at line 897 of file opt_sym.h.

Referenced by Inaccessible_to_callees(), and Set_inaccessible_to_callees().

BS* OPT_STAB::_indirect [private]

Definition at line 899 of file opt_sym.h.

Referenced by Indirect(), and Set_indirect().

Definition at line 900 of file opt_sym.h.

Referenced by Call_by_value(), and Set_call_by_value().

Definition at line 901 of file opt_sym.h.

Referenced by Call_by_ref(), and Set_call_by_ref().

Definition at line 902 of file opt_sym.h.

Referenced by Asm_alias(), and Set_asm_alias().

Definition at line 910 of file opt_sym.h.

Referenced by Set_WN_sym_map(), and WN_sym_map().

Definition at line 911 of file opt_sym.h.

Referenced by Set_WN_box_refs(), and WN_box_refs().

Definition at line 912 of file opt_sym.h.

Referenced by Set_WN_box_defs(), and WN_box_defs().

Definition at line 917 of file opt_sym.h.

Referenced by Identify_vsym(), and OPT_STAB().

Definition at line 928 of file opt_sym.h.

Referenced by Create(), and Rgn_level().

Definition at line 933 of file opt_sym.h.

Referenced by Alias_classification(), Identify_vsym(), and Set_alias_classification().

Definition at line 934 of file opt_sym.h.

Referenced by Cr_sr_annot_mgr(), OPT_STAB(), and ~OPT_STAB().

Definition at line 936 of file opt_sym.h.

Referenced by Const_found(), Inc_const_found(), and OPT_STAB().


The documentation for this module was generated from the following files:

Generated on Wed Apr 8 16:58:47 2009 for Open64 by  doxygen 1.5.6