#include "region.h"#include "bb.h"


Go to the source code of this file.
Functions/Subroutines | |
| void | draw_bb_op (BB *bb, const char *mes=NULL) |
| void | draw_regional_cfg (REGION *r, const char *mes=NULL) |
| void | draw_region_tree (REGION *r, const char *mes=NULL) |
| void | draw_global_cfg (const char *mes=NULL) |
Definition at line 81 of file vt_region.cxx.
References BB_id, EDGE_TYPE::Color(), Cur_PU_Name, EDGE_TYPE::Direction(), ED_NONE, DaVinci::enabled(), DaVinci::Event_Loop(), FALSE, ops::first, DaVinci::Graph_Begin(), DaVinci::Graph_End(), Is_True, mem_pool::magic_num, next, DaVinci::Node_Begin(), DaVinci::Node_End(), NULL, bb::ops, DaVinci::Out_Edge(), pool, Print_OP(), sPrint_OP(), sprintf(), strlen(), DaVinci::Title(), and TRUE.
Referenced by dp::draw_bb(), Global_CFG_Callback::Node_Select(), and Regional_CFG_Callback::Node_Select().
| void draw_global_cfg | ( | const char * | mes = NULL |
) |
Definition at line 558 of file vt_region.cxx.
References BB_call, BB_entry, BB_exit, BB_id, BB_next, BB_preds, BB_succs, BB_xfer_op(), BBlist_Len(), NODE_TYPE::Boarder(), BOOL, NODE_TYPE::Color(), Cur_PU_Name, cfg_label_info::dest_node_id, EDGE_TYPE::Direction(), ED_NONE, DaVinci::enabled(), DaVinci::Event_Loop(), FALSE, cfg_label_info::freq, DaVinci::Graph_Begin(), DaVinci::Graph_End(), i, INT32, Is_True, mem_pool::magic_num, NB_DOUBLE, next, DaVinci::Node_Begin(), DaVinci::Node_End(), NS_CIRCLE, NS_ELLIPSE, NS_RHOMBUS, NS_TEXT, NULL, OP_code, DaVinci::Out_Edge(), pool, cfg_label_info::prob, REGION_First_BB, NODE_TYPE::Shape(), sprintf(), strlen(), DaVinci::Title(), TRUE, and VT_Enable_CFG_Label.
Referenced by EDGE_PROFILE::CG_Annotate(), CG_Generate_Code(), EDGE_PROFILE::CG_Instrument(), dp::global_cfg(), Global_Insn_Sched(), IF_CONVERTOR::IF_CONVERTOR(), Local_Insert_CHK(), PRDB_GEN::PRDB_GEN(), REGION_LOOP_UPDATE::Rebuild_Loop_Region(), REGION_LOOP_UPDATE::Record_Loop_Region_Boundary(), REGION_TREE::REGION_TREE(), and Verify_Global_Edge().
Definition at line 410 of file vt_region.cxx.
References NODE_TYPE::Boarder(), NODE_TYPE::Color(), Cur_PU_Name, DaVinci::enabled(), DaVinci::Event_Loop(), FALSE, DaVinci::Graph_Begin(), DaVinci::Graph_End(), IMPROPER, Is_True, LOOP, mem_pool::magic_num, MEME, NB_DOUBLE, NO_FURTHER_OPTIMIZATION, NO_OPTIMIZAION_ACROSS_BOUNDARY, DaVinci::Node_Begin(), DaVinci::Node_End(), NONE, NS_CIRCLE, NS_ELLIPSE, NS_RHOMBUS, NULL, DaVinci::Out_Edge(), PERSISTENT_BOUNDARY, pool, RIGID, ROOT, SEME, NODE_TYPE::Shape(), sprintf(), strlen(), DaVinci::Title(), TRUE, and UNKNOWN.
Referenced by CG_Generate_Code(), REGION_TREE::Decompose_Region_To_SEME(), dp::region_tree(), and REGION_TREE::REGION_TREE().
Definition at line 232 of file vt_region.cxx.
References BB_entry, BB_exit, NODE_TYPE::Boarder(), BOOL, NODE_TYPE::Color(), Cur_PU_Name, cfg_label_info::dest_node_id, EDGE_TYPE::Direction(), ED_NONE, DaVinci::enabled(), DaVinci::Event_Loop(), FALSE, cfg_label_info::freq, DaVinci::Graph_Begin(), DaVinci::Graph_End(), i, REGION::Id(), INT32, Is_Region(), Is_True, iter, mem_pool::magic_num, NB_DOUBLE, DaVinci::Node_Begin(), DaVinci::Node_End(), NS_CIRCLE, NS_ELLIPSE, NS_RHOMBUS, NS_TEXT, NULL, DaVinci::Out_Edge(), pool, cfg_label_info::prob, REGIONAL_CFG_NODE::Region_Node(), NODE_TYPE::Shape(), sprintf(), strlen(), DaVinci::Title(), TRUE, and VT_Enable_CFG_Label.
Referenced by IF_CONVERTOR::Force_If_Convert(), IF_CONVERTOR::IF_CONVERTOR(), Region_Tree_Callback::Node_Select(), Regioanl_DAG_Callback::Node_Select(), Regional_CFG_Callback::Node_Select(), PRDB_GEN::PRDB_GEN(), REGION_LOOP_UPDATE::Rebuild_Loop_Region(), Record_And_Del_Loop_Region(), REGION_LOOP_UPDATE::Record_Loop_Region_Boundary(), dp::region_cfg(), and Verify_Global_Edge().
1.5.6