Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

addremove.H File Reference

#include "lego.H"

Go to the source code of this file.

Defines

#define EDGEPORT_DONTCARE   (-1)

Functions

opListAddToList (opList *, legoOp *, int=1, double=0.0)
edgeListAddToList (edgeList *, opEdges *, int=1)
regionListAddToList (regionList *, legoRegion *, int=1)
opListRemoveFromList (opList *, legoOp *, double=-1.0)
edgeListRemoveFromList (edgeList *, opEdges *)
regionListRemoveFromList (regionList *, legoRegion *)
opEdgesAddEdge (legoOp *, legoOp *, legoProc *, enum edgeTypes, int=0, int=0)
opEdgesAddEdge (legoOp *, legoOp *, enum edgeTypes, int=0, int=0)
void AddMidOp (legoOp *, legoOp *)
int RemoveEdge (int, int, legoProc *, enum edgeTypes, int=EDGEPORT_DONTCARE, int=EDGEPORT_DONTCARE)
int RemoveEdge (legoOp *, legoOp *, legoProc *, enum edgeTypes, int=EDGEPORT_DONTCARE, int=EDGEPORT_DONTCARE)
int RemoveEdge (legoOp *, legoOp *, enum edgeTypes, int=EDGEPORT_DONTCARE, int=EDGEPORT_DONTCARE)
void RemoveMidOp (legoOp *, legoProc *, int=0)
void RemoveMidOp (legoOp *, int=0)
void RemoveLastOp (legoOp *, int=0)
void RemoveFinalOp (legoOp *, int=0)
void RemoveFirstOp (legoOp *, int=0)
void RemoveVeryLastOp (legoOp *, int=0)
legoBBAddBBAlongEdge (opEdges *, legoProc *)
legoRegionSplitParentBlockBeforeOp (legoOp *)
flagsAddFlag (int, legoRegion *)
flagsAddFlag (int, legoOp *)
void RemoveFlag (int, legoRegion *)
void RemoveFlag (int, legoOp *)
attrsAddLcAttribute (char *, legoOprd *, legoRegion *, legoProc *)
attrsAddLcAttribute (char *, legoOprd *, legoOp *, legoProc *)
attrsAddLcAttribute (char *, legoOprd *, opEdges *, legoProc *)
void RemoveLcAttribute (char *, legoRegion *, legoProc *)
void RemoveLcAttribute (char *, legoOp *, legoProc *)
void RemoveLcAttribute (char *, opEdges *, legoProc *)
attrsAddLiveAttribute (legoOprd *, legoRegion *, legoProc *)
attrsAddLiveAttribute (legoOprd *, legoOp *, legoProc *)
attrsAddLiveAttribute (legoOprd *, opEdges *, legoProc *)
void RemoveLiveAttribute (legoRegion *, legoProc *)
void RemoveLiveAttribute (legoOp *, legoProc *)
void RemoveLiveAttribute (opEdges *, legoProc *)
attrListAddFreqAttribute (int, int, opEdges *)
void RemoveFreqAttribute (opEdges *)
void ClearMarks (long long, legoRegion *)
void ClearMarks (long long, opEdges *)
attrsAddPointerAttribute (enum attrTypes, char *, legoOprd *, void *object, int objtype, legoProc *)


Define Documentation

#define EDGEPORT_DONTCARE   (-1)
 

Definition at line 25 of file src/addremove.H.


Function Documentation

legoBB* AddBBAlongEdge opEdges ,
legoProc
 

Definition at line 1025 of file addremove.C.

