#include "bb.h"#include "hb_tail_duplication.h"#include <stack>#include <vector>#include <list>#include <queue>#include "defs.h"#include "cxx_memory.h"#include "timing.h"


Go to the source code of this file.
| typedef mempool_allocator<BB*> BB_ALLOC |
| typedef BB_VECTOR::const_iterator BB_VECTOR_CONST_ITER |
| typedef BB_VECTOR::iterator BB_VECTOR_ITER |
| typedef mempool_allocator<REGIONAL_CFG_EDGE*> EDGE_ALLOC |
| typedef std::stack<REGIONAL_CFG_EDGE*,EDGE_VECTOR> EDGE_STACK |
| typedef std::vector<REGIONAL_CFG_EDGE*,EDGE_ALLOC> EDGE_VECTOR |
| typedef EDGE_VECTOR::iterator EDGE_VECTOR_ITER |
| typedef std::vector<GLOBAL_CYCLE,GLOBAL_CYCLE_ALLOC> GLOBAL_CYCLE_VECTOR |
| typedef GLOBAL_CYCLE_VECTOR::iterator GLOBAL_CYCLE_VECTOR_ITER |
| typedef mempool_allocator<INT> INT_ALLOC |
| typedef std::vector<INT,INT_ALLOC> INT_VECTOR |
| typedef mempool_allocator<REGIONAL_CFG_NODE*> NODE_ALLOC |
| typedef EDGE_PROF<REGIONAL_CFG_NODE *> NODE_PROF |
| typedef std::vector<NODE_PROF,PROF_ALLOC> NODE_PROF_VECTOR |
| typedef NODE_PROF_VECTOR::iterator NODE_PROF_VECTOR_ITER |
| typedef std::stack<REGIONAL_CFG_NODE*,NODE_VECTOR> NODE_STACK |
| typedef std::vector<REGIONAL_CFG_NODE*,NODE_ALLOC> NODE_VECTOR |
| typedef NODE_VECTOR::iterator NODE_VECTOR_ITER |
| typedef mempool_allocator<NODE_PROF> PROF_ALLOC |
| typedef mempool_allocator<REGION*> REGION_ALLOC |
| typedef std::vector<REGION*,REGION_ALLOC> REGION_VECTOR |
| typedef REGION_VECTOR::iterator REGION_VECTOR_ITER |
| typedef REGION_VECTOR::const_iterator RGN_VECTOR_CONST_ITER |
| enum REGION_ATTRIBUTE |
| enum REGION_TYPE |
Definition at line 69 of file region.cxx.
References BB_MAP_Create.
Referenced by REGION_TREE::REGION_TREE().
Definition at line 73 of file region.cxx.
References BB_MAP_Delete().
Referenced by REGION_TREE::~REGION_TREE().
| BB_VECTOR_ITER Find_In_BB_Vector | ( | BB * | bb, | |
| BB_VECTOR & | bbs | |||
| ) | [inline] |
Definition at line 112 of file region.cxx.
References b, Is_True, iter, and NULL.
Referenced by REGIONAL_CFG::Duplicate(), REGIONAL_CFG::Fixup_Arcs(), REGIONAL_CFG::Tail_Duplicate(), and REGIONAL_CFG::Update_BB_Prof_Info().
| NODE_VECTOR_ITER Find_In_Vector | ( | REGIONAL_CFG_NODE * | node, | |
| NODE_VECTOR & | nodes | |||
| ) |
Definition at line 99 of file region.cxx.
References Is_True, iter, n, and NULL.
Referenced by INTERVAL_PROCESSOR::Collect_Improper_Nodes(), REGIONAL_CFG::Compute_Completion_Prob(), REGIONAL_CFG::Compute_Exits(), REGIONAL_CFG::Compute_Node_Prof_Info(), REGIONAL_CFG::Compute_Nodes_To_Be_Duplicated(), REGIONAL_CFG::Compute_Scope_Based_On_Main_Exit(), REGIONAL_CFG::Compute_Side_Entries(), INTERVAL_PROCESSOR::Construct_Loops(), REGIONAL_CFG::Do_Selective_Add(), REGIONAL_CFG::Do_Selective_Cut(), REGIONAL_CFG::Find_Seed(), REGIONAL_CFG::Select_Freq_Connected_Node(), REGIONAL_CFG::Select_Freq_Pred(), REGIONAL_CFG::Select_Freq_Succ(), REGION_TREE::Shrink(), SCC_FINDER::Strong_Components(), REGIONAL_CFG::Tail_Duplicate(), and Verify_Cfg().
Definition at line 83 of file region.cxx.
References TEMP_RGN::bb_num, TEMP_RGN::dup_bb_num, TEMP_RGN::dup_op_num, TEMP_RGN::exit_prob, TEMP_RGN::main_entry, TEMP_RGN::main_exit, TEMP_RGN::nodes, NULL, TEMP_RGN::op_num, TEMP_RGN::seed, and TEMP_RGN::seed_freq.
Referenced by REGION_TREE::Decompose_Region_To_SEME().
Definition at line 148 of file if_conv.cxx.
References DevWarn, exit(), REGION::Exits(), FALSE, REGIONAL_CFG_NODE::Is_Region(), Is_Region(), iter, LOOP, node, NULL, REGIONAL_CFG_NODE::Region_Node(), size, and TRUE.
Referenced by REGION_INFO_MGR::Acquire_Rgn_Info(), Calculate_Dominator_Info(), and Is_In_Abnormal_Loop().
Definition at line 4626 of file region.cxx.
References BB_id, fprintf(), iter, and TFile.
Referenced by REGIONAL_CFG::Tail_Duplicate().
| void Print_Node_Vector | ( | NODE_VECTOR | nodes | ) | [inline] |
Definition at line 4604 of file region.cxx.
References BB_id, REGIONAL_CFG_NODE::BB_Node(), fprintf(), REGIONAL_CFG_NODE::Is_Region(), Is_True, iter, node, NULL, REGIONAL_CFG_NODE::Region_Node(), and TFile.
Referenced by REGIONAL_CFG::Compute_Completion_Prob(), REGION_TREE::Decompose_Region_To_SEME(), REGIONAL_CFG::Do_Selective_Cut(), REGIONAL_CFG::Find_SEME_Nodes(), and REGIONAL_CFG::Tail_Duplicate().
Definition at line 4618 of file region.cxx.
References ops::first, op::next, NULL, op::opr, bb::ops, printf(), and TOP.
Referenced by REGIONAL_CFG::Duplicate().
| REGION_TREE* REGION_Form_Region_Tree | ( | void | ) |
Definition at line 4780 of file region.cxx.
References Current_PU_Count(), CXX_NEW, MEM_pu_pool, REGION_First_BB, REGION_TREE::REGION_TREE(), and Set_Error_Phase().
| REGION_TREE* REGION_Get_Region_Tree | ( | void | ) |
Definition at line 4775 of file region.cxx.
References Current_PU_Count().
Referenced by Perform_Global_Schedule().
Definition at line 64 of file region.cxx.
Referenced by REGION_TREE::Process_Intervals(), REGIONAL_CFG::Tail_Duplicate(), REGIONAL_CFG::Update_BB_Prof_Info(), Verify_Entry_Exit_BB(), and Verify_Global_Edge().
1.5.6