#include <opt_rvi_emit.h>

Public Member Functions | |
| RVI_EMIT (const RVI *rvi, BOOL lda_only, ALIAS_MANAGER *alias_mgr, REGION_LEVEL region_level) | |
| ~RVI_EMIT (void) | |
| const RVI * | Rvi (void) const |
| WN * | Entry_wn (void) |
| void | Set_entry_wn (WN *entry_wn) |
| WN * | First_wn (void) |
| void | Set_first_wn (WN *first_wn) |
| WN * | Last_wn (void) |
| void | Set_last_wn (WN *last_wn) |
| BOOL | Lda_only (void) const |
Private Member Functions | |
| void | Push_region (BB_NODE *start_region) |
| void | Pop_region (void) |
| ALIAS_MANAGER * | Alias_Mgr (void) const |
| void | Emit_bb (BB_NODE *bb) |
| void | Emit_bb_annotations (BB_NODE *bb) |
| void | Emit_wn_annotations (BB_NODE *bb, WN *wn, WN **new_wn) const |
| void | Emit_lda_wn_annotations (BB_NODE *bb, WN *wn, WN **new_wn) const |
| RVI_EMIT (void) | |
| RVI_EMIT (const RVI_EMIT &) | |
| RVI_EMIT & | operator= (const RVI_EMIT &) |
Private Attributes | |
| const RVI * | _rvi |
| WN * | _entry_wn |
| WN * | _first_wn |
| WN * | _last_wn |
| BOOL | _lda_only |
| ALIAS_MANAGER * | _alias_mgr |
| REGION_LEVEL | _region_level |
| STACK< RVIE_REGION * > | _region_stack |
Definition at line 94 of file opt_rvi_emit.h.
| RVI_EMIT::RVI_EMIT | ( | void | ) | [private] |
| RVI_EMIT::RVI_EMIT | ( | const RVI_EMIT & | ) | [private] |
| RVI_EMIT::RVI_EMIT | ( | const RVI * | rvi, | |
| BOOL | lda_only, | |||
| ALIAS_MANAGER * | alias_mgr, | |||
| REGION_LEVEL | region_level | |||
| ) |
Definition at line 447 of file opt_rvi_emit.cxx.
References _alias_mgr, _entry_wn, _first_wn, _last_wn, _region_level, _region_stack, BB_ENTRY, BB_REGIONSTART, RVI::Cfg(), STACK< T >::Elements(), Emit_bb(), Emit_bb_annotations(), Entry_wn(), FALSE, CFG::Find_entry_bb(), First_wn(), FmtAssert, FOR_ALL_NODE, BB_NODE::Id(), Init, Is_Trace, Is_True, BB_NODE::Kind(), BB_NODE::Kind_name(), Last_wn(), NULL, OPC_FUNC_ENTRY, OPCODE_name(), Pop_region(), Push_region(), REGION_consistency_check(), REGION_emit(), RVIE_REGION::Region_end(), Rvi(), BB_NODE::Rvi_anns(), Set_entry_wn(), TFile, STACK< T >::Top(), WN_CreateBlock, WN_first(), WN_func_body, WN_Get_Linenum(), WN_last(), WN_opcode(), and WN_Set_Linenum().
| RVI_EMIT::~RVI_EMIT | ( | void | ) | [inline] |
Definition at line 129 of file opt_rvi_emit.h.
Definition at line 360 of file opt_rvi_emit.cxx.
References _region_stack, CXX_NEW, Last_wn(), STACK< T >::Push(), BB_REGION::Region_end(), BB_NODE::Regioninfo(), and Rvi().
Referenced by RVI_EMIT().
Definition at line 373 of file opt_rvi_emit.cxx.
References _region_level, _region_stack, BB_REGION::Ereg_supp(), First_wn(), Is_True, Last_wn(), NULL, STACK< T >::Pop(), RVIE_REGION::Prev_wn(), REGION_emit(), BB_REGION::Region_exit_list(), BB_REGION::Region_line_num(), BB_REGION::Region_num_exits(), BB_REGION::Region_pragma_list(), RVIE_REGION::Region_start(), BB_REGION::Region_start(), REGION_type_to_kind(), BB_NODE::Regioninfo(), BB_REGION::Rid(), RID_Delete2(), RID_id, RID_TYPE_guard, Set_first_wn(), BB_NODE::Set_firststmt(), Set_last_wn(), BB_NODE::Set_laststmt(), WN_CreateBlock, WN_CreateComment, WN_CreateRegion, WN_first(), WN_last(), WN_next(), and WN_prev().
Referenced by RVI_EMIT().
| ALIAS_MANAGER* RVI_EMIT::Alias_Mgr | ( | void | ) | const [inline, private] |
Definition at line 110 of file opt_rvi_emit.h.
References _alias_mgr.
Referenced by Emit_lda_wn_annotations(), and Emit_wn_annotations().
Definition at line 92 of file opt_rvi_emit.cxx.
References BB_ENTRY, BB_NODE::Entrywn(), first, BB_NODE::Firststmt(), fprintf(), BB_NODE::Id(), Is_Trace, Is_True, BB_NODE::Kind(), LABEL_target_of_goto_outer_block(), last, Last_wn(), BB_NODE::Laststmt(), NULL, OPC_ALTENTRY, OPC_FUNC_ENTRY, OPC_LABEL, BB_NODE::Prepend_wn_after_labels(), Rvi(), Set_entry_wn(), Set_first_wn(), Set_last_wn(), TFile, WN_Label_Is_Handler_Begin, WN_label_number(), WN_next(), WN_opcode(), and WN_prev().
Referenced by RVI_EMIT().
Definition at line 154 of file opt_rvi_emit.cxx.
References Emit_lda_wn_annotations(), Emit_wn_annotations(), first, BB_NODE::Firststmt(), FOR_ALL_ELEM, fprintf(), BB_NODE::Id(), Init, SLIST::Is_Empty(), Is_True, BB_NODE::Laststmt(), Lda_only(), NULL, Rvi(), BB_NODE::Rvi_anns(), TFile, and wn.
Referenced by RVI_EMIT().
Definition at line 199 of file opt_rvi_emit.cxx.
References Alias_Mgr(), bitpos(), CLASS_PREG, RVI_ANN_LIST::Find(), ALIAS_MANAGER::Gen_alias_id(), RVI::Get_bitpos(), RVI::Get_chi_list(), ILLEGAL_BP, INT, RVI::Load_from_preg_cvtl(), RVI_NODE::Loadwn(), RVI_ANN::New_ldid(), NULL, opc, OPCODE_operator(), OPR_CONST, OPR_INTCONST, OPR_INTRINSIC_OP, OPR_LDA, OPR_LDID, OPR_STID, RVI_ANN::Preg(), RVI_ANN::Preg_st(), RVI_ANN::Preg_ty(), Rvi(), BB_NODE::Rvi_anns(), RVI_ANN::Rvi_node(), ST_class, ST_st_idx, RVI::Store_to_preg_and_mem(), RVI::Store_to_preg_cvtl(), WN_intrinsic(), WN_kid(), WN_kid_count(), WN_load_offset(), WN_opcode(), WN_operator(), WN_set_ty(), WN_st(), and WN_st_idx().
Referenced by Emit_bb_annotations().
Definition at line 310 of file opt_rvi_emit.cxx.
References Alias_Mgr(), bitpos(), RVI_ANN_LIST::Find(), RVI::Get_bitpos(), ILLEGAL_BP, INT, RVI::Is_lda_candidate(), RVI_ANN::New_ldid(), NULL, opc, OPCODE_operator(), OPR_LDA, Rvi(), BB_NODE::Rvi_anns(), WN_kid(), WN_kid_count(), WN_opcode(), and WN_operator().
Referenced by Emit_bb_annotations().
| RVI_EMIT& RVI_EMIT::operator= | ( | const RVI_EMIT & | ) | [private] |
Definition at line 132 of file opt_rvi_emit.h.
References _rvi.
Referenced by Emit_bb(), Emit_bb_annotations(), Emit_lda_wn_annotations(), Emit_wn_annotations(), Push_region(), and RVI_EMIT().
Definition at line 134 of file opt_rvi_emit.h.
References _entry_wn.
Referenced by RVI::Perform_phase1(), RVI::Perform_phase2(), and RVI_EMIT().
Definition at line 136 of file opt_rvi_emit.h.
References _entry_wn.
Referenced by Emit_bb(), and RVI_EMIT().
Definition at line 138 of file opt_rvi_emit.h.
References _first_wn.
Referenced by Pop_region(), and RVI_EMIT().
Definition at line 140 of file opt_rvi_emit.h.
References _first_wn.
Referenced by Emit_bb(), and Pop_region().
Definition at line 142 of file opt_rvi_emit.h.
References _last_wn.
Referenced by Emit_bb(), Pop_region(), Push_region(), and RVI_EMIT().
Definition at line 144 of file opt_rvi_emit.h.
References _last_wn.
Referenced by Emit_bb(), and Pop_region().
Definition at line 146 of file opt_rvi_emit.h.
References _lda_only.
Referenced by Emit_bb_annotations().
const RVI* RVI_EMIT::_rvi [private] |
WN* RVI_EMIT::_entry_wn [private] |
Definition at line 97 of file opt_rvi_emit.h.
Referenced by Entry_wn(), RVI_EMIT(), and Set_entry_wn().
WN* RVI_EMIT::_first_wn [private] |
Definition at line 98 of file opt_rvi_emit.h.
Referenced by First_wn(), RVI_EMIT(), and Set_first_wn().
WN* RVI_EMIT::_last_wn [private] |
Definition at line 99 of file opt_rvi_emit.h.
Referenced by Last_wn(), RVI_EMIT(), and Set_last_wn().
BOOL RVI_EMIT::_lda_only [private] |
ALIAS_MANAGER* RVI_EMIT::_alias_mgr [private] |
REGION_LEVEL RVI_EMIT::_region_level [private] |
STACK<RVIE_REGION *> RVI_EMIT::_region_stack [private] |
Definition at line 106 of file opt_rvi_emit.h.
Referenced by Pop_region(), Push_region(), and RVI_EMIT().
1.5.6