/external/llvm/lib/Target/AMDGPU/ |
D | SIMachineScheduler.cpp | 179 NodeNum2Index[SU->NodeNum] = SUnits.size(); in addUnit() 187 dbgs() << " SU(" << Cand.SU->NodeNum << ") " << getReasonStr(Cand.Reason); in traceCandidate() 237 if (TryCand.SU->NodeNum < Cand.SU->NodeNum) { in tryCandidateTopDown() 254 TryCand.IsLowLatency = DAG->IsLowLatencySU[SU->NodeNum]; in pickNode() 255 TryCand.LowLatencyOffset = DAG->LowLatencyOffset[SU->NodeNum]; in pickNode() 257 HasLowLatencyNonWaitedParent[NodeNum2Index[SU->NodeNum]]; in pickNode() 490 if (HasLowLatencyNonWaitedParent[NodeNum2Index[SU->NodeNum]]) in nodeScheduled() 493 if (DAG->IsLowLatencySU[SU->NodeNum]) { in nodeScheduled() 496 NodeNum2Index.find(Succ.getSUnit()->NodeNum); in nodeScheduled() 508 if (DAG->IsHighLatencySU[SU->NodeNum]) in finalizeUnits() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | LatencyPriorityQueue.h | 68 unsigned getLatency(unsigned NodeNum) const { in getLatency() argument 69 assert(NodeNum < (*SUnits).size()); in getLatency() 70 return (*SUnits)[NodeNum].getHeight(); in getLatency() 73 unsigned getNumSolelyBlockNodes(unsigned NodeNum) const { in getNumSolelyBlockNodes() argument 74 assert(NodeNum < NumNodesSolelyBlocking.size()); in getNumSolelyBlockNodes() 75 return NumNodesSolelyBlocking[NodeNum]; in getNumSolelyBlockNodes()
|
D | ScheduleDAG.h | 245 unsigned NodeNum; // Entry # of node in the node vector. 280 : Node(node), Instr(0), OrigNode(0), NodeNum(nodenum), 294 : Node(0), Instr(instr), OrigNode(0), NodeNum(nodenum), 307 : Node(0), Instr(0), OrigNode(0), NodeNum(~0u),
|
/external/llvm/include/llvm/CodeGen/ |
D | LatencyPriorityQueue.h | 68 unsigned getLatency(unsigned NodeNum) const { in getLatency() argument 69 assert(NodeNum < (*SUnits).size()); in getLatency() 70 return (*SUnits)[NodeNum].getHeight(); in getLatency() 73 unsigned getNumSolelyBlockNodes(unsigned NodeNum) const { in getNumSolelyBlockNodes() argument 74 assert(NodeNum < NumNodesSolelyBlocking.size()); in getNumSolelyBlockNodes() 75 return NumNodesSolelyBlocking[NodeNum]; in getNumSolelyBlockNodes()
|
D | ResourcePriorityQueue.h | 94 unsigned getLatency(unsigned NodeNum) const { in getLatency() argument 95 assert(NodeNum < (*SUnits).size()); in getLatency() 96 return (*SUnits)[NodeNum].getHeight(); in getLatency() 99 unsigned getNumSolelyBlockNodes(unsigned NodeNum) const { in getNumSolelyBlockNodes() argument 100 assert(NodeNum < NumNodesSolelyBlocking.size()); in getNumSolelyBlockNodes() 101 return NumNodesSolelyBlocking[NodeNum]; in getNumSolelyBlockNodes()
|
D | ScheduleDFS.h | 147 return DFSNodeData[SU->NodeNum].InstrCount; in getNumInstrs() 160 return ILPValue(DFSNodeData[SU->NodeNum].InstrCount, 1 + SU->getDepth()); in getILP() 173 assert(SU->NodeNum < DFSNodeData.size() && "New Node"); in getSubtreeID() 174 return DFSNodeData[SU->NodeNum].SubtreeID; in getSubtreeID()
|
D | ScheduleDAG.h | 266 unsigned NodeNum; // Entry # of node in the node vector. 310 NodeNum(nodenum), NodeQueueId(0), NumPreds(0), NumSuccs(0), 326 NodeNum(nodenum), NodeQueueId(0), NumPreds(0), NumSuccs(0), 341 NodeNum(BoundaryID), NodeQueueId(0), NumPreds(0), NumSuccs(0), 360 bool isBoundaryNode() const { return NodeNum == BoundaryID; }
|
/external/llvm/lib/CodeGen/ |
D | ScheduleDAG.cpp | 317 dbgs() << "SU(" << NodeNum << "): "; in dump() 346 dbgs() << "SU(" << I->getSUnit()->NodeNum << ")"; in dumpAll() 366 dbgs() << "SU(" << I->getSUnit()->NodeNum << ")"; in dumpAll() 472 int NodeNum = SU->NodeNum; in InitDAGTopologicalSorting() local 475 Node2Index[NodeNum] = Degree; in InitDAGTopologicalSorting() 489 if (SU->NodeNum < DAGSize) in InitDAGTopologicalSorting() 490 Allocate(SU->NodeNum, --Id); in InitDAGTopologicalSorting() 494 if (SU->NodeNum < DAGSize && !--Node2Index[SU->NodeNum]) in InitDAGTopologicalSorting() 509 assert(Node2Index[SU->NodeNum] > Node2Index[I->getSUnit()->NodeNum] && in InitDAGTopologicalSorting() 520 LowerBound = Node2Index[Y->NodeNum]; in AddPred() [all …]
|
D | ScheduleDAGInstrs.cpp | 81 dbgs() << "SU(" << su->NodeNum << ")"; in dumpSUList() 820 if ((*SUItr)->NodeNum <= BarrierChain->NodeNum) in insertBarrierChain() 938 PDiffs->addInstruction(SU->NodeNum, RegOpers, MRI); in buildSchedGraph() 1014 << BarrierChain->NodeNum << ").\n";); in buildSchedGraph() 1159 NodeNums.push_back(SU->NodeNum); in reduceHugeMemNodeMaps() 1162 NodeNums.push_back(SU->NodeNum); in reduceHugeMemNodeMaps() 1175 if (newBarrierChain->NodeNum < BarrierChain->NodeNum) { in reduceHugeMemNodeMaps() 1179 << BarrierChain->NodeNum << ").\n";); in reduceHugeMemNodeMaps() 1183 << BarrierChain->NodeNum << ").\n";); in reduceHugeMemNodeMaps() 1433 return R.DFSNodeData[SU->NodeNum].SubtreeID in isVisited() [all …]
|
D | LatencyPriorityQueue.cpp | 32 unsigned LHSNum = LHS->NodeNum; in operator ()() 33 unsigned RHSNum = RHS->NodeNum; in operator ()() 82 NumNodesSolelyBlocking[SU->NodeNum] = NumNodesBlocking; in push()
|
D | MachineScheduler.cpp | 519 dbgs() << Queue[i]->NodeNum << " "; in dump() 1013 dbgs() << " UpdateRegP: SU(" << SU.NodeNum << ") " in updatePressureDiffs() 1051 dbgs() << " UpdateRegP: SU(" << SU->NodeNum << ") " in updatePressureDiffs() 1251 DEBUG(dbgs() << "Cyclic Path: SU(" << DefSU->NodeNum << ") -> SU(" in computeCyclicCriticalPath() 1252 << SU->NodeNum << ") = " << CyclicLatency << "c\n"); in computeCyclicCriticalPath() 1424 DEBUG(dbgs() << "Cluster ld/st SU(" << SUa->NodeNum << ") - SU(" in clusterNeighboringMemOps() 1425 << SUb->NodeNum << ")\n"); in clusterNeighboringMemOps() 1434 DEBUG(dbgs() << " Copy Succ SU(" << SI->getSUnit()->NodeNum << ")\n"); in clusterNeighboringMemOps() 1462 ChainPredID = PI->getSUnit()->NodeNum; in apply() 1546 DEBUG(dbgs() << "Macro Fuse SU(" << SU.NodeNum << ")\n"); in apply() [all …]
|
D | MachinePipeliner.cpp | 274 int getASAP(SUnit *Node) { return ScheduleInfo[Node->NodeNum].ASAP; } in getASAP() 277 int getALAP(SUnit *Node) { return ScheduleInfo[Node->NodeNum].ALAP; } in getALAP() 515 os << " SU(" << I->NodeNum << ") " << *(I->getInstr()); in print() 1109 if (SU->NodeNum < I.NodeNum && !I.isPred(SU)) in updatePhiDependences() 1130 if (SU->NodeNum < I.NodeNum && !I.isPred(SU)) in updatePhiDependences() 1411 int N = SI.getSUnit()->NodeNum; in createAdjacencyStructure() 1424 int N = PI.getSUnit()->NodeNum; in createAdjacencyStructure() 1483 if (Blocked.test(W->NodeNum)) in unblock() 1484 unblock(W->NodeNum); in unblock() 1743 return A->NodeNum > B->NodeNum; in registerPressureFilter() [all …]
|
D | ScoreboardHazardRecognizer.cpp | 157 DEBUG(dbgs() << "SU(" << SU->NodeNum << "): "); in getHazardType()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | ScheduleDAG.cpp | 291 dbgs() << "SU(" << NodeNum << "): "; in dump() 317 dbgs() << I->getSUnit() << " - SU(" << I->getSUnit()->NodeNum << ")"; in dumpAll() 338 dbgs() << I->getSUnit() << " - SU(" << I->getSUnit()->NodeNum << ")"; in dumpAll() 445 int NodeNum = SU->NodeNum; in InitDAGTopologicalSorting() local 448 Node2Index[NodeNum] = Degree; in InitDAGTopologicalSorting() 462 Allocate(SU->NodeNum, --Id); in InitDAGTopologicalSorting() 466 if (!--Node2Index[SU->NodeNum]) in InitDAGTopologicalSorting() 481 assert(Node2Index[SU->NodeNum] > Node2Index[I->getSUnit()->NodeNum] && in InitDAGTopologicalSorting() 492 LowerBound = Node2Index[Y->NodeNum]; in AddPred() 493 UpperBound = Node2Index[X->NodeNum]; in AddPred() [all …]
|
D | LatencyPriorityQueue.cpp | 31 unsigned LHSNum = LHS->NodeNum; in operator ()() 32 unsigned RHSNum = RHS->NodeNum; in operator ()() 81 NumNodesSolelyBlocking[SU->NodeNum] = NumNodesBlocking; in push()
|
D | ScoreboardHazardRecognizer.cpp | 157 DEBUG(dbgs() << "SU(" << SU->NodeNum << "): "); in getHazardType()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | ScheduleDAGRRList.cpp | 247 if (NewNode->NodeNum >= NumSUnits) in CreateNewSUnit() 258 if (NewNode->NodeNum >= NumSUnits) in CreateClone() 979 DEBUG(dbgs() << "Unfolding SU #" << SU->NodeNum << "\n"); in CopyAndMoveSuccessors() 1001 LoadNode->setNodeId(LoadSU->NodeNum); in CopyAndMoveSuccessors() 1009 N->setNodeId(NewSU->NodeNum); in CopyAndMoveSuccessors() 1100 DEBUG(dbgs() << " Duplicating SU #" << SU->NodeNum << "\n"); in CopyAndMoveSuccessors() 1350 DEBUG(dbgs() << " Repushing SU #" << SU->NodeNum << '\n'); in releaseInterferences() 1373 << " SU #" << CurSU->NodeNum << '\n'); in PickNodeToScheduleBottomUp() 1417 DEBUG(dbgs() << "ARTIFICIAL edge from SU(" << BtSU->NodeNum << ") to SU(" in PickNodeToScheduleBottomUp() 1418 << TrySU->NodeNum << ")\n"); in PickNodeToScheduleBottomUp() [all …]
|
D | ScheduleDAGFast.cpp | 241 DEBUG(dbgs() << "Unfolding SU # " << SU->NodeNum << "\n"); in CopyAndMoveSuccessors() 255 N->setNodeId(NewSU->NodeNum); in CopyAndMoveSuccessors() 277 LoadNode->setNodeId(LoadSU->NodeNum); in CopyAndMoveSuccessors() 353 DEBUG(dbgs() << "Duplicating SU # " << SU->NodeNum << "\n"); in CopyAndMoveSuccessors() 603 DEBUG(dbgs() << "Adding an edge from SU # " << TrySU->NodeNum in ListScheduleBottomUp() 604 << " to SU #" << Copies.front()->NodeNum << "\n"); in ListScheduleBottomUp() 609 DEBUG(dbgs() << "Adding an edge from SU # " << NewDef->NodeNum in ListScheduleBottomUp() 610 << " to SU #" << TrySU->NodeNum << "\n"); in ListScheduleBottomUp()
|
D | ResourcePriorityQueue.cpp | 191 unsigned LHSNum = LHS->NodeNum; in operator ()() 192 unsigned RHSNum = RHS->NodeNum; in operator ()() 240 NumNodesSolelyBlocking[SU->NodeNum] = NumNodesBlocking; in push() 434 ResCount += (NumNodesSolelyBlocking[SU->NodeNum] * ScaleTwo); in SUSchedulingCost()
|
D | ScheduleDAGSDNodes.cpp | 355 N->setNodeId(NodeSUnit->NodeNum); in BuildSchedUnits() 372 N->setNodeId(NodeSUnit->NodeNum); in BuildSchedUnits() 395 N->setNodeId(NodeSUnit->NodeNum); in BuildSchedUnits()
|
D | SelectionDAGPrinter.cpp | 280 O << "SU(" << SU->NodeNum << "): "; in getGraphNodeLabel()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | ScheduleDAGRRList.cpp | 255 if (NewNode->NodeNum >= NumSUnits) in CreateNewSUnit() 266 if (NewNode->NodeNum >= NumSUnits) in CreateClone() 808 DEBUG(dbgs() << "Unfolding SU #" << SU->NodeNum << "\n"); in CopyAndMoveSuccessors() 830 LoadNode->setNodeId(LoadSU->NodeNum); in CopyAndMoveSuccessors() 838 N->setNodeId(NewSU->NodeNum); in CopyAndMoveSuccessors() 934 DEBUG(dbgs() << " Duplicating SU #" << SU->NodeNum << "\n"); in CopyAndMoveSuccessors() 1230 DEBUG(dbgs() << " Adding an edge from SU #" << TrySU->NodeNum in PickNodeToScheduleBottomUp() 1231 << " to SU #" << Copies.front()->NodeNum << "\n"); in PickNodeToScheduleBottomUp() 1239 DEBUG(dbgs() << " Adding an edge from SU #" << NewDef->NodeNum in PickNodeToScheduleBottomUp() 1240 << " to SU #" << TrySU->NodeNum << "\n"); in PickNodeToScheduleBottomUp() [all …]
|
D | ScheduleDAGFast.cpp | 236 DEBUG(dbgs() << "Unfolding SU # " << SU->NodeNum << "\n"); in CopyAndMoveSuccessors() 250 N->setNodeId(NewSU->NodeNum); in CopyAndMoveSuccessors() 272 LoadNode->setNodeId(LoadSU->NodeNum); in CopyAndMoveSuccessors() 346 DEBUG(dbgs() << "Duplicating SU # " << SU->NodeNum << "\n"); in CopyAndMoveSuccessors() 592 DEBUG(dbgs() << "Adding an edge from SU # " << TrySU->NodeNum in ListScheduleBottomUp() 593 << " to SU #" << Copies.front()->NodeNum << "\n"); in ListScheduleBottomUp() 600 DEBUG(dbgs() << "Adding an edge from SU # " << NewDef->NodeNum in ListScheduleBottomUp() 601 << " to SU #" << TrySU->NodeNum << "\n"); in ListScheduleBottomUp()
|
D | ScheduleDAGSDNodes.cpp | 317 N->setNodeId(NodeSUnit->NodeNum); in BuildSchedUnits() 334 N->setNodeId(NodeSUnit->NodeNum); in BuildSchedUnits() 357 N->setNodeId(NodeSUnit->NodeNum); in BuildSchedUnits()
|
D | SelectionDAGPrinter.cpp | 275 O << "SU(" << SU->NodeNum << "): "; in getGraphNodeLabel()
|