#include <sys/types.h>#include <elf.h>#include <cmplrs/rcodes.h>#include <dirent.h>#include <libgen.h>#include "defs.h"#include "errors.h"#include "err_host.tab"#include "erglob.h"#include "erauxdesc.h"#include "mempool.h"#include "phase.h"#include "be_util.h"#include "wn.h"#include "driver_util.h"#include "timing.h"#include "glob.h"#include "stab.h"#include "pu_info.h"#include "ir_bread.h"#include "ir_bwrite.h"#include "config.h"#include "config_opt.h"#include "config_list.h"#include "config_lno.h"#include "config_cache.h"#include "file_util.h"#include "xstats.h"#include "data_layout.h"#include "opt_alias_interface.h"#include "wn_lower.h"#include "cgdriver.h"#include "optimizer.h"#include "ori.h"#include "wodriver.h"#include "lnodriver.h"#include "ipl_driver.h"#include "w2c_driver.h"#include "w2f_driver.h"#include "prp_driver.h"#include "anl_driver.h"#include "region_util.h"#include "region_main.h"#include "cg/cg.h"#include "tracing.h"#include "ir_reader.h"#include "dwarf_DST.h"#include "fb_whirl.h"#include "eh_region.h"#include "vho_lower.h"#include "iter.h"#include "dra_export.h"#include "ti_init.h"#include "omp_lower.h"#include "cxx_memory.h"#include "options_stack.h"#include "be_symtab.h"#include "prompf.h"#include "wb_omp.h"#include "wb_lwr.h"#include "wb_anl.h"#include "wn_instrument.h"#include "mem_ctr.h"#include "ipl_reorder.h"#include "config_ipa.h"#include "be_memop_annot.h"#include "w2c_weak.h"#include "w2f_weak.h"Go to the source code of this file.
| #define FEEDBACK_PATH_MAXLEN 1024 |
Definition at line 68 of file driver.cxx.
Referenced by IPA_preopt_initialize(), load_components(), main(), TI_Initialize(), Whirl2C_Init(), and Whirl2F_Init().
Definition at line 755 of file driver.cxx.
References BOOL, COMPUTE_PU_OLIMIT, cplus_demangle(), Current_PU_Count(), CURRENT_SYMTAB, DMGL_ANSI, DMGL_PARAMS, DMGL_TYPES, EC_LNO_Backoff, EC_Not_Ansi_Setjmp, EC_Not_Optimized, EC_Olimit_Exceeded, ErrMsg(), FALSE, fprintf(), free(), Get_Current_PU, Get_Trace(), INT, LNO_Fusion, LNO_Outer_Unroll, NULL, Olimit, Olimit_opt, Olimit_Region_Insertion(), Opt_Level, Optimization_Skip_List, p, PREG_Table_Size(), Prompf_Emit_Whirl_to_Source(), PU_calls_setjmp(), PU_CXX_LANG, PU_Olimit, PU_src_lang, PU_WN_BB_Cnt, PU_WN_Stmt_Cnt, Query_Skiplist(), reset_opt_level, Run_autopar, Run_Distr_Array, Show_OPT_Warnings, ST_Table_Size(), TFile, TINFO_STATS, TKIND_INFO, and TRUE.
Referenced by Preprocess_PU().
Definition at line 1414 of file driver.cxx.
References BOOL, Clear_local_symtab_addr_flags(), Current_Dep_Graph, Current_PU_Info, CURRENT_SYMTAB, CXX_Alias_Const, Do_WOPT_and_CG_with_Regions(), Early_MP_Processing, EH_Dump_INITOs(), EH_Generate_Range_List(), ErrMsg(), FALSE, Feedback_Enabled, fprintf(), Get_Current_PU, Get_Current_PU_ST, Get_Trace(), Instrumentation_Enabled, Instrumentation_Phase_Num, Instrumentation_Type_Num, Is_True, LNO_Processing(), LOWER_MP, LOWER_RETURN_VAL, MEM_pu_pool, MemCtr_Add(), NULL, OPR_FUNC_ENTRY, OPT_IPA_addr_analysis, OPTIONS_STACK::Pop_Current_Options(), Post_LNO_Processing(), Post_Process_Backend(), pu_info::proc_sym, Process_Fill_Align_Pragmas(), OPTIONS_STACK::Process_Pragma_Options(), PROFILE_PHASE_BEFORE_LNO, PU_adjust_addr_flags(), PU_cxx_lang(), PU_ftn_lang(), PU_has_mp, PU_Info_tree_ptr, PU_ipa_addr_analysis(), PU_needs_fill_align_lowering(), Recompute_addr_saved_stmt(), Rewrite_Pragmas_On_Structs(), Run_autopar, Run_Distr_Array, Run_MemCtr, Scope_tab, Set_addr_saved_stmt(), Set_Error_Phase(), Set_PU_Info_depgraph_ptr, Set_PU_Info_state, ST_asm_function_st(), ST_name, ST_tcon, Subsect_InMem, Targ_String_Address(), Tcon_Table, TFile, TP_EH, TRUE, Update_EHRegion_Inito(), Verify_SYMTAB(), WB_LWR_Initialize(), WB_LWR_Terminate(), WHIRL_Mldid_Mstid_On, WHIRL_PROFILE, WHIRL_Return_Val_On, WN_Annotate(), WN_first(), WN_func_body, WN_func_pragmas, WN_Instrument(), WN_Lower(), WN_next(), WN_operator(), WN_pragma(), WN_PRAGMA_OPTIONS, WN_st(), and WT_DEPGRAPH.
Referenced by Preorder_Process_PUs().
Definition at line 1065 of file driver.cxx.
References BOOL, DST_idx::byte_idx, Calculate_Stack_Frame_Sizes(), CG_Generate_Code(), CG_PU_Initialize(), Clear_BE_ST_pu_has_valid_addr_flags(), Create_Alias_Manager(), Cur_PU_Feedback, Cur_PU_Name, Current_PU_Count(), CURRENT_SYMTAB, Delay_U64_Lowering, DST_INVALID_BYTE_IDX, FALSE, fdump_region_tree(), fdump_tree(), Feedback_Enabled, FmtAssert, fprintf(), Generate_region_boundaries(), Get_Current_PU, Get_Current_PU_ST, Get_Trace(), Initialize_Stack_Frame(), Instrumentation_Enabled, Instrumentation_Phase_Num, Instrumentation_Type_Num, Is_Trace, Is_True, LOWER_MLDID_MSTID, LOWER_SCF, LOWER_TO_CG, MEM_pu_nz_pool_ptr, MEM_pu_pool, need_wopt_output, NULL, Only_Unsigned_64_Bit_Ops, OPC_FUNC_ENTRY, OPTIONS_STACK::Pop_Current_Options(), OPTIONS_STACK::Process_Pragma_Options(), PROFILE_PHASE_BEFORE_CG, PROFILE_PHASE_BEFORE_WOPT, PU_adjust_addr_flags(), PU_has_region, PU_Info_proc_sym, Query_Skiplist(), REGION_consistency_check(), REGION_CS_ITER_init(), REGION_CS_ITER_is_not_stacked, REGION_CS_ITER_is_pu, REGION_CS_NoEarlierSub_First(), REGION_CS_NoEarlierSub_Next(), REGION_CS_NoEarlierSub_While(), REGION_get_rid(), REGION_remove_and_mark(), REGION_replace_from_mark(), Report_CG_Region_Timing(), RID_contains_bounds, RID_id, RID_options, RID_set_print(), RID_type, RID_TYPE_func_entry, RID_TYPE_loop, RID_TYPE_olimit, RID_TYPE_pragma, RID_TYPE_undefined, RID_WN_Tree_Print(), Save_Cur_PU_Name(), Set_BE_ST_pu_needs_addr_flag_adjust(), Set_Current_Region_For_Trace(), Set_Error_Phase(), Set_PU_Info_tree_ptr, Show_Progress, ST_name, TFile, Tim_File, TP_REGION, TRUE, TT_REGION_ALL, TT_REGION_BOUND_DEBUG, TT_REGION_CG_DEBUG, U64_lower_wn(), FEEDBACK::Verify(), Verify_SYMTAB(), wb_gwe(), WB_LWR_Initialize(), WB_LWR_Terminate(), WHIRL_PROFILE, WN_Annotate(), WN_Instrument(), WN_Lower(), WN_opcode(), WOPT_Processing(), WOPT_Skip_List, and Write_PU_Info().
Referenced by Backend_Processing().
| char* Get_Orig_PU_Name | ( | PU_Info * | current_pu | ) |
Definition at line 695 of file driver.cxx.
References DST_idx::byte_idx, DST_subprogram::def, dst, DST_ATTR_IDX_TO_PTR, DST_INFO_attributes, DST_INFO_flag, DST_INFO_IDX_TO_PTR, DST_INFO_tag, DST_IS_declaration, DST_IS_NULL, DST_STR_IDX_TO_PTR, DST_SUBPROGRAM_def_name, DW_TAG_subprogram, info, DST_subpr_def::name, NULL, PU_Info_proc_sym, PU_Info_pu_dst, and ST_name.
Referenced by Preprocess_PU().
Definition at line 42 of file driver_targ.cxx.
References ABI_I32, ABI_I64, ABI_N32, ABI_n32, ABI_N64, ABI_n64, ABI_w64, FALSE, FmtAssert, Isa_Name(), proc, Targ_Name(), Target, Target_ABI, TARGET_anyx86, TARGET_athlon, TARGET_athlon64, TARGET_barcelona, TARGET_core, TARGET_em64t, Target_ISA, TARGET_ISA_compute_10, TARGET_ISA_compute_11, TARGET_ISA_compute_12, TARGET_ISA_compute_13, TARGET_ISA_compute_14, TARGET_ISA_compute_15, TARGET_ISA_compute_20, TARGET_ISA_I1, TARGET_ISA_M2, TARGET_ISA_M4, TARGET_ISA_Mips64, TARGET_ISA_x86_64, TARGET_ITANIUM, TARGET_ITANIUM2, TARGET_nvisa, TARGET_opteron, TARGET_pentium4, TARGET_R10K, TARGET_sb1, TARGET_sl1_dsp, TARGET_sl1_pcore, TARGET_sl2_mcore, TARGET_sl2_pcore, TARGET_wolfdale, TARGET_xeon, TI_Initialize(), and version.
Referenced by load_components().
Definition at line 869 of file driver.cxx.
References Create_Alias_Manager(), Create_Du_Manager(), DBar, Delete_Alias_Manager(), Delete_Du_Manager(), fprintf(), Get_Current_PU_ST, Get_Trace(), MEM_local_pool, MEM_POOL_Pop, MEM_POOL_Push, MEM_pu_nz_pool_ptr, MEM_Trace(), Perform_Procedure_Summary_Phase, Pre_Optimizer(), PREOPT_IPA0_PHASE, PU_adjust_addr_flags(), Set_Error_Phase(), Set_PU_Info_tree_ptr, TFile, TKIND_ALLOC, TP_IPA, and Write_PU_Info().
Referenced by Preorder_Process_PUs().
Definition at line 909 of file driver.cxx.
References BOOL, Check_for_IR_Dump(), Current_Dep_Graph, Current_PU_Info, Early_MP_Processing, fdump_region_tree(), fdump_tree(), fprintf(), Free_Dep_Graph(), Get_Current_PU, Get_Trace(), Is_True, NULL, Perform_Loop_Nest_Optimization(), Perform_Preopt_Optimization(), PU_Info_depgraph_ptr, PU_mp(), PU_mp_needs_lno(), REGION_consistency_check(), REGION_CS_ITER_init(), REGION_CS_ITER_is_not_stacked, REGION_CS_ITER_is_pu, REGION_CS_NoEarlierSub_First(), REGION_CS_NoEarlierSub_Next(), REGION_CS_NoEarlierSub_While(), REGION_get_rid(), REGION_remove_and_mark(), REGION_replace_from_mark(), RID_id, RID_set_print(), RID_TYPE_func_entry, RID_WN_Tree_Print(), Run_autopar, Run_Distr_Array, Set_PU_Info_depgraph_ptr, Set_PU_Info_state, Subsect_InMem, Subsect_Missing, TFile, TP_GLOBOPT, TP_LNOPT, TP_REGION, TRUE, TT_REGION_ALL, and WT_DEPGRAPH.
Referenced by Backend_Processing().
Definition at line 465 of file driver.cxx.
References Anl_Needs_Whirl2c(), Anl_Needs_Whirl2f(), Anl_Process_Command_Line(), CG_Process_Command_Line(), EP_BE, FALSE, Get_Phase_Args(), Initialize_Targ_Info(), INT, ipl_main(), LNO_IPA_Enabled, lno_main(), load_so, phase_argc, phase_argv, PHASE_CG, PHASE_IPL, PHASE_LNO, PHASE_PROMPF, PHASE_PURPLE, PHASE_W2C, PHASE_W2F, PHASE_WOPT, Prompf_anl_loaded, Prompf_Id_Map, Prp_Needs_Whirl2c(), Prp_Needs_Whirl2f(), Prp_Process_Command_Line(), Purple_loaded, Run_autopar, Run_w2fc_early, Set_Error_Descriptor(), Show_Progress, TRUE, W2C_Process_Command_Line(), W2C_Set_Prompf_Emission(), W2F_Process_Command_Line(), W2F_Set_Prompf_Emission(), Whirl2c_loaded, Whirl2f_loaded, wopt_loaded, and wopt_main().
Referenced by main().
Definition at line 2195 of file driver.cxx.
References be_debug(), Be_scope_tab, BE_SCOPE::be_st_tab, BE_symtab_alloc_scope_level(), BE_symtab_free_be_scopes(), BE_symtab_initialize_be_scopes(), BOOL, Cleanup_Files(), RELATED_SEGMENTED_ARRAY< T, block_size >::Clear(), Close_Output_Info(), Configure(), Configure_Source(), Cur_PU_Name, current_pu, CXX_NEW, CXX_NEW_ARRAY, DBar, DRA_Initialize(), EC_File_Olimit_Exceeded, ecount, Emit_Global_Data, EP_BE, EP_CG, ErrMsg(), ERROR_LINE_UNKNOWN, exit(), FALSE, Feedback_Option, fflush(), File_info, FILE_INFO_ipa(), FILE_INFO_needs_lno(), OUTPUT_FUNC_START_PROFILER::Fill_In_Func_Body(), Finish_Compilation_Timing(), fprintf(), OUTPUT_FUNC_START_PROFILER::Generate_Func_Start_Profiler_PU(), Get_Error_Count(), Get_Phase_Args(), Get_Trace(), Global_File_Name, GLOBAL_SYMTAB, Had_Internal_Error(), Handle_Signals(), host_errlist, i, Inhibit_EH_opt, Init_Error_Handler(), Init_Operator_To_Opcode_Table(), Initialize_Special_Global_Symbols(), Initialize_Stats(), Initialize_Symbol_Tables(), Instrumentation_Enabled, Instrumentation_Phase_Num, Instrumentation_Type_Num, INT, Ipl_Extra_Output(), Irb_File, Irb_File_Name, Is_True, isr_cg, List_All_Options, List_Compile_Options(), List_Enabled, lno_main(), load_components(), load_so, Lst_File, Malloc_Mem_Pool, Max_Src_Olimit, MEM_Initialize(), MEM_POOL_Pop, MEM_POOL_Push, MEM_src_nz_pool, MEM_src_pool, MEM_Trace(), MEM_Tracing_Enable(), Merge_Parents_Regset(), Mhd, Mhd_Options, need_ipl_output, need_lno_output, need_wopt_output, New_Scope(), NULL, Olimit, Olimit_opt, Open_Global_Input(), Open_Input_Info(), Open_Local_Input(), Opt_Level, Output_Func_Start_Profiler, phase_argc, phase_argv, Phase_Fini(), Phase_Init(), PHASE_LNO, PHASE_WOPT, Phases, Preconfigure(), Preorder_Process_PUs(), Prepare_Listing_File(), Prepare_Source(), Preprocess_struct_access(), Print_Tlog_Header(), Print_Total_Stats(), Process_Command_Line(), Process_Feedback_Options(), PROFILE_PHASE_IPA_CUTOFF, PROFILE_PHASE_NONE, PU_Info_next, pu_num, OPTIONS_STACK::Push_Current_Options(), RC_INTERNAL_ERROR, RC_NORECOVER_USER_ERROR, RC_OKAY, RC_USER_ERROR, Read_Global_Data, Read_Global_Info(), Read_isr_cg(), Reset_Timers(), Run_autopar, Run_Distr_Array, Run_Dsm_Cloner, Run_Dsm_Common_Check, Scope_tab, Set_Error_Descriptor(), Set_Error_File(), Set_Error_Line(), Set_Error_Phase(), Set_Error_Source(), Set_Error_Tables(), OUTPUT_FUNC_START_PROFILER::Set_file_name(), OUTPUT_FUNC_START_PROFILER::Set_pu_tree(), setvbuf(), Show_OPT_Warnings, Show_Progress, Src_File_Name, SCOPE::st_tab, Start_Timer(), Stop_Timer(), T_BE_Comp, T_ReadIR_Comp, Terminate(), TFile, Tim_File, TKIND_ALLOC, Tlog_File, TP_MISC, TRUE, warnings_are_errors, WHIRL_PROFILE, WOPT_Enable_Simple_If_Conv, wopt_loaded, wopt_main(), and Write_Global_Info().
Definition at line 663 of file driver.cxx.
References Anl_Fini(), Anl_Needs_Whirl2c(), Anl_Needs_Whirl2f(), CG_Fini(), CURRENT_SYMTAB, DRA_Finalize(), GLOBAL_SYMTAB, Ipl_Fini(), Lno_Fini(), Opt_Level, Prp_Fini(), Run_autopar, Run_Distr_Array, Run_Dsm_Cloner, Run_Dsm_Common_Check, TRUE, Verify_SYMTAB(), Vho_Fini(), W2C_Outfile_Fini(), W2F_Outfile_Fini(), and Wopt_Fini().
Referenced by main().
Definition at line 570 of file driver.cxx.
References Allocate_File_Statics(), Anl_Init(), Anl_Needs_Whirl2c(), Anl_Needs_Whirl2f(), CG_Init(), Emit_Global_Data, FALSE, Global_File_Name, Ipl_Init(), Irb_File_Name, LANG_KR_C, Language, Last_Pathname_Component(), Lno_Init(), LNO_Run_Lego, LNO_Run_Lego_Set, need_ipl_output, need_lno_output, need_wopt_output, New_Extension(), Obj_File_Name, Open_Output_Info(), Opt_Level, output_file_name, Pad_Global_Arrays(), Prp_Init(), Read_Global_Data, Run_autopar, Run_Distr_Array, Src_File_Name, TRUE, Vho_Init(), VHO_Struct_Opt, W2C_Outfile_Init(), W2F_Outfile_Init(), and Wopt_Init().
Referenced by main().
Definition at line 1007 of file driver.cxx.
References BOOL, Cur_PU_Feedback, CURRENT_SYMTAB, GLOBAL_SYMTAB, Is_Set_PU_Info_flags, LANG_F90, Language, need_lno_output, PU_IS_COMPILER_GENERATED, Run_w2fc_early, Set_PU_Info_tree_ptr, TRUE, Verify_SYMTAB(), W2C_Outfile_Translate_Pu(), W2C_Set_Frequency_Map(), W2C_Should_Emit_Nested_PUs(), W2F_Outfile_Translate_Pu(), W2F_Set_Frequency_Map(), W2F_Should_Emit_Nested_PUs(), WN_MAP_FEEDBACK, and Write_PU_Info().
Referenced by Backend_Processing().
Definition at line 1311 of file driver.cxx.
References CG_Generate_Code(), CG_PU_Finalize(), Delete_Alias_Manager(), FALSE, fdump_region_tree(), fprintf(), Get_Trace(), MEM_pu_nz_pool_ptr, NULL, PU_Info_pu_dst, RID_WN_Tree_Print(), TFile, TP_REGION, and TT_REGION_ALL.
Referenced by Backend_Processing().
Definition at line 1888 of file driver.cxx.
References Be_scope_tab, BE_SCOPE::be_st_tab, RELATED_SEGMENTED_ARRAY< T, block_size >::Clear(), Current_Map_Tab, Delete_Restricted_Map(), FALSE, fprintf(), Free_Local_Info(), Lowering_Finalize(), MEM_POOL_Pop, MEM_pu_nz_pool_ptr, MEM_pu_pool_ptr, PU_Info_maptab, PU_Info_proc_sym, PU_lexical_level, REGION_Finalize(), Run_w2fc_early, Saved_run_prompf, Saved_run_w2c, Saved_run_w2f, Saved_run_w2fc_early, Scope_tab, ST_name, SCOPE::st_tab, Tlog_File, WN_Mem_Pop(), and wopt_loaded.
Referenced by Preorder_Process_PUs().
Definition at line 1940 of file driver.cxx.
References Advance_Current_PU_Count(), Allocate_Object(), Backend_Processing(), Be_preg_tab, BOOL, CLASS_FUNC, RELATED_SEGMENTED_ARRAY< T, block_size >::Clear(), Cur_PU_Feedback, Cur_PU_Name, CURRENT_SYMTAB, Debug_Level, DRA_Processing(), FALSE, File_info, FILE_INFO_ipa(), Finish_BE_Timing(), FOREACH_SYMBOL, func, Get_Current_PU, i, INT, Ipl_Processing(), NULL, Olimit_opt, OMP_Prelower(), Opt_Level, Postprocess_PU(), SCOPE::preg_tab, Preprocess_PU(), Print_PU_Stats(), Prompf_Id_Map, pu, PU_cxx_lang(), PU_has_mp, PU_has_region, PU_Info_child, PU_Info_next, PU_Info_proc_sym, PU_mp(), Pu_Table, growing_table::Register(), reset_opt_level, Run_Dsm_Check, Run_Dsm_Cloner, Run_Dsm_Common_Check, Scope_tab, Set_Error_Phase(), ST_class, ST_name, ST_pu(), St_Table, Start_Timer(), Stop_Timer(), T_BE_PU_CU, Tim_File, growing_table::Un_register(), Verify_SYMTAB(), WB_OMP_Initialize(), WB_OMP_Terminate(), and WN_verifier().
Referenced by main().
Definition at line 1648 of file driver.cxx.
References Adjust_Opt_Level(), Anl_Init_Map(), Anl_Static_Analysis(), Be_scope_tab, BE_symtab_alloc_scope_level(), BOOL, BZERO, Check_for_IR_Dump(), Create_Restricted_Map(), Cur_PU_Feedback, Cur_PU_Name, Current_Map_Tab, Current_pu, Current_PU_Count(), Current_PU_Info, CURRENT_SYMTAB, CXX_NEW, CYG_Instrument_Driver(), FALSE, Feedback_Enabled, FmtAssert, fprintf(), Get_Current_PU, Get_Orig_PU_Name(), Get_Trace(), Initialize_PU_Stats(), Instrumentation_Enabled, Instrumentation_Phase_Num, Instrumentation_Type_Num, Is_Set_PU_Info_flags, Is_True, Lowering_Initialize(), MEM_POOL_Push, MEM_pu_nz_pool_ptr, MEM_pu_pool, MEM_pu_pool_ptr, NULL, Orig_PU_Name, PROFILE_PHASE_BEFORE_VHO, PROFILE_PHASE_LAST, Prompf_Id_Map, Prp_Instrument_And_EmitSrc(), pu, PU_ftn_lang(), PU_has_inlines, PU_has_region, PU_Info_feedback_ptr, PU_Info_maptab, PU_Info_proc_sym, PU_Info_state, PU_Info_tree_ptr, PU_IS_COMPILER_GENERATED, PU_IS_DRA_CLONE, PU_is_nested_func(), PU_lexical_level, PU_mp(), Pu_Hdr::pu_num_br_entries, Pu_Hdr::pu_num_call_entries, Pu_Hdr::pu_num_icall_entries, Pu_Hdr::pu_num_inv_entries, Pu_Hdr::pu_num_loop_entries, Pu_Hdr::pu_num_scircuit_entries, Pu_Hdr::pu_num_switch_entries, Read_Feedback_Info(), Read_Local_Info(), REGION_Initialize(), growing_table::Register(), GTABLE::Remove_Gotos(), Restore_Local_Symtab(), Run_w2fc_early, Pu_Hdr::runtime_fun_address, Save_Cur_PU_Name(), Saved_run_prompf, Saved_run_w2c, Saved_run_w2f, Saved_run_w2fc_early, Scope_tab, Set_Current_PU_For_Trace(), Set_Error_Phase(), Show_Progress, ST_name, SCOPE::st_tab, Start_Timer(), Stop_Timer(), strcmp(), Subsect_InMem, T_ReadIR_CU, TFile, Tlog_File, TP_IR_READ, TP_REGION, TRUE, TT_REGION_ALL, FEEDBACK::Verify(), VHO_Lower_Driver(), WB_ANL_Initialize(), WB_ANL_Terminate(), wb_gwe(), WHIRL_PROFILE, WN_Annotate(), WN_first(), WN_func_body, WN_Instrument(), WN_Mem_Push(), WN_next(), wopt_loaded, WT_FEEDBACK, and WT_TREE.
Referenced by Preorder_Process_PUs().
Definition at line 2047 of file driver.cxx.
References fprintf(), Get_Trace(), i, INT, Tlog_File, TP_PTRACE1, and TP_PTRACE1_NOHDR.
Referenced by main().
| static void Process_Feedback_Options | ( | OPTION_LIST * | olist | ) | [static] |
Definition at line 2064 of file driver.cxx.
References closedir(), dirent::d_name, DIR, ErrMsg(), Feedback_File_Name, FEEDBACK_PATH_MAXLEN, INT, Is_True, NULL, OLIST_next, OLIST_val, opendir(), path, prefix, Process_Feedback_File(), readdir(), strcpy, strlen(), strncmp(), strncpy(), and val.
Referenced by main().
Definition at line 76 of file fill_align.cxx.
References CXX_NEW, FALSE, Fill_Align_Initialize_Parameters(), initialized, INT, L1_cache_line_sz, L2_cache_line_sz, MEM_POOL_Initialize, MEM_POOL_Push_Freeze, page_sz, and Process_Fill_Align_Pragmas_Recursive().
Referenced by Backend_Processing().
Definition at line 52 of file lx_prompf_anl.cxx.
Referenced by Adjust_Opt_Level(), and Prompf_Dump().
Definition at line 172 of file rewrite_pragmas.cxx.
References alloca, Array_Element_Then_Struct(), BOOL, count, duplicate, FALSE, FmtAssert, i, INT, Is_Mp_Region(), Is_True, KIND_STRUCT, Make_Pointer_Type(), MTYPE_V, NULL, opc, OPC_BLOCK, OPCODE_make_op(), OPR_ARRAY, OPR_ILOAD, OPR_ISTORE, OPR_LDID, OPR_PRAGMA, OPR_STID, OPR_XPRAGMA, Rewrite_Structs_In_MPRegion(), ST_st_idx, ST_type, Tree_Equiv(), TRUE, TY_kind, TYPE_ID, Weird_Array_Element(), WN_array_base, WN_COPY_Tree(), WN_CreateIload, WN_CreateIstore, WN_CreateLdid, WN_CreatePragma, WN_CreateStid, WN_DELETE_FromBlock(), WN_first(), WN_INSERT_BlockAfter(), WN_INSERT_BlockBefore(), WN_INSERT_BlockFirst, WN_kid(), WN_kid0(), WN_kid_count(), WN_next(), WN_opcode(), WN_operator(), WN_pragma(), WN_pragma_arg1(), WN_pragma_arg2(), WN_pragma_compiler_generated, WN_PRAGMA_FIRSTPRIVATE, WN_PRAGMA_LASTLOCAL, WN_PRAGMA_LOCAL, WN_PRAGMA_REDUCTION, WN_prefetch_flag(), WN_prev(), WN_region_body, WN_region_pragmas, WN_st(), and WN_st_idx().
Referenced by Backend_Processing().
Definition at line 725 of file driver.cxx.
References Cur_PU_Name, MEM_pu_nz_pool, NULL, sprintf(), strcpy, strlen(), and TYPE_MEM_POOL_ALLOC_N.
Referenced by Do_WOPT_and_CG_with_Regions(), and Preprocess_PU().
Definition at line 1390 of file driver.cxx.
References CURRENT_SYMTAB, FOREACH_INITO, i, INITO_st(), INT, SCLASS_EH_REGION, SCLASS_EH_REGION_SUPP, Set_ST_is_not_used, ST_sclass, and Update_EHRegion_Inito_Used().
Referenced by Backend_Processing().
Definition at line 1346 of file driver.cxx.
References Clear_ST_is_not_used, INITO_st(), INITO_val(), INITV_kind(), INITVKIND_LABEL, INT, OPR_BLOCK, OPR_REGION, WN_ereg_supp(), WN_first(), WN_kid(), WN_kid_count(), WN_next(), and WN_operator().
Referenced by Update_EHRegion_Inito().
| static WN* WOPT_Processing | ( | PU_Info * | current_pu, | |
| WN * | pu, | |||
| REGION_CS_ITER * | rgn_iter, | |||
| WN * | rwn | |||
| ) | [static] |
Definition at line 1041 of file driver.cxx.
References Check_for_IR_Dump(), fdump_region_tree(), fdump_tree(), fprintf(), Get_Trace(), Perform_Global_Optimization(), REGION_get_rid(), RID_id, RID_WN_Tree_Print(), TFile, TP_GLOBOPT, TP_REGION, TT_REGION_ALL, and Verify_alias().
Referenced by Do_WOPT_and_CG_with_Regions().
struct ALIAS_MANAGER* alias_mgr = NULL [static] |
Definition at line 440 of file driver.cxx.
Referenced by IPA_Preoptimize(), IPO_Process_node(), Perform_Loop_Nest_Optimization(), and Perform_Preopt_Optimization().
Definition at line 197 of file dep_graph.cxx.
Referenced by Add_Invariant_Deps(), Backend_Processing(), Both_Invariant(), Build_CG_Dependence_Graph(), Copy_Non_MP_Tree(), Copy_Non_MP_Tree_Rec(), get_mem_dep(), Init_lno_info_for_main_emitter(), Inter_Iteration_Cses_Loop(), Lego_OZero_Driver(), LNO_Processing(), Lnoptimizer(), Pre_Optimizer(), Print_dep_graph(), Process_Pair(), Set_Up_Equivalence_Class(), Transform_Code(), WN_add_lno_info(), WN_detach_wn_from_dep_graph(), WN_dup_dep_vertex(), and WN_get_dep_graph_vertex().
Definition at line 462 of file driver.cxx.
Definition at line 430 of file driver.cxx.
Referenced by display_problems(), main(), and unw_decode_b3_x4().
Referenced by CG_Process_Command_Line(), and lno_main().
Referenced by CG_Process_Command_Line().
Output_File* ir_output = 0 [static] |
Definition at line 434 of file driver.cxx.
BOOL need_ipl_output = FALSE [static] |
BOOL need_lno_output = FALSE [static] |
Definition at line 432 of file driver.cxx.
Referenced by main(), Phase_Init(), and Post_LNO_Processing().
BOOL need_wopt_output = FALSE [static] |
Definition at line 431 of file driver.cxx.
Referenced by Do_WOPT_and_CG_with_Regions(), main(), and Phase_Init().
OPTIONS_STACK* Options_Stack [static] |
Definition at line 437 of file driver.cxx.
Referenced by Anl_Fini(), Atomic_Using_Critical(), PROMPF_INFO::Check_Traverse(), Convert_Section_To_Pdo(), Copy_Array(), Copy_Array_Section(), create_doloop_node(), Create_Simple_Shackle_Loops(), Create_Single_Region(), Delete_Shackle_Prompf_Info(), dump_loops(), Fission(), Fission_Statement(), Fuse(), ARA_LOOP_INFO::Generate_Copyout_Loop(), ARA_LOOP_INFO::Generate_Parallel_Pragma(), Insert_Lowered_Atomic(), load_components(), Lower_Fetch_And_Op(), Lower_Master(), LWN_Delete_From_Block(), LWN_Delete_Tree(), Mp_Extract_Parallel_Directives(), Parallelize_Doacross_Loop(), Perform_Gather_Scatter(), Post_loop_peeling(), Pre_loop_peeling(), Preorder_Process_PUs(), Preprocess_PU(), Print_Prompf_Doacross_Log(), Print_Prompf_Msgs(), Print_Prompf_Nest_Log(), Print_Prompf_Parallel_Region_Log(), Print_Prompf_Preopt_Transaction_Log(), Prompf_Assign_Ids_Traverse(), Prompf_Assign_New_Ids_Traverse(), Prompf_Collect_Ids(), Prompf_Hoist_Messy_Bounds(), PROMPF_INFO::PROMPF_INFO(), PROMPF_INFO::Prompf_Info_Traverse(), Prompf_Interchange(), Prompf_Mp_Version(), Prompf_Nested_Tile(), Prompf_Record_Eliminations(), Prompf_Tile(), Prompf_Tile_Split(), Prompf_Zero_Ids(), Raise_dowhile_stmt(), Raise_whiledo_stmt(), Remove_Unity_Trip_Loop(), Scalar_Expansion_Tile(), separate_loop_and_scalar_expand(), separate_loop_by_scc(), Shackle_Copy_Prompf_Id_Map_Info(), Shackle_Prompf_Map_Initialize(), SNL_Distribute(), SNL_GEN_2D_Regtile(), SNL_GEN_Protect_Nest_With_Conditionals(), SNL_GEN_U_Ctiling(), SNL_INV_Cache_Block(), SNL_INV_Scalar_Expand_Tile(), SNL_Peel_Iteration(), SNL_Regtile_Loop(), PF_LOOPNODE::Split_Loops(), this_node(), Thread_Affinity_Lower(), VHO_Lower_Driver(), vintr_fis_separate_loop_and_scalar_expand(), WB_Prompf_Map(), and Wind_Down().
BOOL reset_opt_level = FALSE [static] |
Definition at line 439 of file driver.cxx.
Referenced by Adjust_Opt_Level(), and Preorder_Process_PUs().
BOOL Run_Distr_Array = FALSE [static] |
Definition at line 442 of file driver.cxx.
Referenced by Adjust_Opt_Level(), Backend_Processing(), LNO_Processing(), main(), Phase_Fini(), and Phase_Init().
| BOOL Run_MemCtr = FALSE |
Definition at line 443 of file driver.cxx.
Referenced by Backend_Processing(), and Process_Command_Line().
BOOL Saved_run_prompf = FALSE [static] |
BOOL Saved_run_w2c = FALSE [static] |
BOOL Saved_run_w2f = FALSE [static] |
BOOL Saved_run_w2fc_early = FALSE [static] |
BOOL wopt_loaded = FALSE [static] |
Definition at line 455 of file driver.cxx.
Referenced by load_components(), main(), Postprocess_PU(), and Preprocess_PU().
1.5.6