Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#include <sys/types.h>
#include <elf.h>
#include <cmplrs/rcodes.h>
#include <dirent.h>
#include <libgen.h>
#include "defs.h"
#include "dso.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 "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 "w2c_weak.h"
#include "w2f_weak.h"
Go to the source code of this file.
#define DSOext ".so" |
Definition at line 120 of file curr.driver.cxx.
Referenced by load_components(), and main().
#define FEEDBACK_PATH_MAXLEN 1024 |
Definition at line 1642 of file curr.driver.cxx.
Referenced by Process_Feedback_Options().
static WN* Adjust_Opt_Level | ( | PU_Info * | current_pu, |
WN * | pu, | ||
char * | pu_name | ||
) | [static] |
Definition at line 644 of file curr.driver.cxx.
References alias_mgr, COMPUTE_PU_OLIMIT, Current_PU_Count(), CURRENT_SYMTAB, EC_LNO_Backoff, EC_Not_Ansi_Setjmp, EC_Not_Optimized, EC_Olimit_Exceeded, ErrMsg(), FALSE, fprintf(), Get_Current_PU(), Get_Trace(), LNO_Fusion, LNO_Outer_Unroll, NULL, Olimit, Olimit_opt, Olimit_Region_Insertion(), Opt_Level, Optimization_Skip_List, PREG_Table_Size(), Prompf_Emit_Whirl_to_Source(), PU_calls_setjmp(), PU_Olimit, PU_WN_BB_Cnt, PU_WN_Stmt_Cnt, Query_Skiplist(), reset_opt_level, Run_autopar, Run_Distr_Array, Run_lno, Run_preopt, Run_prompf, Run_wopt, Show_OPT_Warnings, ST_Table_Size(), TFile, TINFO_STATS, TKIND_INFO, and TRUE.
Referenced by Preprocess_PU().
static void Backend_Processing | ( | PU_Info * | current_pu, |
WN * | pu | ||
) | [static] |
Definition at line 1207 of file curr.driver.cxx.
References Current_Dep_Graph, Current_PU_Info, CURRENT_SYMTAB, Do_WOPT_and_CG_with_Regions(), Early_MP_Processing, FALSE, Feedback_Enabled, Get_Current_PU(), Get_Current_PU_ST(), Instrumentation_Enabled, Instrumentation_Phase_Num, Is_True, LNO_Processing(), LOWER_MLDID_MSTID, LOWER_MP, LOWER_RETURN_VAL, MEM_pu_pool, MemCtr_Add(), NULL, OPR_FUNC_ENTRY, Post_LNO_Processing(), Post_Process_Backend(), Process_Fill_Align_Pragmas(), PROFILE_PHASE_BEFORE_LNO, PU_adjust_addr_flags(), PU_has_mp(), PU_needs_fill_align_lowering(), Rewrite_Pragmas_On_Structs(), Run_autopar, Run_cg, Run_Distr_Array, Run_lno, Run_MemCtr, Run_preopt, Run_wopt, Set_Error_Phase(), Set_PU_Info_depgraph_ptr, Set_PU_Info_state, ST_asm_function_st(), Subsect_InMem, TRUE, Update_EHRegion_Inito(), Verify_SYMTAB(), WB_LWR_Initialize(), WB_LWR_Terminate(), WHIRL_Mldid_Mstid_On, WHIRL_Return_Val_On, WN_Annotate(), WN_func_body, WN_Instrument(), WN_Lower(), WN_operator(), WN_st(), and WT_DEPGRAPH.
Referenced by Preorder_Process_PUs().
void be_debug | ( | void | ) |
Definition at line 1699 of file curr.driver.cxx.
Referenced by main().
static WN* Do_WOPT_and_CG_with_Regions | ( | PU_Info * | current_pu, |
WN * | pu | ||
) | [static] |
Definition at line 904 of file curr.driver.cxx.
References alias_mgr, DST_idx::byte_idx, Calculate_Stack_Frame_Sizes(), Cur_PU_Feedback, Cur_PU_Name, 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_Trace(), Initialize_Stack_Frame(), Instrumentation_Enabled, Instrumentation_Phase_Num, Is_True, 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_has_region(), PU_Info_proc_sym, 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(), Run_cg, Run_wopt, Save_Cur_PU_Name(), 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_LWR_Initialize(), WB_LWR_Terminate(), WN_Annotate(), WN_Instrument(), WN_Lower(), WN_opcode(), WOPT_Processing(), and Write_PU_Info().
Referenced by Backend_Processing().
char* Get_Orig_PU_Name | ( | PU_Info * | current_pu | ) |
Definition at line 584 of file curr.driver.cxx.
References DST_idx::byte_idx, DST_subprogram::def, 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, DST_subpr_def::name, NULL, PU_Info_proc_sym, PU_Info_pu_dst, and ST_name().
Referenced by Preprocess_PU().
void Initialize_Targ_Info | ( | void | ) |
Definition at line 42 of file driver_targ.cxx.
Referenced by load_components().
static void Ipl_Processing | ( | PU_Info * | current_pu, |
WN * | pu | ||
) | [static] |
Definition at line 707 of file curr.driver.cxx.
References DBar, fprintf(), Get_Current_PU_ST(), Get_Trace(), MEM_local_pool, MEM_POOL_Pop, MEM_POOL_Push, MEM_pu_nz_pool_ptr, MEM_Trace(), NULL, Perform_Procedure_Summary_Phase(), PU_adjust_addr_flags(), Run_preopt, Set_Error_Phase(), Set_PU_Info_tree_ptr, TFile, TKIND_ALLOC, TP_IPA, and Write_PU_Info().
Referenced by Preorder_Process_PUs().
static WN* LNO_Processing | ( | PU_Info * | current_pu, |
WN * | pu | ||
) | [static] |
Definition at line 747 of file curr.driver.cxx.
References 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, 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_cg, Run_Distr_Array, Run_lno, Run_preopt, 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().
static void load_components | ( | INT | argc, |
char ** | argv | ||
) | [static] |
Definition at line 370 of file curr.driver.cxx.
References Anl_Needs_Whirl2c(), Anl_Needs_Whirl2f(), Anl_Process_Command_Line(), CG_Path, DSOext, EP_BE, FALSE, Get_Phase_Args(), Initialize_Targ_Info(), ipl_main(), Ipl_Path, LNO_IPA_Enabled, LNO_Path, 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_Anl_Path, Prompf_Id_Map, Purple_loaded, Purple_Path, Run_autopar, Run_cg, Run_ipl, Run_lno, Run_preopt, Run_prompf, Run_purple, Run_w2c, Run_w2f, Run_w2fc_early, Run_wopt, Set_Error_Descriptor(), Show_Progress, TRUE, W2C_Path, W2C_Process_Command_Line(), W2C_Set_Prompf_Emission(), W2F_Path, W2F_Process_Command_Line(), W2F_Set_Prompf_Emission(), Whirl2c_loaded, Whirl2f_loaded, wopt_loaded, and WOPT_Path.
Referenced by main().
Definition at line 1703 of file curr.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(), Cleanup_Files(), RELATED_SEGMENTED_ARRAY< T, block_size >::Clear(), Close_Output_Info(), Configure(), Configure_Source(), Cur_PU_Name, CXX_NEW, DBar, DRA_Initialize(), DSOext, EC_File_Olimit_Exceeded, ecount, Emit_Global_Data, EP_BE, EP_CG, ErrMsg(), ERROR_LINE_UNKNOWN, exit(), FALSE, Feedback_Option, File_info, FILE_INFO_ipa(), FILE_INFO_needs_lno(), Finish_Compilation_Timing(), fprintf(), Get_Error_Count(), Get_Phase_Args(), Get_Trace(), Global_File_Name, GLOBAL_SYMTAB, Had_Internal_Error(), Handle_Signals(), 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, Ipl_Extra_Output(), Irb_File, Irb_File_Name, Is_True, List_All_Options, List_Compile_Options(), List_Enabled, LNO_Path, 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(), 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, phase_argc, phase_argv, Phase_Fini(), Phase_Init(), PHASE_LNO, PHASE_WOPT, Preconfigure(), Preorder_Process_PUs(), Prepare_Listing_File(), Prepare_Source(), Print_Tlog_Header(), Print_Total_Stats(), Process_Command_Line(), Process_Feedback_Options(), PROFILE_PHASE_IPA_CUTOFF, PROFILE_PHASE_NONE, PU_Info_next, OPTIONS_STACK::Push_Current_Options(), RC_INTERNAL_ERROR, RC_NORECOVER_USER_ERROR, RC_OKAY, Read_Global_Data, Read_Global_Info(), Reset_Timers(), Run_autopar, Run_cg, Run_Distr_Array, Run_Dsm_Cloner, Run_Dsm_Common_Check, Run_ipl, Run_lno, Run_preopt, Run_wopt, Scope_tab, Set_Error_Descriptor(), Set_Error_File(), Set_Error_Line(), Set_Error_Phase(), Set_Error_Source(), 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, wopt_loaded, WOPT_Path, and Write_Global_Info().
static void Phase_Fini | ( | void | ) | [static] |
Definition at line 554 of file curr.driver.cxx.
References Anl_Fini(), Anl_Needs_Whirl2c(), Anl_Needs_Whirl2f(), CURRENT_SYMTAB, DRA_Finalize(), GLOBAL_SYMTAB, Ipl_Fini(), Run_autopar, Run_cg, Run_Distr_Array, Run_Dsm_Cloner, Run_Dsm_Common_Check, Run_ipl, Run_lno, Run_preopt, Run_prompf, Run_purple, Run_w2c, Run_w2f, Run_wopt, TRUE, Verify_SYMTAB(), W2C_Outfile_Fini(), and W2F_Outfile_Fini().
Referenced by main().
static void Phase_Init | ( | void | ) | [static] |
Definition at line 468 of file curr.driver.cxx.
References Allocate_File_Statics(), Anl_Init(), Anl_Needs_Whirl2c(), Anl_Needs_Whirl2f(), Emit_Global_Data, FALSE, Global_File_Name, Ipl_Init(), Irb_File_Name, LANG_KR_C, Language, Last_Pathname_Component(), LNO_Run_Lego, LNO_Run_Lego_Set, need_ipl_output, need_lno_output, need_wopt_output, New_Extension(), Obj_File_Name, Open_Output_Info(), Pad_Global_Arrays(), Read_Global_Data, Run_autopar, Run_cg, Run_Distr_Array, Run_ipl, Run_lno, Run_preopt, Run_prompf, Run_purple, Run_w2c, Run_w2f, Run_wopt, Src_File_Name, TRUE, W2C_Outfile_Init(), W2F_Outfile_Init(), Write_ALIAS_CLASS_Map, and Write_BE_Maps.
Referenced by main().
static void Post_LNO_Processing | ( | PU_Info * | current_pu, |
WN * | pu | ||
) | [static] |
Definition at line 845 of file curr.driver.cxx.
References Cur_PU_Feedback, CURRENT_SYMTAB, GLOBAL_SYMTAB, Is_Set_PU_Info_flags, LANG_F90, Language, need_lno_output, PU_IS_COMPILER_GENERATED, Run_prompf, Run_w2c, Run_w2f, 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().
static void Post_Process_Backend | ( | PU_Info * | current_pu, |
WN * | pu | ||
) | [static] |
Definition at line 1120 of file curr.driver.cxx.
References alias_mgr, FALSE, fdump_region_tree(), fprintf(), Get_Trace(), MEM_pu_nz_pool_ptr, NULL, PU_Info_pu_dst, RID_WN_Tree_Print(), Run_cg, TFile, TP_REGION, and TT_REGION_ALL.
Referenced by Backend_Processing().
static void Postprocess_PU | ( | PU_Info * | current_pu | ) | [static] |
Definition at line 1496 of file curr.driver.cxx.
References Be_scope_tab, BE_SCOPE::be_st_tab, RELATED_SEGMENTED_ARRAY< T, block_size >::Clear(), Current_Map_Tab, 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_cg, Run_prompf, Run_w2c, Run_w2f, Run_w2fc_early, Run_wopt, 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().
static void Preorder_Process_PUs | ( | PU_Info * | current_pu | ) | [static] |
Definition at line 1548 of file curr.driver.cxx.
References Advance_Current_PU_Count(), Backend_Processing(), Be_preg_tab, RELATED_SEGMENTED_ARRAY< T, block_size >::Clear(), Cur_PU_Feedback, Cur_PU_Name, CURRENT_SYMTAB, DRA_Processing(), FALSE, File_info, FILE_INFO_ipa(), Finish_BE_Timing(), Get_Current_PU(), Ipl_Processing(), NULL, Olimit_opt, OMP_Prelower(), Opt_Level, Postprocess_PU(), SCOPE::preg_tab, Preprocess_PU(), Print_PU_Stats(), Prompf_Id_Map, PU_has_mp(), PU_Info_child, PU_Info_next, PU_Info_proc_sym, PU_mp(), growing_table::Register(), reset_opt_level, Run_Dsm_Check, Run_Dsm_Cloner, Run_Dsm_Common_Check, Run_ipl, Run_lno, Run_preopt, Run_wopt, Scope_tab, Set_Error_Phase(), ST_name(), 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().
static WN* Preprocess_PU | ( | PU_Info * | current_pu | ) | [static] |
Definition at line 1323 of file curr.driver.cxx.
References Adjust_Opt_Level(), Anl_Init_Map(), Anl_Static_Analysis(), Be_scope_tab, BE_symtab_alloc_scope_level(), Check_for_IR_Dump(), Cur_PU_Feedback, Current_Map_Tab, Current_pu, Current_PU_Count(), Current_PU_Info, CURRENT_SYMTAB, CXX_NEW, FALSE, Feedback_Enabled, fprintf(), Get_Current_PU(), Get_Orig_PU_Name(), Get_Trace(), Initialize_PU_Stats(), Instrumentation_Enabled, Instrumentation_Phase_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, 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_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(), Restore_Local_Symtab(), Run_cg, Run_prompf, Run_purple, Run_w2c, Run_w2f, Run_w2fc_early, Run_wopt, Save_Cur_PU_Name(), Saved_run_prompf, Saved_run_w2c, Saved_run_w2f, Saved_run_w2fc_early, Scope_tab, Set_Current_PU_For_Trace(), Show_Progress, ST_name(), SCOPE::st_tab, Start_Timer(), Stop_Timer(), Subsect_InMem, T_ReadIR_CU, TFile, Tlog_File, TP_IR_READ, TP_REGION, TRUE, TT_REGION_ALL, FEEDBACK::Verify(), WB_ANL_Initialize(), WB_ANL_Terminate(), WN_Annotate(), WN_Instrument(), WN_Mem_Push(), wopt_loaded, WT_FEEDBACK, and WT_TREE.
Referenced by Preorder_Process_PUs().
static void Print_Tlog_Header | ( | INT | argc, |
char ** | argv | ||
) | [static] |
Definition at line 1629 of file curr.driver.cxx.
References fprintf(), Get_Trace(), Tlog_File, TP_PTRACE1, and TP_PTRACE1_NOHDR.
Referenced by main().
static void Process_Feedback_Options | ( | OPTION_LIST * | olist | ) | [static] |
Definition at line 1646 of file curr.driver.cxx.
References DIR, Feedback_File_Name, FEEDBACK_PATH_MAXLEN, Is_True, NULL, OLIST_next, OLIST_val, path, Process_Feedback_File(), strcpy, and val.
Referenced by main().
void Process_Fill_Align_Pragmas | ( | WN * | func_wn | ) |
Definition at line 76 of file fill_align.cxx.
Referenced by Backend_Processing().
void Prompf_Emit_Whirl_to_Source | ( | PU_Info * | current_pu, |
WN * | func_nd | ||
) |
Definition at line 53 of file anl_lno_dump.cxx.
Referenced by Adjust_Opt_Level().
void Rewrite_Pragmas_On_Structs | ( | WN * | block_wn, |
WN * | wn | ||
) |
Definition at line 168 of file rewrite_pragmas.cxx.
Referenced by Backend_Processing(), and Rewrite_Pragmas_On_Structs().
static void Save_Cur_PU_Name | ( | char * | name, |
INT | rid_id | ||
) | [static] |
Definition at line 614 of file curr.driver.cxx.
References Cur_PU_Name, MEM_pu_nz_pool, NULL, strcpy, and TYPE_MEM_POOL_ALLOC_N.
Referenced by Do_WOPT_and_CG_with_Regions(), and Preprocess_PU().
static void Update_EHRegion_Inito | ( | WN * | pu | ) | [static] |
Definition at line 1188 of file curr.driver.cxx.
References CURRENT_SYMTAB, FOREACH_INITO, INITO_st(), SCLASS_EH_REGION, SCLASS_EH_REGION_SUPP, Set_ST_is_not_used(), ST_sclass(), and Update_EHRegion_Inito_Used().
Referenced by Backend_Processing().
static void Update_EHRegion_Inito_Used | ( | WN * | wn | ) | [static] |
Definition at line 1155 of file curr.driver.cxx.
References Clear_ST_is_not_used(), INITO_st(), 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 880 of file curr.driver.cxx.
References alias_mgr, Check_for_IR_Dump(), fdump_region_tree(), fdump_tree(), fprintf(), Get_Trace(), REGION_get_rid(), RID_id, RID_WN_Tree_Print(), Run_cg, TFile, TP_GLOBOPT, TP_REGION, and TT_REGION_ALL.
Referenced by Do_WOPT_and_CG_with_Regions().
Definition at line 345 of file curr.driver.cxx.
Referenced by Adjust_Opt_Level(), Do_WOPT_and_CG_with_Regions(), Post_Process_Backend(), and WOPT_Processing().
void* Current_Dep_Graph |
Referenced by Backend_Processing(), and LNO_Processing().
FILE* DFile = stderr |
Definition at line 367 of file curr.driver.cxx.
Definition at line 335 of file curr.driver.cxx.
Referenced by main().
Output_File* ir_output = 0 [static] |
Definition at line 339 of file curr.driver.cxx.
BOOL need_ipl_output = FALSE [static] |
Definition at line 338 of file curr.driver.cxx.
Referenced by main(), and Phase_Init().
BOOL need_lno_output = FALSE [static] |
Definition at line 337 of file curr.driver.cxx.
Referenced by main(), Phase_Init(), and Post_LNO_Processing().
BOOL need_wopt_output = FALSE [static] |
Definition at line 336 of file curr.driver.cxx.
Referenced by Do_WOPT_and_CG_with_Regions(), main(), and Phase_Init().
OPTIONS_STACK* Options_Stack [static] |
Definition at line 342 of file curr.driver.cxx.
Definition at line 74 of file cleanup.cxx.
Definition at line 769 of file config.cxx.
Referenced by Anl_Fini(), load_components(), Preorder_Process_PUs(), Preprocess_PU(), and Prompf_Assign_Ids_Traverse().
Definition at line 75 of file cleanup.cxx.
BOOL reset_opt_level = FALSE [static] |
Definition at line 344 of file curr.driver.cxx.
Referenced by Adjust_Opt_Level(), and Preorder_Process_PUs().
BOOL Run_Distr_Array = FALSE [static] |
Definition at line 347 of file curr.driver.cxx.
Referenced by Adjust_Opt_Level(), Backend_Processing(), LNO_Processing(), main(), Phase_Fini(), and Phase_Init().
Definition at line 348 of file curr.driver.cxx.
Referenced by Backend_Processing(), and Process_Command_Line().
BOOL Saved_run_prompf = FALSE [static] |
Definition at line 350 of file curr.driver.cxx.
Referenced by Postprocess_PU(), and Preprocess_PU().
BOOL Saved_run_w2c = FALSE [static] |
Definition at line 351 of file curr.driver.cxx.
Referenced by Postprocess_PU(), and Preprocess_PU().
BOOL Saved_run_w2f = FALSE [static] |
Definition at line 352 of file curr.driver.cxx.
Referenced by Postprocess_PU(), and Preprocess_PU().
BOOL Saved_run_w2fc_early = FALSE [static] |
Definition at line 353 of file curr.driver.cxx.
Referenced by Postprocess_PU(), and Preprocess_PU().
Definition at line 77 of file cleanup.cxx.
Definition at line 76 of file cleanup.cxx.
BOOL wopt_loaded = FALSE [static] |
Definition at line 360 of file curr.driver.cxx.
Referenced by load_components(), main(), Postprocess_PU(), and Preprocess_PU().