References AddEdge(), AddFreqAttribute(), legoPSet< void * >::AddItem(), AddToList(), C_MERGE, ClearMarks(), dprintf, DUMMY_BR, EDGE_TO, ET_CNTL, FindEdgeFrequency(), FindMaxOpId(), legoRegion::FindMaxRegionId(), opEdges::GetEdgeId(), opEdges::GetFromOpPtr(), legoOp::GetInListPtr(), legoOp::GetListOpPtr(), legoRegion::GetListOpPtr(), legoOp::GetOpId(), legoOp::GetParentBlockPtr(), legoRegion::GetParentPtr(), legoRegion::GetRegionId(), legoRegion::GetRegionType(), opEdges::GetToOpPtr(), legoPSet< void * >::Insert(), legoRegion::IsMarked(), LegoFatal(), LegoNonFatal(), legoRegion::Mark(), MAX_UNSIGNED, OT_UNDEFINED, OUTF, RedirectEdge(), legoRegion::RefreshEdges(), legoRegion::RefreshOpsAndEdges(), RM_GENERAL, RT_MODULE, legoPSet< void * >::Search(), legoOp::SetInListPtr(), legoOp::SetListOpPtr(), legoOp::SetOpcode(), opList::SetOpId(), opList::SetOpPtr(), legoOprd::SetOprdType(), legoOp::SetParentBlockPtr(), legoOprd::SetParentOpPtr(), legoRegion::SetParentPtr(), opList::SetValid(), opList::SetWeight(), and legoRegion::SetWeight().

Referenced by CreateLoopPreheader().

opEdges* AddEdge legoOp ,
legoOp ,
enum  edgeTypes,
int  = 0,
int  = 0
 

Definition at line 278 of file addremove.C.

References ET_CNTL, ET_MEM, ET_REGANTI, ET_REGFLOW, ET_REGOUT, FindMaxEdgeAttrId(), FindParentRegionType(), legoProc::GetEdgeDictionary(), opEdges::GetNextOpEdgePtr(), legoOp::GetOpId(), LegoNonFatal(), PT_CTL, PT_DEST, PT_MEM, PT_SRC, RT_PROC, legoProc::SetEdgeDictionary(), opEdges::SetNextOpEdgePtr(), and STATUS_CERTAIN.

Referenced by AddBBAlongEdge(), AddEdge(), AddMidOp(), CreateHammock(), IfConvertTreeBranch(), MulCpBB(), my_SplitParentBlockBeforeOp(), preprocess_long_jumps(), SplitParentBlockBeforeOp(), SplitParentBlockBeforeOp_local(), and SplitParentBlockBeforeOpLocal().

opEdges* AddEdge legoOp ,
legoOp ,
legoProc ,
enum  edgeTypes,
int  = 0,
int  = 0
 

Definition at line 354 of file addremove.C.

References AddEdge(), and LegoNonFatal().

flags* AddFlag int  ,
legoOp
 

Definition at line 1507 of file addremove.C.

References ADDREMOVE_OP.

Referenced by AddFlag(), CreateLoopPreheader(), hammock(), superform(), traceform(), and tracereform().

flags* AddFlag int  ,
legoRegion
 

Definition at line 1493 of file addremove.C.

References AddFlag(), and ADDREMOVE_REGION.

attrList* AddFreqAttribute int  ,
int  ,
opEdges
 

Definition at line 2015 of file addremove.C.

References ATTR_FREQ, attrList::GetAttrType(), attrList::GetAttrValPtr(), opEdges::GetEdgeAttrListPtr(), intList::GetNextIntListPtr(), attrList::GetNextListPtr(), attrList::SetAttrType(), attrList::SetAttrValPtr(), intList::SetAttrValue(), opEdges::SetEdgeAttrListPtr(), intList::SetNextIntListPtr(), attrList::SetNextListPtr(), and attrList::SetValid().

Referenced by AddBBAlongEdge(), CreateHammock(), my_SplitParentBlockBeforeOp(), preprocess_long_jumps(), SecondPass(), SplitParentBlockBeforeOp(), SplitParentBlockBeforeOp_local(), and SplitParentBlockBeforeOpLocal().

attrs* AddLcAttribute char *  ,
legoOprd ,
opEdges ,
legoProc
 

Definition at line 1736 of file addremove.C.

References AddPointerAttribute(), ADDREMOVE_EDGE, and ATTR_LC.

