#include "wn.h"

Go to the source code of this file.
Definition at line 364 of file wn_util.h.
Referenced by CG_Generate_Code(), CG_Region_Finalize(), create_doloop(), cwh_block_append_given_id(), cwh_mp_region(), cwh_stmt_add_to_preamble(), cwh_stmt_insert_conformance_check(), F90_Do_Copies(), F90_Generate_Loops(), F90_Lower_Alloc_Dealloc(), F90_Lower_Copy_Expr_to_Temp(), F90_Lower_Create_Temp(), fei_redistribute(), Gen_MP_Copyin(), Gen_MP_Reduction(), WN_INSTRUMENT_WALKER::Instrument_Loop(), lower_bit_field_id(), lower_eoshift(), lower_maxminloc(), lower_merge(), lower_pack(), lower_reduction(), lower_unpack(), Process_Parallel_Do(), Process_Parallel_Region(), REGION_Exit_Whirl_Labels(), Rewrite_Pragmas_On_Structs(), Strip_Nested_MP(), vho_lower_if(), vho_lower_while_do(), WGEN_add_guard_var(), WGEN_Expand_End_Case(), WGEN_expand_end_for(), WGEN_handle_non_pods(), and WGEN_process_omp_clause().
Definition at line 373 of file wn_util.h.
Referenced by AssignPregExprPos(), Build_CFG(), CG_Generate_Code(), CG_Region_Finalize(), checkForZero(), convert_do_while(), Convert_Icall(), convert_while_do(), copyout_temp_to_var(), Create_Io_Entry(), create_lda_of_temp(), Create_MicroTask(), cwh_block_append_given_block(), cwh_block_append_given_id(), cwh_directive_add_do_loop_directive(), cwh_mp_region(), CYG_Instrument_Driver(), Dependence_Walk(), GOTO_TABLE::Dismantle(), duplicate_call(), em_alloca(), em_memcpy(), em_memmove(), em_memset(), em_quad_abs(), em_quad_neg(), em_setstackpointer(), em_split_select(), extract_calls(), F90_Generate_Loops(), F90_Lower_Alloc_Dealloc(), F90_Lower_Create_Temp(), fei_descriptor(), fei_redistribute(), Gen_Auto_Alloca(), Gen_Critical(), Gen_End_Serialized_Parallel(), Gen_End_Single(), Gen_Impld_Io_Calls(), Gen_Io_Calls(), Gen_Io_GetFieldST(), Gen_Io_GetFieldWN(), Gen_Io_PutAddrWN(), Gen_Io_PutFieldConst(), Gen_Io_PutFieldST(), Gen_Io_PutFieldWN(), Gen_Io_PutKeyFieldWN(), Gen_Iolist_PutAddrWN(), Gen_Iolist_PutFieldConst(), Gen_Iolist_PutFieldWN(), Gen_MP_Copyin(), Gen_MP_Reduction(), Gen_MP_SingleProcess_Block(), Gen_MP_SingleProcess_Region(), Gen_OMP_Begin_SPR(), Gen_OMP_End_SPR(), Gen_quad_preg(), Gen_Restore_Stack_Pointer(), Gen_Save_Stack_Pointer(), Gen_Serialized_Parallel(), Gen_Store_Gtid(), GenLocalTable(), Get_IoStruct_ST(), handle_assignment(), handle_function_return(), handle_istore_assignment(), WN_INSTRUMENT_WALKER::Instrument_Circuit(), WN_INSTRUMENT_WALKER::Instrument_Cselect(), Localize_Variable(), lower_bit_field_id(), lower_complex_expr(), lower_eoshift(), lower_io_items(), lower_io_statement(), Lower_Master(), lower_maxminloc(), lower_mm_matmul(), lower_mp(), lower_mv_matmul(), lower_pack(), lower_record_items(), lower_reduction(), lower_unpack(), make_pointer_to_node(), GOTO::Modify_exits(), GTABLE::Patch_Do_While(), process_inqvar(), process_iostat(), Process_Parallel_Do(), Process_Parallel_Region(), Process_PDO(), Process_Preamble_Stores(), Process_Preg_Temps(), Raise_whiledo_stmt_to_whileloop(), REGION_Entry_PREG_Whirl(), REGION_Exit_Whirl_Labels(), Region_skip(), Rename_Privatized_COMMON(), WN_UNROLL::Replicate_stmt(), GOTO::Set_region_exit(), Set_Thread_Num(), Strip_Nested_MP(), Transform_Do(), WN_INSTRUMENT_WALKER::Tree_Walk_Node(), WN_UNROLL::Unroll(), vho_lower_block(), vho_lower_cand_cior(), vho_lower_comma(), vho_lower_cselect(), vho_lower_do_loop(), vho_lower_do_while(), vho_lower_falsebr(), vho_lower_icall(), vho_lower_if(), vho_lower_rcomma(), vho_lower_truebr(), vho_lower_while_do(), vho_lower_xpragma(), WFE_Expand_End_Case(), WFE_Expand_Expr(), WFE_Expand_Try(), WFE_Finish_Function(), WFE_Generate_Thunk(), WFE_handle_non_pods(), WFE_maybe_call_dtors(), WGEN_Expand_End_Case(), WGEN_Expand_Expr(), WGEN_Expand_Pragma(), WGEN_Expand_Try(), WGEN_generate_non_pod_lastlocal_finalization(), WGEN_Generate_Thunk(), WGEN_maybe_call_dtors(), and WGEN_process_omp_clause().
| #define WN_ITER_stack | ( | wni | ) | ((wni)->stack) |
Definition at line 328 of file wn_util.h.
Referenced by WN_WALK_Abort(), WN_WALK_SCFIter(), WN_WALK_SCFNext(), WN_WALK_StmtIter(), WN_WALK_StmtNext(), WN_WALK_TreeIter(), and WN_WALK_TreeNext().
| #define WN_ITER_wn | ( | wni | ) | ((wni)->wn) |
Definition at line 327 of file wn_util.h.
Referenced by Adjust_Srcpos_Range(), arrayexp_in_subtree(), OPT_PU_POINTS_TO_SUMMARIZER::Bind_callee_points_to_summary(), FIZ_FUSE_INFO::Build(), Convert_virtual_call(), cwh_stab_distrib_pragmas(), DRA_Mangle_All(), DRA_Processing(), Find_virtual_function(), Highest_Guard_Point(), ANL_VARLIST::Insert_Var_Refs(), IPA_Rename_Builtins(), IPL_Access_Vector_To_Projected_Region(), IPO_Process_Icalls(), lower_bit_field_id(), IPA_CALL_GRAPH::Map_Callsites(), Remove_Skips(), Transfer_Maps(), SUMMARIZE< program >::Update_Addr_Passed_Count(), Update_wn_types(), Uses_Return_Preg(), Verify_MP_Lowered::Verify_No_MP(), WN_Clean_Mapid_for_Calls(), WN_num_var_refs(), WN_WALK_SCFIter(), WN_WALK_SCFNext(), WN_WALK_StmtIter(), WN_WALK_StmtNext(), WN_WALK_TreeIter(), and WN_WALK_TreeNext().
| #define WN_STACK_size | ( | wns | ) | ((wns)->size) |
| #define WN_STACK_sp | ( | wns | ) | ((wns)->sp) |
| #define WN_STACK_stack | ( | wns | ) | ((wns)->stack) |
Definition at line 323 of file wn_util.h.
Referenced by WN_FreeStack(), WN_InitStack(), WN_Pop(), and WN_Push().
Definition at line 608 of file wn_util.cxx.
References INT, Is_True, NULL, OPC_BLOCK, OPCODE_operator(), OPERATOR_FIRST, OPERATOR_LAST, WN_COPY_Tree(), WN_CopyNode(), WN_first(), WN_kid(), WN_kid_count(), WN_last(), WN_next(), WN_opcode(), and WN_prev().
Referenced by Add_Ordered_XPragmas(), Analyze_index(), Atomic_Direct(), Atomic_Using_Swap(), aux_memcpy(), Convert_Icall(), Convert_Iol_Item(), Create_Dope_From_IoItem(), Create_DopeVector_WN(), Create_fcd(), Create_Io_Entry(), create_lda_of_temp(), RVI_NODE::Create_load(), Create_Local_Variables(), cwh_addr_adjust_array(), cwh_addr_do_bounds_check(), cwh_addr_extent(), cwh_addr_nonc_recast(), cwh_addr_stid(), cwh_addr_temp_section(), cwh_addr_ubound_from_triplet(), cwh_char_intrin(), cwh_convert_to_ty(), cwh_do_tranformational(), cwh_dope_from_expression(), cwh_dope_store(), cwh_expr_binop_shift(), cwh_expr_compare_char(), cwh_expr_temp(), cwh_generate_bitmask(), cwh_inline_allocate(), cwh_io_conv_array_to_dope(), cwh_io_conv_arrsection_to_dope(), cwh_io_create_dope_from_item(), cwh_io_split_io_items(), cwh_io_split_io_statement(), cwh_stk_push_top_item_again(), cwh_stmt_assigned_goto(), cwh_stmt_call_helper(), cwh_stmt_character_icall(), cwh_stmt_computed_goto(), cwh_stmt_insert_conformance_check(), cwh_stmt_select_case_char(), cwh_types_array_temp_TY(), DRA_EC_Array_Portion_Parms(), duplicate_call(), Eliminate_Temp_In_While(), em_alloca(), em_divfloor(), em_exp_float(), em_memcpy(), em_memmove(), em_memset(), em_shftc(), expand_start_do_loop(), extract_calls(), Extract_Do_Info(), F90_Do_Copies(), F90_Lower_Alloc_Dealloc(), F90_Lower_Copy_Aux_Data(), F90_Lower_Copy_To_ATemp(), F90_Lower_Copy_To_STemp(), F90_Lower_Create_Temp(), F90_Size_Walk(), fei_allocate(), fei_arith_goto(), fei_as_ref(), fei_concat(), fei_constant(), fei_doloop(), fei_islg(), fei_logb(), fei_mask(), fei_mbits(), fei_mvbits(), fei_new_binop_cshift(), fei_new_select(), fei_new_select_case(), fei_push_arith_con(), fei_select(), fei_set_dv_hdr_fld(), fei_sign_xfer(), fei_stop(), fei_substr(), fei_task_var(), Gen_End_Serialized_Parallel(), Gen_Impld_Io_Calls(), Gen_Io_Calls(), Gen_MP_Copyin(), Gen_MP_Load_Store(), Gen_MP_Reduction(), Gen_Serialized_Parallel(), handle_function_call(), handle_function_return(), handle_istore_assignment(), Insert_Call(), RVI::Insert_load(), RVI::Insert_store(), WN_INSTRUMENT_WALKER::Instrument_Call(), WN_INSTRUMENT_WALKER::Instrument_Icall(), IPA_constant_in_array_bounds(), Localize_Variable(), lower_bit_field_id(), lower_char(), lower_copy_tree(), lower_cshift(), lower_eoshift(), Lower_Fetch_And_Op(), lower_io_items(), lower_io_statement(), lower_maxminloc(), lower_merge(), lower_mp(), lower_pack(), lower_record_items(), lower_unpack(), Make_Cray_Io_Call(), RVI_NODE::New_home_wn(), process_iostat(), Process_Parallel_Do(), Process_PDO(), Raise_whiledo_stmt_to_whileloop(), Rename_Privatized_COMMON(), Rewrite_Do(), Rewrite_Pragmas_On_Structs(), Rewrite_Structs_In_MPRegion(), Substitute_LDID(), Transform_Do(), WN_UNROLL::Unroll(), Unroll_Dowhile_Loop(), unroll_multi_bb(), Unroll_Replicate_Body(), Update_array_bounds(), vho_lower_combine_loads(), vho_lower_expr(), vho_lower_icall(), vho_lower_if(), VHO_Lower_Mistore(), VHO_Lower_Mstid(), VHO_Lower_Mstore(), vho_lower_while_do(), VHO_Switch_Generate_Binary_Search(), VHO_Switch_Generate_Compgoto(), VHO_Switch_Generate_If_Else(), VHO_Switch_Opt_Case_Hoist(), WFE_Expand_Expr(), WFE_Generate_Thunk(), WFE_Lhs_Of_Modify_Expr(), WFE_localize_var(), WFE_maybe_call_copy_ctor(), WFE_maybe_call_default_ctor(), WGEN_Adjust_Thunk(), WGEN_Expand_Expr(), WGEN_Lhs_Of_Modify_Expr(), WGEN_localize_var(), WGEN_maybe_call_default_ctor(), WN_copy(), WN_COPY_Tree(), and WN_LOOP_TripCount().
Definition at line 776 of file wn_util.cxx.
References BOOL, FALSE, Is_True, node, NULL, OPCODE_is_scf(), OPCODE_is_stmt(), TRUE, WN_DELETE_Tree(), WN_first(), WN_last(), WN_next(), WN_opcode(), and WN_prev().
Referenced by Atomic_Using_Critical(), Convert_Section_To_Pdo(), GOTO_TABLE::Create_Truebr(), GTABLE::Create_Truebr(), Delete_Dist_Reshape_Pragmas(), Find_And_Move_Finalization_Code(), RINIT::Handle_split_label(), Insert_Lowered_Atomic(), Lower_Atomic(), lower_bit_field_id(), Lower_Master(), lower_mp(), GOTO::Modify_exits(), GTABLE::Patch_Do_While(), Process_PDO(), GOTO_TABLE::Promote_Do_While(), GTABLE::Promote_Do_While(), REGION_delete_exit(), REGION_replace_from_mark(), GTABLE::Remove_Gotos(), GOTO_TABLE::Remove_Gotos(), ANL_LOOP_CONSTRUCT::Remove_Stmt_In_Block(), LabelOpt::Remove_Unmarked_Labels(), Rename_Privatized_COMMON(), GOTO_TABLE::Replace_Goto_With_If(), GTABLE::Replace_Goto_With_If(), Rewrite_Pragmas_On_Structs(), Rewrite_Structs_In_MPRegion(), GOTO::Set_region_exit(), Transform_Parallel_Block(), Walk_and_Localize(), WFE_Expand_Expr(), and RENAMING_SCOPE::~RENAMING_SCOPE().
Definition at line 750 of file wn_util.cxx.
References INT, next, node, NULL, OPC_BLOCK, WN_Delete, WN_DELETE_Tree(), WN_first(), WN_kid(), WN_kid_count(), WN_next(), and WN_opcode().
Referenced by AGGINIT::Add_Inito_For_Tree(), Add_Initv_For_Tree(), AGGINIT::Add_Initv_For_Tree(), analyze_addressof_ty_being_split(), Analyze_index(), arrsection_to_array(), Calculate_Array_Size(), Cleanup_Ordered(), cwh_addr_adjust_array(), cwh_addr_do_bounds_check(), cwh_addr_fixup_nseq(), cwh_addr_nonc_recast(), cwh_addr_temp_section(), cwh_dope_from_expression(), cwh_expr_extract_arrayexp(), cwh_stab_add_pragma(), cwh_stmt_conformance_checks_walk(), cwh_stmt_insert_conformance_check(), cwh_stmt_select_char(), cwh_types_mk_namelist_item_TY(), Delayed_MP_Translation(), expand_start_do_loop(), f90_analyze_assignment(), F90_Do_Copies(), F90_Lower_Alloc_Dealloc(), F90_Lower_Copy_To_ATemp(), F90_Lower_Walk(), F90_Rank_Walk(), F90_Size_Walk(), fei_allocate(), fei_doloop(), fei_fcd(), fei_near(), fei_new_select(), fei_static_simple_reloc_init(), Find_And_Move_Finalization_Code(), Gen_Io_Calls(), Gen_MP_SingleProcess_Region(), handle_compare(), lower_bit_field_id(), lower_cshift(), lower_eoshift(), lower_io_items(), lower_maxminloc(), lower_mm_matmul(), lower_mp(), lower_mv_matmul(), lower_random_number(), lower_reduction(), lower_transformationals(), Process_PDO(), RINIT::Region_init(), REGION_replace_from_mark(), Rewrite_Do(), Rewrite_Do_New(), Rewrite_Structs_In_MPRegion(), simple_intrinsic(), simple_intrinsic_nt(), strip_mloads(), Strip_Nested_MP(), TCON_from_stack(), Transform_Parallel_Block(), vho_lower_combine_loads(), Walk_and_Localize(), WN_DELETE_FromBlock(), and WN_DELETE_Tree().
Definition at line 824 of file wn_util.cxx.
References Is_True, NULL, OPC_BLOCK, tmp, WN_first(), WN_last(), WN_next(), WN_opcode(), and WN_prev().
Referenced by adjust_atomic(), Cleanup_Ordered(), Convert_Icall(), Convert_Section_To_Pdo(), Convert_virtual_call(), GTABLE::Create_Truebr(), Delayed_MP_Translation(), Delete_Call(), GOTO_TABLE::Dismantle(), GTABLE::Dismantle(), F90_Generate_Loops(), F90_Lower_Alloc_Dealloc(), Find_And_Move_Finalization_Code(), Insert_Lowered_Atomic(), IPA_Rename_Builtins(), lower_eoshift(), Lower_Fetch_And_Op(), Lower_Master(), LWN_Extract_From_Block(), GOTO_TABLE::Move_Goto_Out(), GOTO_TABLE::Move_Into_Else(), NORMALIZE_LOOP::Normalize_loop_stmt(), GTABLE::Patch_Do_While(), RAIL::Process_block(), Process_Parallel_Do(), Process_PDO(), Region_skip(), GOTO_TABLE::Replace_Goto_With_If(), GTABLE::Replace_Goto_With_If(), GTABLE::Replace_Goto_With_While(), GOTO_TABLE::Replace_Goto_With_While(), Strip_OMP_Workshare(), Transform_Parallel_Block(), Walk_and_Localize(), WGEN_Expand_Return(), WGEN_process_omp_clause(), WN_EXTRACT_ItemsFromBlock(), and WN_UNROLL_suitable().
Definition at line 857 of file wn_util.cxx.
References Is_True, NULL, OPC_BLOCK, tmp, WN_EXTRACT_FromBlock(), WN_first(), WN_last(), WN_next(), WN_opcode(), and WN_prev().
Referenced by Insert_Region_Around_Block(), Process_PDO(), and Transform_Parallel_Block().
Definition at line 1671 of file wn_util.cxx.
References Is_True, KIND_POINTER, KIND_STRUCT, OPCODE_is_load(), OPCODE_is_store(), OPR_ILDBITS, OPR_ILOAD, OPR_LDBITS, OPR_LDID, OPR_MLOAD, OPR_STBITS, OPR_STID, TY_kind, TY_pointed, TY_pointer, WN_field_id(), WN_load_addr_ty(), WN_opcode(), WN_operator(), and WN_ty().
Referenced by OPT_STAB::Analyze_Base_Flow_Free(), and OPT_STAB::Enter_symbol().
Definition at line 484 of file wn_util.cxx.
References BOOL, FALSE, first, FmtAssert, last, node, NULL, OPC_BLOCK, OPCODE_is_scf(), OPCODE_is_stmt(), OPR_BLOCK, TRUE, WN_Delete, WN_first(), WN_last(), WN_next(), WN_opcode(), WN_operator(), and WN_prev().
Referenced by Add_Memory_Barriers(), Atomic_Direct(), Atomic_Using_Critical(), Atomic_Using_Swap(), Convert_Icall(), Convert_Just_Chunksize_To_Dynamic(), Convert_Section_To_Pdo(), Convert_virtual_call(), cwh_block_insert_after(), CYG_Instrument_Block(), Delayed_MP_Translation(), GOTO_TABLE::Dismantle(), GTABLE::Dismantle(), DRA_EC_Array_Portion_Parms(), DRA_Insert_Pragmas(), RINIT::Expand_label_alias(), F90_Insert_All_Prelists(), F90_Insert_Temp_Allocations(), Find_And_Move_Finalization_Code(), Gen_Call_Array(), Gen_Free_Cart(), Gen_MP_Copyin(), Gen_quad_preg(), Gen_stmt_wn(), Generate_cyg_profile_func(), handle_function_call(), RINIT::Handle_split_label(), Insert_Call(), Insert_Region_Around_Block(), WN_INSTRUMENT_WALKER::Instrument_Before(), IPA_Rename_Builtins(), lower_bit_field_id(), Lower_Master(), lower_merge(), lower_mp(), lower_pack(), GOTO_TABLE::Move_Goto_Out(), NORMALIZE_LOOP::Normalize_loop_stmt(), Process_Parallel_Do(), Process_PDO(), REGION_add_exit(), REGION_Exit_PREG_Whirl(), REGION_replace_from_mark(), GOTO_TABLE::Replace_Goto_With_If(), GTABLE::Replace_Goto_With_If(), GTABLE::Replace_Goto_With_While(), GOTO_TABLE::Replace_Goto_With_While(), Rewrite_Pragmas_On_Structs(), GOTO::Set_region_exit(), Transform_Parallel_Block(), traverse_wn_tree(), VHO_Lower_Mistore(), VHO_Lower_Mstid(), VHO_Lower_Mstore(), VHO_Lower_Switch(), VHO_Switch_Generate_Binary_Search(), VHO_Switch_Generate_Compgoto(), VHO_Switch_Generate_If_Else(), VHO_Switch_Opt_Case_Hoist(), Wfe_Expand_Asm_Operands(), WFE_Expand_Return(), WFE_Stmt_Append(), Wgen_Expand_Asm_Operands(), WGEN_Expand_Return(), and WGEN_Stmt_Append().
Definition at line 361 of file wn_util.cxx.
References BOOL, FALSE, first, FmtAssert, last, node, NULL, OPC_BLOCK, OPCODE_is_scf(), OPCODE_is_stmt(), OPR_BLOCK, TRUE, WN_Delete, WN_first(), WN_last(), WN_next(), WN_opcode(), WN_operator(), and WN_prev().
Referenced by Add_Memory_Barriers(), Add_Ordered_XPragmas(), Add_Pragma_To_MP_Regions(), adjust_atomic(), Atomic_Direct(), Atomic_Using_Critical(), Atomic_Using_Swap(), Convert_Section_To_Pdo(), convert_to_reference(), GOTO_TABLE::Create_Truebr(), GTABLE::Create_Truebr(), cwh_stmt_insert_conformance_check(), DRA_EC_Array_Portion_Parms(), f90_analyze_assignment(), F90_Do_Copies(), F90_Generate_Loops(), F90_Insert_All_Prelists(), F90_Insert_Temp_Allocations(), F90_Lower_Alloc_Dealloc(), F90_Lower_Copy_Expr_to_Temp(), F90_Triplet_Scalarization_Walk(), OUTPUT_FUNC_START_PROFILER::Fill_In_Func_Body(), Gather_Uplevel_References(), Gen_Malloc_Cart(), Generate_Assignment_Stmt(), Generate_cyg_profile_func(), RINIT::Handle_split_label(), Insert_Alloca(), Insert_Lowered_Atomic(), WN_INSTRUMENT_WALKER::Instrument_After(), WN_INSTRUMENT_WALKER::Instrument_Entry(), lower_char(), lower_cshift(), lower_eoshift(), Lower_Fetch_And_Op(), Lower_Master(), lower_maxminloc(), lower_merge(), lower_mm_matmul(), lower_mp(), lower_mv_matmul(), lower_random_number(), lower_reduction(), lower_unpack(), GOTO_TABLE::Move_Goto_Out(), GOTO_TABLE::Move_Into_Else(), NORMALIZE_LOOP::Normalize_do_loop(), RAIL::Process_block(), Process_Parallel_Do(), Process_PDO(), GOTO_TABLE::Promote_Do_While(), GTABLE::Promote_Do_While(), EMITTER::Raise_func_entry(), REGION_add_exit(), REGION_remove_and_mark(), Region_skip(), Rename_Privatized_COMMON(), GOTO_TABLE::Replace_Goto_With_If(), GTABLE::Replace_Goto_With_If(), GTABLE::Replace_Goto_With_While(), GOTO_TABLE::Replace_Goto_With_While(), Rewrite_Pragmas_On_Structs(), Rewrite_Structs_In_MPRegion(), Transform_Do(), vho_lower_comma(), and WN_UNROLL_suitable().
Definition at line 450 of file wn_util.h.
References OPCODE_is_black_box(), and WN_opcode().
Referenced by STMTREP::Enter_lhs().
Definition at line 1320 of file wn_util.cxx.
References FALSE, NULL, OPR_ADD, OPR_STID, OPR_SUB, step(), TRUE, WN_kid0(), WN_kid1(), wn_loop_get_st_ofst(), WN_LOOP_InductionVariable(), wn_loop_ref_matches_var(), WN_operator(), WN_st_idx(), WN_step, and WN_store_offset().
Referenced by lower_bit_field_id(), and WN_LOOP_TripCount().
Definition at line 969 of file wn_util.cxx.
References NULL, OPC_DO_LOOP, WN_index, and WN_opcode().
Referenced by Build_new_loop_info(), WN_LOOP_Increment(), WN_LOOP_LowerBound(), and WN_LOOP_UpperBound().
Definition at line 988 of file wn_util.cxx.
References NULL, OPR_STID, start, WN_kid0(), wn_loop_get_st_ofst(), WN_LOOP_InductionVariable(), WN_operator(), WN_st_idx(), WN_start, and WN_store_offset().
Referenced by lower_bit_field_id(), and WN_LOOP_TripCount().
Definition at line 1390 of file wn_util.cxx.
References BOOL, INT32, INT64, MTYPE_complement, MTYPE_is_integral, MTYPE_is_unsigned, MTYPE_U4, MTYPE_V, NULL, OPC_DO_LOOP, OPCODE_desc(), OPCODE_make_op(), OPCODE_operator(), OPR_ADD, OPR_DIV, OPR_GT, OPR_INTCONST, OPR_LT, OPR_SUB, TRUE, TYPE_ID, UINT32, void, WN_Abs, WN_const_val(), WN_COPY_Tree(), WN_CreateExp2, WN_LOOP_Increment(), WN_LOOP_LowerBound(), WN_LOOP_UpperBound(), WN_opcode(), WN_operator(), WN_rtype(), and WN_Simplifier_Enable().
Referenced by Build_new_loop_info(), lower_bit_field_id(), and Mark_Dos().
Definition at line 1260 of file wn_util.cxx.
References end, NULL, OPCODE_is_compare(), OPCODE_UNKNOWN, WN_COPY_Tree_With_Map(), WN_end, WN_kid0(), WN_kid1(), wn_loop_get_st_ofst(), WN_LOOP_InductionVariable(), wn_loop_ref_matches_var(), wn_loop_reverse_compare(), WN_opcode(), and WN_Solve_For().
Referenced by lower_bit_field_id(), and WN_LOOP_TripCount().
Definition at line 1708 of file wn_util.cxx.
References FALSE, FmtAssert, MTYPE_M, MTYPE_size_min, OPR_ILDBITS, OPR_ILOAD, OPR_ILOADX, OPR_INTCONST, OPR_ISTBITS, OPR_ISTORE, OPR_ISTOREX, OPR_LDBITS, OPR_LDID, OPR_MLOAD, OPR_MSTORE, OPR_PARM, OPR_STBITS, OPR_STID, TY_size, WN_const_val(), WN_desc(), WN_kid1(), WN_kid2(), WN_object_ty(), WN_operator(), and WN_rtype().
Referenced by OPT_STAB::Allocate_mu_chi_and_virtual_var(), ALIAS_CLASSIFICATION::Assignment_may_xfer_pointer(), ALIAS_CLASSIFICATION::Expr_may_contain_pointer(), POINTS_TO::Lower_to_base(), and ALIAS_RULE::Same_location().
Definition at line 1612 of file wn_util.cxx.
References field_type(), Is_True, KIND_POINTER, KIND_STRUCT, OPCODE_is_load(), OPCODE_is_store(), OPR_ILOAD, OPR_ISTORE, OPR_LDBITS, OPR_LDID, OPR_MLOAD, OPR_STBITS, OPR_STID, TY_is_union, TY_kind, TY_pointed, TY_pointer, Ty_Table, WN_field_id(), WN_load_addr_ty(), WN_opcode(), WN_operator(), and WN_ty().
Referenced by OPT_STAB::Analyze_Base_Flow_Free(), ALIAS_CLASSIFICATION::Assignment_may_xfer_pointer(), OPT_STAB::Convert_IO_statement(), OPT_STAB::Convert_ST_to_AUX(), Create_alias(), SSA::Du2cr(), ALIAS_CLASSIFICATION::Expr_may_contain_pointer(), OPT_STAB::Generate_mu_and_chi_list(), ALIAS_CLASSIFICATION::Handle_assignment(), ALIAS_CLASSIFICATION::Handle_call(), Overlapped_base(), OPT_STAB::Simplify_Pointer_Arith(), and WN_object_size().
Definition at line 347 of file wn_util.cxx.
References FmtAssert, free(), NULL, WN_FreeStack(), and WN_ITER_stack.
Referenced by arrayexp_in_subtree(), SUMMARIZE< program >::Update_Addr_Passed_Count(), and WN_Tree_Has_Duplicate_Labels().
Definition at line 159 of file wn_util.cxx.
References FmtAssert, Malloc_Mem_Pool, MEM_POOL_Alloc, OPCODE_is_scf(), OPERATOR_FIRST, OPERATOR_LAST, WN_InitStack(), WN_ITER_stack, WN_ITER_wn, WN_opcode(), and WN_operator().
Referenced by FIZ_FUSE_INFO::Build(), and IPA_Rename_Builtins().
Definition at line 294 of file wn_util.cxx.
References free(), i, INT, NULL, OPCODE_is_scf(), OPR_BLOCK, WN_FreeStack(), WN_ITER_stack, WN_ITER_wn, WN_kid(), WN_kid_count(), WN_last(), WN_opcode(), WN_operator(), WN_Pop(), WN_prev(), and WN_Push().
Referenced by FIZ_FUSE_INFO::Build(), and IPA_Rename_Builtins().
Definition at line 180 of file wn_util.cxx.
References FmtAssert, Malloc_Mem_Pool, MEM_POOL_Alloc, OPCODE_is_scf(), OPCODE_is_stmt(), OPERATOR_FIRST, OPERATOR_LAST, WN_InitStack(), WN_ITER_stack, WN_ITER_wn, WN_opcode(), and WN_operator().
Referenced by Accumulate_Stmt_PUinfo(), Adjust_Srcpos_Range(), OPT_PU_POINTS_TO_SUMMARIZER::Bind_callee_points_to_summary(), Convert_virtual_call(), cwh_stab_distrib_pragmas(), Find_virtual_function(), IPL_Access_Vector_To_Projected_Region(), and Remove_Skips().
Definition at line 247 of file wn_util.cxx.
References free(), i, INT, NULL, OPCODE_is_scf(), OPR_BLOCK, WN_FreeStack(), WN_ITER_stack, WN_ITER_wn, WN_kid(), WN_kid_count(), WN_last(), WN_opcode(), WN_operator(), WN_Pop(), WN_prev(), and WN_Push().
Referenced by Adjust_Srcpos_Range(), OPT_PU_POINTS_TO_SUMMARIZER::Bind_callee_points_to_summary(), Convert_virtual_call(), cwh_stab_distrib_pragmas(), Find_virtual_function(), IPL_Access_Vector_To_Projected_Region(), and Remove_Skips().
Definition at line 140 of file wn_util.cxx.
References FmtAssert, Malloc_Mem_Pool, MEM_POOL_Alloc, OPERATOR_FIRST, OPERATOR_LAST, WN_InitStack(), WN_ITER_stack, WN_ITER_wn, and WN_operator().
Referenced by Accumulate_Expr_PUinfo(), arrayexp_in_subtree(), WB_BROWSER::Deps_Loop(), DRA_Mangle_All(), DRA_Processing(), Highest_Guard_Point(), ANL_VARLIST::Insert_Var_Refs(), IPO_Modify_WN_for_field_reorder(), IPO_Process_Icalls(), lower_bit_field_id(), IPA_CALL_GRAPH::Map_Callsites(), WB_BROWSER::Promp_Map(), WB_BROWSER::Set_Map_Id(), Transfer_Maps(), True_Bound(), SUMMARIZE< program >::Update_Addr_Passed_Count(), Update_wn_types(), Uses_Return_Preg(), Verify_MP_Lowered::Verify_No_MP(), Verify_No_Pregs_In_Tree(), WN_Clean_Mapid_for_Calls(), WN_Copy_Frequency_Tree(), WN_node_count(), WN_num_var_refs(), WN_Rename_Duplicate_Labels(), and WN_Tree_Has_Duplicate_Labels().
Definition at line 209 of file wn_util.cxx.
References free(), i, INT, NULL, OPR_BLOCK, WN_FreeStack(), WN_ITER_stack, WN_ITER_wn, WN_kid(), WN_kid_count(), WN_last(), WN_operator(), WN_Pop(), WN_prev(), and WN_Push().
Referenced by arrayexp_in_subtree(), WB_BROWSER::Deps_Loop(), DRA_Mangle_All(), DRA_Processing(), Highest_Guard_Point(), ANL_VARLIST::Insert_Var_Refs(), IPO_Modify_WN_for_field_reorder(), IPO_Process_Icalls(), lower_bit_field_id(), IPA_CALL_GRAPH::Map_Callsites(), WB_BROWSER::Promp_Map(), WB_BROWSER::Set_Map_Id(), Transfer_Maps(), True_Bound(), SUMMARIZE< program >::Update_Addr_Passed_Count(), Update_wn_types(), Uses_Return_Preg(), Verify_MP_Lowered::Verify_No_MP(), Verify_No_Pregs_In_Tree(), WN_Clean_Mapid_for_Calls(), WN_Copy_Frequency_Tree(), WN_node_count(), WN_num_var_refs(), WN_Rename_Duplicate_Labels(), and WN_Tree_Has_Duplicate_Labels().
1.5.6