/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | ScheduleDAG.cpp | 112 if (!Required && PredDep.getSUnit() == D.getSUnit()) in addPred() 118 SUnit *PredSU = PredDep.getSUnit(); in addPred() 136 SUnit *N = D.getSUnit(); in addPred() 183 SUnit *N = D.getSUnit(); in removePred() 225 SUnit *SuccSU = SuccDep.getSUnit(); in setDepthDirty() 240 SUnit *PredSU = PredDep.getSUnit(); in setHeightDirty() 273 SUnit *PredSU = PredDep.getSUnit(); in ComputeDepth() 304 SUnit *SuccSU = SuccDep.getSUnit(); in ComputeHeight() 330 unsigned MaxDepth = BestI->getSUnit()->getDepth(); in biasCriticalPath() 333 if (I->getKind() == SDep::Data && I->getSUnit()->getDepth() > MaxDepth) in biasCriticalPath() [all …]
|
D | MachinePipeliner.cpp | 545 NewInstrChanges[KV.first] = InstrChanges[getSUnit(KV.first)]; in schedule() 612 SUnit *SuccSU = SI.getSUnit(); in isSuccOrder() 780 SUnit *SU = getSUnit(UseMI); in updatePhiDependences() 800 SUnit *SU = getSUnit(DefMI); in updatePhiDependences() 821 MachineInstr *PMI = PI.getSUnit()->getInstr(); in updatePhiDependences() 855 SUnit *DefSU = getSUnit(DefMI); in changeDependences() 862 SUnit *LastSU = getSUnit(LastMI); in changeDependences() 873 if (P->getSUnit() == DefSU) in changeDependences() 876 Topo.RemovePred(&I, Deps[i].getSUnit()); in changeDependences() 882 if (P.getSUnit() == &I && P.getKind() == SDep::Order) in changeDependences() [all …]
|
D | MacroFusion.cpp | 42 return SI.getSUnit(); in getPredClusterSU() 84 if (SI.getSUnit() == &SecondSU) in fuseInstructionPair() 88 if (SI.getSUnit() == &FirstSU) in fuseInstructionPair() 101 SUnit *SU = SI.getSUnit(); in fuseInstructionPair() 114 SUnit *SU = SI.getSUnit(); in fuseInstructionPair() 183 SUnit &DepSU = *Dep.getSUnit(); in scheduleAdjacentImpl()
|
D | LatencyPriorityQueue.cpp | 60 SUnit &Pred = *I->getSUnit(); in getSingleUnscheduledPred() 79 if (getSingleUnscheduledPred(I->getSUnit()) == SU) in push() 95 AdjustPriorityOfUnscheduledPreds(I->getSUnit()); in scheduledNode()
|
D | ScheduleDAGInstrs.cpp | 1204 if (Topo.IsReachable(PredDep.getSUnit(), SuccSU)) in addEdge() 1206 Topo.AddPredQueued(SuccSU, PredDep.getSUnit()); in addEdge() 1282 unsigned PredNum = PredDep.getSUnit()->NodeNum; in visitPostorderNode() 1310 += R.DFSNodeData[PredDep.getSUnit()->NodeNum].InstrCount; in visitPostorderEdge() 1316 ConnectionPairs.push_back(std::make_pair(PredDep.getSUnit(), Succ)); in visitCrossEdge() 1363 const SUnit *PredSU = PredDep.getSUnit(); in joinPredSubtree() 1439 !SuccDep.getSUnit()->isBoundaryNode()) in hasDataSucc() 1466 || PredDep.getSUnit()->isBoundaryNode()) { in compute() 1470 if (Impl.isVisited(PredDep.getSUnit())) { in compute() 1474 Impl.visitPreorder(PredDep.getSUnit()); in compute() [all …]
|
D | MachineScheduler.cpp | 621 SUnit *SuccSU = SuccEdge->getSUnit(); in releaseSucc() 658 SUnit *PredSU = PredEdge->getSUnit(); in releasePred() 914 if (SUnit *SU = getSUnit(&(*MI))) in dumpSchedule() 1335 const SUnit *DefSU = getSUnit(DefMI); in computeCyclicCriticalPath() 1589 if (Succ.getSUnit() == SUb) in clusterNeighboringMemOps() 1591 LLVM_DEBUG(dbgs() << " Copy Succ SU(" << Succ.getSUnit()->NodeNum in clusterNeighboringMemOps() 1593 DAG->addEdge(Succ.getSUnit(), SDep(SUb, SDep::Artificial)); in clusterNeighboringMemOps() 1613 ChainPredID = Pred.getSUnit()->NodeNum; in apply() 1758 SUnit *GlobalSU = DAG->getSUnit(GlobalDef); in constrainLocalCopy() 1767 SUnit *LastLocalSU = DAG->getSUnit(LastLocalDef); in constrainLocalCopy() [all …]
|
D | AggressiveAntiDepBreaker.cpp | 285 const SUnit *PredSU = P->getSUnit(); in CriticalPathStep() 298 return (Next) ? Next->getSUnit() : nullptr; in CriticalPathStep() 852 SUnit *NextSU = Edge->getSUnit(); in BreakAntiDependencies() 896 if (P->getSUnit() == NextSU ? in BreakAntiDependencies() 905 if ((P->getSUnit() == NextSU) && (P->getKind() != SDep::Anti) && in BreakAntiDependencies() 910 } else if ((P->getSUnit() != NextSU) && in BreakAntiDependencies()
|
D | CriticalAntiDepBreaker.cpp | 151 const SUnit *PredSU = P->getSUnit(); in CriticalPathStep() 566 const SUnit *NextSU = Edge->getSUnit(); in BreakAntiDependencies() 590 if (P->getSUnit() == NextSU ? in BreakAntiDependencies()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | GCNMinRegStrategy.cpp | 96 for (auto PDep : SDep.getSUnit()->Preds) { in getReadySuccessors() 97 auto PSU = PDep.getSUnit(); in getReadySuccessors() 186 if (S.getSUnit()->isBoundaryNode() || isScheduled(S.getSUnit()) || in bumpPredsPriority() 189 for (const auto &P : S.getSUnit()->Preds) { in bumpPredsPriority() 190 auto PSU = P.getSUnit(); in bumpPredsPriority() 202 if (!P.getSUnit()->isBoundaryNode() && !isScheduled(P.getSUnit()) && in bumpPredsPriority() 203 Set.insert(P.getSUnit()).second) in bumpPredsPriority() 204 Worklist.push_back(P.getSUnit()); in bumpPredsPriority() 222 auto SuccSU = S.getSUnit(); in releaseSuccessors()
|
D | AMDGPUSubtarget.cpp | 787 if (SI.getSUnit() != SUa) in apply() 788 SUa->addPred(SDep(SI.getSUnit(), SDep::Artificial)); in apply() 793 if (SI.getSUnit() != &SU) in apply() 794 SI.getSUnit()->addPred(SDep(&SU, SDep::Artificial)); in apply() 829 const SUnit *SU = SI.getSUnit(); in canAddEdge() 842 if (SI.getSUnit() != SU && !Visited.count(SI.getSUnit())) in canAddEdge() 843 Preds.push_back(SI.getSUnit()); in canAddEdge() 868 SUnit *SUv = SI.getSUnit(); in linkSALUChain() 874 SUnit *Succ = SI.getSUnit(); in linkSALUChain()
|
D | SIMachineScheduler.cpp | 444 if (BC->isSUInBlock(Succ.getSUnit(), ID)) in undoSchedule() 454 SUnit *SuccSU = SuccEdge->getSUnit(); in undoReleaseSucc() 464 SUnit *SuccSU = SuccEdge->getSUnit(); in releaseSucc() 485 SUnit *SuccSU = Succ.getSUnit(); in releaseSuccessors() 518 NodeNum2Index.find(Succ.getSUnit()->NodeNum); in nodeScheduled() 664 if (PredDep.getSUnit() == &FromSU && in hasDataDependencyPred() 820 SUnit *Pred = PredDep.getSUnit(); in colorComputeReservedDependencies() 862 SUnit *Succ = SuccDep.getSUnit(); in colorComputeReservedDependencies() 946 SUnit *Succ = SuccDep.getSUnit(); in colorEndsAccordingToDependencies() 1016 SUnit *Succ = SuccDep.getSUnit(); in colorMergeConstantLoadsNextGroup() [all …]
|
D | GCNILPSched.cpp | 67 SUnit *PredSU = Pred.getSUnit(); in CalcNodeSethiUllmanNumber() 111 unsigned Height = Succ.getSUnit()->getHeight(); in closestSucc() 278 auto PredSU = PredEdge.getSUnit(); in releasePredecessors()
|
D | R600Packetizer.cpp | 196 if (Dep.getSUnit() != SUI) in isLegalToPacketizeTogether()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonSubtarget.cpp | 155 MachineInstr &MI2 = *SI.getSUnit()->getInstr(); in apply() 162 for (SDep &PI : SI.getSUnit()->Preds) { in apply() 163 if (PI.getSUnit() != &SU || PI.getKind() != SDep::Order) in apply() 166 SI.getSUnit()->setDepthDirty(); in apply() 348 MachineInstr *DDst = Dst->Succs[0].getSUnit()->getInstr(); in adjustSchedDependency() 421 if (!I.isAssignedRegDep() || I.getSUnit() != Dst) in restoreLatency() 460 if (!I.isAssignedRegDep() || I.getSUnit() != Dst) in changeLatency() 477 !I.getSUnit()->getInstr()->isPseudo()) in getZeroLatency() 478 return I.getSUnit(); in getZeroLatency() 555 if (ExclSrc.count(I.getSUnit()) == 0 && in isBestZeroLatency() [all …]
|
D | HexagonHazardRecognizer.cpp | 145 S.getSUnit()->NumPredsLeft == 1) { in EmitInstruction() 146 UsesDotCur = S.getSUnit(); in EmitInstruction() 160 TII->mayBeNewStore(*S.getSUnit()->getInstr()) && in EmitInstruction() 161 Resources->canReserveResources(*S.getSUnit()->getInstr())) { in EmitInstruction() 162 PrefVectorStoreNew = S.getSUnit(); in EmitInstruction()
|
D | HexagonMachineScheduler.cpp | 86 if (S.getSUnit() == SUu && S.getLatency() > 0) in hasDependence() 293 unsigned PredReadyCycle = PI.getSUnit()->TopReadyCycle; in releaseTopNode() 312 unsigned SuccReadyCycle = I->getSUnit()->BotReadyCycle; in releaseBottomNode() 527 if (!Pred.getSUnit()->isScheduled && (Pred.getSUnit() != SU2)) in isSingleUnscheduledPred() 542 if (!Succ.getSUnit()->isScheduled && (Succ.getSUnit() != SU2)) in isSingleUnscheduledSucc() 647 if (isSingleUnscheduledPred(SI.getSUnit(), SU)) in SchedulingCost() 653 if (isSingleUnscheduledSucc(PI.getSUnit(), SU)) in SchedulingCost() 707 if (!PI.getSUnit()->getInstr()->isPseudo() && PI.isAssignedRegDep() && in SchedulingCost() 709 Top.ResourceModel->isInPacket(PI.getSUnit())) { in SchedulingCost() 716 if (!SI.getSUnit()->getInstr()->isPseudo() && SI.isAssignedRegDep() && in SchedulingCost() [all …]
|
D | HexagonVLIWPacketizer.cpp | 930 if (Dep.getSUnit() == PacketSUDep && Dep.getKind() == SDep::Anti && in restrictingDepExistInPacket() 998 if (Dep.getSUnit() == SU && Dep.getKind() == SDep::Data && in arePredicatesComplements() 1400 if (SUJ->Succs[i].getSUnit() != SUI) in isLegalToPacketizeTogether() 1862 if (Pred.getSUnit() == SUJ) in producesStall() 1873 if (Pred.getSUnit() == SUJ && Pred.getLatency() > 1) in producesStall()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | ScheduleDAGRRList.cpp | 226 Topo.AddPredQueued(SU, D.getSUnit()); in AddPredQueued() 234 Topo.AddPred(SU, D.getSUnit()); in AddPred() 242 Topo.RemovePred(SU, D.getSUnit()); in RemovePred() 399 SUnit *PredSU = PredEdge->getSUnit(); in ReleasePred() 564 assert((!RegDef || RegDef == SU || RegDef == Pred.getSUnit()) && in ReleasePredecessors() 566 LiveRegDefs[Pred.getReg()] = Pred.getSUnit(); in ReleasePredecessors() 821 SUnit *PredSU = PredEdge->getSUnit(); in CapturePred() 843 assert(LiveRegDefs[Pred.getReg()] == Pred.getSUnit() && in UnscheduleNodeBottomUp() 899 LiveRegGens[Reg] = Succ.getSUnit(); in UnscheduleNodeBottomUp() 902 Succ2.getSUnit()->getHeight() < LiveRegGens[Reg]->getHeight()) in UnscheduleNodeBottomUp() [all …]
|
D | ResourcePriorityQueue.cpp | 73 SUnit *PredSU = Pred.getSUnit(); in numberRCValPredInSU() 111 SUnit *SuccSU = Succ.getSUnit(); in numberRCValSuccInSU() 213 SUnit &PredSU = *Pred.getSUnit(); in getSingleUnscheduledPred() 230 if (getSingleUnscheduledPred(Succ.getSUnit()) == SU) in push() 274 if (Succ.getSUnit() == SU) in isResourceAvailable() 499 if (Pred.isCtrl() || (Pred.getSUnit()->NumRegDefsLeft == 0)) in scheduledNode() 501 --Pred.getSUnit()->NumRegDefsLeft; in scheduledNode() 514 adjustPriorityOfUnscheduledPreds(Succ.getSUnit()); in scheduledNode()
|
D | ScheduleDAGFast.cpp | 140 SUnit *PredSU = PredEdge->getSUnit(); in ReleasePred() 171 LiveRegDefs[Pred.getReg()] = Pred.getSUnit(); in ReleasePredecessors() 194 if (LiveRegCycles[Succ.getReg()] == Succ.getSUnit()->getHeight()) { in ScheduleNodeBottomUp() 285 else if (Pred.getSUnit()->getNode() && in CopyAndMoveSuccessors() 286 Pred.getSUnit()->getNode()->isOperandOf(LoadNode)) in CopyAndMoveSuccessors() 298 if (ChainPred.getSUnit()) { in CopyAndMoveSuccessors() 317 SUnit *SuccDep = D.getSUnit(); in CopyAndMoveSuccessors() 325 SUnit *SuccDep = D.getSUnit(); in CopyAndMoveSuccessors() 362 SUnit *SuccSU = Succ.getSUnit(); in CopyAndMoveSuccessors() 398 SUnit *SuccSU = Succ.getSUnit(); in InsertCopiesAndMoveSuccs() [all …]
|
D | ScheduleDAGVLIW.cpp | 114 SUnit *SuccSU = D.getSUnit(); in releaseSucc()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCHazardRecognizers.cpp | 39 const MCInstrDesc *PredMCID = DAG->getInstrDesc(SU->Preds[i].getSUnit()); in isLoadAfterStore() 47 if (SU->Preds[i].getSUnit() == CurGroup[j]) in isLoadAfterStore() 65 const MCInstrDesc *PredMCID = DAG->getInstrDesc(SU->Preds[i].getSUnit()); in isBCTRAfterSet() 73 if (SU->Preds[i].getSUnit() == CurGroup[j]) in isBCTRAfterSet()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | ScheduleDAG.h | 152 SUnit *getSUnit() const; 433 if (Pred.getSUnit() == N) in isPred() 441 if (Succ.getSUnit() == N) in isSucc() 480 inline SUnit *SDep::getSUnit() const { return Dep.getPointer(); } in getSUnit() function 631 return Node->Preds[Operand].getSUnit();
|
D | ScheduleDAGInstrs.h | 281 SUnit *getSUnit(MachineInstr *MI) const; 395 inline SUnit *ScheduleDAGInstrs::getSUnit(MachineInstr *MI) const { in getSUnit() function
|
D | MachinePipeliner.h | 249 return Source->getInstr()->isPHI() || Dep.getSUnit()->getInstr()->isPHI(); in isBackedge() 335 if (Nodes.count(Succ.getSUnit())) in NodeSet()
|