Referenced by accumulate_attr_string(), add_atributes(), add_attr_to_the_region(), AddBranchAccAttrs(), op_scheduler::AddCopyOps(), list_scheduler::AddCopyOps(), AddDPRemoveAttribute(), AddNextBlockAttribute(), AddOrthoPredAttribute(), AddWeightAttribute(), allocate_rg_for_procedure(), assign_the_string(), cLCla(), Construct(), op_scheduler::DoMoreMessyStuff(), list_scheduler::DoMoreMessyStuff(), op_scheduler::DoTheMessyStuff(), list_scheduler::DoTheMessyStuff(), generate_spill_code_for_region(), list_scheduler::GetCandidateNodeTree(), IfConvertHammock(), IfConvertTreeBranch(), list_scheduler::IsDominatorParallelwithRenameGeneral(), op_scheduler::IsRemoteMergeProblem(), list_scheduler::IsRemoteMergeProblem(), MergeBlockIdAttributes(), op_scheduler::PlacePBRsJustBeforeBranches(), list_scheduler::PlacePBRsJustBeforeBranches(), RevertCodePosSuperblock(), list_scheduler::Schedule(), list_scheduler::ScheduleOp(), SecondPass(), superform(), and traceform().

attrs* AddLcAttribute char *  ,
legoOprd ,
legoOp ,
legoProc
 

Definition at line 1719 of file addremove.C.

References AddPointerAttribute(), ADDREMOVE_OP, and ATTR_LC.

attrs* AddLcAttribute char *  ,
legoOprd ,
legoRegion ,
legoProc
 

Definition at line 1701 of file addremove.C.

References AddPointerAttribute(), ADDREMOVE_REGION, and ATTR_LC.

attrs* AddLiveAttribute legoOprd ,
opEdges ,
legoProc
 

Definition at line 1785 of file addremove.C.

References AddPointerAttribute(), ADDREMOVE_EDGE, and ATTR_LIVE.

Referenced by op_scheduler::create_new_attr(), create_new_attr(), and list_scheduler::create_new_attr().

attrs* AddLiveAttribute legoOprd ,
legoOp ,
legoProc
 

Definition at line 1769 of file addremove.C.

References AddPointerAttribute(), ADDREMOVE_OP, and ATTR_LIVE.

attrs* AddLiveAttribute legoOprd ,
legoRegion ,
legoProc
 

Definition at line 1753 of file addremove.C.

References AddPointerAttribute(), ADDREMOVE_REGION, and ATTR_LIVE.

void AddMidOp legoOp ,
legoOp
 

Definition at line 374 of file addremove.C.

References AddEdge(), legoPSet< void * >::AddItem(), ET_CNTL, FindControlEdge(), FindParentRegionType(), legoRegion::GetListOpPtr(), legoOp::GetNextLink(), opList::GetNextListPtr(), opList::GetOpId(), legoOp::GetOpId(), legoOp::GetOutListPtr(), legoOp::GetParentBlockPtr(), LegoNonFatal(), RT_PROC, legoRegion::SetListOpPtr(), legoOp::SetListOpPtr(), legoOp::SetNextLink(), opList::SetOpId(), opList::SetOpPtr(), legoOp::SetParentBlockPtr(), legoOp::SetPrevLink(), opEdges::SetToOpId(), and opEdges::SetToOpPtr().

