#include "fb_info.h"#include "mempool_allocator.h"#include "wn.h"#include <vector>#include "instr_reader.h"


Go to the source code of this file.
| #define FB_DEVWARN_LIMIT 5 |
Definition at line 374 of file fb_whirl.h.
| #define TP_CG_FEEDBACK 0x1000 |
| #define TP_CG_FEEDBACK_DRAW 0x2000 |
Definition at line 99 of file fb_whirl.h.
| #define TP_FEEDBACK_CFG 0x0010 |
Definition at line 90 of file fb_whirl.h.
| #define TP_FEEDBACK_CFG_BEFORE 0x0040 |
Definition at line 92 of file fb_whirl.h.
| #define TP_FEEDBACK_CFG_DRAW 0x0020 |
Definition at line 91 of file fb_whirl.h.
| #define TP_FEEDBACK_CFG_PROP 0x0080 |
Definition at line 93 of file fb_whirl.h.
| #define TP_FEEDBACK_WN 0x0001 |
Definition at line 88 of file fb_whirl.h.
| #define TP_FEEDBACK_WN_DRAW 0x0002 |
Definition at line 89 of file fb_whirl.h.
| #define TP_OPT_FEEDBACK 0x0100 |
Definition at line 94 of file fb_whirl.h.
| #define TP_OPT_FEEDBACK_BEFORE 0x0400 |
Definition at line 96 of file fb_whirl.h.
| #define TP_OPT_FEEDBACK_DRAW 0x0200 |
Definition at line 95 of file fb_whirl.h.
| #define TP_OPT_FEEDBACK_PROP 0x0800 |
Definition at line 97 of file fb_whirl.h.
| typedef hash_map<UINT64, char*, fbhash<UINT64> > ADDRESS_NAME_MAP |
Definition at line 111 of file fb_whirl.h.
| typedef hash_map<UINT64, INT32, fbhash<UINT64> > ADDRESS_PUSIZE_MAP |
Definition at line 112 of file fb_whirl.h.
| enum FB_VERIFY_STATUS |
Definition at line 122 of file fb_whirl.h.
| INT Convert_Feedback_Info | ( | const FEEDBACK * | fb, | |
| const WN * | tree, | |||
| PU_Profile_Handle & | pu_handle | |||
| ) |
Definition at line 3468 of file fb_whirl.cxx.
References FB_TNV::_counters, FB_TNV::_exec_counter, count, FmtAssert, PU_Profile_Handle::Get_Branch_Table(), PU_Profile_Handle::Get_Call_Table(), PU_Profile_Handle::Get_Icall_Table(), PU_Profile_Handle::Get_Invoke_Table(), PU_Profile_Handle::Get_Loop_Table(), PU_Profile_Handle::Get_Short_Circuit_Table(), PU_Profile_Handle::Get_Switch_Table(), PU_Profile_Handle::Get_Value_Table(), INT, Is_True, FB_Info_Icall::Is_uninit(), iter, NULL, OPR_ICALL, OPR_PRAGMA, FEEDBACK::Query_branch(), FEEDBACK::Query_call(), FEEDBACK::Query_circuit(), FEEDBACK::Query_icall(), FEEDBACK::Query_invoke(), FEEDBACK::Query_loop(), FEEDBACK::Query_switch(), FB_Info_Icall::tnv, WN_operator(), WN_pragma(), and WN_PRAGMA_PREAMBLE_END.
Definition at line 99 of file fb_whirl.cxx.
Definition at line 3556 of file fb_whirl.cxx.
References FEEDBACK::Annot_branch(), FEEDBACK::Annot_call(), FEEDBACK::Annot_circuit(), FEEDBACK::Annot_icall(), FEEDBACK::Annot_invoke(), FEEDBACK::Annot_loop(), FEEDBACK::Annot_switch(), count, FmtAssert, FB_Info_Switch::freq_targets, info, INT, INT32, Is_True, iter, NULL, OPR_ICALL, OPR_PRAGMA, Pu_Hdr::pu_br_offset, Pu_Hdr::pu_call_offset, Pu_Hdr::pu_checksum, Pu_Hdr::pu_icall_offset, Pu_Hdr::pu_inv_offset, Pu_Hdr::pu_loop_offset, 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, Pu_Hdr::pu_scircuit_offset, Pu_Hdr::pu_switch_offset, Pu_Hdr::pu_switch_target_offset, Pu_Hdr::pu_value_offset, WN_operator(), WN_pragma(), and WN_PRAGMA_PREAMBLE_END.
Referenced by IP_READ_pu(), and Preprocess_PU().
Definition at line 130 of file fb_whirl.cxx.
Referenced by CFG::Add_one_do_loop_stmt(), CFG::Add_one_do_while_stmt(), CFG::Add_one_if_stmt(), CFG::Add_one_stmt(), CFG::Add_one_while_do_stmt(), WN_INSTRUMENT_WALKER::Annotate_Branch(), WN_INSTRUMENT_WALKER::Annotate_Call(), WN_INSTRUMENT_WALKER::Annotate_Circuit(), WN_INSTRUMENT_WALKER::Annotate_Icall(), WN_INSTRUMENT_WALKER::Annotate_Invoke(), WN_INSTRUMENT_WALKER::Annotate_Loop(), BS_Replace_Load(), BS_Replace_Store(), CG_Generate_Code(), ARA_LOOP_INFO::Const_Work_Estimate(), Convert_Icall(), Convert_Section_To_Pdo(), OPT_STAB::Convert_ST_to_AUX(), CFG::Create_conditional(), Create_MicroTask(), GOTO_TABLE::Create_Truebr(), GTABLE::Create_Truebr(), Do_WOPT_and_CG_with_Regions(), DRA_Add_Clone(), draw_stmt(), EMITTER::Emit(), OPT_FEEDBACK::Emit_feedback(), FB_Sanity_Check(), FREQ_Incorporate_Feedback(), FS_Array_Substitute(), FS_Substitute(), Guard_A_Do(), Handle_Switch_Profile(), id_str(), intrinsic_runtime(), IP_READ_pu(), IPA_NODE_CONTEXT::IPA_NODE_CONTEXT(), LNO_Build_Do_Access(), LNO_Build_If_Access(), LNO_FB_Inv_Interchange(), LNO_FB_MP_Tile(), lower_bit_field_id(), lower_complex_expr(), CFG::Lower_do_loop(), CFG::Lower_do_while(), CFG::Lower_if_stmt(), lower_io_statement(), CFG::Lower_while_do(), GOTO_TABLE::Move_Goto_Out(), Mp_Version_Loop(), NORMALIZE_LOOP::Normalize_do_loop(), OMP_Prelower(), OPT_FEEDBACK::OPT_FEEDBACK(), FB_CFG::Patch_whirl_frequencies(), Perform_Procedure_Summary_Phase(), Post_LNO_Processing(), Pre_Optimizer(), Preorder_annotate_PU_and_kids(), Preorder_Process_PUs(), Preprocess_PU(), IPO_INLINE::Process(), SUMMARIZE< program >::Process_callsite(), CFG::Process_entry(), process_iostat(), Process_Parallel_Do(), SUMMARIZE< program >::Process_procedure(), Processor_2D_Tile_Loop(), Processor_3D_Tile_Loop(), IPA_NODE::Read_PU(), REGION_Exit_Whirl_Labels(), GOTO_TABLE::Replace_Goto_With_If(), GTABLE::Replace_Goto_With_If(), GTABLE::Replace_Goto_With_While(), GOTO_TABLE::Replace_Goto_With_While(), SNL_GEN_U_Ctiling(), SNL_INV_Cache_Block(), SNL_INV_Local_Permute_Loops(), SNL_INV_Transforms(), SNL_SPL_Split_Tile_Sets(), sort_merge_and_delete_zones(), Tile_Loop(), WN_INSTRUMENT_WALKER::Tree_Walk(), vho_lower_cand_cior(), vho_lower_cselect(), vho_lower_icall(), vho_lower_if(), VHO_Lower_Switch(), vho_lower_while_do(), vho_simplify_cand(), vho_simplify_cior(), VHO_Switch_Generate_Binary_Search(), VHO_Switch_Generate_Compgoto(), VHO_Switch_Generate_If_Else(), VHO_Switch_Opt_Case_Hoist(), FB_CFG::Walk_WN_expression(), FB_CFG::Walk_WN_statement(), FB_CFG::Walk_WN_test_expression(), Wind_Down(), WN_Annotate(), WN_Copy_Frequency_Tree(), and IPA_NODE_CONTEXT::~IPA_NODE_CONTEXT().
Definition at line 105 of file fb_whirl.cxx.
Definition at line 106 of file fb_whirl.cxx.
1.5.6