Home
last modified time | relevance | path

Searched refs:CurrCycle (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DVLIWMachineScheduler.cpp379 if (ReadyCycle > CurrCycle || checkHazard(SU)) in releaseNode()
393 unsigned NextCycle = std::max(CurrCycle + 1, MinReadyCycle); in bumpCycle()
397 CurrCycle = NextCycle; in bumpCycle()
400 for (; CurrCycle != NextCycle; ++CurrCycle) { in bumpCycle()
410 << CurrCycle << '\n'); in bumpCycle()
434 LLVM_DEBUG(dbgs() << "*** Max instrs at cycle " << CurrCycle << '\n'); in bumpNode()
438 << CurrCycle << '\n'); in bumpNode()
457 if (ReadyCycle > CurrCycle) in releasePending()
989 << (IsTopNode ? Top.CurrCycle : Bot.CurrCycle) << " (" in pickNode()
1002 SU->TopReadyCycle = Top.CurrCycle; in schedNode()
[all …]
H A DMachineScheduler.cpp2257 CurrCycle = 0; in reset()
2343 if (ReadyCycle > CurrCycle) in getLatencyStallCycles()
2344 return ReadyCycle - CurrCycle; in getLatencyStallCycles()
2356 CurrCycle, AcquireAtCycle, ReleaseAtCycle); in getNextResourceCycleByInstance()
2359 CurrCycle, AcquireAtCycle, ReleaseAtCycle); in getNextResourceCycleByInstance()
2365 return CurrCycle; in getNextResourceCycleByInstance()
2368 NextUnreserved = std::max(CurrCycle, NextUnreserved + ReleaseAtCycle); in getNextResourceCycleByInstance()
2380 LLVM_DEBUG(dbgs() << " Resource booking (@" << CurrCycle << "c): \n"); in getNextResourceCycle()
2382 LLVM_DEBUG(dbgs() << " getNextResourceCycle (@" << CurrCycle << "c): \n"); in getNextResourceCycle()
2489 if (NRCycle > CurrCycle) { in checkHazard()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DVLIWMachineScheduler.h138 unsigned CurrCycle = 0; member
161 CurrCycle = 0; in init()
204 if (CurrCycle >= CriticalPathLength) in isLatencyBound()
207 return CriticalPathLength - CurrCycle <= PathLength; in isLatencyBound()
H A DMachineScheduler.h776 unsigned CurrCycle, unsigned AcquireAtCycle, unsigned ReleaseAtCycle,
784 unsigned getFirstAvailableAtFromBottom(unsigned CurrCycle, in getFirstAvailableAtFromBottom() argument
787 return getFirstAvailableAt(CurrCycle, AcquireAtCycle, ReleaseAtCycle, in getFirstAvailableAtFromBottom()
790 unsigned getFirstAvailableAtFromTop(unsigned CurrCycle, in getFirstAvailableAtFromTop() argument
793 return getFirstAvailableAt(CurrCycle, AcquireAtCycle, ReleaseAtCycle, in getFirstAvailableAtFromTop()
858 unsigned CurrCycle; variable
961 unsigned getCurrCycle() const { return CurrCycle; } in getCurrCycle()
973 return std::max(ExpectedLatency, CurrCycle); in getScheduledLatency()
996 return std::max(CurrCycle * SchedModel->getLatencyFactor(), in getExecutedCount()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNSchedStrategy.cpp1092 GCNSchedStage::computeSUnitReadyCycle(const SUnit &SU, unsigned CurrCycle, in computeSUnitReadyCycle() argument
1095 unsigned ReadyCycle = CurrCycle; in computeSUnitReadyCycle()
1145 unsigned CurrCycle = 0; in getScheduleMetrics() local
1148 computeSUnitReadyCycle(SU, CurrCycle, ReadyCycles, SM); in getScheduleMetrics()
1149 SumBubbles += ReadyCycle - CurrCycle; in getScheduleMetrics()
1153 CurrCycle = ++ReadyCycle; in getScheduleMetrics()
1161 ? (SumBubbles * ScheduleMetrics::ScaleFactor) / CurrCycle in getScheduleMetrics()
1166 return ScheduleMetrics(CurrCycle, SumBubbles); in getScheduleMetrics()
1178 unsigned CurrCycle = 0; in getScheduleMetrics() local
1184 computeSUnitReadyCycle(*SU, CurrCycle, ReadyCycles, SM); in getScheduleMetrics()
[all …]
H A DGCNSchedStrategy.h302 unsigned computeSUnitReadyCycle(const SUnit &SU, unsigned CurrCycle,