Referenced by op_scheduler::AddCopyOps(), list_scheduler::AddCopyOps(), check_brct(), CreateHammock(), op_scheduler::DoMoreMessyStuff(), list_scheduler::DoMoreMessyStuff(), op_scheduler::DoTheMessyStuff(), list_scheduler::DoTheMessyStuff(), extend_literals(), generate_spill_code_for_region(), handle_this_branch(), IfConvertTreeBranch(), list_scheduler::IsDominatorParallelwithRename(), list_scheduler::IsDominatorParallelwithRenameGeneral(), MoveInvariantOps(), MulCpBB(), MungManyToOne(), my_SplitParentBlockBeforeOp(), OperandCheck(), op_scheduler::PlaceBranchesLast(), list_scheduler::PlaceBranchesLast(), op_scheduler::PlacePBRsJustBeforeBranches(), list_scheduler::PlacePBRsJustBeforeBranches(), PredicateTreeBranch(), op_scheduler::PrepareToDie(), list_scheduler::PrepareToDie(), rebel_to_embedded_tinker(), RemoveUncondBranch(), list_scheduler::Schedule(), op_scheduler::ScheduleBlock(), op_scheduler::ScheduleOp(), list_scheduler::ScheduleOp(), SpecialMaps(), SplitParentBlockBeforeOp(), SplitParentBlockBeforeOp_local(), SplitParentBlockBeforeOpLocal(), and TranslateOp().

attrs* AddPointerAttribute enum  attrTypes,
char *  ,
legoOprd ,
void *  object,
int  objtype,
legoProc
 

Definition at line 1576 of file addremove.C.

References ADDREMOVE_OP, ADDREMOVE_REGION, ATTR_LC, legoProc::GetAttrDictionary(), attrs::GetAttrId(), attrs::GetAttrOprdPtr(), attrList::GetAttrPtr(), attrList::GetAttrType(), legoProc::GetEdgeDictionary(), opEdges::GetEdgeId(), attrs::GetNextAttrPtr(), attrs::GetNextLcEntryPtr(), attrList::GetNextListPtr(), opEdges::GetNextOpEdgePtr(), LegoNonFatal(), attrList::SetAttrId(), attrs::SetAttrId(), attrs::SetAttrOprdPtr(), attrList::SetAttrPtr(), attrs::SetAttrString(), attrs::SetAttrType(), attrList::SetAttrType(), attrs::SetNextAttrPtr(), attrs::SetNextLcEntryPtr(), attrList::SetNextListPtr(), legoOprd::SetParentAttrPtr(), legoOprd::SetParentOpPtr(), attrList::SetValid(), and strcmp().

Referenced by AddLcAttribute(), and AddLiveAttribute().

regionList* AddToList regionList ,
legoRegion ,
int  = 1
 

Definition at line 138 of file addremove.C.

References regionList::GetNextListPtr(), regionList::SetNextListPtr(), and regionList::SetRegionPtr().

Referenced by AddBBAlongEdge(), check_brct(), MulCpBB(), RedirectEdge(), and RemoveRegionWithUnconditionalBr().

edgeList* AddToList edgeList ,
opEdges ,
int  = 1
 

Definition at line 113 of file addremove.C.

References opEdges::GetEdgeId(), edgeList::GetNextListPtr(), edgeList::SetEdgePtr(), and edgeList::SetNextListPtr().

opList* AddToList opList ,
legoOp ,
int  = 1,
double  = 0.0
 

Definition at line 87 of file addremove.C.

References opList::GetNextListPtr(), legoOp::GetOpId(), opList::SetNextListPtr(), and opList::SetOpPtr().

void ClearMarks long  long,
opEdges
 

Definition at line 2115 of file addremove.C.

References opEdges::GetNextOpEdgePtr(), and opEdges::Unmark().

Referenced by AddBBAlongEdge(), BuildDagForRegion(), ClearMarks(), dag::ConstructDag(), CreateLoopPreheader(), FullyIfConvertTreeBranch(), FullyPredicateTreeBranch(), hammock(), IfConvertAndPredicateTreeBranch(), innerouterexit(), markbackedgesandloopheaders(), nestinglevels(), superform(), Td_Candidates(), and Treeform_opt().

void ClearMarks long  long,
legoRegion
 

Definition at line 2089 of file addremove.C.

References ClearMarks(), legoPSet< void * >::GetCount(), legoPSet< void * >::GetItem(), legoRegion::GetRegionType(), i, IS_BLOCK, and legoRegion::Unmark().

