Lines Matching refs:Dst

437     SUnit *Src, int SrcOpIdx, SUnit *Dst, int DstOpIdx, SDep &Dep,  in adjustSchedDependency()  argument
439 if (!Src->isInstr() || !Dst->isInstr()) in adjustSchedDependency()
443 MachineInstr *DstInst = Dst->getInstr(); in adjustSchedDependency()
450 isBestZeroLatency(Src, Dst, QII, ExclSrc, ExclDst)) { in adjustSchedDependency()
468 for (const auto &DDep : Dst->Succs) { in adjustSchedDependency()
503 isBestZeroLatency(Src, Dst, QII, ExclSrc, ExclDst)) { in adjustSchedDependency()
554 void HexagonSubtarget::restoreLatency(SUnit *Src, SUnit *Dst) const { in restoreLatency()
557 if (!I.isAssignedRegDep() || I.getSUnit() != Dst) in restoreLatency()
576 MachineInstr *DstI = Dst->getInstr(); in restoreLatency()
596 auto F = find(Dst->Preds, T); in restoreLatency()
597 assert(F != Dst->Preds.end()); in restoreLatency()
603 void HexagonSubtarget::changeLatency(SUnit *Src, SUnit *Dst, unsigned Lat) in changeLatency() argument
606 if (!I.isAssignedRegDep() || I.getSUnit() != Dst) in changeLatency()
613 auto F = find(Dst->Preds, T); in changeLatency()
614 assert(F != Dst->Preds.end()); in changeLatency()
632 bool HexagonSubtarget::isBestZeroLatency(SUnit *Src, SUnit *Dst, in isBestZeroLatency() argument
636 MachineInstr &DstInst = *Dst->getInstr(); in isBestZeroLatency()
639 if (Dst->isBoundaryNode()) in isBestZeroLatency()
652 if (getZeroLatency(Dst, Dst->Succs) != nullptr) in isBestZeroLatency()
658 SUnit *SrcBest = getZeroLatency(Dst, Dst->Preds); in isBestZeroLatency()
662 if (DstBest == nullptr || Dst->NodeNum <= DstBest->NodeNum) in isBestZeroLatency()
663 Best = Dst; in isBestZeroLatency()
665 if (Best != Dst) in isBestZeroLatency()
670 if ((Src == SrcBest && Dst == DstBest ) || in isBestZeroLatency()
671 (SrcBest == nullptr && Dst == DstBest) || in isBestZeroLatency()
672 (Src == SrcBest && Dst == nullptr)) in isBestZeroLatency()
679 changeLatency(SrcBest, Dst, 1); in isBestZeroLatency()
681 restoreLatency(SrcBest, Dst); in isBestZeroLatency()
707 ExclDst.insert(Dst); in isBestZeroLatency()