Searched refs:CurrCycle (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | VLIWMachineScheduler.cpp | 379 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 D | MachineScheduler.cpp | 2257 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 D | VLIWMachineScheduler.h | 138 unsigned CurrCycle = 0; member 161 CurrCycle = 0; in init() 204 if (CurrCycle >= CriticalPathLength) in isLatencyBound() 207 return CriticalPathLength - CurrCycle <= PathLength; in isLatencyBound()
|
H A D | MachineScheduler.h | 776 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 D | GCNSchedStrategy.cpp | 1092 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 D | GCNSchedStrategy.h | 302 unsigned computeSUnitReadyCycle(const SUnit &SU, unsigned CurrCycle,
|