int RemoveEdge legoOp ,
legoOp ,
enum  edgeTypes,
int  = EDGEPORT_DONTCARE,
int  = EDGEPORT_DONTCARE
 

Definition at line 493 of file addremove.C.

References FindParentRegionType(), legoOp::GetOpId(), LegoNonFatal(), and RT_PROC.

Referenced by op_scheduler::DoMoreMessyStuff(), list_scheduler::DoMoreMessyStuff(), IfConvertHammock(), IfConvertTreeBranch(), RemoveEdge(), RemoveFinalOp(), RemoveFirstOp(), RemoveMidOp(), RemoveRegionWithUnconditionalBr(), RemoveUncondBranch(), and RevertCodePosSuperblock().

int RemoveEdge legoOp ,
legoOp ,
legoProc ,
enum  edgeTypes,
int  = EDGEPORT_DONTCARE,
int  = EDGEPORT_DONTCARE
 

Definition at line 509 of file addremove.C.

References RemoveEdge().

int RemoveEdge int  ,
int  ,
legoProc ,
enum  edgeTypes,
int  = EDGEPORT_DONTCARE,
int  = EDGEPORT_DONTCARE
 

Definition at line 463 of file addremove.C.

References EDGEPORT_DONTCARE, legoProc::GetEdgeDictionary(), opEdges::GetNextOpEdgePtr(), legoProc::SetEdgeDictionary(), and opEdges::SetNextOpEdgePtr().

void RemoveFinalOp legoOp ,
int  = 0
 

Definition at line 659 of file addremove.C.

References ATTR_LC, attrTypes, legoPSet< void * >::Detach(), ET_CNTL, FindParentRegionType(), attrList::GetAttrPtr(), attrs::GetAttrString(), attrList::GetAttrType(), legoOp::GetListOpPtr(), legoRegion::GetListOpPtr(), legoOp::GetNextLink(), attrList::GetNextListPtr(), legoOp::GetOpAttrListPtr(), legoOp::GetOpId(), legoOp::GetParentBlockPtr(), legoOp::GetPrevLink(), LegoNonFatal(), MAX_UNSIGNED, RemoveEdge(), RemoveLcAttribute(), RemoveLiveAttribute(), RT_PROC, legoPSet< void * >::Search(), legoRegion::SetListOpPtr(), legoOp::SetListOpPtr(), legoOp::SetNextLink(), and legoOp::SetPrevLink().

Referenced by op_scheduler::DoMoreMessyStuff(), list_scheduler::DoMoreMessyStuff(), list_scheduler::IsDominatorParallelwithRename(), list_scheduler::IsDominatorParallelwithRenameGeneral(), op_scheduler::PrepareToDie(), list_scheduler::PrepareToDie(), list_scheduler::ScheduleOp(), and ScheduleProc().

void RemoveFirstOp legoOp ,
int  = 0
 

Definition at line 751 of file addremove.C.

References ATTR_LC, attrTypes, legoPSet< void * >::Detach(), ET_CNTL, FindParentRegionType(), attrList::GetAttrPtr(), attrs::GetAttrString(), attrList::GetAttrType(), legoOp::GetListOpPtr(), legoRegion::GetListOpPtr(), legoOp::GetNextLink(), attrList::GetNextListPtr(), legoOp::GetOpAttrListPtr(), legoOp::GetOpId(), legoOp::GetParentBlockPtr(), legoOp::GetPrevLink(), LegoNonFatal(), MAX_UNSIGNED, RemoveEdge(), RemoveLcAttribute(), RemoveLiveAttribute(), RT_PROC, legoPSet< void * >::Search(), legoRegion::SetListOpPtr(), legoOp::SetListOpPtr(), legoOp::SetNextLink(), and legoOp::SetPrevLink().

Referenced by op_scheduler::PrepareToDie(), list_scheduler::PrepareToDie(), and ScheduleProc().

void RemoveFlag int  ,
legoOp
 

