#include "op_map.h"

Go to the source code of this file.
| #define BB_has_globals BB_local_flag1 |
Definition at line 50 of file whirl2ops.h.
Referenced by Insert_Spills_Of_Globals(), Localize_or_Replace_Dedicated_TNs(), and Split_BB().
| #define Reset_BB_has_globals Reset_BB_local_flag1 |
Definition at line 52 of file whirl2ops.h.
Referenced by Localize_or_Replace_Dedicated_TNs(), Split_BB(), and Start_New_Basic_Block().
| #define Set_BB_has_globals Set_BB_local_flag1 |
Definition at line 51 of file whirl2ops.h.
Referenced by Check_If_TN_Is_Global(), Localize_Global_Param_Reg(), Localize_Global_Return_Reg(), Localize_Global_Return_Reg_Def(), IF_CONVERTOR::Merge_Area(), Split_BB(), and Start_New_Basic_Block().
Definition at line 56 of file whirl2ops.h.
Definition at line 4867 of file whirl2ops.cxx.
References ANNOT_LABEL, BB_Add_Annotation(), FmtAssert, Get_Label_BB(), LABEL_name, NULL, Set_Label_BB(), and Start_New_Basic_Block().
Referenced by EH_Set_End_Label(), EH_Set_Start_Label(), and Expand_Statement().
Definition at line 6974 of file whirl2ops.cxx.
References Add_PregTNs_To_BB(), Append_Region_BBs(), BB_entry, BB_exit, BB_has_label, BB_id, BB_last_op, BB_length, BB_prev, BB_rid, BOOL, Build_CFG(), CGRIN_Create(), CGRIN_entry, CGRIN_exit_i, CGRIN_first_bb, CGRIN_first_gtn, CGRIN_first_regular_tn, CGRIN_last_bb, CGRIN_min_bb_id, CGRIN_preg_to_tn_mapping, CGRIN_tns_in, CGRIN_tns_out, Compiling_Proper_REGION, convert_stmt_list_to_OPs(), Cur_BB, current_srcpos, DBar, FALSE, fdump_tree_with_freq(), First_REGION_GTN, First_REGION_TN, FmtAssert, fprintf(), Get_Trace(), Handle_Entry(), Handle_Return(), i, initialize_region_stack(), INT, Is_True, last_bb, min_bb_id, New_OPs, NULL, Only_Has_Exc_Label(), OP_cond, OPC_FUNC_ENTRY, OPC_REGION, OPS_first, Print_All_BBs(), PU_BB_Count, REGION_First_BB, REGION_get_rid(), REGION_mem_pool, region_stack_pop(), region_stack_push(), Remove_BB(), RID_cginfo, RID_id, RID_level, RID_num_exits, RID_pregs_in, RID_pregs_out_i, RL_CG, Start_New_Basic_Block(), TFile, TP_CGEXP, Trace_WhirlToOp, TRUE, TYPE_MEM_POOL_ALLOC_N, WN_entry_first, WN_first(), WN_MAP_UNDEFINED, WN_opcode(), and WN_region_body.
Referenced by CG_Generate_Code().
Definition at line 494 of file whirl2ops.cxx.
References Get_WN_From_Memory_OP(), Is_Target_32bit, OP_MAP64_Get(), OP_MAP64_Set(), OP_MAP_Set(), UINT64, and wn.
Referenced by Add_Spill_Load_Before_Use(), Append_Succ(), combine_adjacent_loads(), Combine_L1_L2_Prefetches(), Compose_Mem_Op_And_Copy_Info(), Constant_Operand0(), Convert_OP_to_base_update_form(), Copy_BB_For_Tail_Duplication(), copy_rf_sequence(), Do_Build_Recovery_Block(), EBO_Load_Execution(), SCHEDULER::Gen_Compensation_Code(), KEY_SCH::Gen_PKE(), hoist_predicate_of_duplicate_complement(), KEY_SCH::Loop_Peeling(), KEY_SCH::Loop_Preconditioning(), CIO_RWTRAN::Mark_Op_For_Prolog(), move_ext_is_replaced(), KEY_SCH::Peeling_For_Known_Trip(), KEY_SCH::Peeling_For_Unknown_Trip(), Repl_Size16_Instr::Replace_CurOP(), store_sequence(), sxt_sequence(), test_is_replaced(), Unroll_Dowhile_Loop(), Unroll_Make_Remainder_Loop(), unroll_multi_bb(), Unroll_Replicate_Body(), and Vector_Is_Possible().
Definition at line 7195 of file whirl2ops.cxx.
References ANNOT_CALLINFO, BB_Add_Annotation(), Caller_GP_Preg, CALLINFO_call_st, CALLINFO_call_wn, Constant_GP, Cur_BB, Ep_TN, Exp_Call(), Exp_COPY(), Expand_Expr(), EXPORT_PREEMPTIBLE, FmtAssert, Gen_PIC_Call_Shared, Gen_PIC_Calls, Gen_PIC_Shared, Gen_Register_TN(), Gen_Symbol_TN(), GP_TN, Is_Caller_Save_GP, Is_Target_32bit, New_OPs, NULL, OPR_CALL, OPR_ICALL, OPS_Append_Ops(), OPS_Init(), OPS_last, Pointer_Size, PU_Has_Calls, RA_TN, region_stack_eh_set_has_call(), Set_OP_To_WN_Map(), Spill_Int_Type, ST_export, ST_is_export_local(), ST_is_preemptible, ST_is_weak_symbol, Start_New_Basic_Block(), TN_MAP_Set(), TN_To_PREG_Map, TRUE, TY_mtype, TYPE_PU_ALLOC, WN_kid(), WN_kid_count(), and WN_st().
Referenced by Exp_Ldst().
Definition at line 480 of file whirl2ops.cxx.
References Build_TN_Like(), PREG_To_TN_Array, and TN_To_PREG().
Referenced by Expand_Bool_Comparison(), Expand_Expr(), Expand_Float_Compares(), Expand_Int_Comparison(), Expand_Logical_Not(), and Expand_Select().
Definition at line 527 of file whirl2ops.cxx.
References NULL, OP_MAP64_Get(), TNvec, and UINT64.
Referenced by under_same_cond_tn().
Definition at line 103 of file whirl2ops.h.
References NULL, OP_call, OP_MAP_Get(), and OP_memory.
Referenced by Cache_Access_Same_Line(), Cache_Has_Conflict(), Cache_L1_Analysis(), Cache_L1_Has_Data(), Cache_L2_Analysis(), Cache_L2_Has_Data(), Cache_Location_Analysis(), Calculate_Path_Data(), Can_Mem_Op_Be_Moved(), CG_DEP_Alloca_Aliases(), CG_DEP_Call_Aliases(), CG_DEP_Latency(), CG_DEP_Mem_Ops_Alias(), CG_LOOP_Prefetch_Stride(), CGTARG_Can_Be_Speculative(), Copy_WN_For_Memory_OP(), Delete_Unwanted_Prefetches(), CG_LOOP::Determine_Unroll_Factor(), Find_BB_TNs(), find_duplicate_mem_op(), Gen_Implicit_Prefetches(), get_mem_dep(), Get_Vector_Type(), Is_Aliased_With_Home(), Priority_Selector::Is_OP_Better(), Is_Potential_Load_Or_Store(), make_prefetch_arcs(), Memory_OP_References_Stack(), OP_Alloca_Barrier(), OP_Refs_Home(), Print_OP(), Print_OP_No_SrcLine(), Repl_Size16_Instr::Replace_CurOP(), report_bad_mem_dep(), Safe_To_Rematerialize_Load_In_BB(), Priority_Selector::Select_OP_For_Delay_Slot(), Spill_Homeable_TN(), sPrint_OP(), Unroll_Replicate_Body(), Update_op_must_not_be_moved(), and Vector_Can_Add_Op().
Definition at line 4953 of file whirl2ops.cxx.
References BOOL, CG_enable_nz_conf_prefetch, CG_enable_pf_L1_ld, CG_enable_pf_L1_st, CG_enable_pf_L2_ld, CG_enable_pf_L2_st, CG_enable_z_conf_prefetch, FALSE, INT32, WN_pf_confidence, WN_pf_read, WN_pf_stride_1L, WN_pf_stride_2L, and WN_pf_write.
Referenced by Cache_L1_Analysis(), Cache_L2_Analysis(), CG_DEP_Latency(), Expand_Expr(), Gen_Implicit_Prefetches(), and Unroll_Replicate_Body().
Definition at line 1049 of file whirl2ops.cxx.
References Alias_Manager, Base_Symbol(), CLASS_VAR, Disallowed_Homeable(), GRA_home, MTYPE_is_complex, MTYPE_is_quad, NULL, OP_NEED_PAIR, opc, OPCODE_has_sym(), OPCODE_rtype(), OPR_LDID, Preg_Home(), SCLASS_FORMAL_REF, ST_class, ST_full, ST_gprel, ST_is_split_common, ST_is_uplevelTemp(), ST_on_stack(), ST_sclass, sym, TRUE, TYPE_ID, WN_opcode(), WN_operator(), and WN_st().
Referenced by CGTARG_TN_For_Asm_Operand(), and PREG_To_TN().
Definition at line 1160 of file whirl2ops.cxx.
References Add_TN_Pair(), BOOL, Build_Dedicated_TN(), Build_TN_Of_Mtype(), CGSPILL_Rematerialize_Constants, CGTARG_Preg_Register_And_Class(), Create_TN_Pair, CURRENT_SYMTAB, dedicated_seen, FALSE, First_Int_Preg_Return_Offset, FmtAssert, fprintf(), Get_Current_PU, Get_Preg_Num(), Get_TN_Pair(), Get_Trace(), GLOBAL_SYMTAB, GRA_non_home_hi, GRA_non_home_lo, Is_Int_Output_Preg(), Is_Predicate_REGISTER_CLASS(), Is_Target_32bit, Is_Target_64bit, Is_True, Last_Dedicated_Preg_Offset, Last_Int_Preg_Return_Offset, mtype, MTYPE_C4, MTYPE_F4, MTYPE_F8, MTYPE_I4, MTYPE_I8, MTYPE_U4, MTYPE_U8, NULL, OP_NEED_PAIR, Preg_Is_Rematerializable(), PREG_Table_Size(), PU_has_syscall_linkage(), REGISTER_Allocate_Stacked_Register(), REGISTER_machine_id, REGISTER_Unallocate_Stacked_Register(), Set_TN_home, Set_TN_is_gra_homeable, Set_TN_is_rematerializable, TFile, TN_is_dedicated, TN_is_float, TN_is_gra_homeable, TN_is_rematerializable, TN_MAP_Set(), TN_number, TN_register, TN_register_class, TN_size, TN_To_PREG_Map, TP_CGEXP, TRUE, TY_mtype, TY_size, and TYPE_ID.
Referenced by Build_Vote(), CGEMIT_Call(), CGEMIT_Function_Prototype(), CGTARG_TN_And_Name_For_Asm_Constraint(), CGTARG_TN_For_Asm_Operand(), Exp_Intrinsic_Call(), Exp_Ldst(), Exp_Simulated_Op(), Handle_ASM(), Handle_DIVPART(), Handle_DIVREM(), Handle_LDBITS(), Handle_LDID(), Handle_MAXPART(), Handle_MINMAX(), Handle_MINPART(), Handle_REMPART(), Handle_STBITS(), Handle_STID(), Live_Init(), and PREG_To_TN().
Definition at line 1484 of file whirl2ops.cxx.
References CURRENT_SYMTAB, Get_Preg_Num(), i, Last_Dedicated_Preg_Offset, NULL, PREG_Table_Size(), and TYPE_ID.
Referenced by CG_Region_Initialize().
Definition at line 517 of file whirl2ops.cxx.
References NULL, OP_MAP64_Create, OP_MAP64_Get(), OP_MAP64_Set(), TN_number, and UINT64.
Definition at line 2113 of file whirl2ops.cxx.
References Malloc_Mem_Pool, MEM_POOL_FREE, next, TN_CORRESPOND::next, NULL, and p.
Referenced by CG_Region_Initialize().
Definition at line 1430 of file whirl2ops.cxx.
References Float_Preg_Min_Offset, FmtAssert, i, Int_Preg_Min_Offset, REGISTER_machine_id, REGISTER_UNDEFINED, TN_is_float, TN_number, TN_register, and TN_register_class.
Referenced by Gen_quad_preg(), REGION_Entry_PREG_Whirl(), REGION_Exit_PREG_Whirl(), TN_To_PREG(), and Update_preg_to_tn_array().
Definition at line 1456 of file whirl2ops.cxx.
References CURRENT_SYMTAB, Get_Preg_Num(), i, Last_Dedicated_Preg_Offset, PREG_Table_Size(), TN_is_dedicated, and TN_To_Assigned_PREG().
Referenced by CGTARG_Add_Implict_Operands(), Complement_TN_Reference(), Generate_Entry(), Get_Complement_TN(), Handle_ASM(), Handle_LNOT(), Mark_Use(), Setup_Live_Ranges(), and TN_To_Index().
Definition at line 7157 of file whirl2ops.cxx.
References CG_opt_level, EC_LNO_Bad_Pragma_String, NULL, OP_MAP_Delete(), WN_Get_Linenum(), WN_MAP_Delete, WN_MAP_UNDEFINED, WN_pragma(), WN_pragma_compiler_generated, WN_pragmas, and WN_to_OP_map.
Referenced by CG_Region_Finalize().
| void Whirl2ops_Initialize | ( | struct ALIAS_MANAGER * | alias_mgr | ) |
Definition at line 7138 of file whirl2ops.cxx.
References Alias_Manager, MEM_phase_pool, NULL, OP_MAP_Create, WN_MAP_Create, WN_MAP_UNDEFINED, and WN_to_OP_map.
Referenced by CG_Region_Initialize().
Definition at line 130 of file whirl2ops.cxx.
Referenced by BB_Depth_First_Map(), BB_Mark_Unreachable_Blocks(), BB_Topological_Map(), Combine_Chains(), Compute_Frequencies(), Convert_WHIRL_To_OPs(), Freq_Order_Blocks(), Normalize_BB_Frequencies(), and Order_Chains().
Definition at line 190 of file whirl2ops.cxx.
Referenced by Assign_Registers_For_OP(), Can_OP_Move(), CGTARG_Is_OP_Barrier(), Copy_Asm_OP_Annot(), EETARG_Call_Mcount(), Exp_Intrinsic_Call(), Fixup_OP(), Generate_Asm_String(), Mark_Use(), OP_Has_Restrictions(), Preallocate_Single_Register_Subclasses(), Scan_Complement_BB_For_Referenced_TNs(), Setup_Live_Ranges(), and Usable_Registers().
Definition at line 184 of file whirl2ops.cxx.
Definition at line 1137 of file whirl2ops.cxx.
Referenced by CG_Region_Initialize(), Gen_quad_preg(), Generate_Entry(), Generate_Exit(), Get_Complement_TN(), Get_Local_TN_For_Global(), Init_Callee_Saved_Regs_for_REGION(), REGION_Entry_PREG_Whirl(), REGION_Exit_PREG_Whirl(), Setup_GP_TN_For_PU(), and Update_preg_to_tn_array().
Definition at line 1138 of file whirl2ops.cxx.
Referenced by CG_Region_Initialize(), Gen_quad_preg(), Generate_Entry(), Generate_Exit(), Init_Callee_Saved_Regs_for_REGION(), REGION_Entry_PREG_Whirl(), REGION_Exit_PREG_Whirl(), and Setup_GP_TN_For_PU().
1.5.6