Home
last modified time | relevance | path

Searched refs:getSUnit (Results 1 – 25 of 30) sorted by relevance

12

/external/llvm/lib/CodeGen/
DScheduleDAG.cpp71 if (!Required && I->getSUnit() == D.getSUnit()) in addPred()
76 SUnit *PredSU = I->getSUnit(); in addPred()
95 SUnit *N = D.getSUnit(); in addPred()
141 SUnit *N = D.getSUnit(); in removePred()
187 SUnit *SuccSU = I->getSUnit(); in setDepthDirty()
203 SUnit *PredSU = I->getSUnit(); in setHeightDirty()
244 SUnit *PredSU = I->getSUnit(); in ComputeDepth()
277 SUnit *SuccSU = I->getSUnit(); in ComputeHeight()
303 unsigned MaxDepth = BestI->getSUnit()->getDepth(); in biasCriticalPath()
306 if (I->getKind() == SDep::Data && I->getSUnit()->getDepth() > MaxDepth) in biasCriticalPath()
[all …]
DMachinePipeliner.cpp295 return Source->getInstr()->isPHI() || Dep.getSUnit()->getInstr()->isPHI(); in isBackedge()
303 !Dep.getSUnit()->getInstr()->isPHI()); in isOrder()
314 return Dep.getSUnit()->Latency; in getLatency()
315 if (Dep.getSUnit()->getInstr()->isPHI()) in getLatency()
956 SUnit *SuccSU = SI.getSUnit(); in isSuccOrder()
1100 SUnit *SU = getSUnit(UseMI); in updatePhiDependences()
1119 SUnit *SU = getSUnit(DefMI); in updatePhiDependences()
1140 MachineInstr *PMI = PI.getSUnit()->getInstr(); in updatePhiDependences()
1174 SUnit *DefSU = getSUnit(DefMI); in changeDependences()
1181 SUnit *LastSU = getSUnit(LastMI); in changeDependences()
[all …]
DLatencyPriorityQueue.cpp60 SUnit &Pred = *I->getSUnit(); in getSingleUnscheduledPred()
79 if (getSingleUnscheduledPred(I->getSUnit()) == SU) in push()
95 AdjustPriorityOfUnscheduledPreds(I->getSUnit()); in scheduledNode()
DMachineScheduler.cpp541 if (Topo.IsReachable(PredDep.getSUnit(), SuccSU)) in addEdge()
543 Topo.AddPred(SuccSU, PredDep.getSUnit()); in addEdge()
555 SUnit *SuccSU = SuccEdge->getSUnit(); in releaseSucc()
594 SUnit *PredSU = PredEdge->getSUnit(); in releasePred()
848 if (SUnit *SU = getSUnit(&(*MI))) in dumpSchedule()
1219 const SUnit *DefSU = getSUnit(DefMI); in computeCyclicCriticalPath()
1432 if (SI->getSUnit() == SUb) in clusterNeighboringMemOps()
1434 DEBUG(dbgs() << " Copy Succ SU(" << SI->getSUnit()->NodeNum << ")\n"); in clusterNeighboringMemOps()
1435 DAG->addEdge(SI->getSUnit(), SDep(SUb, SDep::Artificial)); in clusterNeighboringMemOps()
1462 ChainPredID = PI->getSUnit()->NodeNum; in apply()
[all …]
DScheduleDAGInstrs.cpp1464 unsigned PredNum = PI->getSUnit()->NodeNum; in visitPostorderNode()
1492 += R.DFSNodeData[PredDep.getSUnit()->NodeNum].InstrCount; in visitPostorderEdge()
1498 ConnectionPairs.push_back(std::make_pair(PredDep.getSUnit(), Succ)); in visitCrossEdge()
1548 const SUnit *PredSU = PredDep.getSUnit(); in joinPredSubtree()
1622 if (SI->getKind() == SDep::Data && !SI->getSUnit()->isBoundaryNode()) in hasDataSucc()
1651 || PredDep.getSUnit()->isBoundaryNode()) { in compute()
1655 if (Impl.isVisited(PredDep.getSUnit())) { in compute()
1659 Impl.visitPreorder(PredDep.getSUnit()); in compute()
1660 DFS.follow(PredDep.getSUnit()); in compute()
DAggressiveAntiDepBreaker.cpp272 const SUnit *PredSU = P->getSUnit(); in CriticalPathStep()
285 return (Next) ? Next->getSUnit() : nullptr; in CriticalPathStep()
835 SUnit *NextSU = Edge->getSUnit(); in BreakAntiDependencies()
879 if (P->getSUnit() == NextSU ? in BreakAntiDependencies()
888 if ((P->getSUnit() == NextSU) && (P->getKind() != SDep::Anti) && in BreakAntiDependencies()
893 } else if ((P->getSUnit() != NextSU) && in BreakAntiDependencies()
DCriticalAntiDepBreaker.cpp135 const SUnit *PredSU = P->getSUnit(); in CriticalPathStep()
541 const SUnit *NextSU = Edge->getSUnit(); in BreakAntiDependencies()
565 if (P->getSUnit() == NextSU ? in BreakAntiDependencies()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DScheduleDAG.cpp97 SUnit *N = D.getSUnit(); in addPred()
134 SUnit *N = D.getSUnit(); in removePred()
177 SUnit *SuccSU = I->getSUnit(); in setDepthDirty()
193 SUnit *PredSU = I->getSUnit(); in setHeightDirty()
234 SUnit *PredSU = I->getSUnit(); in ComputeDepth()
267 SUnit *SuccSU = I->getSUnit(); in ComputeHeight()
317 dbgs() << I->getSUnit() << " - SU(" << I->getSUnit()->NodeNum << ")"; in dumpAll()
338 dbgs() << I->getSUnit() << " - SU(" << I->getSUnit()->NodeNum << ")"; in dumpAll()
465 SUnit *SU = I->getSUnit(); in InitDAGTopologicalSorting()
481 assert(Node2Index[SU->NodeNum] > Node2Index[I->getSUnit()->NodeNum] && in InitDAGTopologicalSorting()
[all …]
DLatencyPriorityQueue.cpp59 SUnit &Pred = *I->getSUnit(); in getSingleUnscheduledPred()
78 if (getSingleUnscheduledPred(I->getSUnit()) == SU) in push()
94 AdjustPriorityOfUnscheduledPreds(I->getSUnit()); in ScheduledNode()
DScheduleDAGEmit.cpp40 if (I->getSUnit()->CopyDstRC) { in EmitPhysRegCopy()
42 DenseMap<SUnit*, unsigned>::iterator VRI = VRBaseMap.find(I->getSUnit()); in EmitPhysRegCopy()
DAggressiveAntiDepBreaker.cpp301 const SUnit *PredSU = P->getSUnit(); in CriticalPathStep()
314 return (Next) ? Next->getSUnit() : 0; in CriticalPathStep()
814 SUnit *NextSU = Edge->getSUnit(); in BreakAntiDependencies()
859 if (P->getSUnit() == NextSU ? in BreakAntiDependencies()
868 if ((P->getSUnit() == NextSU) && (P->getKind() != SDep::Anti) && in BreakAntiDependencies()
873 } else if ((P->getSUnit() != NextSU) && in BreakAntiDependencies()
DCriticalAntiDepBreaker.cpp165 const SUnit *PredSU = P->getSUnit(); in CriticalPathStep()
529 const SUnit *NextSU = Edge->getSUnit(); in BreakAntiDependencies()
553 if (P->getSUnit() == NextSU ? in BreakAntiDependencies()
/external/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGRRList.cpp200 Topo.AddPred(SU, D.getSUnit()); in AddPred()
208 Topo.RemovePred(SU, D.getSUnit()); in RemovePred()
366 SUnit *PredSU = PredEdge->getSUnit(); in ReleasePred()
536 assert((!RegDef || RegDef == SU || RegDef == I->getSUnit()) && in ReleasePredecessors()
538 LiveRegDefs[I->getReg()] = I->getSUnit(); in ReleasePredecessors()
792 SUnit *PredSU = PredEdge->getSUnit(); in CapturePred()
814 assert(LiveRegDefs[I->getReg()] == I->getSUnit() && in UnscheduleNodeBottomUp()
864 LiveRegGens[Reg] = Succ.getSUnit(); in UnscheduleNodeBottomUp()
867 Succ2.getSUnit()->getHeight() < LiveRegGens[Reg]->getHeight()) in UnscheduleNodeBottomUp()
868 LiveRegGens[Reg] = Succ2.getSUnit(); in UnscheduleNodeBottomUp()
[all …]
DScheduleDAGFast.cpp141 SUnit *PredSU = PredEdge->getSUnit(); in ReleasePred()
173 LiveRegDefs[I->getReg()] = I->getSUnit(); in ReleasePredecessors()
197 if (LiveRegCycles[I->getReg()] == I->getSUnit()->getHeight()) { in ScheduleNodeBottomUp()
289 else if (I->getSUnit()->getNode() && in CopyAndMoveSuccessors()
290 I->getSUnit()->getNode()->isOperandOf(LoadNode)) in CopyAndMoveSuccessors()
303 if (ChainPred.getSUnit()) { in CopyAndMoveSuccessors()
322 SUnit *SuccDep = D.getSUnit(); in CopyAndMoveSuccessors()
330 SUnit *SuccDep = D.getSUnit(); in CopyAndMoveSuccessors()
369 SUnit *SuccSU = I->getSUnit(); in CopyAndMoveSuccessors()
406 SUnit *SuccSU = I->getSUnit(); in InsertCopiesAndMoveSuccs()
[all …]
DResourcePriorityQueue.cpp77 SUnit *PredSU = I->getSUnit(); in numberRCValPredInSU()
115 SUnit *SuccSU = I->getSUnit(); in numberRCValSuccInSU()
219 SUnit &Pred = *I->getSUnit(); in getSingleUnscheduledPred()
237 if (getSingleUnscheduledPred(I->getSUnit()) == SU) in push()
281 if (I->getSUnit() == SU) in isResourceAvailable()
511 if (I->isCtrl() || (I->getSUnit()->NumRegDefsLeft == 0)) in scheduledNode()
513 --I->getSUnit()->NumRegDefsLeft; in scheduledNode()
527 adjustPriorityOfUnscheduledPreds(I->getSUnit()); in scheduledNode()
DScheduleDAGVLIW.cpp117 SUnit *SuccSU = D.getSUnit(); in releaseSucc()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DScheduleDAGFast.cpp135 SUnit *PredSU = PredEdge->getSUnit(); in ReleasePred()
167 LiveRegDefs[I->getReg()] = I->getSUnit(); in ReleasePredecessors()
191 if (LiveRegCycles[I->getReg()] == I->getSUnit()->getHeight()) { in ScheduleNodeBottomUp()
284 else if (I->getSUnit()->getNode() && in CopyAndMoveSuccessors()
285 I->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 = I->getSUnit(); in CopyAndMoveSuccessors()
399 SUnit *SuccSU = I->getSUnit(); in InsertCopiesAndMoveSuccs()
[all …]
DScheduleDAGRRList.cpp204 Topo.AddPred(SU, D.getSUnit()); in AddPred()
212 Topo.RemovePred(SU, D.getSUnit()); in RemovePred()
367 SUnit *PredSU = PredEdge->getSUnit(); in ReleasePred()
434 assert((!RegDef || RegDef == SU || RegDef == I->getSUnit()) && in ReleasePredecessors()
436 LiveRegDefs[I->getReg()] = I->getSUnit(); in ReleasePredecessors()
659 SUnit *PredSU = PredEdge->getSUnit(); in CapturePred()
681 assert(LiveRegDefs[I->getReg()] == I->getSUnit() && in UnscheduleNodeBottomUp()
699 I->getSUnit()->getHeight() < LiveRegGens[I->getReg()]->getHeight()) in UnscheduleNodeBottomUp()
700 LiveRegGens[I->getReg()] = I->getSUnit(); in UnscheduleNodeBottomUp()
863 else if (isOperandOf(I->getSUnit(), LoadNode)) in CopyAndMoveSuccessors()
[all …]
DScheduleDAGList.cpp109 SUnit *SuccSU = D.getSUnit(); in ReleaseSucc()
/external/llvm/lib/Target/Hexagon/
DHexagonMachineScheduler.cpp75 if (I->getSUnit() == SU) in isResourceAvailable()
234 unsigned PredReadyCycle = I->getSUnit()->TopReadyCycle; in releaseTopNode()
253 unsigned SuccReadyCycle = I->getSUnit()->BotReadyCycle; in releaseBottomNode()
435 SUnit &Pred = *I->getSUnit(); in getSingleUnscheduledPred()
453 SUnit &Succ = *I->getSUnit(); in getSingleUnscheduledSucc()
514 if (getSingleUnscheduledPred(I->getSUnit()) == SU) in SchedulingCost()
520 if (getSingleUnscheduledSucc(I->getSUnit()) == SU) in SchedulingCost()
/external/llvm/lib/Target/AMDGPU/
DSIMachineScheduler.cpp424 if (BC->isSUInBlock(Succ.getSUnit(), ID)) in undoSchedule()
434 SUnit *SuccSU = SuccEdge->getSUnit(); in undoReleaseSucc()
444 SUnit *SuccSU = SuccEdge->getSUnit(); in releaseSucc()
465 SUnit *SuccSU = Succ.getSUnit(); in releaseSuccessors()
496 NodeNum2Index.find(Succ.getSUnit()->NodeNum); in nodeScheduled()
722 SUnit *Pred = PredDep.getSUnit(); in colorComputeReservedDependencies()
764 SUnit *Succ = SuccDep.getSUnit(); in colorComputeReservedDependencies()
837 SUnit *Succ = SuccDep.getSUnit(); in colorEndsAccordingToDependencies()
904 SUnit *Succ = SuccDep.getSUnit(); in colorMergeConstantLoadsNextGroup()
925 SUnit *Succ = SuccDep.getSUnit(); in colorMergeIfPossibleNextGroup()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCHazardRecognizers.cpp41 const MCInstrDesc *PredMCID = DAG->getInstrDesc(SU->Preds[i].getSUnit()); in isLoadAfterStore()
49 if (SU->Preds[i].getSUnit() == CurGroup[j]) in isLoadAfterStore()
67 const MCInstrDesc *PredMCID = DAG->getInstrDesc(SU->Preds[i].getSUnit()); in isBCTRAfterSet()
75 if (SU->Preds[i].getSUnit() == CurGroup[j]) in isBCTRAfterSet()
/external/llvm/include/llvm/CodeGen/
DScheduleDAG.h149 SUnit *getSUnit() const;
454 if (Preds[i].getSUnit() == N)
462 if (Succs[i].getSUnit() == N)
503 inline SUnit *SDep::getSUnit() const { return Dep.getPointer(); }
650 return Node->Preds[Operand].getSUnit();
DScheduleDAGInstrs.h262 SUnit *getSUnit(MachineInstr *MI) const;
353 inline SUnit *ScheduleDAGInstrs::getSUnit(MachineInstr *MI) const { in getSUnit() function
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DScheduleDAG.h154 SUnit *getSUnit() const { in getSUnit() function
399 if (Preds[i].getSUnit() == N)
407 if (Succs[i].getSUnit() == N)
605 return Node->Preds[Operand].getSUnit();

12