#include <stdio.h>#include <stdlib.h>#include "lego.H"#include "search.H"#include "addremove.H"#include "modify.H"Go to the source code of this file.
Defines | |
| #define | dprintf(s) |
| #define | ADDREMOVE_REGION (0) |
| #define | ADDREMOVE_OP (1) |
| #define | ADDREMOVE_EDGE (2) |
Functions | |
| opList * | AddToList (opList *list, legoOp *object, int valid=1, double weight=0.0) |
| edgeList * | AddToList (edgeList *list, opEdges *object, int valid=1) |
| regionList * | AddToList (regionList *list, legoRegion *object, int valid=1) |
| opList * | RemoveFromList (opList *list, legoOp *object, double weight=-1.0) |
| edgeList * | RemoveFromList (edgeList *list, opEdges *object) |
| regionList * | RemoveFromList (regionList *list, legoRegion *object) |
| opEdges * | AddEdge (legoOp *fromop, legoOp *toop, enum edgeTypes et, int srcPort=0, int destPort=0) |
| opEdges * | AddEdge (legoOp *fromop, legoOp *toop, legoProc *proc, enum edgeTypes et, int srcPort=0, int destPort=0) |
| void | AddMidOp (legoOp *midop, legoOp *beforeop) |
| int | RemoveEdge (int fromopid, int toopid, legoProc *proc, enum edgeTypes et, int srcPort=EDGEPORT_DONTCARE, int destPort=EDGEPORT_DONTCARE) |
| int | RemoveEdge (legoOp *fromop, legoOp *toop, enum edgeTypes et, int srcPort=EDGEPORT_DONTCARE, int destPort=EDGEPORT_DONTCARE) |
| int | RemoveEdge (legoOp *fromop, legoOp *toop, legoProc *proc, enum edgeTypes et, int srcPort=EDGEPORT_DONTCARE, int destPort=EDGEPORT_DONTCARE) |
| void | RemoveMidOp (legoOp *midop, int destroy=0) |
| void | RemoveMidOp (legoOp *midop, legoProc *proc, int destroy=0) |
| void | RemoveFinalOp (legoOp *finalop, int destroy=0) |
| void | RemoveFirstOp (legoOp *firstop, int destroy=0) |
| void | RemoveVeryLastOp (legoOp *verylastop, int destroy=0) |
| void | RemoveLastOp (legoOp *last_op, int destroy=0) |
| void | RemoveLastOp (legoOp *last_op, legoProc *proc, int destroy=0) |
| legoBB * | AddBBAlongEdge (opEdges *edge, legoProc *proc) |
| legoRegion * | SplitParentBlockBeforeOp (legoOp *op_ptr) |
| flags * | AddFlag (int flagname, void *object, int objtype) |
| flags * | AddFlag (int flagname, legoRegion *region) |
| flags * | AddFlag (int flagname, legoOp *op) |
| void | RemoveFlag (int flagname, void *object, int objtype) |
| void | RemoveFlag (int flagname, legoRegion *region) |
| void | RemoveFlag (int flagname, legoOp *op) |
| attrs * | AddPointerAttribute (enum attrTypes atype, char *lcname, legoOprd *oprd, void *object, int objtype, legoProc *proc) |
| attrs * | AddLcAttribute (char *lcname, legoOprd *oprd, legoRegion *region, legoProc *proc) |
| attrs * | AddLcAttribute (char *lcname, legoOprd *oprd, legoOp *op, legoProc *proc) |
| attrs * | AddLcAttribute (char *lcname, legoOprd *oprd, opEdges *edge, legoProc *proc) |
| attrs * | AddLiveAttribute (legoOprd *oprd, legoRegion *region, legoProc *proc) |
| attrs * | AddLiveAttribute (legoOprd *oprd, legoOp *op, legoProc *proc) |
| attrs * | AddLiveAttribute (legoOprd *oprd, opEdges *edge, legoProc *proc) |
| void | RemovePointerAttribute (int atype, char *lcname, void *object, int objtype, legoProc *proc) |
| void | RemoveLcAttribute (char *lcname, legoRegion *region, legoProc *proc) |
| void | RemoveLcAttribute (char *lcname, legoOp *op, legoProc *proc) |
| void | RemoveLcAttribute (char *lcname, opEdges *edge, legoProc *proc) |
| void | RemoveLiveAttribute (legoRegion *region, legoProc *proc) |
| void | RemoveLiveAttribute (legoOp *op, legoProc *proc) |
| void | RemoveLiveAttribute (opEdges *edge, legoProc *proc) |
| attrList * | AddFreqAttribute (int weight, int value, opEdges *edge) |
| void | RemoveFreqAttribute (opEdges *edge) |
| void | ClearMarks (long long m, legoRegion *region) |
| void | ClearMarks (long long m, opEdges *edge) |
|
|
Definition at line 65 of file addremove.C. Referenced by AddLcAttribute(), AddLiveAttribute(), RemoveLcAttribute(), and RemoveLiveAttribute(). |
|
|
Definition at line 64 of file addremove.C. Referenced by AddFlag(), AddLcAttribute(), AddLiveAttribute(), AddPointerAttribute(), RemoveFlag(), RemoveLcAttribute(), RemoveLiveAttribute(), and RemovePointerAttribute(). |
|
|
Definition at line 63 of file addremove.C. Referenced by AddFlag(), AddLcAttribute(), AddLiveAttribute(), AddPointerAttribute(), RemoveFlag(), RemoveLcAttribute(), RemoveLiveAttribute(), and RemovePointerAttribute(). |
|
|
Definition at line 59 of file addremove.C. |
|
||||||||||||
|
||||||||||||||||||||||||||||
|
Definition at line 354 of file addremove.C. |
|
||||||||||||||||||||||||
|
Definition at line 278 of file addremove.C. |
|
||||||||||||
|
Definition at line 1507 of file addremove.C. References ADDREMOVE_OP. Referenced by AddFlag(), CreateLoopPreheader(), hammock(), superform(), traceform(), and tracereform(). |
|
||||||||||||
|
Definition at line 1493 of file addremove.C. |
|
||||||||||||||||
|
Definition at line 1451 of file addremove.C. References ADDREMOVE_REGION, flags::GetFlagName(), flags::GetNextFlagPtr(), flags::SetFlagName(), and flags::SetNextFlagPtr(). |
|
||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
Definition at line 1719 of file addremove.C. |
|
||||||||||||||||||||
|
Definition at line 1701 of file addremove.C. |
|
||||||||||||||||
|
Definition at line 1785 of file addremove.C. References AddPointerAttribute(), ADDREMOVE_EDGE, and ATTR_LIVE. Referenced by list_scheduler::create_new_attr(), create_new_attr(), and op_scheduler::create_new_attr(). |
|
||||||||||||||||
|
Definition at line 1769 of file addremove.C. |
|
||||||||||||||||
|
Definition at line 1753 of file addremove.C. |
|
||||||||||||
|
||||||||||||||||||||||||||||
|
||||||||||||||||
|
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(). |
|
||||||||||||||||
|
Definition at line 113 of file addremove.C. |
|
||||||||||||||||||||
|
Definition at line 87 of file addremove.C. |
|
||||||||||||
|
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(). |
|
||||||||||||
|
Definition at line 2089 of file addremove.C. |
|
||||||||||||||||||||||||||||
|
Definition at line 509 of file addremove.C. |
|
||||||||||||||||||||||||
|
Definition at line 493 of file addremove.C. |
|
||||||||||||||||||||||||||||
|
Definition at line 463 of file addremove.C. |
|
||||||||||||
|
||||||||||||
|
||||||||||||
|
Definition at line 1568 of file addremove.C. References ADDREMOVE_OP. Referenced by RemoveFlag(), and traceunform(). |
|
||||||||||||
|
Definition at line 1555 of file addremove.C. |
|
||||||||||||||||
|
Definition at line 1515 of file addremove.C. References ADDREMOVE_REGION, flags::GetFlagName(), flags::GetNextFlagPtr(), and flags::SetNextFlagPtr(). |
|
|
Definition at line 2059 of file addremove.C. References ATTR_FREQ, opEdges::GetEdgeAttrListPtr(), attrList::GetNextListPtr(), opEdges::SetEdgeAttrListPtr(), and attrList::SetNextListPtr(). |
|
||||||||||||
|
Definition at line 238 of file addremove.C. References regionList::GetNextListPtr(), regionList::GetRegionPtr(), remove(), and regionList::SetNextListPtr(). Referenced by check_brct(), RedirectEdge(), and RemoveRegionWithUnconditionalBr(). |
|
||||||||||||
|
Definition at line 212 of file addremove.C. |
|
||||||||||||||||
|
Definition at line 182 of file addremove.C. |
|
||||||||||||||||
|
Definition at line 1008 of file addremove.C. References RemoveLastOp(). |
|
||||||||||||
|
Definition at line 928 of file addremove.C. |
|
||||||||||||||||
|
||||||||||||||||
|
Definition at line 1935 of file addremove.C. |
|
||||||||||||||||
|
Definition at line 1919 of file addremove.C. |
|
||||||||||||
|
||||||||||||
|
Definition at line 1981 of file addremove.C. |
|
||||||||||||
|
Definition at line 1966 of file addremove.C. |
|
||||||||||||||||
|
Definition at line 640 of file addremove.C. |
|
||||||||||||
|
Definition at line 529 of file addremove.C. |
|
||||||||||||||||||||||||
|
Definition at line 1794 of file addremove.C. References ADDREMOVE_OP, ADDREMOVE_REGION, ATTR_LC, legoProc::GetAttrDictionary(), attrs::GetAttrId(), attrs::GetNextAttrPtr(), attrs::GetNextLcEntryPtr(), attrList::GetNextListPtr(), i, legoProc::SetAttrDictionary(), attrs::SetAttrId(), attrs::SetAttrType(), attrs::SetNextAttrPtr(), attrs::SetNextLcEntryPtr(), attrList::SetNextListPtr(), and strcmp(). Referenced by RemoveLcAttribute(), and RemoveLiveAttribute(). |
|
||||||||||||
|
1.3.2