osprey/be/cg/orc_ict/region_bb_util.cxx File Reference

#include "bb.h"
#include <stack>
#include <vector>
#include <list>
#include "defs.h"
#include "cxx_memory.h"
#include "gtn_universe.h"
#include "gtn_set.h"
#include "region_bb_util.h"
#include "profile_util.h"
#include "tracing.h"
#include "ipfec_defs.h"
#include "vt_region.h"

Include dependency graph for region_bb_util.cxx:

Go to the source code of this file.

Functions/Subroutines

REGIONAL_CFG_NODERegional_Cfg_Node (BB *bb)
REGIONAL_CFG_NODERegional_Cfg_Node (REGIONAL_CFG_NODE *node, REGION *rgn)
REGIONHome_Region (BB *bb)
BOOL Region_Contains_BB (REGION *rgn, BB *bb)
void RGN_Gen_And_Insert_Node (BB *new_bb, BB *pred_bb, BB *succ_bb, REGIONAL_CFG *regional_cfg)
BBRGN_Gen_And_Insert_BB (BB *pred_bb, BB *succ_bb, REGIONAL_CFG *regional_cfg, BOOL force_not_fall_through, float prob)
BBRGN_Gen_And_Insert_BB_After (BB *point, REGIONAL_CFG *regional_cfg)
BBRGN_Gen_And_Insert_BB_Before (BB *point, REGIONAL_CFG *regional_cfg)
void RGN_Unlink_BB_Edges (BB *bb, REGIONAL_CFG *regional_cfg)
void RGN_Remove_BB_And_Edges (BB *bb, REGIONAL_CFG *regional_cfg)
void Add_Regional_Cfg_Edge (REGIONAL_CFG_NODE *pred, REGIONAL_CFG_NODE *succ, REGION *rgn)
void RGN_Add_Regional_Cfg_Edge (BB *pred, BB *succ, REGIONAL_CFG *regional_cfg)
void RGN_Link_Pred_Succ_With_Prob (BB *pred, BB *succ, float prob, REGIONAL_CFG *regional_cfg)
void Collect_Entry_BBs (REGION *rgn, BB_VECTOR *entries)
void Collect_Exit_BBs (REGION *rgn, BB_VECTOR *exits)
INT Edge_Counter (REGIONAL_CFG_NODE *src, REGIONAL_CFG_NODE *dest, REGIONAL_CFG *cfg)
void Del_Regional_Cfg_Edge (REGIONAL_CFG_NODE *pred, REGIONAL_CFG_NODE *succ, REGION *rgn)
void RGN_Del_Regional_Cfg_Edge (BB *pred, BB *succ, REGIONAL_CFG *regional_cfg)
void RGN_Unlink_Pred_Succ (BB *pred, BB *succ, REGIONAL_CFG *regional_cfg)
GTN_SET * Region_Def_Reach_In (REGION *rgn, MEM_POOL *pool)
BBRGN_Divide_BB (BB *bb, OP *point, BOOL force)


Function Documentation

void Add_Regional_Cfg_Edge ( REGIONAL_CFG_NODE pred,
REGIONAL_CFG_NODE succ,
REGION rgn 
)

Definition at line 360 of file region_bb_util.cxx.

Referenced by RGN_Add_Regional_Cfg_Edge().

void Collect_Entry_BBs ( REGION rgn,
BB_VECTOR entries 
)

void Collect_Exit_BBs ( REGION rgn,
BB_VECTOR exits 
)

void Del_Regional_Cfg_Edge ( REGIONAL_CFG_NODE pred,
REGIONAL_CFG_NODE succ,
REGION rgn 
)

Definition at line 643 of file region_bb_util.cxx.

Referenced by REGION_TREE::Del_Region(), and RGN_Del_Regional_Cfg_Edge().

INT Edge_Counter ( REGIONAL_CFG_NODE src,
REGIONAL_CFG_NODE dest,
REGIONAL_CFG cfg 
)

REGION* Home_Region ( BB bb  ) 

BOOL Region_Contains_BB ( REGION rgn,
BB bb 
)

GTN_SET* Region_Def_Reach_In ( REGION rgn,
MEM_POOL pool 
)

Definition at line 843 of file region_bb_util.cxx.

REGIONAL_CFG_NODE* Regional_Cfg_Node ( REGIONAL_CFG_NODE node,
REGION rgn 
)

Definition at line 73 of file region_bb_util.cxx.

REGIONAL_CFG_NODE* Regional_Cfg_Node ( BB bb  ) 

void RGN_Add_Regional_Cfg_Edge ( BB pred,
BB succ,
REGIONAL_CFG regional_cfg 
)

Definition at line 380 of file region_bb_util.cxx.

Referenced by RGN_Link_Pred_Succ_With_Prob().

void RGN_Del_Regional_Cfg_Edge ( BB pred,
BB succ,
REGIONAL_CFG regional_cfg 
)

Definition at line 677 of file region_bb_util.cxx.

Referenced by RGN_Unlink_Pred_Succ().

BB* RGN_Divide_BB ( BB bb,
OP point,
BOOL  force 
)

BB* RGN_Gen_And_Insert_BB ( BB pred_bb,
BB succ_bb,
REGIONAL_CFG regional_cfg,
BOOL  force_not_fall_through,
float  prob 
)

Definition at line 152 of file region_bb_util.cxx.

Referenced by REGION::Edge_Splitting(), and IF_CONVERTOR::Merge_Area().

BB* RGN_Gen_And_Insert_BB_After ( BB point,
REGIONAL_CFG regional_cfg 
)

Definition at line 197 of file region_bb_util.cxx.

Referenced by GRA_Add_Call_Spill_Block(), RGN_Divide_BB(), and Split_PU_Entry_BB().

BB* RGN_Gen_And_Insert_BB_Before ( BB point,
REGIONAL_CFG regional_cfg 
)

Definition at line 223 of file region_bb_util.cxx.

Referenced by Split_PU_Exit_BB().

void RGN_Gen_And_Insert_Node ( BB new_bb,
BB pred_bb,
BB succ_bb,
REGIONAL_CFG regional_cfg 
)

void RGN_Link_Pred_Succ_With_Prob ( BB pred,
BB succ,
float  prob,
REGIONAL_CFG regional_cfg 
)

void RGN_Remove_BB_And_Edges ( BB bb,
REGIONAL_CFG regional_cfg 
)

void RGN_Unlink_BB_Edges ( BB bb,
REGIONAL_CFG regional_cfg 
)

void RGN_Unlink_Pred_Succ ( BB pred,
BB succ,
REGIONAL_CFG regional_cfg 
)


Generated on Wed Apr 8 14:28:45 2009 for Open64 by  doxygen 1.5.6