Home
last modified time | relevance | path

Searched refs:PredSU (Results 1 – 20 of 20) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGRRList.cpp394 SUnit *PredSU = PredEdge->getSUnit(); in ReleasePred() local
397 if (PredSU->NumSuccsLeft == 0) { in ReleasePred()
399 PredSU->dump(this); in ReleasePred()
404 --PredSU->NumSuccsLeft; in ReleasePred()
409 PredSU->setHeightToAtLeast(SU->getHeight() + PredEdge->getLatency()); in ReleasePred()
414 if (PredSU->NumSuccsLeft == 0 && PredSU != &EntrySU) { in ReleasePred()
415 PredSU->isAvailable = true; in ReleasePred()
417 unsigned Height = PredSU->getHeight(); in ReleasePred()
421 if (isReady(PredSU)) { in ReleasePred()
422 AvailableQueue->push(PredSU); in ReleasePred()
[all …]
DResourcePriorityQueue.cpp74 SUnit *PredSU = Pred.getSUnit(); in numberRCValPredInSU() local
75 const SDNode *ScegN = PredSU->getNode(); in numberRCValPredInSU()
212 SUnit &PredSU = *Pred.getSUnit(); in getSingleUnscheduledPred() local
213 if (!PredSU.isScheduled) { in getSingleUnscheduledPred()
216 if (OnlyAvailablePred && OnlyAvailablePred != &PredSU) in getSingleUnscheduledPred()
218 OnlyAvailablePred = &PredSU; in getSingleUnscheduledPred()
DScheduleDAGFast.cpp142 SUnit *PredSU = PredEdge->getSUnit(); in ReleasePred() local
145 if (PredSU->NumSuccsLeft == 0) { in ReleasePred()
147 PredSU->dump(this); in ReleasePred()
152 --PredSU->NumSuccsLeft; in ReleasePred()
156 if (PredSU->NumSuccsLeft == 0 && PredSU != &EntrySU) { in ReleasePred()
157 PredSU->isAvailable = true; in ReleasePred()
158 AvailableQueue.push(PredSU); in ReleasePred()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DGCNILPSched.cpp67 SUnit *PredSU = Pred.getSUnit(); in CalcNodeSethiUllmanNumber() local
68 unsigned PredSethiUllman = CalcNodeSethiUllmanNumber(PredSU, SUNumbers); in CalcNodeSethiUllmanNumber()
278 auto PredSU = PredEdge.getSUnit(); in releasePredecessors() local
281 assert(PredSU->isBoundaryNode() || PredSU->NumSuccsLeft > 0); in releasePredecessors()
283 PredSU->setHeightToAtLeast(SU->getHeight() + PredEdge.getLatency()); in releasePredecessors()
285 if (!PredSU->isBoundaryNode() && --PredSU->NumSuccsLeft == 0) in releasePredecessors()
286 PendingQueue.push_front(*new (Alloc.Allocate()) Candidate(PredSU)); in releasePredecessors()
/external/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGRRList.cpp366 SUnit *PredSU = PredEdge->getSUnit(); in ReleasePred() local
369 if (PredSU->NumSuccsLeft == 0) { in ReleasePred()
371 PredSU->dump(this); in ReleasePred()
376 --PredSU->NumSuccsLeft; in ReleasePred()
381 PredSU->setHeightToAtLeast(SU->getHeight() + PredEdge->getLatency()); in ReleasePred()
386 if (PredSU->NumSuccsLeft == 0 && PredSU != &EntrySU) { in ReleasePred()
387 PredSU->isAvailable = true; in ReleasePred()
389 unsigned Height = PredSU->getHeight(); in ReleasePred()
393 if (isReady(PredSU)) { in ReleasePred()
394 AvailableQueue->push(PredSU); in ReleasePred()
[all …]
DScheduleDAGFast.cpp141 SUnit *PredSU = PredEdge->getSUnit(); in ReleasePred() local
144 if (PredSU->NumSuccsLeft == 0) { in ReleasePred()
146 PredSU->dump(this); in ReleasePred()
151 --PredSU->NumSuccsLeft; in ReleasePred()
155 if (PredSU->NumSuccsLeft == 0 && PredSU != &EntrySU) { in ReleasePred()
156 PredSU->isAvailable = true; in ReleasePred()
157 AvailableQueue.push(PredSU); in ReleasePred()
DResourcePriorityQueue.cpp77 SUnit *PredSU = I->getSUnit(); in numberRCValPredInSU() local
78 const SDNode *ScegN = PredSU->getNode(); in numberRCValPredInSU()
/external/llvm/lib/CodeGen/
DScheduleDAG.cpp76 SUnit *PredSU = I->getSUnit(); in addPred() local
80 for (SmallVectorImpl<SDep>::iterator II = PredSU->Succs.begin(), in addPred()
81 EE = PredSU->Succs.end(); II != EE; ++II) { in addPred()
203 SUnit *PredSU = I->getSUnit(); in setHeightDirty() local
204 if (PredSU->isHeightCurrent) in setHeightDirty()
205 WorkList.push_back(PredSU); in setHeightDirty()
244 SUnit *PredSU = I->getSUnit(); in ComputeDepth() local
245 if (PredSU->isDepthCurrent) in ComputeDepth()
247 PredSU->Depth + I->getLatency()); in ComputeDepth()
250 WorkList.push_back(PredSU); in ComputeDepth()
DMachineScheduler.cpp533 bool ScheduleDAGMI::canAddEdge(SUnit *SuccSU, SUnit *PredSU) { in canAddEdge() argument
534 return SuccSU == &ExitSU || !Topo.IsReachable(PredSU, SuccSU); in canAddEdge()
594 SUnit *PredSU = PredEdge->getSUnit(); in releasePred() local
597 --PredSU->WeakSuccsLeft; in releasePred()
599 NextClusterPred = PredSU; in releasePred()
603 if (PredSU->NumSuccsLeft == 0) { in releasePred()
605 PredSU->dump(this); in releasePred()
612 if (PredSU->BotReadyCycle < SU->BotReadyCycle + PredEdge->getLatency()) in releasePred()
613 PredSU->BotReadyCycle = SU->BotReadyCycle + PredEdge->getLatency(); in releasePred()
615 --PredSU->NumSuccsLeft; in releasePred()
[all …]
DCriticalAntiDepBreaker.cpp135 const SUnit *PredSU = P->getSUnit(); in CriticalPathStep() local
137 unsigned PredTotalLatency = PredSU->getDepth() + PredLatency; in CriticalPathStep()
DScheduleDAGInstrs.cpp1548 const SUnit *PredSU = PredDep.getSUnit(); in joinPredSubtree() local
1549 unsigned PredNum = PredSU->NodeNum; in joinPredSubtree()
1556 for (SUnit::const_succ_iterator SI = PredSU->Succs.begin(), in joinPredSubtree()
1557 SE = PredSU->Succs.end(); SI != SE; ++SI) { in joinPredSubtree()
DAggressiveAntiDepBreaker.cpp272 const SUnit *PredSU = P->getSUnit(); in CriticalPathStep() local
274 unsigned PredTotalLatency = PredSU->getDepth() + PredLatency; in CriticalPathStep()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DScheduleDAG.cpp117 SUnit *PredSU = PredDep.getSUnit(); in addPred() local
121 for (SDep &SuccDep : PredSU->Succs) { in addPred()
239 SUnit *PredSU = PredDep.getSUnit(); in setHeightDirty() local
240 if (PredSU->isHeightCurrent) in setHeightDirty()
241 WorkList.push_back(PredSU); in setHeightDirty()
272 SUnit *PredSU = PredDep.getSUnit(); in ComputeDepth() local
273 if (PredSU->isDepthCurrent) in ComputeDepth()
275 PredSU->Depth + PredDep.getLatency()); in ComputeDepth()
278 WorkList.push_back(PredSU); in ComputeDepth()
DMachineScheduler.cpp603 bool ScheduleDAGMI::canAddEdge(SUnit *SuccSU, SUnit *PredSU) { in canAddEdge() argument
604 return SuccSU == &ExitSU || !Topo.IsReachable(PredSU, SuccSU); in canAddEdge()
662 SUnit *PredSU = PredEdge->getSUnit(); in releasePred() local
665 --PredSU->WeakSuccsLeft; in releasePred()
667 NextClusterPred = PredSU; in releasePred()
671 if (PredSU->NumSuccsLeft == 0) { in releasePred()
673 PredSU->dump(this); in releasePred()
680 if (PredSU->BotReadyCycle < SU->BotReadyCycle + PredEdge->getLatency()) in releasePred()
681 PredSU->BotReadyCycle = SU->BotReadyCycle + PredEdge->getLatency(); in releasePred()
683 --PredSU->NumSuccsLeft; in releasePred()
[all …]
DCriticalAntiDepBreaker.cpp152 const SUnit *PredSU = P->getSUnit(); in CriticalPathStep() local
154 unsigned PredTotalLatency = PredSU->getDepth() + PredLatency; in CriticalPathStep()
DScheduleDAGInstrs.cpp1275 const SUnit *PredSU = PredDep.getSUnit(); in joinPredSubtree() local
1276 unsigned PredNum = PredSU->NodeNum; in joinPredSubtree()
1283 for (const SDep &SuccDep : PredSU->Succs) { in joinPredSubtree()
DAggressiveAntiDepBreaker.cpp286 const SUnit *PredSU = P->getSUnit(); in CriticalPathStep() local
288 unsigned PredTotalLatency = PredSU->getDepth() + PredLatency; in CriticalPathStep()
DMachinePipeliner.cpp4008 SUnit *PredSU = PredEdge.getSUnit(); in checkValidNodeOrder() local
4011 std::make_pair(PredSU, 0), CompareKey)); in checkValidNodeOrder()
4012 if (!PredSU->getInstr()->isPHI() && PredIndex < Index) { in checkValidNodeOrder()
4014 Pred = PredSU; in checkValidNodeOrder()
/external/llvm/include/llvm/CodeGen/
DMachineScheduler.h286 bool canAddEdge(SUnit *SuccSU, SUnit *PredSU);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DMachineScheduler.h323 bool canAddEdge(SUnit *SuccSU, SUnit *PredSU);