#include "defs.h"#include "mempool.h"#include "opcode.h"#include "opcode_core.h"#include "opcode_gen_core.h"#include "srcpos.h"#include "wn_core.h"#include "wn_map.h"#include "preg_list.h"#include "stab.h"#include "wn_lower.h"

Go to the source code of this file.
Data Types | |
| type | region_flags_struct |
| union | region_flags_union |
| type | points_to_ref |
| type | region_id |
| type | region_cs_iter |
Defines | |
| #define | POINTS_TO void |
| #define | RID_CREATE_NEW_ID -1 |
| #define | URFLAG_flags(r) ((r).flags) |
| #define | URFLAG_clear(r) ( (r).flags = 0 ) |
| #define | URFLAG_rfs(r) ((r).rfs) |
| #define | URFLAG_level(r) ((r).rfs.level) |
| #define | URFLAG_type(r) ((r).rfs.type) |
| #define | URFLAG_gra_flags(r) ((r).rfs.gra_flags) |
| #define | URFLAG_return_flag(r) ((r).rfs.return_flag) |
| #define | URFLAG_glue_code_flag(r) ((r).rfs.glue_code_flag) |
| #define | URFLAG_contains_black(r) ((r).rfs.contains_black) |
| #define | URFLAG_contains_bounds(r) ((r).rfs.contains_bounds) |
| #define | URFLAG_bounds_exist(r) ((r).rfs.bounds_exist) |
| #define | URFLAG_aliased_to_globals(r) ((r).rfs.aliased_to_globals) |
| #define | URFLAG_aliased_to_indirects(r) ((r).rfs.aliased_to_indirects) |
| #define | URFLAG_contains_uplevel(r) ((r).rfs.contains_uplevel) |
| #define | URFLAG_contains_barrier(r) ((r).rfs.contains_barrier) |
| #define | RID_id(r) ((r)->id) |
| #define | RID_depth(r) ((r)->depth) |
| #define | RID_srcpos(r) ((r)->srcpos) |
| #define | RID_flags(r) ((r)->flags) |
| #define | RID_cginfo(r) ((r)->cginfo) |
| #define | RID_num_exits(r) ((r)->num_exits) |
| #define | RID_options(r) ((r)->options) |
| #define | RID_rwn(r) ((r)->rwn) |
| #define | RID_parent(r) ((r)->parent) |
| #define | RID_parent_block(r) ((r)->parent_block) |
| #define | RID_first_kid(r) ((r)->first_kid) |
| #define | RID_next(r) ((r)->next) |
| #define | RID_rloop(r) ((r)->rloop) |
| #define | RID_lowered(r) ((r)->lowered) |
| #define | RID_eh_range_ptr(r) ((r)->eh_range_ptr) |
| #define | RID_type(r) ((r)->rid_type) |
| #define | RID_level(r) (URFLAG_level(*((URFLAG *)(&RID_flags(r))))) |
| #define | RID_gra_flags(r) (URFLAG_gra_flags(*((URFLAG *)(&RID_flags(r))))) |
| #define | RID_has_return(r) (URFLAG_return_flag(*((URFLAG *)(&RID_flags(r))))) |
| #define | RID_is_glue_code(r) (URFLAG_glue_code_flag(*((URFLAG *)(&RID_flags(r))))) |
| #define | RID_contains_black(r) (URFLAG_contains_black(*((URFLAG *)(&RID_flags(r))))) |
| #define | RID_contains_bounds(r) (URFLAG_contains_bounds(*((URFLAG *)(&RID_flags(r))))) |
| #define | RID_bounds_exist(r) (URFLAG_bounds_exist(*((URFLAG *)(&RID_flags(r))))) |
| #define | RID_aliased_to_globals(r) (URFLAG_aliased_to_globals(*((URFLAG *)(&RID_flags(r))))) |
| #define | RID_aliased_to_indirects(r) (URFLAG_aliased_to_indirects(*((URFLAG *)(&RID_flags(r))))) |
| #define | RID_contains_uplevel(r) (URFLAG_contains_uplevel(*((URFLAG *)(&RID_flags(r))))) |
| #define | RID_contains_barrier(r) (URFLAG_contains_barrier(*((URFLAG *)(&RID_flags(r))))) |
| #define | RID_pregs_in(r) ((r)->pregs_in) |
| #define | RID_pregs_quad(r) ((r)->pregs_quad) |
| #define | RID_pregs_complex_quad(r) ((r)->pregs_complex_quad) |
| #define | RID_pregs_out(r) ((r)->pregs_out) |
| #define | RID_pregs_out_i(r, i) (((r)->pregs_out)?(((r)->pregs_out)[(i)]):((PREG_LIST *)NULL)) |
| #define | RID_pregs_set_out_i(r, i) (((r)->pregs_out)[(i)]) |
| #define | RID_used_in(r) ((r)->used_in) |
| #define | RID_def_in_live_out(r) ((r)->def_in_live_out) |
| #define | RID_has_reg_alloc(r) (RID_gra_flags(r) & RID_FLAGS_has_reg_alloc) |
| #define | RID_has_reg_alloc_Set(r) (RID_gra_flags(r) |= RID_FLAGS_has_reg_alloc) |
| #define | RID_has_reg_alloc_Reset(r) (RID_gra_flags(r) &= ~RID_FLAGS_has_reg_alloc) |
| #define | RID_was_gra(r) (RID_gra_flags(r) & RID_FLAGS_was_gra) |
| #define | RID_was_gra_Set(r) (RID_gra_flags(r) |= RID_FLAGS_was_gra) |
| #define | RID_was_gra__Reset(r) (RID_gra_flags(r) &= ~RID_FLAGS_was_gra) |
| #define | RID_TYPE_func_entry(r) (RID_type(r) & RID_TYPE_func_entry) |
| #define | RID_TYPE_func_entry_Set(r) |
| #define | RID_TYPE_func_entry_Reset(r) |
| #define | RID_TYPE_loop(r) (RID_type(r) & RID_TYPE_loop) |
| #define | RID_TYPE_loop_Set(r) |
| #define | RID_TYPE_loop_Reset(r) |
| #define | RID_TYPE_pragma(r) (RID_type(r) & RID_TYPE_pragma) |
| #define | RID_TYPE_pragma_Set(r) |
| #define | RID_TYPE_pragma_Reset(r) |
| #define | RID_TYPE_olimit(r) (RID_type(r) & RID_TYPE_olimit) |
| #define | RID_TYPE_olimit_Set(r) |
| #define | RID_TYPE_olimit_Reset(r) |
| #define | RID_TYPE_mp(r) (RID_type(r) & RID_TYPE_mp) |
| #define | RID_TYPE_mp_Set(r) |
| #define | RID_TYPE_mp_Reset(r) |
| #define | RID_TYPE_rpi(r) (RID_type(r) & RID_TYPE_rpi) |
| #define | RID_TYPE_rpi_Set(r) |
| #define | RID_TYPE_rpi_Reset(r) |
| #define | RID_TYPE_cold(r) (RID_type(r) & RID_TYPE_cold) |
| #define | RID_TYPE_cold_Set(r) |
| #define | RID_TYPE_cold_Reset(r) |
| #define | RID_TYPE_swp(r) (RID_type(r) & RID_TYPE_swp) |
| #define | RID_TYPE_swp_Set(r) |
| #define | RID_TYPE_swp_Reset(r) |
| #define | RID_TYPE_eh(r) (RID_type(r) & RID_TYPE_eh) |
| #define | RID_TYPE_try(r) (RID_type(r) & RID_TYPE_try) |
| #define | RID_TYPE_try_Set(r) |
| #define | RID_TYPE_try_Reset(r) |
| #define | RID_TYPE_cleanup(r) (RID_type(r) & RID_TYPE_cleanup) |
| #define | RID_TYPE_cleanup_Set(r) |
| #define | RID_TYPE_cleanup_Reset(r) |
| #define | RID_TYPE_exc_spec(r) (RID_type(r) & RID_TYPE_exc_spec) |
| #define | RID_TYPE_exc_spec_Set(r) |
| #define | RID_TYPE_exc_spec_Reset(r) |
| #define | RID_TYPE_mask(r) (RID_type(r) & RID_TYPE_mask) |
| #define | RID_TYPE_mask_Set(r) |
| #define | RID_TYPE_mask_Reset(r) |
| #define | RID_TYPE_guard(r) (RID_type(r) & RID_TYPE_guard) |
| #define | RID_TYPE_guard_Set(r) |
| #define | RID_TYPE_guard_Reset(r) |
| #define | RID_TYPE_null_cleanup(r) (RID_type(r) & RID_TYPE_null_cleanup) |
| #define | RID_TYPE_null_cleanup_Set(r) |
| #define | RID_TYPE_null_cleanup_Reset(r) |
| #define | RID_TYPE_transparent(r) |
| #define | REGION_STACK_SIZE 10 |
| #define | REGION_CS_ITER_me(i) ((i)->me) |
| #define | REGION_CS_ITER_kid(i) ((i)->kid) |
| #define | REGION_CS_ITER_type(i) ((i)->type) |
| #define | REGION_CS_ITER_parent_block(i) ((i)->parent_block) |
| #define | REGION_CS_ITER_sp(i) ((i)->region_marker_sp) |
| #define | REGION_CS_ITER_marker(i, j) ((i)->region_marker[j]) |
| #define | REGION_CS_ITER_is_pu(i) ((i)->is_pu) |
| #define | REGION_CS_ITER_is_not_stacked(i) ((i)->is_not_stacked) |
| #define | REGION_CS_ITER_wn(i) (RID_rwn((i)->kid)) |
Typedefs | |
| typedef union region_flags_union | URFLAG |
| typedef struct points_to_ref | POINTS_TO_SET |
| typedef struct region_id | RID |
| typedef struct region_cs_iter | REGION_CS_ITER |
Enumerations | |
| enum | REGION_LEVEL { RL_UNKNOWN, RL_SRC, RL_MP, RL_RGN_INIT, RL_IPA_PREOPT, RL_LNO_PREOPT, RL_LNO, RL_DU_PREOPT, RL_RAIL, RL_RBI, RL_PREOPT, RL_MAINOPT, RL_RVI1, RL_RVI2, RL_CG, RL_CGSCHED, RL_LAST } |
| enum | REGION_FLAGS { RID_FLAGS_has_reg_alloc = 0x1, RID_FLAGS_was_gra = 0x2 } |
| enum | RID_TYPE { RID_TYPE_undefined = 0x00, RID_TYPE_func_entry = 0x01, RID_TYPE_loop = 0x02, RID_TYPE_pragma = 0x04, RID_TYPE_olimit = 0x08, RID_TYPE_mp = 0x10, RID_TYPE_rpi = 0x20, RID_TYPE_cold = 0x40, RID_TYPE_swp = 0x80, RID_TYPE_eh = 0x3f000, RID_TYPE_try = 0x01000, RID_TYPE_cleanup = 0x02000, RID_TYPE_exc_spec = 0x04000, RID_TYPE_mask = 0x08000, RID_TYPE_guard = 0x10000, RID_TYPE_null_cleanup = 0x20000 } |
| enum | REGION_DEBUG_FLAGS { TT_REGION_USER_DEBUG = 0x0001, TT_REGION_LARGE_PU_DEBUG = 0x0002, TT_REGION_LARGE_PU_OFF = 0x0004, TT_REGION_RGN_INIT_DEBUG = 0x0008, TT_REGION_LNO_DEBUG = 0x0010, TT_REGION_RAIL_DEBUG = 0x0020, TT_REGION_RBI_DEBUG = 0x0040, TT_REGION_WOPT_DEBUG = 0x0080, TT_REGION_CG_DEBUG = 0x0100, TT_REGION_BOUND_DEBUG = 0x0200, TT_REGION_ALL = 0xffffffff } |
| enum | REGION_BOUND_EXIST { REGION_BOUND_UNKNOWN = FALSE, REGION_BOUND_EXISTS = TRUE } |
| enum | REGION_RETURN_ENUM { REGION_NO_RETURN = FALSE, REGION_RETURN = TRUE } |
Functions/Subroutines | |
| INT32 | New_Region_Id (void) |
| INT32 | Last_Region_Id (void) |
| void | REGION_new_wn (WN *, WN *) |
| BOOL | REGION_consistency_check (WN *) |
| void | REGION_update_alias_info (WN *, struct ALIAS_MANAGER *) |
| RID * | REGION_get_rid (const WN *) |
| WN * | REGION_find_pu (WN *) |
| BOOL | REGION_has_black_regions (RID *) |
| void | REGION_set_level (RID *, REGION_LEVEL) |
| BOOL | REGION_count_exits (WN *) |
| void | REGION_fix_up_exits (RID *, WN *) |
| BOOL | REGION_scan_exits (WN *, INT32) |
| RID * | RID_Create (INT, INT, WN *) |
| void | RID_Add_kid (RID *, RID *) |
| void | RID_unlink (RID *) |
| void | RID_replace (RID *old_rid, RID *new_rid) |
| void | RID_Delete (WN_MAP_TAB *, WN *) |
| void | RID_Delete2 (RID *) |
| void | REGION_clone (WN *, WN *, WN *) |
| void | REGION_emit (RID *, WN *, INT32, INT32, INT64) |
| void | RID_copy_sets (RID *, RID *) |
| REGION_LEVEL | RID_preopt_level (INT) |
| BOOL | REGION_search_preg_set (PREG_LIST *, PREG_NUM) |
| void | REGION_add_wn_points_to (POINTS_TO_SET **, WN *, struct ALIAS_MANAGER *) |
| void | REGION_add_points_to (POINTS_TO_SET **, POINTS_TO *, struct ALIAS_MANAGER *) |
| POINTS_TO * | Points_to_copy (POINTS_TO *, MEM_POOL *) |
| void | Get_symbol_info_for_cvt_io (POINTS_TO *, WN *) |
| POINTS_TO * | Points_to (struct ALIAS_MANAGER *, WN *) |
| BOOL | REGION_add_preg_in (RID *rid, PREG_NUM pr, TYPE_ID quad) |
| BOOL | REGION_add_preg_out (RID *rid, INT32 which_set, PREG_NUM pr, TYPE_ID quad) |
| BOOL | REGION_remove_preg (RID *rid, PREG_NUM pr, BOOL outset) |
| WN * | REGION_add_exit (WN *, WN *, WN *) |
| void | REGION_delete_exit (RID *, INT32, WN *, BOOL) |
| char * | REGION_get_options_string (WN *) |
| BOOL | REGION_is_EH (WN *) |
| BOOL | REGION_is_mp (WN *) |
| BOOL | WN_Fake_Call_EH_Region (WN *, WN_MAP) |
| REGION_KIND | REGION_type_to_kind (RID *) |
| void | REGION_kind_to_type (WN *, RID *) |
| void | REGION_propagate_return (RID *) |
| char * | RID_level_str (RID *rid) |
| char * | RID_type_str (RID_TYPE type) |
| void | RID_set_print (FILE *, RID *) |
| void | Print_points_to (FILE *, POINTS_TO *) |
| void | RID_Fprint (FILE *, RID *) |
| void | RID_Tree_Print (FILE *, RID *) |
| void | RID_WN_Tree_Print (FILE *, WN *) |
Variables | |
| WN_MAP | RID_map |
| MEM_POOL | REGION_mem_pool |
Definition at line 69 of file region_util.h.
Referenced by DEPV_COMPUTE::Base_Test(), and Points_To().
Definition at line 447 of file region_util.h.
Referenced by Do_WOPT_and_CG_with_Regions(), LNO_Processing(), REGION_CS_ITER_init(), REGION_CS_NoEarlierSub_While(), REGION_remove_and_mark(), and REGION_replace_from_mark().
Definition at line 446 of file region_util.h.
Referenced by Do_WOPT_and_CG_with_Regions(), LNO_Processing(), REGION_CS_ITER_init(), and REGION_remove_and_mark().
Definition at line 441 of file region_util.h.
Referenced by REGION_CS_ITER_init(), REGION_CS_Next(), REGION_CS_NoEarlierSub_First(), REGION_CS_NoEarlierSub_Next(), and REGION_CS_NoEarlierSub_While().
Definition at line 445 of file region_util.h.
Referenced by REGION_CS_ITER_init(), REGION_remove_and_mark(), and REGION_replace_from_mark().
Definition at line 440 of file region_util.h.
Referenced by REGION_CS_ITER_init(), REGION_CS_Next(), and REGION_CS_NoEarlierSub_First().
Definition at line 443 of file region_util.h.
Referenced by REGION_remove_and_mark(), and REGION_replace_from_mark().
Definition at line 444 of file region_util.h.
Referenced by REGION_CS_ITER_init(), REGION_remove_and_mark(), and REGION_replace_from_mark().
Definition at line 442 of file region_util.h.
Referenced by REGION_CS_ITER_init(), REGION_CS_Next(), REGION_CS_NoEarlierSub_First(), and REGION_CS_NoEarlierSub_Next().
Definition at line 448 of file region_util.h.
Referenced by REGION_CS_NoEarlierSub_Next(), and REGION_remove_and_mark().
| #define REGION_STACK_SIZE 10 |
Definition at line 428 of file region_util.h.
Referenced by REGION_CS_ITER_init(), and REGION_remove_and_mark().
| #define RID_aliased_to_globals | ( | r | ) | (URFLAG_aliased_to_globals(*((URFLAG *)(&RID_flags(r))))) |
Definition at line 286 of file region_util.h.
Referenced by OPT_STAB::Compute_region_mu_chi(), REGION_BOUND::grb(), OPT_STAB::REGION_verify_bound(), RID_Fprint(), and RID_set_print().
| #define RID_aliased_to_indirects | ( | r | ) | (URFLAG_aliased_to_indirects(*((URFLAG *)(&RID_flags(r))))) |
Definition at line 287 of file region_util.h.
Referenced by OPT_STAB::Compute_region_mu_chi(), REGION_BOUND::grb(), OPT_STAB::REGION_verify_bound(), RID_Fprint(), and RID_set_print().
| #define RID_bounds_exist | ( | r | ) | (URFLAG_bounds_exist(*((URFLAG *)(&RID_flags(r))))) |
Definition at line 285 of file region_util.h.
Referenced by RAIL::Add_region_around_loop(), Check_If_TN_Is_Global(), OPT_STAB::Compute_region_mu_chi(), Create_Cold_Region(), Create_Region(), REGION_BOUND::grb(), RAIL::Process_func_entry(), RINIT::Process_region(), REGION_BOUND::Propagate_boundary_up(), REGION_clone(), REGION_Initialize(), REGION_live_in_from_chi(), REGION_live_out_from_mu(), REGION_remove_preg(), OPT_STAB::REGION_verify_bound(), RID_Fprint(), RID_set_print(), Simd_Finalize_Loops(), and SWP_Emit().
| #define RID_cginfo | ( | r | ) | ((r)->cginfo) |
Definition at line 265 of file region_util.h.
Referenced by Append_Region_BBs(), Append_Succ(), BB_REGION_Entry(), BB_REGION_Exit(), Build_CFG(), CG_Dump_Region(), CG_Generate_Code(), CG_Region_Finalize(), Chain_BBs(), Combine_Chains(), convert_stmt_list_to_OPs(), Convert_WHIRL_To_OPs(), Create_Cold_Region(), Create_Region(), EBO_Post_Process_Region(), EBO_Pre_Process_Region(), EBO_Process_Region(), EMT_Assemble_BB(), Find_Global_TNs(), GRA_LIVE_Compute_Local_Info(), GRA_LIVE_Set_Entries_Exits(), Insert_BB(), HB_Schedule::Invoke_Pre_HBS_Phase(), GRA_BB::Is_Region_Entry_Block(), Localize_or_Replace_Dedicated_TNs(), Print_BB_Header(), Region_Boundary_Fixup(), REGION_Entry_PREG_Whirl(), REGION_Exit_PREG_Whirl(), REGION_Get_TN_In_List(), REGION_Get_TN_Out_List(), Region_Pre_Header(), Remove_BB(), RID_Find_Cginfo(), RID_Fprint(), SWP_Emit(), unroll_multi_bb(), and unroll_multi_make_remainder_loop().
| #define RID_contains_barrier | ( | r | ) | (URFLAG_contains_barrier(*((URFLAG *)(&RID_flags(r))))) |
Definition at line 289 of file region_util.h.
Referenced by OPT_STAB::Compute_region_mu_chi(), REGION_BOUND::Convert_ST_list(), RID_Fprint(), and RID_set_print().
| #define RID_contains_black | ( | r | ) | (URFLAG_contains_black(*((URFLAG *)(&RID_flags(r))))) |
| #define RID_contains_bounds | ( | r | ) | (URFLAG_contains_bounds(*((URFLAG *)(&RID_flags(r))))) |
Definition at line 284 of file region_util.h.
Referenced by Do_WOPT_and_CG_with_Regions(), RINIT::Process_region(), RID_Fprint(), and RID_set_print().
| #define RID_contains_uplevel | ( | r | ) | (URFLAG_contains_uplevel(*((URFLAG *)(&RID_flags(r))))) |
Definition at line 288 of file region_util.h.
Referenced by OPT_STAB::Compute_region_mu_chi(), REGION_BOUND::grb(), RID_Fprint(), and RID_set_print().
| #define RID_CREATE_NEW_ID -1 |
Definition at line 192 of file region_util.h.
Referenced by RAIL::Add_region_around_loop(), Create_Single_Region(), ARA_LOOP_INFO::Generate_Copyout_Loop(), ARA_LOOP_INFO::Generate_Parallel_Pragma(), Insert_Region_Around_Block(), RID_Create(), and Set_Current_PU_For_Trace().
| #define RID_def_in_live_out | ( | r | ) | ((r)->def_in_live_out) |
Definition at line 299 of file region_util.h.
Referenced by OPT_STAB::Compute_region_mu_chi(), REGION_BOUND::Convert_ST_list(), Gen_quad_preg(), REGION_BOUND::grb(), REGION_BOUND::GRB_merge_var(), REGION_BOUND::Propagate_boundary_up(), OPT_STAB::REGION_add_to_bound(), REGION_Exit_PREG_Whirl(), REGION_live_out_from_mu(), OPT_STAB::REGION_verify_bound(), RID_copy_sets(), RID_Create(), and RID_set_print().
| #define RID_depth | ( | r | ) | ((r)->depth) |
Definition at line 262 of file region_util.h.
Referenced by Create_Single_Region(), ARA_LOOP_INFO::Generate_Copyout_Loop(), ARA_LOOP_INFO::Generate_Parallel_Pragma(), REGION_clone(), RID_Create(), RID_Fprint(), and Simd_Finalize_Loops().
| #define RID_eh_range_ptr | ( | r | ) | ((r)->eh_range_ptr) |
Definition at line 275 of file region_util.h.
Referenced by convert_stmt_list_to_OPs(), EH_Generate_Range_List(), SET_PARENT::operator()(), REGION_clone(), region_stack_eh_set_has_call(), and Simd_Finalize_Loops().
| #define RID_first_kid | ( | r | ) | ((r)->first_kid) |
Definition at line 271 of file region_util.h.
Referenced by GRA_PARA_REGION_MGR::Build_Map_For_Pair_Region(), REGION_BOUND::grb(), RID_POST_ITER::operator++(), REGION_CS_Next(), REGION_set_level(), RID_Add_kid(), RID_Create(), RID_Delete2(), RID_Fprint(), RID_last_kid(), RID_POST_ITER::RID_POST_ITER(), RID_replace(), RID_set_print(), RID_Tree_Print(), RID_unlink(), and update_parent_block().
| #define RID_flags | ( | r | ) | ((r)->flags) |
| #define RID_gra_flags | ( | r | ) | (URFLAG_gra_flags(*((URFLAG *)(&RID_flags(r))))) |
Definition at line 280 of file region_util.h.
| #define RID_has_reg_alloc | ( | r | ) | (RID_gra_flags(r) & RID_FLAGS_has_reg_alloc) |
Definition at line 302 of file region_util.h.
Referenced by Can_Append_Succ(), CGSPILL_Force_Rematerialization(), GRA_REGION_MGR::Get(), and GRA_REGION::Is_Prev_Alloc().
| #define RID_has_reg_alloc_Reset | ( | r | ) | (RID_gra_flags(r) &= ~RID_FLAGS_has_reg_alloc) |
Definition at line 304 of file region_util.h.
| #define RID_has_reg_alloc_Set | ( | r | ) | (RID_gra_flags(r) |= RID_FLAGS_has_reg_alloc) |
Definition at line 303 of file region_util.h.
Referenced by Create_Region(), GRA_REGION::Set_GRA_Colored(), and SWP_Emit().
| #define RID_has_return | ( | r | ) | (URFLAG_return_flag(*((URFLAG *)(&RID_flags(r))))) |
Definition at line 281 of file region_util.h.
Referenced by RAIL::Add_region_around_loop(), OPT_STAB::Compute_region_mu_chi(), Create_Cold_Region(), Create_Region(), RAIL::Process_func_entry(), REGION_clone(), REGION_Initialize(), REGION_propagate_return(), RID_Fprint(), RID_set_print(), Simd_Finalize_Loops(), and SWP_Emit().
| #define RID_id | ( | r | ) | ((r)->id) |
Definition at line 261 of file region_util.h.
Referenced by RINIT::Add_label_alias(), CFG::Add_one_region(), RAIL::Add_region_around_loop(), Append_Region_BBs(), BB_Predecessor_Compiled_Region(), Build_CFG(), GRA_PARA_REGION_MGR::Build_Map_For_Pair_Region(), RINIT::Cancel_internal_gotos(), CG_Generate_Code(), CG_Region_Finalize(), GRA_PARA_REGION_MGR::Check_Register_Allocation(), OPT_STAB::Compute_region_mu_chi(), OPT_STAB::Convert_ST_to_AUX(), Convert_WHIRL_To_OPs(), CFG::Create(), Disable_opt(), Do_WOPT_and_CG_with_Regions(), ML_WHIRL_EMITTER::Emit(), EMT_Assemble_BB(), RINIT::Expand_label_alias(), GOTO::fdump(), GRA_PARA_REGION_MGR::Get(), GRA_REGION_MGR::Get(), GRA_PARA_REGION_MGR::Get_Pair_Rid(), REGION_BOUND::GRB_merge_preg(), REGION_BOUND::GRB_merge_var(), RINIT::Handle_split_label(), CFG::Ident_mp_regions(), ir_put_wn(), label_is_external(), LNO_Processing(), Localize_or_Replace_Dedicated_TNs(), DCE::Mark_region_exits_live(), GOTO::Modify_exits(), Perform_Loop_Nest_Optimization(), ML_WHIRL_EMITTER::Pop_region(), RVI_EMIT::Pop_region(), Pop_region(), GRA_PARA_REGION_MGR::Pre_Reserve_Registers_For_Minor(), BB_NODE::Print_head(), RINIT::Print_sets(), RINIT::Process_region(), REGION_BOUND::Propagate_boundary_up(), EMITTER::Raise_func_entry(), Raise_region_stmt(), REGION_add_preg_in(), REGION_add_preg_out(), OPT_STAB::REGION_add_to_bound(), REGION_consistency_check(), REGION_CS_print(), REGION_delete_exit(), REGION_Entry_PREG_Whirl(), REGION_Exit_PREG_Whirl(), REGION_init(), REGION_live_in_from_chi(), REGION_live_out_from_mu(), REGION_new_wn(), REGION_propagate_return(), REGION_remove_and_mark(), PRUNE_BOUND::REGION_remove_from_bound(), REGION_remove_preg(), REGION_replace_from_mark(), OPT_STAB::REGION_verify_bound(), RID_Create(), RID_Delete2(), RID_Fprint(), RID_set_print(), GOTO::Set_region_exit(), GRA_PARA_REGION_MGR::Set_Region_LRA_Budget(), and WOPT_Processing().
| #define RID_is_glue_code | ( | r | ) | (URFLAG_glue_code_flag(*((URFLAG *)(&RID_flags(r))))) |
Definition at line 282 of file region_util.h.
Referenced by convert_stmt_list_to_OPs(), Create_Cold_Region(), Create_Region(), EMT_Assemble_BB(), Non_Transparent_RID(), RINIT::Process_region(), REGION_CS_Next(), RID_Find_Cginfo(), and SWP_Emit().
| #define RID_level | ( | r | ) | (URFLAG_level(*((URFLAG *)(&RID_flags(r))))) |
Definition at line 279 of file region_util.h.
Referenced by CFG::Add_one_region(), RAIL::Add_region_around_loop(), OPT_STAB::Allocate_mu_chi_and_virtual_var(), BB_compile(), BB_Predecessor_Compiled_Region(), BB_Reaches_Call_or_Exit(), BB_Successor_Compiled_Region(), Build_CFG(), Call_or_Entry_Reaches_BB(), Can_Append_Succ(), CG_DEP_Compute_Graph(), CG_Dump_Region(), CG_Sched(), Check_If_Dedicated_TN_Is_Global(), ALIAS_CLASSIFICATION::Classify_wn_and_kids(), EMITTER::Compute_use_def_stmt(), Convert_Goto_To_Return(), OPT_STAB::Convert_ST_to_AUX(), convert_stmt_list_to_OPs(), Convert_WHIRL_To_OPs(), OPT_STAB::Count_syms(), Create_Cold_Region(), Create_Region(), Create_Single_Region(), EBO_Process(), ALIAS_CLASSIFICATION::Finalize_ac_map(), Finalize_BB(), Find_Global_TNs(), GCM_Fill_Branch_Delay_Slots(), GCM_For_Loop(), GCM_Schedule_Region(), ARA_LOOP_INFO::Generate_Copyout_Loop(), Generate_Entry(), Generate_Exit(), OPT_STAB::Generate_mu_and_chi_list(), ARA_LOOP_INFO::Generate_Parallel_Pragma(), GRA_LIVE_Compute_Local_Info(), GRA_LIVE_Localize_TNs(), GRA_LIVE_Rename_TNs(), REGION_BOUND::grb(), IGLS_Schedule_Region(), Insert_Goto_BB(), Insert_Spills_Of_Globals(), Localize_or_Replace_Dedicated_TNs(), LRA_Allocate_Registers(), Optimize_Branches(), Perform_Loop_Nest_Optimization(), Pre_Optimizer(), RAIL::Process_func_entry(), RINIT::Process_region(), Redundancy_Elimination(), REGION_clone(), REGION_emit(), REGION_Initialize(), REGION_set_level(), OPT_STAB::Remap_aux_synonym(), OPT_STAB::Remap_ver_synonym(), remove_prolog_or_epilog_bbs(), SSA::Rename(), RID_level_str(), RESTRICTED_MAP::Save_info(), Simd_Finalize_Loops(), Split_BBs(), and SWP_Emit().
| #define RID_lowered | ( | r | ) | ((r)->lowered) |
Definition at line 274 of file region_util.h.
Referenced by lower_bit_field_id(), RID_Create(), and RID_Fprint().
| #define RID_next | ( | r | ) | ((r)->next) |
Definition at line 272 of file region_util.h.
Referenced by GRA_PARA_REGION_MGR::Build_Map_For_Pair_Region(), REGION_BOUND::grb(), RID_POST_ITER::operator++(), REGION_CS_Next(), REGION_set_level(), RID_Add_kid(), RID_Create(), RID_Delete2(), RID_Fprint(), RID_last_kid(), RID_replace(), RID_set_parents(), RID_set_print(), RID_Tree_Print(), and RID_unlink().
| #define RID_num_exits | ( | r | ) | ((r)->num_exits) |
Definition at line 266 of file region_util.h.
Referenced by RAIL::Add_region_around_loop(), BB_REGION::BB_REGION(), BB_REGION_Exit(), CG_Region_Finalize(), Check_If_TN_Is_Global(), OPT_STAB::Compute_region_mu_chi(), convert_stmt_list_to_OPs(), Convert_WHIRL_To_OPs(), Create_Cold_Region(), Create_Region(), Find_Global_TNs(), GRA_LIVE_Set_Entries_Exits(), REGION_BOUND::GRB_merge_preg(), label_is_external(), Print_BB_Header(), RINIT::Process_region(), REGION_BOUND::Propagate_boundary_up(), REGION_add_preg_out(), OPT_STAB::REGION_add_to_bound(), Region_Boundary_Fixup(), REGION_clone(), REGION_delete_exit(), REGION_emit(), REGION_Exit_PREG_Whirl(), REGION_fix_up_exits(), REGION_Initialize(), REGION_remove_preg(), OPT_STAB::REGION_verify_bound(), Remove_region_exit(), RID_copy_sets(), RID_Create(), RID_Fprint(), RID_set_print(), BB_REGION::Set_region_num_exits(), Simd_Finalize_Loops(), and SWP_Emit().
| #define RID_options | ( | r | ) | ((r)->options) |
Definition at line 267 of file region_util.h.
Referenced by Do_WOPT_and_CG_with_Regions(), RINIT::Process_region(), REGION_init(), REGION_Initialize(), RID_Create(), RID_Delete2(), and RID_Fprint().
| #define RID_parent | ( | r | ) | ((r)->parent) |
Definition at line 269 of file region_util.h.
Referenced by BB_Is_Cold(), GRA_PARA_REGION_MGR::Build_Map_For_Pair_Region(), Create_Cold_Region(), Create_Region(), GRA_REGION_MGR::Get(), Identify_Initialize_Glue_Blocks(), GOTO::Modify_exits(), Non_Transparent_RID(), RID_POST_ITER::operator++(), RID_PARENT_ITER::operator++(), RINIT::Process_region(), REGION_clone(), REGION_CS_Next(), REGION_delete_exit(), REGION_Exit_Whirl_Labels(), REGION_find_pu(), REGION_has_black_regions(), REGION_propagate_return(), RID_Add_kid(), RID_Create(), RID_Delete2(), RID_Find_Cginfo(), RID_Fprint(), RID_replace(), RID_set_parents(), RID_unlink(), Simd_Finalize_Loops(), Start_New_Basic_Block(), and SWP_Emit().
| #define RID_parent_block | ( | r | ) | ((r)->parent_block) |
Definition at line 270 of file region_util.h.
Referenced by REGION_remove_and_mark(), RID_Create(), RID_Delete2(), RID_Fprint(), RID_set_print(), and update_parent_block().
| #define RID_pregs_complex_quad | ( | r | ) | ((r)->pregs_complex_quad) |
Definition at line 294 of file region_util.h.
Referenced by REGION_BOUND::Propagate_boundary_up(), REGION_add_preg_in(), REGION_add_preg_out(), REGION_Entry_PREG_Whirl(), REGION_Exit_PREG_Whirl(), REGION_remove_preg(), RID_copy_sets(), and RID_set_print().
| #define RID_pregs_in | ( | r | ) | ((r)->pregs_in) |
Definition at line 292 of file region_util.h.
Referenced by OPT_STAB::Compute_region_mu_chi(), Convert_WHIRL_To_OPs(), REGION_BOUND::Propagate_boundary_up(), REGION_add_preg_in(), REGION_Entry_PREG_Whirl(), REGION_remove_preg(), OPT_STAB::REGION_verify_bound(), RID_copy_sets(), RID_Create(), and RID_set_print().
| #define RID_pregs_out | ( | r | ) | ((r)->pregs_out) |
Definition at line 295 of file region_util.h.
Referenced by REGION_add_preg_out(), REGION_delete_exit(), REGION_Exit_PREG_Whirl(), REGION_fix_up_exits(), REGION_remove_preg(), OPT_STAB::REGION_verify_bound(), RID_copy_sets(), RID_Create(), and RID_set_print().
Definition at line 296 of file region_util.h.
Referenced by OPT_STAB::Compute_region_mu_chi(), Convert_WHIRL_To_OPs(), REGION_BOUND::Propagate_boundary_up(), REGION_add_preg_out(), REGION_delete_exit(), REGION_Exit_PREG_Whirl(), REGION_fix_up_exits(), OPT_STAB::REGION_verify_bound(), and RID_copy_sets().
| #define RID_pregs_quad | ( | r | ) | ((r)->pregs_quad) |
Definition at line 293 of file region_util.h.
Referenced by REGION_BOUND::Propagate_boundary_up(), REGION_add_preg_in(), REGION_add_preg_out(), REGION_Entry_PREG_Whirl(), REGION_Exit_PREG_Whirl(), REGION_remove_preg(), RID_copy_sets(), and RID_set_print().
Definition at line 297 of file region_util.h.
Referenced by REGION_add_preg_out(), REGION_delete_exit(), REGION_remove_preg(), and RID_copy_sets().
| #define RID_rloop | ( | r | ) | ((r)->rloop) |
Definition at line 273 of file region_util.h.
| #define RID_rwn | ( | r | ) | ((r)->rwn) |
Definition at line 268 of file region_util.h.
Referenced by CFG::Add_one_region(), CFG::Add_one_stmt(), REGION_BOUND::grb(), RINIT::Handle_split_label(), label_is_external(), lower_bit_field_id(), DCE::Mark_region_exits_live(), GOTO::Modify_exits(), RINIT::Process_region(), REGION_clone(), REGION_delete_exit(), REGION_emit(), REGION_Exit_Whirl_Labels(), REGION_find_pu(), RINIT::Region_init(), REGION_new_wn(), RID_Create(), RID_Delete2(), RID_Fprint(), GOTO::Set_region_exit(), and Simd_Finalize_Loops().
| #define RID_srcpos | ( | r | ) | ((r)->srcpos) |
Definition at line 263 of file region_util.h.
Referenced by REGION_clone(), RID_Create(), RID_Fprint(), and Simd_Finalize_Loops().
| #define RID_type | ( | r | ) | ((r)->rid_type) |
Definition at line 276 of file region_util.h.
Referenced by BB_Is_Cold(), Create_Cold_Region(), Create_MicroTask(), Create_Region(), Do_WOPT_and_CG_with_Regions(), GRA_REGION_MGR::Get(), Identify_Region_Boundries(), GRA_BB::Is_Region_Block(), Non_Transparent_RID(), RINIT::Process_region(), REGION_clone(), REGION_CS_NoEarlierSub_Next(), Region_Pre_Header(), REGION_type_to_kind(), RID_Fprint(), Simd_Finalize_Loops(), SWP_Emit(), WN2C_region(), and WN2F_region().
| #define RID_TYPE_cleanup | ( | r | ) | (RID_type(r) & RID_TYPE_cleanup) |
Definition at line 381 of file region_util.h.
Referenced by Range_Kind(), REGION_is_EH(), REGION_type_to_kind(), and RID_type_str().
| #define RID_TYPE_cleanup_Reset | ( | r | ) |
Value:
Definition at line 384 of file region_util.h.
| #define RID_TYPE_cleanup_Set | ( | r | ) |
| #define RID_TYPE_cold | ( | r | ) | (RID_type(r) & RID_TYPE_cold) |
Definition at line 346 of file region_util.h.
Referenced by BB_Is_Cold(), Create_Cold_Region(), REGION_type_to_kind(), and RID_type_str().
| #define RID_TYPE_cold_Reset | ( | r | ) |
Value:
Definition at line 349 of file region_util.h.
| #define RID_TYPE_cold_Set | ( | r | ) |
| #define RID_TYPE_eh | ( | r | ) | (RID_type(r) & RID_TYPE_eh) |
Definition at line 372 of file region_util.h.
Referenced by EMITTER::Compute_use_def_stmt(), convert_stmt_list_to_OPs(), EMITTER::Gen_wn(), STMTREP::Has_chi(), STMTREP::Has_mu(), ADD_EH_RANGE::operator()(), IS_EH_RID::operator()(), ALIAS_MANAGER::Print(), RINIT::Process_region(), REGION_CS_Next(), REGION_is_EH(), region_stack_eh_set_has_call(), Remove_region_exit(), RID_type_str(), WN_has_chi(), and WN_has_mu().
| #define RID_TYPE_exc_spec | ( | r | ) | (RID_type(r) & RID_TYPE_exc_spec) |
Definition at line 387 of file region_util.h.
Referenced by Range_Kind(), REGION_is_EH(), REGION_type_to_kind(), and RID_type_str().
| #define RID_TYPE_exc_spec_Reset | ( | r | ) |
Value:
Definition at line 390 of file region_util.h.
| #define RID_TYPE_exc_spec_Set | ( | r | ) |
| #define RID_TYPE_func_entry | ( | r | ) | (RID_type(r) & RID_TYPE_func_entry) |
Definition at line 310 of file region_util.h.
Referenced by CFG::Add_one_stmt(), Create_MicroTask(), Do_WOPT_and_CG_with_Regions(), ML_WHIRL_EMITTER::Emit(), Generate_region_boundaries(), REGION_BOUND::grb(), LNO_Processing(), Non_Transparent_RID(), RINIT::Process_region(), REGION_CS_Next(), REGION_CS_NoEarlierSub_Next(), REGION_delete_exit(), REGION_Exit_Whirl_Labels(), REGION_has_black_regions(), REGION_init(), REGION_type_to_kind(), RID_Fprint(), RID_set_print(), and RID_type_str().
| #define RID_TYPE_func_entry_Reset | ( | r | ) |
Value:
Definition at line 313 of file region_util.h.
| #define RID_TYPE_func_entry_Set | ( | r | ) |
| #define RID_TYPE_guard | ( | r | ) | (RID_type(r) & RID_TYPE_guard) |
Definition at line 399 of file region_util.h.
Referenced by RVI_EMIT::Pop_region(), Pop_region(), Range_Kind(), REGION_is_EH(), REGION_type_to_kind(), DCE::Required_bb(), RID_type_str(), and DCE::Update_region_information().
| #define RID_TYPE_guard_Reset | ( | r | ) |
Value:
Definition at line 402 of file region_util.h.
| #define RID_TYPE_guard_Set | ( | r | ) |
| #define RID_TYPE_loop | ( | r | ) | (RID_type(r) & RID_TYPE_loop) |
Definition at line 316 of file region_util.h.
Referenced by Do_WOPT_and_CG_with_Regions(), REGION_CS_Next(), REGION_type_to_kind(), and RID_type_str().
| #define RID_TYPE_loop_Reset | ( | r | ) |
Value:
Definition at line 319 of file region_util.h.
| #define RID_TYPE_loop_Set | ( | r | ) |
Value:
Definition at line 317 of file region_util.h.
Referenced by RAIL::Add_region_around_loop(), and REGION_kind_to_type().
| #define RID_TYPE_mask | ( | r | ) | (RID_type(r) & RID_TYPE_mask) |
Definition at line 393 of file region_util.h.
Referenced by Range_Kind(), REGION_is_EH(), REGION_type_to_kind(), and RID_type_str().
| #define RID_TYPE_mask_Reset | ( | r | ) |
Value:
Definition at line 396 of file region_util.h.
| #define RID_TYPE_mask_Set | ( | r | ) |
| #define RID_TYPE_mp | ( | r | ) | (RID_type(r) & RID_TYPE_mp) |
Definition at line 334 of file region_util.h.
Referenced by Add_Pragma_To_MP_Region(), RINIT::Cancel_internal_gotos(), Cleanup_Ordered(), EMITTER::Compute_use_def_stmt(), Copy_Non_MP_Tree_Rec(), CFG::Find_exit_blocks(), EMITTER::Gen_wn(), STMTREP::Has_chi(), STMTREP::Has_mu(), CFG::Ident_mp_regions(), Is_Mp_Region(), Is_Ordered_Do(), ALIAS_MANAGER::Print(), RINIT::Process_region(), Read_Pragma_Thread_Affinity(), RINIT::Region_init(), REGION_is_mp(), REGION_type_to_kind(), Remove_region_exit(), RID_type_str(), Translate_OMP_to_MP(), Update_MP_Local_Var(), Update_Private(), WN_has_chi(), and WN_has_mu().
| #define RID_TYPE_mp_Reset | ( | r | ) |
Value:
Definition at line 337 of file region_util.h.
| #define RID_TYPE_mp_Set | ( | r | ) |
Value:
Definition at line 335 of file region_util.h.
Referenced by Create_Single_Region(), ARA_LOOP_INFO::Generate_Copyout_Loop(), ARA_LOOP_INFO::Generate_Parallel_Pragma(), and REGION_kind_to_type().
| #define RID_TYPE_null_cleanup | ( | r | ) | (RID_type(r) & RID_TYPE_null_cleanup) |
Definition at line 405 of file region_util.h.
Referenced by Range_Kind(), REGION_is_EH(), REGION_type_to_kind(), and RID_type_str().
| #define RID_TYPE_null_cleanup_Reset | ( | r | ) |
Value:
Definition at line 408 of file region_util.h.
| #define RID_TYPE_null_cleanup_Set | ( | r | ) |
| #define RID_TYPE_olimit | ( | r | ) | (RID_type(r) & RID_TYPE_olimit) |
Definition at line 328 of file region_util.h.
Referenced by EMITTER::Compute_use_def_stmt(), Do_WOPT_and_CG_with_Regions(), EMITTER::Gen_wn(), Non_Transparent_RID(), REGION_CS_Next(), REGION_has_black_regions(), REGION_type_to_kind(), and RID_type_str().
| #define RID_TYPE_olimit_Reset | ( | r | ) |
Value:
Definition at line 331 of file region_util.h.
| #define RID_TYPE_olimit_Set | ( | r | ) |
| #define RID_TYPE_pragma | ( | r | ) | (RID_type(r) & RID_TYPE_pragma) |
Definition at line 322 of file region_util.h.
Referenced by EMITTER::Compute_use_def_stmt(), Do_WOPT_and_CG_with_Regions(), EMITTER::Gen_wn(), Non_Transparent_RID(), REGION_CS_Next(), REGION_has_black_regions(), REGION_type_to_kind(), RID_type_str(), WN2C_region(), and WN2F_region().
| #define RID_TYPE_pragma_Reset | ( | r | ) |
Value:
Definition at line 325 of file region_util.h.
| #define RID_TYPE_pragma_Set | ( | r | ) |
| #define RID_TYPE_rpi | ( | r | ) | (RID_type(r) & RID_TYPE_rpi) |
Definition at line 340 of file region_util.h.
Referenced by REGION_type_to_kind(), and RID_type_str().
| #define RID_TYPE_rpi_Reset | ( | r | ) |
Value:
Definition at line 343 of file region_util.h.
| #define RID_TYPE_rpi_Set | ( | r | ) |
| #define RID_TYPE_swp | ( | r | ) | (RID_type(r) & RID_TYPE_swp) |
Definition at line 352 of file region_util.h.
Referenced by Create_Region(), GRA_REGION_MGR::Get(), Identify_Region_Boundries(), GRA_BB::Is_Region_Block(), Region_Pre_Header(), REGION_type_to_kind(), RID_type_str(), and SWP_Emit().
| #define RID_TYPE_swp_Reset | ( | r | ) |
Value:
Definition at line 355 of file region_util.h.
| #define RID_TYPE_swp_Set | ( | r | ) |
| #define RID_TYPE_transparent | ( | r | ) |
Value:
( RID_TYPE_func_entry(r) \ || RID_TYPE_mp(r) \ || RID_TYPE_eh(r) \ || RID_TYPE_swp(r) \ || RID_TYPE_cold(r))
Definition at line 412 of file region_util.h.
Referenced by OPT_STAB::Compute_region_mu_chi(), OPT_STAB::Generate_mu_and_chi_list(), REGION_BOUND::grb(), RINIT::Process_region(), REGION_has_black_regions(), and REGION_remove_preg().
| #define RID_TYPE_try | ( | r | ) | (RID_type(r) & RID_TYPE_try) |
Definition at line 375 of file region_util.h.
Referenced by Range_Kind(), REGION_is_EH(), REGION_type_to_kind(), and RID_type_str().
| #define RID_TYPE_try_Reset | ( | r | ) |
Value:
Definition at line 378 of file region_util.h.
| #define RID_TYPE_try_Set | ( | r | ) |
| #define RID_used_in | ( | r | ) | ((r)->used_in) |
Definition at line 298 of file region_util.h.
Referenced by OPT_STAB::Compute_region_mu_chi(), REGION_BOUND::Convert_ST_list(), Gen_quad_preg(), REGION_BOUND::grb(), REGION_BOUND::GRB_merge_var(), REGION_BOUND::Propagate_boundary_up(), OPT_STAB::REGION_add_to_bound(), REGION_Entry_PREG_Whirl(), REGION_live_in_from_chi(), OPT_STAB::REGION_verify_bound(), RID_copy_sets(), RID_Create(), and RID_set_print().
| #define RID_was_gra | ( | r | ) | (RID_gra_flags(r) & RID_FLAGS_was_gra) |
| #define RID_was_gra__Reset | ( | r | ) | (RID_gra_flags(r) &= ~RID_FLAGS_was_gra) |
Definition at line 307 of file region_util.h.
| #define RID_was_gra_Set | ( | r | ) | (RID_gra_flags(r) |= RID_FLAGS_was_gra) |
| #define URFLAG_aliased_to_globals | ( | r | ) | ((r).rfs.aliased_to_globals) |
Definition at line 205 of file region_util.h.
| #define URFLAG_aliased_to_indirects | ( | r | ) | ((r).rfs.aliased_to_indirects) |
Definition at line 206 of file region_util.h.
| #define URFLAG_bounds_exist | ( | r | ) | ((r).rfs.bounds_exist) |
Definition at line 204 of file region_util.h.
| #define URFLAG_clear | ( | r | ) | ( (r).flags = 0 ) |
Definition at line 195 of file region_util.h.
| #define URFLAG_contains_barrier | ( | r | ) | ((r).rfs.contains_barrier) |
Definition at line 208 of file region_util.h.
| #define URFLAG_contains_black | ( | r | ) | ((r).rfs.contains_black) |
Definition at line 202 of file region_util.h.
| #define URFLAG_contains_bounds | ( | r | ) | ((r).rfs.contains_bounds) |
Definition at line 203 of file region_util.h.
| #define URFLAG_contains_uplevel | ( | r | ) | ((r).rfs.contains_uplevel) |
Definition at line 207 of file region_util.h.
| #define URFLAG_flags | ( | r | ) | ((r).flags) |
Definition at line 194 of file region_util.h.
| #define URFLAG_glue_code_flag | ( | r | ) | ((r).rfs.glue_code_flag) |
Definition at line 201 of file region_util.h.
| #define URFLAG_gra_flags | ( | r | ) | ((r).rfs.gra_flags) |
Definition at line 199 of file region_util.h.
| #define URFLAG_level | ( | r | ) | ((r).rfs.level) |
Definition at line 197 of file region_util.h.
| #define URFLAG_return_flag | ( | r | ) | ((r).rfs.return_flag) |
Definition at line 200 of file region_util.h.
| #define URFLAG_rfs | ( | r | ) | ((r).rfs) |
Definition at line 196 of file region_util.h.
| #define URFLAG_type | ( | r | ) | ((r).rfs.type) |
Definition at line 198 of file region_util.h.
| typedef struct points_to_ref POINTS_TO_SET |
| typedef struct region_cs_iter REGION_CS_ITER |
| typedef union region_flags_union URFLAG |
| enum REGION_BOUND_EXIST |
| enum REGION_DEBUG_FLAGS |
Definition at line 156 of file region_util.h.
| enum REGION_FLAGS |
| enum REGION_LEVEL |
| RL_UNKNOWN | |
| RL_SRC | |
| RL_MP | |
| RL_RGN_INIT | |
| RL_IPA_PREOPT | |
| RL_LNO_PREOPT | |
| RL_LNO | |
| RL_DU_PREOPT | |
| RL_RAIL | |
| RL_RBI | |
| RL_PREOPT | |
| RL_MAINOPT | |
| RL_RVI1 | |
| RL_RVI2 | |
| RL_CG | |
| RL_CGSCHED | |
| RL_LAST |
Definition at line 81 of file region_util.h.
| enum REGION_RETURN_ENUM |
| enum RID_TYPE |
Definition at line 132 of file region_util.h.
Definition at line 1370 of file opt_sym.cxx.
References POINTS_TO::Analyze_ST(), Desc_type_byte_size(), POINTS_TO::Init(), INT64, Is_True, MTYPE_M, MTYPE_size_min, NULL, OPERATOR_has_aux(), OPERATOR_name(), OPR_IDNAME, OPR_LDA, OPR_LDBITS, OPR_LDID, OPR_STBITS, OPR_STID, ST_type, TRUE, TY_size, WN_bit_offset(), WN_bit_size(), WN_desc(), WN_offset(), WN_operator(), and WN_st().
Referenced by OPT_STAB::Convert_IO_statement().
Definition at line 834 of file wn.cxx.
Referenced by GRA_PARA_REGION_MGR::Get(), GRA_REGION_MGR::Get(), GRA_PARA_REGION_MGR::Initialize(), and GRA_REGION_MGR::Initialize().
Definition at line 829 of file wn.cxx.
Referenced by Copy_Non_MP_Tree_Rec(), Create_Cold_Region(), Create_Region(), RID_Create(), Setup_EH_Region(), Setup_MP_Enclosing_Region(), SWP_Emit(), WFE_Expand_Try(), WGEN_Expand_Try(), and WN_CreateRegion().
| POINTS_TO* Points_to | ( | struct ALIAS_MANAGER * | , | |
| WN * | ||||
| ) |
Definition at line 1607 of file opt_alias_mgr.cxx.
References ALIAS_MANAGER::Id(), and ALIAS_MANAGER::Pt().
Referenced by Calculate_Path_Data(), DSE::DSE(), LOCAL_CLSC::Get_aux_id_by_alias(), Memory_OP_References_Stack(), REGION_add_wn_points_to(), and OPT_PU_POINTS_TO_SUMMARIZER::Summarize_points_to().
Definition at line 1616 of file opt_alias_mgr.cxx.
References POINTS_TO::Copy_fully(), CXX_NEW, and tmp.
Referenced by OPT_STAB::REGION_add_aux_id_points_to(), REGION_add_points_to(), and REGION_add_wn_points_to().
Definition at line 4892 of file opt_alias_analysis.cxx.
References fprintf(), and POINTS_TO::Print().
Referenced by Dump_points_to_list(), and REGION_add_points_to().
Definition at line 927 of file region_util.cxx.
References CURRENT_SYMTAB, New_LABEL(), NULL, WN_CreateLabel, WN_CreateRegionExit, WN_Get_Linenum(), WN_INSERT_BlockAfter(), WN_INSERT_BlockBefore(), WN_last(), WN_region_body, and WN_Set_Linenum().
Referenced by RAIL::Process_block(), and RINIT::Process_region().
| void REGION_add_points_to | ( | POINTS_TO_SET ** | , | |
| POINTS_TO * | , | |||
| struct ALIAS_MANAGER * | ||||
| ) |
Definition at line 663 of file region_util.cxx.
References Get_Trace(), Is_Trace, Is_Trace_cmd, points_to_ref::Next, Points_to_copy(), Print_points_to(), points_to_ref::Pt, ptr, REGION_mem_pool, TFile, TP_REGION, TT_REGION_ALL, and TYPE_MEM_POOL_ALLOC.
Referenced by REGION_BOUND::Convert_ST_list(), REGION_BOUND::grb(), REGION_BOUND::GRB_merge_var(), REGION_BOUND::Propagate_boundary_up(), REGION_live_in_from_chi(), and REGION_live_out_from_mu().
Definition at line 688 of file region_util.cxx.
References BOOL, FALSE, Get_Trace(), INT32, Is_Trace, Is_True, MTYPE_C8, MTYPE_CQ, MTYPE_FQ, MTYPE_name, NULL, Preg_Increment(), ptmp, REGION_mem_pool, REGION_search_preg_set(), ret, RID_id, RID_pregs_complex_quad, RID_pregs_in, RID_pregs_quad, TFile, TP_REGION, TRUE, TT_REGION_ALL, and TT_REGION_BOUND_DEBUG.
Referenced by Check_If_TN_Is_Global(), Gen_quad_preg(), REGION_BOUND::GRB_merge_preg(), REGION_BOUND::Propagate_boundary_up(), OPT_STAB::REGION_add_to_bound(), REGION_Entry_PREG_Whirl(), and REGION_live_in_from_chi().
Definition at line 755 of file region_util.cxx.
References BOOL, FALSE, Get_Trace(), i, INT32, Is_Trace, Is_True, MTYPE_C8, MTYPE_CQ, MTYPE_FQ, MTYPE_name, NULL, Preg_Increment(), ptmp, REGION_mem_pool, REGION_search_preg_set(), ret, RID_id, RID_num_exits, RID_pregs_complex_quad, RID_pregs_out, RID_pregs_out_i, RID_pregs_quad, RID_pregs_set_out_i, TFile, TP_REGION, TRUE, TT_REGION_ALL, TT_REGION_BOUND_DEBUG, and TYPE_MEM_POOL_ALLOC_N.
Referenced by Check_If_TN_Is_Global(), Gen_quad_preg(), REGION_BOUND::GRB_merge_preg(), REGION_BOUND::Propagate_boundary_up(), OPT_STAB::REGION_add_to_bound(), REGION_Exit_PREG_Whirl(), and REGION_live_out_from_mu().
| void REGION_add_wn_points_to | ( | POINTS_TO_SET ** | , | |
| WN * | , | |||
| struct ALIAS_MANAGER * | ||||
| ) |
Definition at line 635 of file region_util.cxx.
References CLASS_PREG, Create_alias(), fdump_tree(), Get_Trace(), Is_Trace, Is_Trace_cmd, Is_True, points_to_ref::Next, NULL, Points_to(), Points_to_copy(), points_to_ref::Pt, ptr, REGION_mem_pool, ST_class, TFile, TP_REGION, TT_REGION_BOUND_DEBUG, TYPE_MEM_POOL_ALLOC, and WN_st().
Referenced by Gen_quad_preg(), REGION_BOUND::GRB_merge_var(), REGION_Entry_PREG_Whirl(), and REGION_Exit_PREG_Whirl().
Definition at line 526 of file region_util.cxx.
References Is_True, NULL, OPC_FUNC_ENTRY, OPC_REGION, REGION_BOUND_UNKNOWN, REGION_get_rid(), REGION_NO_RETURN, RID_Add_kid(), RID_bounds_exist, RID_Create(), RID_depth, RID_eh_range_ptr, RID_has_return, RID_level, RID_map, RID_num_exits, RID_parent, RID_rwn, RID_srcpos, RID_type, WN_Get_Linenum(), WN_MAP_Set, WN_opcode(), and WN_region_id().
Referenced by Copy_Non_MP_Tree_Rec().
Definition at line 116 of file region_util.cxx.
References FmtAssert, Get_Current_PU, NULL, PU_has_region, REGION_get_rid(), RID_id, TRUE, and WN_region_id().
Referenced by CFG::Add_one_region(), CG_Generate_Code(), CG_Region_Finalize(), OPT_STAB::Compute_region_mu_chi(), OPT_STAB::Convert_ST_to_AUX(), CFG::Create(), Do_WOPT_and_CG_with_Regions(), ML_WHIRL_EMITTER::Emit(), LNO_Processing(), Perform_Loop_Nest_Optimization(), RVI::Perform_RVI(), Pre_Optimizer(), REGION_CS_NoEarlierSub_Next(), REGION_find_pu(), REGION_remove_and_mark(), REGION_replace_from_mark(), and RVI_EMIT::RVI_EMIT().
Definition at line 258 of file region_util.cxx.
References count, INT32, Is_True, NULL, OPC_BLOCK, WN_first(), WN_next(), and WN_opcode().
Referenced by RINIT::Process_region(), REGION_fix_up_exits(), and RID_Fprint().
Definition at line 955 of file region_util.cxx.
References BOOL, FALSE, Get_Trace(), i, INT32, Is_Trace, Is_True, NULL, OPC_BLOCK, OPC_FUNC_ENTRY, OPC_REGION, OPC_REGION_EXIT, REGION_delete_exit(), RID_id, RID_num_exits, RID_parent, RID_pregs_out, RID_pregs_out_i, RID_pregs_set_out_i, RID_rwn, RID_TYPE_func_entry, TFile, TP_REGION, TRUE, TT_REGION_ALL, WN_DELETE_FromBlock(), WN_first(), WN_label_number(), WN_next(), WN_opcode(), and WN_region_exits.
Referenced by REGION_delete_exit(), and Remove_region_exit().
Definition at line 578 of file region_util.cxx.
References FmtAssert, Is_True, NULL, REGION_get_rid(), RID_level, RID_map, RID_num_exits, RID_rwn, WN_MAP_Set, and WN_Set_Linenum().
Referenced by ML_WHIRL_EMITTER::Create_entry(), ML_WHIRL_EMITTER::Pop_region(), RVI_EMIT::Pop_region(), Pop_region(), EMITTER::Raise_func_entry(), Raise_region_stmt(), and RVI_EMIT::RVI_EMIT().
Definition at line 192 of file region_util.cxx.
References Is_True, REGION_consistency_check(), REGION_get_rid(), RID_parent, and RID_rwn.
Referenced by Opt_set_current_pu_name().
Definition at line 277 of file region_util.cxx.
References i, INT32, MAX, NULL, REGION_count_exits(), REGION_mem_pool, RID_num_exits, RID_pregs_out, RID_pregs_out_i, TYPE_MEM_POOL_ALLOC_N, and WN_region_exits.
| char* REGION_get_options_string | ( | WN * | ) |
Definition at line 1733 of file region_util.cxx.
References Is_True, NULL, OPC_FUNC_ENTRY, OPC_REGION, REGION_search_block(), s, ST_tcon, strlen(), Targ_String_Address(), Targ_String_Length(), Tcon_Table, WN_func_pragmas, WN_opcode(), WN_PRAGMA_OPTIONS, WN_region_pragmas, and WN_st().
Referenced by RINIT::Process_region(), and REGION_Initialize().
Definition at line 173 of file region_util.cxx.
References NULL, RID_map, WN_MAP_Get, and WN_MAP_UNDEFINED.
Referenced by CFG::Add_one_region(), Add_Pragma_To_MP_Region(), RAIL::Add_region_around_loop(), OPT_STAB::Allocate_mu_chi_and_virtual_var(), CG_Dump_Region(), CG_Generate_Code(), CG_Region_Finalize(), CG_Region_Initialize(), ALIAS_CLASSIFICATION::Classify_wn_and_kids(), Cleanup_Ordered(), COMP_UNIT::COMP_UNIT(), OPT_STAB::Compute_region_mu_chi(), EMITTER::Compute_use_def_stmt(), OPT_STAB::Convert_ST_to_AUX(), convert_stmt_list_to_OPs(), Convert_WHIRL_To_OPs(), Copy_Non_MP_Tree_Rec(), OPT_STAB::Count_syms(), CFG::Create(), Disable_opt(), Do_WOPT_and_CG_with_Regions(), ALIAS_CLASSIFICATION::Finalize_ac_map(), OPT_STAB::Generate_mu_and_chi_list(), Generate_region_boundaries(), Get_Enclosing_Region_ID(), REGION_BOUND::grb(), initialize_region_stack(), ir_put_wn(), Is_Mp_Region(), Is_Ordered_Do(), LNO_Processing(), lower_bit_field_id(), DCE::Mark_region_exits_live(), Perform_Loop_Nest_Optimization(), Pre_Optimizer(), ALIAS_MANAGER::Print(), RAIL::Process_func_entry(), Read_Pragma_Thread_Affinity(), Region_Bound_Info(), REGION_clone(), REGION_consistency_check(), REGION_CS_NoEarlierSub_Next(), REGION_emit(), REGION_find_pu(), REGION_Initialize(), REGION_is_EH(), REGION_is_mp(), REGION_new_wn(), REGION_remove_and_mark(), REGION_replace_from_mark(), OPT_STAB::Remap_aux_synonym(), OPT_STAB::Remap_ver_synonym(), SSA::Rename(), RID_WN_Tree_Print(), RESTRICTED_MAP::Save_info(), Simd_Finalize_Loops(), Transfer_Maps_R(), Translate_OMP_to_MP(), Update_MP_Local_Var(), update_parent_block(), Update_Private(), WN_has_chi(), WN_has_mu(), and WOPT_Processing().
Definition at line 213 of file region_util.cxx.
References Is_True, NULL, RID_contains_black, RID_parent, RID_TYPE_func_entry, RID_TYPE_olimit, RID_TYPE_pragma, RID_TYPE_transparent, and TRUE.
Referenced by OPT_STAB::Generate_mu_and_chi_list(), Pre_Optimizer(), RINIT::Process_region(), and OPT_STAB::Transfer_alias_class_to_occ_and_aux().
Definition at line 1765 of file region_util.cxx.
References Is_True, REGION_get_rid(), REGION_KIND_EH, RID_TYPE_cleanup, RID_TYPE_eh, RID_TYPE_exc_spec, RID_TYPE_guard, RID_TYPE_mask, RID_TYPE_null_cleanup, RID_TYPE_try, and WN_region_kind().
Referenced by CFG::Add_one_stmt(), OPT_STAB::Convert_EH_pragmas(), OPT_STAB::Count_syms(), EXC_SCOPE_TRY_ITER::EXC_SCOPE_TRY_ITER(), EXC_SCOPE::Is_try_region(), ML_WHIRL_EMITTER::Pop_region(), Pop_region(), EMITTER::Raise_func_entry(), Raise_region_stmt(), REGION_kind_to_type(), and WN_Fake_Call_EH_Region().
Definition at line 1782 of file region_util.cxx.
References Is_True, REGION_get_rid(), REGION_KIND_MP, RID_TYPE_mp, and WN_region_kind().
Referenced by CFG::Add_one_region(), Add_Pragma_To_MP_Regions(), SUMMARIZE< program >::Process_procedure(), REGION_kind_to_type(), and Update_Caller_MP_Pragmas().
Definition at line 1855 of file region_util.cxx.
References FALSE, Is_True, REGION_is_EH(), REGION_is_mp(), REGION_KIND_CLEANUP, REGION_KIND_COLD, REGION_KIND_EXC_SPEC, REGION_KIND_FUNC_ENTRY, REGION_KIND_GUARD, REGION_KIND_LOOP, REGION_KIND_MASK, REGION_KIND_MP, REGION_KIND_NULL_CLEANUP, REGION_KIND_OLIMIT, REGION_KIND_PRAGMA, REGION_KIND_RPI, REGION_KIND_SWP, REGION_KIND_TRY, RID_TYPE_cleanup_Set, RID_TYPE_cold_Set, RID_TYPE_exc_spec_Set, RID_TYPE_guard_Set, RID_TYPE_loop_Set, RID_TYPE_mask_Set, RID_TYPE_mp_Set, RID_TYPE_null_cleanup_Set, RID_TYPE_olimit_Set, RID_TYPE_pragma_Set, RID_TYPE_rpi_Set, RID_TYPE_swp_Set, RID_TYPE_try_Set, and WN_region_kind().
Referenced by RINIT::Process_region().
Definition at line 91 of file region_util.cxx.
References FmtAssert, Get_Current_PU, Is_True, NULL, PU_has_region, REGION_get_rid(), RID_id, RID_map, RID_rwn, WN_MAP_Set, and WN_region_id().
Referenced by Copy_Non_MP_Tree_Rec(), Perform_Loop_Nest_Optimization(), RVI::Perform_RVI(), REGION_remove_and_mark(), and REGION_replace_from_mark().
Definition at line 1021 of file region_util.cxx.
References fprintf(), Get_Trace(), REGION_NO_RETURN, REGION_RETURN, RID_has_return, RID_id, RID_parent, TFile, TP_REGION, and TT_REGION_ALL.
Referenced by RINIT::Region_init().
Definition at line 837 of file region_util.cxx.
References FALSE, Get_Trace(), i, INT, Is_Trace, Is_True, NULL, ptmp, REGION_BOUND_EXISTS, REGION_search_preg_set(), RID_bounds_exist, RID_id, RID_num_exits, RID_pregs_complex_quad, RID_pregs_in, RID_pregs_out, RID_pregs_quad, RID_pregs_set_out_i, RID_TYPE_transparent, TFile, TP_REGION, TRUE, and TT_REGION_BOUND_DEBUG.
Referenced by Add_PregTNs_To_BB(), and PRUNE_BOUND::REGION_remove_from_bound().
Definition at line 301 of file region_util.cxx.
References FALSE, Is_True, OPC_BLOCK, TRUE, WN_first(), WN_label_number(), WN_next(), and WN_opcode().
Referenced by CFG::Add_one_stmt(), and CFG::Find_exit_blocks().
Definition at line 675 of file region_bounds.cxx.
References FALSE, ptmp, and TRUE.
Referenced by OPT_STAB::Compute_region_mu_chi(), REGION_BOUND::Propagate_boundary_up(), REGION_add_preg_in(), REGION_add_preg_out(), REGION_Entry_PREG_Whirl(), REGION_Exit_PREG_Whirl(), REGION_remove_preg(), and OPT_STAB::REGION_verify_bound().
| void REGION_set_level | ( | RID * | , | |
| REGION_LEVEL | ||||
| ) |
Definition at line 244 of file region_util.cxx.
References REGION_set_level(), RID_first_kid, RID_level, and RID_next.
Referenced by CG_Region_Finalize(), and REGION_set_level().
| REGION_KIND REGION_type_to_kind | ( | RID * | ) |
Definition at line 1812 of file region_util.cxx.
References FALSE, Is_True, NULL, REGION_KIND_CLEANUP, REGION_KIND_COLD, REGION_KIND_EXC_SPEC, REGION_KIND_FUNC_ENTRY, REGION_KIND_GUARD, REGION_KIND_LOOP, REGION_KIND_MASK, REGION_KIND_MP, REGION_KIND_NULL_CLEANUP, REGION_KIND_OLIMIT, REGION_KIND_PRAGMA, REGION_KIND_RPI, REGION_KIND_SWP, REGION_KIND_TRY, RID_type, RID_TYPE_cleanup, RID_TYPE_cold, RID_TYPE_exc_spec, RID_TYPE_func_entry, RID_TYPE_guard, RID_TYPE_loop, RID_TYPE_mask, RID_TYPE_mp, RID_TYPE_null_cleanup, RID_TYPE_olimit, RID_TYPE_pragma, RID_TYPE_rpi, RID_TYPE_swp, and RID_TYPE_try.
Referenced by ML_WHIRL_EMITTER::Pop_region(), RVI_EMIT::Pop_region(), Pop_region(), EMITTER::Raise_func_entry(), and Raise_region_stmt().
| void REGION_update_alias_info | ( | WN * | , | |
| struct ALIAS_MANAGER * | ||||
| ) |
Definition at line 135 of file region_util.cxx.
References BOOL, Create_alias(), FALSE, fdump_wn(), Get_Current_PU, Get_Trace(), i, Is_Trace, Is_Trace_cmd, mINT16, opc, OPCODE_is_load(), OPCODE_is_store(), OPR_BLOCK, PU_has_region, REGION_update_alias_info(), TFile, TP_REGION, TT_REGION_ALL, Valid_alias(), WN_first(), WN_kid(), WN_kid_count(), WN_next(), and WN_opcode().
Referenced by CG_Generate_Code(), ML_WHIRL_EMITTER::Emit(), and REGION_update_alias_info().
Definition at line 356 of file region_util.cxx.
References NULL, RID_first_kid, RID_next, and RID_parent.
Referenced by RAIL::Add_region_around_loop(), Create_Cold_Region(), Create_Region(), Create_Single_Region(), ARA_LOOP_INFO::Generate_Copyout_Loop(), ARA_LOOP_INFO::Generate_Parallel_Pragma(), RINIT::Process_region(), REGION_clone(), Simd_Finalize_Loops(), SWP_Emit(), and Transfer_Maps_R().
Definition at line 594 of file region_util.cxx.
References i, INT32, NULL, REGION_mem_pool, RID_def_in_live_out, RID_num_exits, RID_pregs_complex_quad, RID_pregs_in, RID_pregs_out, RID_pregs_out_i, RID_pregs_quad, RID_pregs_set_out_i, RID_used_in, and TYPE_MEM_POOL_ALLOC_N.
Definition at line 317 of file region_util.cxx.
References New_Region_Id(), NULL, REGION_mem_pool, RID_CREATE_NEW_ID, RID_def_in_live_out, RID_depth, RID_first_kid, RID_flags, RID_id, RID_lowered, RID_map, RID_next, RID_num_exits, RID_options, RID_parent, RID_parent_block, RID_pregs_in, RID_pregs_out, RID_rwn, RID_srcpos, RID_used_in, TYPE_MEM_POOL_ALLOC, WN_Get_Linenum(), and WN_MAP_Get.
Referenced by RAIL::Add_region_around_loop(), Create_Cold_Region(), Create_MicroTask(), Create_Region(), Create_Single_Region(), ARA_LOOP_INFO::Generate_Copyout_Loop(), ARA_LOOP_INFO::Generate_Parallel_Pragma(), RINIT::Process_region(), REGION_clone(), REGION_Initialize(), Simd_Finalize_Loops(), and SWP_Emit().
| void RID_Delete | ( | WN_MAP_TAB * | , | |
| WN * | ||||
| ) |
Definition at line 446 of file region_util.cxx.
References IPA_WN_MAP_Set(), Is_True, NULL, REGION_get_rid2(), RID_Delete2(), and RID_map.
Referenced by Lower_Master(), lower_mp(), LWN_Delete_Tree(), Strip_Nested_MP(), and Transform_Parallel_Block().
Definition at line 462 of file region_util.cxx.
References CXX_DELETE_ARRAY, Is_True, last, NULL, REGION_mem_pool, RID_first_kid, RID_id, RID_last_kid(), RID_next, RID_options, RID_parent, RID_parent_block, RID_rwn, and RID_set_parents().
Referenced by EMITTER::Gen_wn(), RVI_EMIT::Pop_region(), Remove_region_entry(), and RID_Delete().
Definition at line 1254 of file region_util.cxx.
References BOOL, count, Dump_region_exits(), flags, fprintf(), INT, INT32, Is_True, NULL, REGION_BOUND_EXISTS, REGION_count_exits(), ret, RID_aliased_to_globals, RID_aliased_to_indirects, RID_bounds_exist, RID_cginfo, RID_contains_barrier, RID_contains_bounds, RID_contains_uplevel, RID_depth, RID_first_kid, RID_flags, RID_has_return, RID_id, RID_level_str(), RID_lower_Fprint(), RID_lowered, RID_next, RID_num_exits, RID_options, RID_parent, RID_parent_block, RID_rwn, RID_srcpos, RID_type, RID_TYPE_func_entry, RID_type_str(), s, tf, TFile, UINT32, us, USRCPOS_linenum, USRCPOS_srcpos, WN_region_exits, and WN_region_id().
Referenced by GRA_Trace_Color_REGION(), Print_BB_Header(), and RID_Tree_Print().
| char* RID_level_str | ( | RID * | rid | ) |
Definition at line 1037 of file region_util.cxx.
References FALSE, Is_True, RID_level, RL_CG, RL_CGSCHED, RL_LNO, RL_LNO_PREOPT, RL_MAINOPT, RL_MP, RL_PREOPT, RL_RAIL, RL_RBI, RL_RGN_INIT, RL_RVI1, RL_RVI2, RL_SRC, RL_UNKNOWN, and strcpy.
Referenced by CG_Generate_Code(), OPT_STAB::Convert_ST_to_AUX(), and RID_Fprint().
| REGION_LEVEL RID_preopt_level | ( | INT | ) |
Definition at line 614 of file region_util.cxx.
References FALSE, Is_True, MAINOPT_PHASE, PREOPT_DUONLY_PHASE, PREOPT_IPA0_PHASE, PREOPT_IPA1_PHASE, PREOPT_LNO_PHASE, PREOPT_PHASE, RL_DU_PREOPT, RL_IPA_PREOPT, RL_LNO_PREOPT, RL_MAINOPT, RL_PREOPT, and RL_UNKNOWN.
Referenced by Pre_Optimizer().
Definition at line 393 of file region_util.cxx.
References FALSE, FmtAssert, NULL, RID_first_kid, RID_next, and RID_parent.
Definition at line 1194 of file region_util.cxx.
References Dump_points_to_list(), Dump_preg_list(), fprintf(), INT32, Is_True, NULL, RID_aliased_to_globals, RID_aliased_to_indirects, RID_bounds_exist, RID_contains_barrier, RID_contains_bounds, RID_contains_uplevel, RID_def_in_live_out, RID_first_kid, RID_has_return, RID_id, RID_next, RID_num_exits, RID_parent_block, RID_pregs_complex_quad, RID_pregs_in, RID_pregs_out, RID_pregs_quad, RID_set_print(), RID_TYPE_func_entry, RID_used_in, and tf.
Referenced by OPT_STAB::Compute_region_mu_chi(), Do_WOPT_and_CG_with_Regions(), Generate_region_boundaries(), LNO_Processing(), ALIAS_MANAGER::Print(), PRUNE_BOUND::Prune_boundary_sets(), Region_Bound_Info(), REGION_Entry_PREG_Whirl(), REGION_Exit_PREG_Whirl(), and RID_set_print().
Definition at line 1327 of file region_util.cxx.
References RID_first_kid, RID_Fprint(), RID_next, and RID_Tree_Print().
Referenced by CFG::Create(), REGION_init(), RID_Tree_Print(), and RID_WN_Tree_Print().
| char* RID_type_str | ( | RID_TYPE | type | ) |
Definition at line 1067 of file region_util.cxx.
References RID_TYPE_cleanup, RID_TYPE_cold, RID_TYPE_eh, RID_TYPE_exc_spec, RID_TYPE_func_entry, RID_TYPE_guard, RID_TYPE_loop, RID_TYPE_mask, RID_TYPE_mp, RID_TYPE_null_cleanup, RID_TYPE_olimit, RID_TYPE_pragma, RID_TYPE_rpi, RID_TYPE_swp, RID_TYPE_try, RID_TYPE_undefined, strcat(), and strcpy.
Referenced by RINIT::Process_region(), REGION_CS_print(), and RID_Fprint().
Definition at line 374 of file region_util.cxx.
References FALSE, FmtAssert, NULL, RID_first_kid, RID_next, and RID_parent.
Referenced by Transfer_Maps_R().
Definition at line 1340 of file region_util.cxx.
References REGION_get_rid(), and RID_Tree_Print().
Referenced by Do_WOPT_and_CG_with_Regions(), LNO_Processing(), Post_Process_Backend(), Rail(), REGION_Initialize(), and WOPT_Processing().
Definition at line 1931 of file region_util.cxx.
References FALSE, FmtAssert, LWN_Get_Parent_From_Map, OPC_VCALL, OPR_BLOCK, OPR_REGION, REGION_is_EH(), TRUE, WN_opcode(), WN_operator(), and WN_region_pragmas.
Referenced by IPO_Process_Icalls(), IPA_CALL_GRAPH::Map_Callsites(), process_node(), and SUMMARIZE< program >::Process_procedure().
Definition at line 1529 of file region_init.cxx.
Referenced by CGRIN_Create(), Convert_WHIRL_To_OPs(), Gen_quad_preg(), Generate_region_boundaries(), RINIT::Process_region(), OPT_STAB::REGION_add_aux_id_points_to(), REGION_add_points_to(), REGION_add_preg_in(), REGION_add_preg_out(), REGION_add_wn_points_to(), REGION_Entry_PREG_Whirl(), REGION_Exit_PREG_Whirl(), REGION_fix_up_exits(), REGION_Get_TN_In_List(), REGION_Get_TN_Out_List(), RID_copy_sets(), RID_Create(), and RID_Delete2().
Definition at line 1530 of file region_init.cxx.
Referenced by CFG::Add_one_region(), RAIL::Add_region_around_loop(), Create_Single_Region(), EH_Generate_Range_List(), ARA_LOOP_INFO::Generate_Copyout_Loop(), ARA_LOOP_INFO::Generate_Parallel_Pragma(), IPA_NODE_CONTEXT::IPA_NODE_CONTEXT(), lower_bit_field_id(), NORMALIZE_LOOP::Normalize_do_loop(), RINIT::Process_region(), REGION_clone(), REGION_CS_NoEarlierSub_First(), REGION_emit(), REGION_get_rid(), REGION_get_rid2(), REGION_new_wn(), RID_Create(), RID_Delete(), Simd_Finalize_Loops(), WN2C_region(), WN2F_region(), and IPA_NODE_CONTEXT::~IPA_NODE_CONTEXT().
1.5.6