Lines Matching +full:exit +full:- +full:latency
1 //===- MCSchedule.cpp - Scheduling ------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
44 int Latency = 0;
47 // Lookup the definition's write latency in SubtargetInfo.
50 // Early exit if we found an invalid latency.
51 if (WLEntry->Cycles < 0)
52 return WLEntry->Cycles;
53 Latency = std::max(Latency, static_cast<int>(WLEntry->Cycles));
55 return Latency;
74 if (!SCDesc->isValid())
78 while (SCDesc->isVariant()) {
97 if (!I->ReleaseAtCycle)
99 unsigned NumUnits = SM.getProcResource(I->ProcResourceIdx)->NumUnits;
100 double Temp = NumUnits * 1.0 / I->ReleaseAtCycle;
107 // maximum issue width scaled by number of micro-ops for the schedule class.
120 if (!SCDesc->isValid())
124 while (SCDesc->isVariant()) {
142 if (!I->getCycles())
144 double Temp = llvm::popcount(I->getUnits()) * 1.0 / I->getCycles();