Definition at line 1568 of file addremove.C.

References ADDREMOVE_OP.

Referenced by RemoveFlag(), and traceunform().

void RemoveFlag int  ,
legoRegion
 

Definition at line 1555 of file addremove.C.

References ADDREMOVE_REGION, and RemoveFlag().

void RemoveFreqAttribute opEdges  ) 
 

Definition at line 2059 of file addremove.C.

References ATTR_FREQ, opEdges::GetEdgeAttrListPtr(), attrList::GetNextListPtr(), opEdges::SetEdgeAttrListPtr(), and attrList::SetNextListPtr().

regionList* RemoveFromList regionList ,
legoRegion
 

Definition at line 238 of file addremove.C.

References regionList::GetNextListPtr(), regionList::GetRegionPtr(), remove(), and regionList::SetNextListPtr().

Referenced by check_brct(), RedirectEdge(), and RemoveRegionWithUnconditionalBr().

edgeList* RemoveFromList edgeList ,
opEdges
 

Definition at line 212 of file addremove.C.

References edgeList::GetEdgePtr(), edgeList::GetNextListPtr(), remove(), and edgeList::SetNextListPtr().

opList* RemoveFromList opList ,
legoOp ,
double  = -1.0
 

Definition at line 182 of file addremove.C.

References opList::GetNextListPtr(), remove(), and opList::SetNextListPtr().

void RemoveLastOp legoOp ,
int  = 0
 

Definition at line 928 of file addremove.C.

References ATTR_LC, attrTypes, legoPSet< void * >::Detach(), FindParentRegionType(), attrList::GetAttrPtr(), attrs::GetAttrString(), attrList::GetAttrType(), legoProc::GetEdgeDictionary(), opEdges::GetFromOpId(), legoOp::GetListOpPtr(), legoRegion::GetListOpPtr(), attrList::GetNextListPtr(), opEdges::GetNextOpEdgePtr(), legoOp::GetOpAttrListPtr(), legoOp::GetOpId(), legoOp::GetParentBlockPtr(), legoOp::GetPrevLink(), opEdges::GetToOpId(), LegoNonFatal(), MAX_UNSIGNED, RemoveLcAttribute(), RemoveLiveAttribute(), RT_PROC, legoPSet< void * >::Search(), legoRegion::SetListOpPtr(), legoOp::SetListOpPtr(), legoOp::SetNextLink(), and opEdges::SetNextOpEdgePtr().

Referenced by check_brct(), CreateHammock(), MungManyToOne(), my_SplitParentBlockBeforeOp(), OperandCheck(), RemoveLastOp(), SplitParentBlockBeforeOp(), SplitParentBlockBeforeOp_local(), SplitParentBlockBeforeOpLocal(), and TranslateOp().

void RemoveLcAttribute char *  ,
opEdges ,
legoProc
 

Definition at line 1951 of file addremove.C.

References ADDREMOVE_EDGE, ATTR_LC, and RemovePointerAttribute().

Referenced by op_scheduler::DoMoreMessyStuff(), list_scheduler::DoMoreMessyStuff(), IfConvertHammock(), IfConvertTreeBranch(), RegionRemoveTraceAttributes(), RemoveExtraAttributes(), RemoveFinalOp(), RemoveFirstOp(), RemoveLastOp(), RemoveMidOp(), RemoveRegionWithUnconditionalBr(), RemoveUncondBranch(), RemoveVeryLastOp(), RevertCodePosSuperblock(), and list_scheduler::Schedule().

void RemoveLcAttribute char *  ,
legoOp ,
legoProc
 

Definition at line 1935 of file addremove.C.

References ADDREMOVE_OP, ATTR_LC, and RemovePointerAttribute().

void RemoveLcAttribute char *  ,
legoRegion ,
legoProc
 

Definition at line 1919 of file addremove.C.

References ADDREMOVE_REGION, ATTR_LC, and RemovePointerAttribute().

void RemoveLiveAttribute opEdges ,
legoProc
 

