#include <vector>#include "defs.h"#include "errors.h"#include "mempool.h"#include "if_conv.h"#include "op.h"#include "tn.h"#include "tn_map.h"#include "tracing.h"#include "cg.h"#include "dominate.h"#include "timing.h"#include "prdb.h"#include "ipfec_defs.h"#include <ipfec_options.h>#include "vt_region.h"#include "vt_partition.h"#include "region_bb_util.h"#include "be_util.h"

Go to the source code of this file.
Functions/Subroutines | |
| void | Find_BB_Predicates (BB *bb, TN *&first_tn, TN *&second_tn) |
| void | Print_OP_No_SrcLine (const OP *op) |
| void | fPrint_TN (FILE *f, char *fmt, TN *tn) |
| BOOL | Is_In_Infinite_Loop (REGION *) |
| BOOL | Is_Abnormal_Loop (REGION *) |
| BOOL | Is_OP_Cond (OP *op) |
| COMPARE_TYPE | Compare_Type (TOP opcode) |
| BOOL | Is_Critical_Edge (REGIONAL_CFG_EDGE *edge) |
| BB * | Find_Region_Entry_BB (REGION *region) |
| BOOL | Is_No_BB_Region (REGION *region) |
| void | Find_Reaching_Def_Use_Set (OP_CONTAINER *result_set, TN *tn, OP *home_op, BB *home_bb, BB_SET *visited_bb, BOOL reaching_def, MEM_POOL *mem_pool) |
| BOOL | Same_OPS (OP_CONTAINER *set1, OP_CONTAINER *set2) |
| BOOL | Is_In_Abnormal_Loop (REGION *r) |
| PRDB_GEN * | Generate_PRDB (REGION_TREE *region_tree) |
| PRDB_GEN * | Generate_PRDB (REGION *region) |
| void | Delete_PRDB () |
| PRDB_GEN * | PRDB_Init (REGION_TREE *rgn_tree) |
| PRDB_GEN * | PRDB_Init (REGION *region) |
| PRDB_GEN * | Get_PRDB () |
| BOOL | PRDB_Valid () |
Variables | |
| static PRDB_GEN * | prdb = NULL |
| MEM_POOL * | PRDB_pool |
| COMPARE_TYPE Compare_Type | ( | TOP | opcode | ) |
Definition at line 2963 of file prdb.cxx.
References CXX_DELETE, MEM_pu_pool, and NULL.
Referenced by CG_Generate_Code(), Global_Insn_Sched(), Perform_Global_Schedule(), PRDB_Init(), and PRDB_term().
Definition at line 270 of file if_conv.cxx.
References BB_branch_op(), BB_Insert_Op(), BB_succs_len(), BOOL, br, FALSE, Gen_Predicate_TN(), Is_True, Mk_OP(), NULL, OP_code, OP_Defs_TN(), OP_opnd, OP_PREDICATE_OPND, OP_prev, OP_Refs_TN(), OP_result, OP_results, OP_srcpos, TN_Defined_At_Op(), TRUE, True_TN, and Zero_TN.
Referenced by CNTL_DEP::CNTL_DEP(), IF_CONVERTOR::Gen_Para_Comp(), IF_CONVERTOR::Insert_Predicate(), IF_CONVERTOR::Merge_Area(), and Predicate_Of_Succ().
| void Find_Reaching_Def_Use_Set | ( | OP_CONTAINER * | result_set, | |
| TN * | tn, | |||
| OP * | home_op, | |||
| BB * | home_bb, | |||
| BB_SET * | visited_bb, | |||
| BOOL | reaching_def, | |||
| MEM_POOL * | mem_pool | |||
| ) |
Definition at line 132 of file prdb.cxx.
References BB_last_op, Is_OP_Cond(), Is_True, NULL, OP_bb, OP_Defs_TN(), OP_opnd, OP_PREDICATE_OPND, OP_prev, OP_Refs_TN(), Regional_Cfg_Node(), and TN_is_register.
Referenced by PARTITION_GRAPH::Collect_Info().
Definition at line 92 of file prdb.cxx.
References REGIONAL_CFG_NODE::BB_Node(), REGION::Entries(), Is_Region(), node, NULL, and REGIONAL_CFG_NODE::Region_Node().
Referenced by PARTITION_GRAPH::Collect_Info(), and PARTITION_GRAPH::Look_For_Partition().
Definition at line 2958 of file prdb.cxx.
References CXX_NEW, MEM_pu_pool, and PRDB_GEN::PRDB_GEN().
| PRDB_GEN* Generate_PRDB | ( | REGION_TREE * | region_tree | ) | [inline] |
Definition at line 2953 of file prdb.cxx.
References CXX_NEW, MEM_pu_pool, and PRDB_GEN::PRDB_GEN().
Referenced by PRDB_Init().
Definition at line 2983 of file prdb.cxx.
Referenced by OP_has_disjoint_predicate(), OP_has_subset_predicate(), and dp::region_partition_graph().
Definition at line 148 of file if_conv.cxx.
| BOOL Is_Critical_Edge | ( | REGIONAL_CFG_EDGE * | edge | ) | [inline] |
Definition at line 83 of file prdb.cxx.
References REGIONAL_CFG_EDGE::Dest(), FALSE, REGIONAL_CFG_NODE::Is_Exit(), REGIONAL_CFG_NODE::Pred_Num(), REGIONAL_CFG_EDGE::Src(), REGIONAL_CFG_NODE::Succ_Num(), and TRUE.
Referenced by PARTITION_GRAPH::Look_For_Partition().
Definition at line 214 of file prdb.cxx.
References FALSE, Is_Abnormal_Loop(), REGION::Parent(), and TRUE.
Referenced by PARTITION_GRAPH::Collect_Info(), and IF_CONVERTOR::IF_CONVERTOR().
Definition at line 113 of file if_conv.cxx.
References FALSE, LOOP, Parent, and TRUE.
Referenced by Calculate_Dominator_Info(), PARTITION_GRAPH::Collect_Info(), IF_CONVERTOR::Force_If_Convert(), and IF_CONVERTOR::IF_CONVERTOR().
Definition at line 103 of file prdb.cxx.
References FALSE, REGIONAL_CFG_NODE::Is_Region(), iter, node, and TRUE.
Referenced by PRDB_GEN::Partition_Graph(), PRDB_GEN::PRDB_GEN(), and PRDB_GEN::Print().
Definition at line 1266 of file tnutil.cxx.
Referenced by Find_Reaching_Def_Use_Set(), TN_Defined_At_Op(), and TN_Reaching_Value_At_Op().
| PRDB_GEN* PRDB_Init | ( | REGION_TREE * | rgn_tree | ) |
Definition at line 2971 of file prdb.cxx.
References Delete_PRDB(), and Generate_PRDB().
Referenced by CG_Generate_Code(), Global_Insn_Sched(), and Perform_Global_Schedule().
Definition at line 2989 of file prdb.cxx.
References NULL.
Referenced by Add_Bkwd_REG_Arcs(), Add_Forw_REG_Arcs(), CG_Generate_Code(), OP_has_disjoint_predicate(), and OP_has_subset_predicate().
Definition at line 978 of file oputil.cxx.
References Alias_Manager, BOOL, buf, FALSE, fprintf(), Get_OP_Tag(), Get_WN_From_Memory_OP(), i, INT, INT16, Is_CG_LOOP_Op, LABEL_name, OP_code, OP_cond_def(), OP_copy, OP_Defs_TN(), OP_end_group, OP_glue, OP_has_tag, OP_hoisted, OP_map_idx, OP_no_alias, OP_no_move_before_gra, OP_omega, OP_opnd, OP_opnds, OP_restore_omega, OP_result, OP_results, OP_Scheduled, OP_scycle, OP_side_effects, OP_spadjust_minus, OP_spadjust_plus, OP_srcpos, OP_tail_call, OP_unrolling, OP_volatile, Print_alias_info(), Print_TN(), Srcpos_To_Line, tag, TFile, TN_is_symbol, UINT16, and wn.
| BOOL Same_OPS | ( | OP_CONTAINER * | set1, | |
| OP_CONTAINER * | set2 | |||
| ) |
Definition at line 76 of file prdb.cxx.
Referenced by Global_Insn_Sched(), OP_has_disjoint_predicate(), OP_has_subset_predicate(), and Perform_Global_Schedule().
1.5.6