#include <opt_alias_class.h>

Definition at line 507 of file opt_alias_class.h.
| ALIAS_CLASSIFICATION::ALIAS_CLASSIFICATION | ( | OPT_STAB * | opt_stab, | |
| AC_DESTINATION | destination, | |||
| MEM_POOL * | pool | |||
| ) |
Definition at line 176 of file opt_alias_class.cxx.
References _base_id_map, _const_addr_class, ALIAS_CLASS_REP::_last_id_used, _member_of_global_class, _pool, ALIAS_CLASS_REP::_structure_not_frozen, _tracing, ALIAS_DUMP_FLAG, Get_Trace(), Global_class(), DYN_ARRAY< T >::Initidx(), MEM_DUMP_FLAG, New_alias_class(), New_alias_class_member(), OPT_POOL_Push, PESSIMISTIC_AC_ID, ALIAS_CLASS_REP::Set_class_pointed_to(), TP_GLOBOPT, and TRUE.
Definition at line 309 of file opt_alias_class.cxx.
References CLASS_BLOCK, CLASS_CONST, CLASS_PREG, CLASS_UNK, CLASS_VAR, Is_True, ST_class, and ST_of_wn().
Referenced by Finalize_ac_map_wn().
| ALIAS_CLASS_REP * ALIAS_CLASSIFICATION::Class_of_base_id_LDID | ( | IDTYPE | base_id | ) | const [private] |
Definition at line 648 of file opt_alias_class.cxx.
References Class_of_base_id_LDA(), and ALIAS_CLASS_REP::Class_pointed_to().
Referenced by Classify_deref_of_expr(), Classify_lhs_of_store(), Classify_memops(), Finalize_ac_map_wn(), Handle_assignment(), and Handle_call_of_nested_PU().
| ALIAS_CLASS_REP * ALIAS_CLASSIFICATION::Class_of_base_id_LDA | ( | IDTYPE | base_id | ) | const [private] |
Definition at line 641 of file opt_alias_class.cxx.
References _base_id_map.
Referenced by Class_of_base_id_LDID(), and Classify_deref_of_expr().
Definition at line 2065 of file opt_alias_class.cxx.
References _destination, AC_DESTINATION_ALIAS_MANAGER, Classify_deref_of_expr(), Dump_wn_tree(), FALSE, FmtAssert, fprintf(), Handle_assignment(), Handle_call(), INT, Is_True, NULL, opc, OPC_BLOCK, OPC_IO, OPC_REGION, OPCODE_is_black_box(), OPCODE_is_call(), OPCODE_is_expression(), OPCODE_is_store(), OPCODE_name(), Opt_stab(), REGION_get_rid(), RID_level, TFile, Tracing(), void, Warn_todo(), WN_first(), WN_kid(), WN_kid_count(), WN_next(), WN_opcode(), and WOPT_Enable_Verbose.
Referenced by Classify_memops().
| AC_PTR_OBJ_PAIR ALIAS_CLASSIFICATION::Classify_lhs_of_store | ( | WN * | stmt | ) | [private] |
Definition at line 1284 of file opt_alias_class.cxx.
References Class_of_base_id_LDID(), ALIAS_CLASS_REP::Class_pointed_to(), Classify_deref_of_expr(), FALSE, FmtAssert, fprintf(), Indir_classification_map(), AC_PTR_OBJ_PAIR::Obj_class(), OPERATOR_is_scalar_istore(), OPERATOR_is_scalar_store(), OPR_MSTORE, AC_PTR_OBJ_PAIR::Ref_class(), U_F_REP< ELEMENT_TYPE >::Representative(), AC_PTR_OBJ_PAIR::Set_obj_class(), AC_PTR_OBJ_PAIR::Set_ref_class(), TFile, Tracing(), TRUE, WN_base_id(), WN_kid1(), WN_MAP_Set, and WN_operator().
Referenced by Handle_assignment(), and Handle_call().
Definition at line 1317 of file opt_alias_class.cxx.
References Alias_Pointer_Types, CLASS_PREG, FALSE, KIND_POINTER, MTYPE_byte_size, MTYPE_is_boolean, MTYPE_is_complex, MTYPE_is_float, MTYPE_is_vector, MTYPE_is_void, OPR_ABS, OPR_BNOT, OPR_CEIL, OPR_FLOOR, OPR_ILDBITS, OPR_ILOAD, OPR_LDBITS, OPR_LDID, OPR_LNOT, OPR_MPY, OPR_NEG, OPR_RND, OPR_TRUNC, Pointer_Size, ST_class, ST_of_wn(), sym, TRUE, TY_kind, TYPE_ID, WN_bit_size(), WN_kid0(), WN_object_size(), WN_object_ty(), WN_operator(), WN_rtype(), and WOPT_Enable_Aggressive_Alias_Classification.
Referenced by Assignment_may_xfer_pointer(), and Classify_deref_of_expr().
| AC_PTR_OBJ_PAIR ALIAS_CLASSIFICATION::Classify_deref_of_expr | ( | WN * | expr, | |
| BOOL | expr_must_point | |||
| ) | [private] |
Definition at line 927 of file opt_alias_class.cxx.
References _alloca_memory_members, _destination, AC_DESTINATION_OPT_STAB, ALIAS_CLASS_MEMBER::Alias_class(), OPT_STAB::Aux_stab_entry(), Base_id(), BOOL, Class_of_base_id_LDA(), Class_of_base_id_LDID(), ALIAS_CLASS_REP::Class_pointed_to(), Const_addr_class(), Dump_wn(), Expr_may_contain_pointer(), FALSE, Find_declared_base_and_offset(), OPT_STAB::Find_sym_with_st_and_ofst(), FmtAssert, fprintf(), Global_class(), Indir_classification_map(), INITV_kind(), INITV_ofst(), INITV_st(), Initv_Table, INITVKIND_SYMOFF, INT, INT64, Is_fortran_reference_parm(), ALIAS_CLASS_REP::Is_pointer_class(), Is_True, Merge_conditional(), New_alias_class(), New_alias_class_member(), NULL, AC_PTR_OBJ_PAIR::Obj_class(), opc, Opcode_cannot_be_pointer_value(), OPCODE_is_leaf(), OPCODE_is_load(), OPCODE_operator(), OPERATOR_has_aux(), OPERATOR_is_scalar_iload(), OPR_ALLOCA, OPR_ARRAY, OPR_ILOADX, OPR_INTCONST, OPR_LDA, OPR_LDBITS, OPR_LDID, OPR_LDMA, OPR_MLOAD, OPR_PARM, Opt_stab(), ALIAS_CLASS_REP::Print(), Print(), ALIAS_CLASS_REP::Process_pending(), U_F_ELEMENT< ELEMENT_TYPE >::Put_in_set(), AC_PTR_OBJ_PAIR::Ref_class(), U_F_REP< ELEMENT_TYPE >::Representative(), ALIAS_CLASS_REP::Set_class_pointed_to(), AC_PTR_OBJ_PAIR::Set_obj_class(), AC_PTR_OBJ_PAIR::Set_ref_class(), AUX_STAB_ENTRY::St(), ST_has_initv(), ST_is_initialized, ST_st_idx, St_Table, TFile, Tracing(), TRUE, void, WN_aux(), WN_base_id(), WN_kid(), WN_kid0(), WN_kid_count(), WN_MAP_Set, WN_opcode(), WN_ty(), and WOPT_Enable_Verbose.
Referenced by Classify_lhs_of_store(), Classify_wn_and_kids(), Handle_assignment(), and Handle_call().
Definition at line 553 of file opt_alias_class.h.
References _collapsed_nested_references, and TRUE.
Referenced by Handle_call_of_nested_PU().
Definition at line 555 of file opt_alias_class.h.
References _collapsed_nested_references.
Referenced by Handle_call_of_nested_PU().
Definition at line 1376 of file opt_alias_class.cxx.
References Alias_Pointer_Types, Expr_may_contain_pointer(), FALSE, Is_True, KIND_ARRAY, KIND_POINTER, KIND_SCALAR, KIND_STRUCT, KIND_VOID, Pointer_Size, TRUE, TY_kind, WN_kid0(), WN_object_size(), WN_object_ty(), and WOPT_Enable_Aggressive_Alias_Classification.
Referenced by Handle_assignment(), and Handle_call().
Definition at line 1411 of file opt_alias_class.cxx.
References ALIAS_CLASS_MEMBER::Alias_class(), Assignment_may_xfer_pointer(), Class_of_base_id_LDID(), ALIAS_CLASS_REP::Class_pointed_to(), Classify_deref_of_expr(), Classify_lhs_of_store(), FALSE, fprintf(), Global_class(), Indir_classification_map(), Is_True, KIND_POINTER, Merge_conditional(), NULL, AC_PTR_OBJ_PAIR::Obj_class(), OPERATOR_is_scalar_istore(), OPERATOR_is_scalar_store(), OPR_MSTORE, OPR_STID, ALIAS_CLASS_REP::Print(), Print(), AC_PTR_OBJ_PAIR::Ref_class(), U_F_REP< ELEMENT_TYPE >::Representative(), TFile, Tracing(), TY_kind, void, WN_base_id(), WN_kid0(), WN_kid2(), WN_MAP_Get, WN_next(), WN_object_ty(), WN_operator(), and WOPT_Enable_Verbose.
Referenced by Classify_wn_and_kids().
Definition at line 1863 of file opt_alias_class.cxx.
References _alloca_memory_members, actual, Add_to_altered_non_points_to_parms(), ALIAS_CLASS_MEMBER::Alias_class(), Assignment_may_xfer_pointer(), Callee_changes_no_points_to(), Callee_returns_new_memory(), CLASS_FUNC, ALIAS_CLASS_REP::Class_pointed_to(), Classify_deref_of_expr(), Classify_lhs_of_store(), DevWarn, Dump_wn_tree(), FALSE, FmtAssert, fprintf(), Global_class(), Handle_call_of_nested_PU(), ALIAS_CLASS_REP::Is_pointer_class(), Is_True, KIND_POINTER, May_icall_nested_PU(), Merge_conditional(), New_alias_class(), New_alias_class_member(), NULL, AC_PTR_OBJ_PAIR::Obj_class(), opc, OPCODE_operator(), OPR_CALL, OPR_ICALL, OPR_INTRINSIC_CALL, OPR_LDA, OPR_LDMA, OPR_PARM, Print(), ALIAS_CLASS_REP::Process_pending(), PU_is_nested_func(), Pu_Table, AC_PTR_OBJ_PAIR::Ref_class(), U_F_REP< ELEMENT_TYPE >::Representative(), ALIAS_CLASS_REP::Set_class_pointed_to(), AC_PTR_OBJ_PAIR::Set_obj_class(), AC_PTR_OBJ_PAIR::Set_ref_class(), ST_class, ST_of_wn(), ST_pu(), Stmt_stores_return_value(), TFile, Tracing(), TRUE, TY_kind, UINT, Uses_no_return_value(), void, WN_intrinsic(), WN_is_alloca_intrinsic(), WN_kid(), WN_kid0(), WN_kid_count(), WN_next(), WN_object_ty(), WN_opcode(), WN_operator(), WN_st(), WN_ty(), and WOPT_Enable_Verbose.
Referenced by Classify_wn_and_kids().
Definition at line 1645 of file opt_alias_class.cxx.
References ACCESSED_ILOAD, ACCESSED_ISTORE, ACCESSED_LOAD, ACCESSED_STORE, ALIAS_CLASS_MEMBER::Alias_class(), Base_id(), Class_of_base_id_LDID(), ALIAS_CLASS_REP::Class_pointed_to(), Collapsed_nested_references(), CURRENT_SYMTAB, Expand_ST_into_base_and_ofst(), FALSE, fflush(), For_all(), fprintf(), Get_MP_accessed_id_list(), Global_class(), globals, INT64, ALIAS_CLASS_REP::Is_pointer_class(), Is_True, Merge_conditional(), MERGE_NEST_REF_CLASSES, New_alias_class(), New_alias_class_member(), NULL, Print_ST(), ALIAS_CLASS_REP::Process_pending(), read_class(), U_F_REP< ELEMENT_TYPE >::Representative(), Scope_tab, ALIAS_CLASS_REP::Set_class_pointed_to(), Set_collapsed_nested_references(), TFile, Tracing(), WN_first(), WN_next(), WN_pragma(), WN_PRAGMA_ACCESSED_ID, WN_pragma_arg2(), WN_st(), and WOPT_Enable_MP_varref.
Referenced by Handle_call().
Definition at line 1603 of file opt_alias_class.cxx.
References FALSE, Get_Current_PU, NULL, PU_uplevel, and TRUE.
Referenced by Handle_call().
Definition at line 1550 of file opt_alias_class.cxx.
References Callee_returns_new_memory(), FALSE, INTRN_F90_STACKTEMPALLOC, INTRN_U4I4ALLOCA, INTRN_U8I8ALLOCA, OPR_INTRINSIC_CALL, TRUE, WN_intrinsic(), and WN_operator().
Referenced by Handle_call().
| BOOL ALIAS_CLASSIFICATION::Callee_changes_no_points_to | ( | const WN * | call_wn, | |
| const WN * | parm_wn | |||
| ) | [private] |
Definition at line 1502 of file opt_alias_class.cxx.
References Callee_returns_new_memory(), FALSE, INTRN_has_no_side_effects(), KIND_POINTER, OPR_CALL, OPR_INTRINSIC_CALL, OPR_LDA, OPR_LDMA, ST_is_f90_target, ST_name, ST_of_wn(), strcmp(), TRUE, TY_is_f90_pointer, TY_kind, TY_pointed, WN_Call_Does_Mem_Free, WN_Call_Fortran_Pointer_Rule, WN_Call_Never_Return, WN_intrinsic(), WN_kid0(), WN_operator(), WN_st(), WN_ty(), and WOPT_Enable_Alias_Class_Fortran_Rule.
Referenced by Handle_call().
Definition at line 1569 of file opt_alias_class.cxx.
References FALSE, INTRN_U4I4ALLOCA, INTRN_U4I4MALLOC, INTRN_U8I8ALLOCA, INTRN_U8I8MALLOC, OPR_CALL, OPR_INTRINSIC_CALL, Pu_Table, ST_name, ST_pu(), strcmp(), TRUE, WN_Call_Does_Mem_Alloc, WN_intrinsic(), WN_operator(), WN_st(), and WOPT_Enable_Disambiguate_Heap_Obj.
Referenced by Callee_changes_no_points_to(), Handle_call(), and WN_is_alloca_intrinsic().
Definition at line 1483 of file opt_alias_class.cxx.
References OPCODE_is_store(), OPR_LDID, Preg_Is_Dedicated, SCLASS_REG, ST_of_wn(), ST_sclass, WN_kid0(), WN_offset(), WN_opcode(), and WN_operator().
Referenced by Finalize_ac_map(), and Handle_call().
Definition at line 571 of file opt_alias_class.h.
References _indir_classification_map.
Referenced by Classify_deref_of_expr(), Classify_lhs_of_store(), Finalize_ac_map_wn(), and Handle_assignment().
Definition at line 2234 of file opt_alias_class.cxx.
References _destination, AC_DESTINATION_ALIAS_MANAGER, Finalize_ac_map_wn(), FmtAssert, INT, Is_True, NULL, opc, OPC_BLOCK, OPC_REGION, OPCODE_is_black_box(), OPCODE_is_store(), OPCODE_operator(), Opt_stab(), REGION_get_rid(), RID_level, Stmt_stores_return_value(), WN_first(), WN_kid(), WN_kid_count(), WN_next(), and WN_opcode().
Referenced by Classify_memops().
Definition at line 2132 of file opt_alias_class.cxx.
References _ac_id_to_acr_map, _destination, AC_DESTINATION_OPT_STAB, POINTS_TO::Alias_class(), ALIAS_CLASS_MEMBER::Alias_class(), OPT_STAB::Aux_stab_entry(), Class_of_base_id_LDID(), DevWarn, Dump_wn(), Dump_wn_tree(), fflush(), fprintf(), Global_class(), ALIAS_CLASS_REP::Id(), Indir_classification_map(), Is_fortran_reference_parm(), Is_LDA_of_variable(), Is_True, Memop_classification_map(), NULL, opc, OPCODE_is_call(), OPCODE_is_load(), OPCODE_is_store(), OPCODE_operator(), OPERATOR_is_scalar_load(), OPERATOR_is_scalar_store(), OPR_LDA, OPR_LDMA, OPR_PARM, Opt_stab(), OPTIMISTIC_AC_ID, PESSIMISTIC_AC_ID, AUX_STAB_ENTRY::Points_to(), ALIAS_CLASS_REP::Print(), pt, POINTS_TO::Set_alias_class(), TFile, Tracing(), WN_aux(), WN_base_id(), WN_MAP32_Set, WN_MAP_Get, WN_opcode(), and WOPT_Alias_Class_Limit.
Referenced by Finalize_ac_map().
| ALIAS_CLASS_REP * ALIAS_CLASSIFICATION::New_alias_class | ( | ALIAS_CLASS_MEMBER * | acm | ) | [private] |
Definition at line 227 of file opt_alias_class.cxx.
References CXX_NEW, fprintf(), Global_class(), ALIAS_CLASS_REP::Id(), Pool(), ALIAS_CLASS_REP::Print(), U_F_ELEMENT< ELEMENT_TYPE >::Put_in_set(), TFile, Tracing(), and WOPT_Enable_Verbose.
Referenced by ALIAS_CLASSIFICATION(), Classify_deref_of_expr(), Handle_call(), Handle_call_of_nested_PU(), and New_base_id().
| ALIAS_CLASS_MEMBER * ALIAS_CLASSIFICATION::New_alias_class_member | ( | void | ) | [private] |
Definition at line 246 of file opt_alias_class.cxx.
References CXX_NEW, and Pool().
Referenced by ALIAS_CLASSIFICATION(), Classify_deref_of_expr(), Handle_call(), Handle_call_of_nested_PU(), and New_base_id().
| ALIAS_CLASS_MEMBER * ALIAS_CLASSIFICATION::New_alias_class_member | ( | IDTYPE | base_id | ) | [private] |
| ALIAS_CLASS_MEMBER * ALIAS_CLASSIFICATION::New_alias_class_member | ( | WN * | wn | ) | [private] |
| void ALIAS_CLASSIFICATION::Find_declared_base_and_offset | ( | ST_IDX | st_idx, | |
| ST_IDX & | declared_base_idx, | |||
| INT64 & | declared_offset | |||
| ) | [private] |
Definition at line 581 of file opt_alias_class.cxx.
References CLASS_BLOCK, ST_base_idx(), ST_class, ST_ofst, St_Table, STB_compiler_layout, and TRUE.
Referenced by Classify_deref_of_expr(), and WN_base_id().
Definition at line 370 of file opt_alias_class.cxx.
References _base_id_map, _st_idx_to_base_id_map, BOOL, CLASS_CONST, CLASS_FUNC, CLASS_NAME, CLASS_VAR, CURRENT_SYMTAB, CXX_NEW, FALSE, fprintf(), Get_Current_PU, Global_class(), Is_True, KIND_ARRAY, KIND_SCALAR, New_alias_class(), New_alias_class_member(), DYN_ARRAY< T >::Newidx(), NULL, Pool(), Print_ST(), PU_F77_LANG, PU_F90_LANG, PU_src_lang, U_F_ELEMENT< ELEMENT_TYPE >::Put_in_set(), SCLASS_AUTO, SCLASS_COMMON, SCLASS_DGLOBAL, SCLASS_EXTERN, SCLASS_FORMAL, SCLASS_FORMAL_REF, SCLASS_FSTATIC, SCLASS_PSTATIC, SCLASS_REG, SCLASS_UGLOBAL, SCLASS_UNKNOWN, ST_class, ST_IDX_level(), ST_sclass, ST_st_idx, ST_type, TFile, Tracing(), TRUE, TY_etype, TY_kind, UINT64, WOPT_Enable_Alias_Class_Fortran_Rule, and WOPT_Enable_Verbose.
Referenced by Base_id(), and ST_base_id().
Definition at line 533 of file opt_alias_class.cxx.
References _st_idx_to_base_id_map, New_base_id(), and ST_st_idx.
Referenced by Base_id().
Definition at line 571 of file opt_alias_class.cxx.
References OPT_STAB::Base(), OPT_STAB::Base_ofst(), INT64, and Opt_stab().
Referenced by Classify_deref_of_expr(), Classify_memops(), Handle_call_of_nested_PU(), and WN_base_id().
Definition at line 544 of file opt_alias_class.cxx.
References fprintf(), New_base_id(), Preg_num_base_id_map(), SCLASS_REG, ST_base_id(), ST_sclass, TFile, and Tracing().
Definition at line 605 of file opt_alias_class.cxx.
References _destination, AC_DESTINATION_ALIAS_MANAGER, AC_DESTINATION_OPT_STAB, Base_id(), Find_declared_base_and_offset(), INT64, Is_True, KIND_POINTER, OPR_LDA, OPR_LDMA, St_Table, TY_kind, TY_pointed, WN_aux(), WN_offset(), WN_operator(), WN_st_idx(), and WN_ty().
Referenced by Classify_deref_of_expr(), Classify_lhs_of_store(), Finalize_ac_map_wn(), and Handle_assignment().
Definition at line 591 of file opt_alias_class.h.
References _preg_num_base_id_map.
Referenced by Base_id(), and Classify_memops().
Definition at line 300 of file opt_alias_class.cxx.
References _destination, AC_DESTINATION_OPT_STAB, Opt_stab(), WN_aux(), and WN_st().
Referenced by Callee_changes_no_points_to(), Expr_may_contain_pointer(), Handle_call(), Is_LDA_of_variable(), and Stmt_stores_return_value().
Definition at line 596 of file opt_alias_class.h.
References _pool.
Referenced by Classify_memops(), New_alias_class(), New_alias_class_member(), and New_base_id().
| PENDING_LIST ALIAS_CLASSIFICATION::Alloc_pending | ( | ALIAS_CLASS_MEMBER * | mbr, | |
| PENDING_LIST | pdg | |||
| ) | [inline, private] |
Definition at line 602 of file opt_alias_class.h.
References _pending_list_home, and SLIST_RECYCLE_HOME< T >::Produce().
Referenced by ALIAS_CLASS_REP::Add_pending().
| PENDING_LIST ALIAS_CLASSIFICATION::Release_pending | ( | PENDING_LIST | pdg | ) | [inline, private] |
Definition at line 604 of file opt_alias_class.h.
References _pending_list_home, and SLIST_RECYCLE_HOME< T >::Receive().
Referenced by ALIAS_CLASS_REP::Process_pending().
| void ALIAS_CLASSIFICATION::Merge_conditional | ( | AC_PTR_OBJ_PAIR | lhs, | |
| AC_PTR_OBJ_PAIR | rhs | |||
| ) | [private] |
Definition at line 840 of file opt_alias_class.cxx.
References ALIAS_CLASS_REP::Add_pending(), FmtAssert, fprintf(), ALIAS_CLASS_REP::Join_object_class(), NULL, AC_PTR_OBJ_PAIR::Obj_class(), ALIAS_CLASS_REP::Print(), AC_PTR_OBJ_PAIR::Ref_class(), TFile, and Tracing().
Referenced by Classify_deref_of_expr(), Handle_assignment(), Handle_call(), and Handle_call_of_nested_PU().
| ALIAS_CLASS_REP* ALIAS_CLASSIFICATION::Global_class | ( | void | ) | const [inline, private] |
Definition at line 610 of file opt_alias_class.h.
References _member_of_global_class, and ALIAS_CLASS_MEMBER::Alias_class().
Referenced by ALIAS_CLASSIFICATION(), Classify_deref_of_expr(), Classify_memops(), Finalize_ac_map_wn(), Handle_assignment(), Handle_call(), Handle_call_of_nested_PU(), New_alias_class(), New_base_id(), and Print().
| ALIAS_CLASS_REP* ALIAS_CLASSIFICATION::Const_addr_class | ( | void | ) | const [inline, private] |
Definition at line 613 of file opt_alias_class.h.
References _const_addr_class.
Referenced by Classify_deref_of_expr().
Definition at line 616 of file opt_alias_class.h.
References _inaccessible_to_callees.
Referenced by Classify_memops().
Definition at line 619 of file opt_alias_class.h.
References _opt_stab.
Referenced by Base_id(), Classify_deref_of_expr(), Classify_memops(), Classify_wn_and_kids(), Finalize_ac_map(), Finalize_ac_map_wn(), and ST_of_wn().
Definition at line 621 of file opt_alias_class.h.
References _tracing.
Referenced by Base_id(), Classify_deref_of_expr(), Classify_lhs_of_store(), Classify_memops(), Classify_wn_and_kids(), Finalize_ac_map_wn(), Handle_assignment(), Handle_call(), Handle_call_of_nested_PU(), Merge_conditional(), New_alias_class(), and New_base_id().
Definition at line 623 of file opt_alias_class.h.
References _memop_classification_map.
Referenced by Alias_class(), Copy_alias_class(), Finalize_ac_map_wn(), and Release_resources().
Definition at line 626 of file opt_alias_class.h.
References _destination, AC_DESTINATION_OPT_STAB, fdump_tree(), and fdump_tree_no_st().
Referenced by Classify_memops(), Classify_wn_and_kids(), Finalize_ac_map_wn(), and Handle_call().
Definition at line 636 of file opt_alias_class.h.
References _destination, AC_DESTINATION_OPT_STAB, fdump_wn(), and fdump_wn_no_st().
Referenced by Classify_deref_of_expr(), and Finalize_ac_map_wn().
Definition at line 2516 of file opt_alias_class.cxx.
References _ac_id_to_acr_map, _alloca_memory_members, _altered_non_points_to_parms, _base_id_map, _mem_pool_valid, _memops_classified, _pool, _preg_num_base_id_map, _st_idx_to_base_id_map, FALSE, DYN_ARRAY< T >::Free_array(), MEM_DUMP_FLAG, Memop_classification_map(), NULL, OPT_POOL_Delete, OPT_POOL_Pop, and WN_MAP_Delete.
Referenced by Pre_Optimizer().
| void ALIAS_CLASSIFICATION::Add_to_altered_non_points_to_parms | ( | const ALIAS_CLASS_REP *const | acr | ) | [inline] |
Definition at line 651 of file opt_alias_class.h.
References _altered_non_points_to_parms, Is_True, NULL, and U_F_REP< ELEMENT_TYPE >::Representative().
Referenced by Handle_call().
| ALIAS_CLASS_MEMBER_LIST& ALIAS_CLASSIFICATION::Altered_non_points_to_parms | ( | void | ) | [inline] |
Definition at line 659 of file opt_alias_class.h.
References _altered_non_points_to_parms.
Referenced by Classify_memops().
Definition at line 662 of file opt_alias_class.h.
References _inaccessible_to_callees.
Referenced by Classify_memops().
Definition at line 2288 of file opt_alias_class.cxx.
References _ac_id_to_acr_map, _alloca_memory_members, _destination, _indir_classification_map, _memop_classification_map, _memops_classified, _st_idx_to_base_id_map, ALIAS_CLASS_REP::_structure_not_frozen, AC_DESTINATION_OPT_STAB, Altered_non_points_to_parms(), OPT_STAB::Aux_stab_entry(), aux_stab_iter, Base_id(), BS_Create_Empty(), BS_Print(), BS_Union1D(), Class_of_base_id_LDID(), Classify_wn_and_kids(), DBar, Dump_wn_tree(), FALSE, Finalize_ac_map(), FOR_ALL_NODE, fprintf(), Global_class(), Inaccessible_to_callees(), Init, AUX_STAB_ENTRY::Is_dedicated_preg(), NULL, Opt_stab(), p, Pool(), Preg_num_base_id_map(), Print(), Set_inaccessible_to_callees(), ALIAS_CLASS_REP::Set_writable_by_call(), AUX_STAB_ENTRY::St(), TFile, Tracing(), TRUE, WN_MAP32_Create, WN_MAP_Create, WN_MAP_Delete, and ALIAS_CLASS_REP::Writable_by_call().
Definition at line 2436 of file opt_alias_class.cxx.
References _mem_pool_valid, _memops_classified, FmtAssert, Is_True, Memop_classification_map(), OPCODE_is_load(), OPCODE_is_store(), OPR_LDA, OPR_LDMA, OPR_PARM, PESSIMISTIC_AC_ID, WN_MAP32_Get, WN_opcode(), and WN_operator().
Referenced by OPT_STAB::Allocate_mu_chi_and_virtual_var(), OPT_STAB::Identify_vsym(), ALIAS_MANAGER::Transfer_alias_class_to_alias_manager(), and OPT_STAB::Transfer_alias_class_to_occ_and_aux().
Definition at line 2457 of file opt_alias_class.cxx.
References _mem_pool_valid, _memops_classified, FmtAssert, Is_True, Memop_classification_map(), OPCODE_is_load(), OPCODE_is_store(), OPR_LDA, OPR_LDMA, OPR_PARM, WN_MAP32_Get, WN_MAP32_Set, WN_opcode(), and WN_operator().
Referenced by CFG::Conv_to_select(), Copy_addr_expr(), and CFG::Lower_if_stmt().
Definition at line 2475 of file opt_alias_class.cxx.
References _ac_id_to_acr_map, _mem_pool_valid, _memops_classified, ALIAS_CLASS_REP::Alloca_class(), FALSE, FmtAssert, NULL, OPTIMISTIC_AC_ID, and PESSIMISTIC_AC_ID.
Definition at line 2496 of file opt_alias_class.cxx.
References _ac_id_to_acr_map, _mem_pool_valid, _memops_classified, FmtAssert, NULL, OPTIMISTIC_AC_ID, PESSIMISTIC_AC_ID, TRUE, and ALIAS_CLASS_REP::Writable_by_call().
Referenced by OPT_STAB::Transfer_alias_class_to_occ_and_aux().
Definition at line 2542 of file opt_alias_class.cxx.
References _base_id_map, fprintf(), Global_class(), INT, DYN_ARRAY< T >::Lastidx(), NULL, and ALIAS_CLASS_REP::Print().
Referenced by Classify_deref_of_expr(), Classify_memops(), Handle_assignment(), and Handle_call().
friend class ALIAS_CLASS_REP [friend] |
Definition at line 508 of file opt_alias_class.h.
friend class MERGE_NEST_REF_CLASSES [friend] |
Definition at line 512 of file opt_alias_class.h.
Referenced by Classify_deref_of_expr(), Classify_memops(), Classify_wn_and_kids(), Dump_wn(), Dump_wn_tree(), Finalize_ac_map(), Finalize_ac_map_wn(), ST_of_wn(), and WN_base_id().
OPT_STAB* ALIAS_CLASSIFICATION::_opt_stab [private] |
Definition at line 514 of file opt_alias_class.h.
Referenced by Classify_memops(), New_base_id(), Release_resources(), and ST_base_id().
ID_MAP<const ALIAS_CLASS_REP *, IDTYPE> ALIAS_CLASSIFICATION::_ac_id_to_acr_map [private] |
Definition at line 515 of file opt_alias_class.h.
Referenced by Classify_memops(), Finalize_ac_map_wn(), Non_alloca_memop(), Release_resources(), and Writable_by_call().
DYN_ARRAY<BASE_ID_MAP_ENTRY *> ALIAS_CLASSIFICATION::_base_id_map [private] |
Definition at line 516 of file opt_alias_class.h.
Referenced by ALIAS_CLASSIFICATION(), Class_of_base_id_LDA(), New_base_id(), Print(), and Release_resources().
ID_MAP<IDTYPE, INT64> ALIAS_CLASSIFICATION::_preg_num_base_id_map [private] |
Definition at line 517 of file opt_alias_class.h.
Referenced by Preg_num_base_id_map(), and Release_resources().
Definition at line 518 of file opt_alias_class.h.
Referenced by Classify_memops(), and Memop_classification_map().
Definition at line 519 of file opt_alias_class.h.
Referenced by Classify_memops(), and Indir_classification_map().
BOOL ALIAS_CLASSIFICATION::_memops_classified [private] |
Definition at line 520 of file opt_alias_class.h.
Referenced by Alias_class(), Classify_memops(), Copy_alias_class(), Non_alloca_memop(), Release_resources(), and Writable_by_call().
MEM_POOL* ALIAS_CLASSIFICATION::_pool [private] |
Definition at line 521 of file opt_alias_class.h.
Referenced by ALIAS_CLASSIFICATION(), Pool(), and Release_resources().
BOOL ALIAS_CLASSIFICATION::_mem_pool_valid [private] |
Definition at line 522 of file opt_alias_class.h.
Referenced by Alias_class(), Copy_alias_class(), Non_alloca_memop(), Release_resources(), and Writable_by_call().
Definition at line 523 of file opt_alias_class.h.
Referenced by Collapsed_nested_references(), and Set_collapsed_nested_references().
Definition at line 524 of file opt_alias_class.h.
Referenced by ALIAS_CLASSIFICATION(), and Global_class().
Definition at line 526 of file opt_alias_class.h.
Referenced by Add_to_altered_non_points_to_parms(), Altered_non_points_to_parms(), and Release_resources().
Definition at line 527 of file opt_alias_class.h.
Referenced by Classify_deref_of_expr(), Classify_memops(), Handle_call(), and Release_resources().
BS* ALIAS_CLASSIFICATION::_inaccessible_to_callees [private] |
Definition at line 530 of file opt_alias_class.h.
Referenced by Inaccessible_to_callees(), and Set_inaccessible_to_callees().
Definition at line 534 of file opt_alias_class.h.
Referenced by ALIAS_CLASSIFICATION(), and Const_addr_class().
Definition at line 536 of file opt_alias_class.h.
Referenced by Alloc_pending(), and Release_pending().
BOOL ALIAS_CLASSIFICATION::_tracing [private] |
Definition at line 538 of file opt_alias_class.h.
Referenced by ALIAS_CLASSIFICATION(), and Tracing().
1.5.6