Definition at line 1996 of file addremove.C.

References ADDREMOVE_EDGE, ATTR_LIVE, and RemovePointerAttribute().

Referenced by op_scheduler::DoMoreMessyStuff(), list_scheduler::DoMoreMessyStuff(), ElimLoopInv(), list_scheduler::GetCandidateNodeTree(), IfConvertHammock(), IfConvertTreeBranch(), list_scheduler::IsDominatorParallelwithRename(), list_scheduler::IsDominatorParallelwithRenameGeneral(), RemoveFinalOp(), RemoveFirstOp(), RemoveLastOp(), RemoveMidOp(), RemoveRegionWithUnconditionalBr(), RemoveUncondBranch(), RemoveVeryLastOp(), RevertCodePosSuperblock(), list_scheduler::Schedule(), list_scheduler::ScheduleOp(), and ScheduleProc().

void RemoveLiveAttribute legoOp ,
legoProc
 

Definition at line 1981 of file addremove.C.

References ADDREMOVE_OP, ATTR_LIVE, and RemovePointerAttribute().

void RemoveLiveAttribute legoRegion ,
legoProc
 

Definition at line 1966 of file addremove.C.

References ADDREMOVE_REGION, ATTR_LIVE, and RemovePointerAttribute().

void RemoveMidOp legoOp ,
int  = 0
 

Definition at line 529 of file addremove.C.

References ATTR_LC, attrTypes, legoPSet< void * >::Detach(), ET_CNTL, FindParentRegionType(), attrList::GetAttrPtr(), attrs::GetAttrString(), attrList::GetAttrType(), legoProc::GetEdgeDictionary(), legoOp::GetListOpPtr(), legoRegion::GetListOpPtr(), legoOp::GetNextLink(), attrList::GetNextListPtr(), opList::GetNextListPtr(), opEdges::GetNextOpEdgePtr(), legoOp::GetOpAttrListPtr(), opList::GetOpId(), legoOp::GetOpId(), legoOp::GetOutListPtr(), legoOp::GetParentBlockPtr(), legoOp::GetPrevLink(), LegoNonFatal(), MAX_UNSIGNED, RemoveEdge(), RemoveLcAttribute(), RemoveLiveAttribute(), RT_PROC, legoPSet< void * >::Search(), legoRegion::SetListOpPtr(), legoOp::SetListOpPtr(), legoOp::SetNextLink(), opList::SetOpId(), opList::SetOpPtr(), legoOp::SetPrevLink(), and opEdges::SetToOpPtr().

Referenced by clean_up_pbrs(), CreateHammock(), op_scheduler::DoMoreMessyStuff(), list_scheduler::DoMoreMessyStuff(), op_scheduler::DoTheMessyStuff(), list_scheduler::DoTheMessyStuff(), IfConvertHammock(), IfConvertTreeBranch(), list_scheduler::IsDominatorParallelwithRename(), list_scheduler::IsDominatorParallelwithRenameGeneral(), MoveInvariantOps(), MungManyToOne(), my_SplitParentBlockBeforeOp(), OperandCheck(), op_scheduler::PlaceBranchesLast(), list_scheduler::PlaceBranchesLast(), op_scheduler::PlacePBRsJustBeforeBranches(), list_scheduler::PlacePBRsJustBeforeBranches(), op_scheduler::PrepareToDie(), list_scheduler::PrepareToDie(), RemoveMidOp(), RemoveUncondBranch(), RevertCodePosSuperblock(), list_scheduler::Schedule(), op_scheduler::ScheduleBlock(), op_scheduler::ScheduleOp(), list_scheduler::ScheduleOp(), ScheduleProc(), SplitParentBlockBeforeOp(), SplitParentBlockBeforeOp_local(), SplitParentBlockBeforeOpLocal(), sweepops(), and TranslateOp().

void RemoveMidOp legoOp ,
legoProc ,
int  = 0
 

Definition at line 640 of file addremove.C.

