osprey/be/com/fb_whirl.h File Reference

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

Include dependency graph for fb_whirl.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Types

type  fbhash< _Key >
type  fbhash< UINT64 >
module  FEEDBACK

Defines

#define TP_FEEDBACK_WN   0x0001
#define TP_FEEDBACK_WN_DRAW   0x0002
#define TP_FEEDBACK_CFG   0x0010
#define TP_FEEDBACK_CFG_DRAW   0x0020
#define TP_FEEDBACK_CFG_BEFORE   0x0040
#define TP_FEEDBACK_CFG_PROP   0x0080
#define TP_OPT_FEEDBACK   0x0100
#define TP_OPT_FEEDBACK_DRAW   0x0200
#define TP_OPT_FEEDBACK_BEFORE   0x0400
#define TP_OPT_FEEDBACK_PROP   0x0800
#define TP_CG_FEEDBACK   0x1000
#define TP_CG_FEEDBACK_DRAW   0x2000
#define FB_DEVWARN_LIMIT   5

Typedefs

typedef hash_map< UINT64, char
*, fbhash< UINT64 > > 
ADDRESS_NAME_MAP
typedef hash_map< UINT64,
INT32, fbhash< UINT64 > > 
ADDRESS_PUSIZE_MAP

Enumerations

enum  FB_VERIFY_STATUS { FB_VERIFY_CONSISTENT, FB_VERIFY_UNBALANCED, FB_VERIFY_INVALID }

Functions/Subroutines

void dump_fb (const FEEDBACK *feedback, const WN *wn)
INT Convert_Feedback_Info (const FEEDBACK *fb, const WN *tree, PU_Profile_Handle &pu_handle)
void Read_Feedback_Info (FEEDBACK *fb, WN *tree, const Pu_Hdr &pu_hdr)
void FB_old_Annotate_whirl (WN *)

Variables

FEEDBACKCur_PU_Feedback
ADDRESS_NAME_MAP PU_Addr_Name_Map
ADDRESS_PUSIZE_MAP PU_Addr_Pusize_Map


Define Documentation

#define FB_DEVWARN_LIMIT   5

Definition at line 374 of file fb_whirl.h.

#define TP_CG_FEEDBACK   0x1000

Definition at line 98 of file fb_whirl.h.

Referenced by CG_Generate_Code().

#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 Documentation

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.


Enumeration Type Documentation

Enumerator:
FB_VERIFY_CONSISTENT 
FB_VERIFY_UNBALANCED 
FB_VERIFY_INVALID 

Definition at line 122 of file fb_whirl.h.


Function Documentation

INT Convert_Feedback_Info ( const FEEDBACK fb,
const WN tree,
PU_Profile_Handle pu_handle 
)

void dump_fb ( const FEEDBACK feedback,
const WN wn 
)

Definition at line 3383 of file fb_whirl.cxx.

References fflush(), and FEEDBACK::Print().

void FB_old_Annotate_whirl ( WN  ) 

Definition at line 99 of file fb_whirl.cxx.

void Read_Feedback_Info ( FEEDBACK fb,
WN tree,
const Pu_Hdr pu_hdr 
)


Variable Documentation

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.


Generated on Wed Apr 8 14:30:47 2009 for Open64 by  doxygen 1.5.6