References RemoveMidOp().

void RemoveVeryLastOp legoOp ,
int  = 0
 

Definition at line 843 of file addremove.C.

References ATTR_LC, attrTypes, legoPSet< void * >::Detach(), FindParentRegionType(), attrList::GetAttrPtr(), attrs::GetAttrString(), attrList::GetAttrType(), legoOp::GetListOpPtr(), legoRegion::GetListOpPtr(), legoOp::GetNextLink(), attrList::GetNextListPtr(), legoOp::GetOpAttrListPtr(), legoOp::GetOpId(), legoOp::GetParentBlockPtr(), legoOp::GetPrevLink(), LegoNonFatal(), MAX_UNSIGNED, RemoveLcAttribute(), RemoveLiveAttribute(), RT_PROC, legoPSet< void * >::Search(), legoRegion::SetListOpPtr(), legoOp::SetListOpPtr(), legoOp::SetNextLink(), and legoOp::SetPrevLink().

Referenced by op_scheduler::PrepareToDie(), list_scheduler::PrepareToDie(), and ScheduleProc().

legoRegion* SplitParentBlockBeforeOp legoOp  ) 
 

Definition at line 1204 of file addremove.C.

References AddEdge(), AddFreqAttribute(), legoPSet< void * >::AddItem(), AddMidOp(), C_MERGE, DUMMY_BR, ET_CNTL, FindMaxEdgeAttrId(), FindMaxOpId(), legoRegion::FindMaxRegionId(), FindParentRegionType(), legoProc::GetAttrDictionary(), attrList::GetAttrPtr(), legoPSet< void * >::GetCount(), legoProc::GetEdgeDictionary(), opEdges::GetEdgeId(), edgeList::GetEdgePtr(), legoPSet< void * >::GetItem(), legoOp::GetListOpPtr(), legoRegion::GetListOpPtr(), attrs::GetNextAttrPtr(), legoOp::GetNextLink(), edgeList::GetNextListPtr(), attrList::GetNextListPtr(), opEdges::GetNextOpEdgePtr(), legoOp::GetOpAttrListPtr(), legoOp::GetOpId(), legoRegion::GetOutEdgesPtr(), legoOp::GetParentBlockPtr(), legoRegion::GetParentPtr(), legoOp::GetPrevLink(), legoRegion::GetRegionId(), legoRegion::GetWeight(), index(), legoPSet< void * >::Insert(), LegoNonFatal(), OT_UNDEFINED, PT_CTL, RemoveLastOp(), RemoveMidOp(), RT_PROC, attrList::SetAttrId(), attrs::SetAttrId(), attrList::SetAttrPtr(), opEdges::SetDestPortType(), edgeList::SetEdgeId(), opEdges::SetEdgeId(), opEdges::SetEdgeLat(), edgeList::SetEdgePtr(), opEdges::SetEdgeType(), legoRegion::SetEntryOpsPtr(), legoRegion::SetExitOpsPtr(), opEdges::SetFromOpId(), opEdges::SetFromOpPtr(), legoRegion::SetInEdgesPtr(), legoOp::SetInListPtr(), legoOp::SetListOpPtr(), attrs::SetNextAttrPtr(), opEdges::SetNextOpEdgePtr(), legoOp::SetOpcode(), opList::SetOpId(), opList::SetOpPtr(), legoOprd::SetOprdType(), legoRegion::SetOutEdgesPtr(), legoOp::SetOutListPtr(), legoOp::SetParentBlockPtr(), legoOprd::SetParentOpPtr(), legoRegion::SetParentPtr(), opEdges::SetSrcPortType(), opEdges::SetToOpId(), opEdges::SetToOpPtr(), edgeList::SetValid(), opList::SetValid(), opList::SetWeight(), and legoRegion::SetWeight().

Referenced by MulCpBB().


Generated on Mon Jul 21 20:29:37 2003 for TINKER LEGO DOC by doxygen 1.3.2