Home
last modified time | relevance | path

Searched refs:Cycles (Results 1 – 25 of 28) sorted by relevance

12

/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86PadShortFunction.cpp42 unsigned int Cycles; member
46 : HasReturn(HasReturn), Cycles(Cycles) {} in VisitedBBInfo()
67 unsigned int Cycles = 0);
117 unsigned int Cycles = 0; in runOnMachineFunction() local
123 Cycles = I->second; in runOnMachineFunction()
125 if (Cycles < Threshold) { in runOnMachineFunction()
151 if (Cycles >= Threshold) in findReturns()
164 findReturns(*I, Cycles); in findReturns()
179 Cycles += BBInfo.Cycles; in cyclesUntilReturn()
191 Cycles += CyclesToEnd; in cyclesUntilReturn()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/MC/
H A DMCSchedule.h66 uint16_t Cycles; member
69 return ProcResourceIdx == Other.ProcResourceIdx && Cycles == Other.Cycles;
79 int16_t Cycles; member
83 return Cycles == Other.Cycles && WriteResourceID == Other.WriteResourceID;
98 int Cycles; member
102 && Cycles == Other.Cycles;
H A DMCSubtargetInfo.h150 return I->Cycles; in getReadAdvanceCycles()
/freebsd-12.1/contrib/llvm/tools/llvm-mca/Views/
H A DTimelineView.cpp22 unsigned Cycles) in TimelineView() argument
24 MaxCycle(Cycles == 0 ? 80 : Cycles), LastCycle(0), WaitTime(S.size()), in TimelineView()
119 static void tryChangeColor(raw_ostream &OS, unsigned Cycles, in tryChangeColor() argument
124 raw_ostream::Colors Color = chooseColor(Cycles, Executions, BufferSize); in tryChangeColor()
235 static void printTimelineHeader(formatted_raw_ostream &OS, unsigned Cycles) { in printTimelineHeader() argument
237 if (Cycles >= 10) { in printTimelineHeader()
239 for (unsigned I = 0; I <= Cycles; ++I) { in printTimelineHeader()
250 for (unsigned I = 0; I <= Cycles; ++I) { in printTimelineHeader()
H A DTimelineView.h170 unsigned Cycles);
/freebsd-12.1/contrib/llvm/lib/MC/
H A DMCSchedule.cpp50 if (WLEntry->Cycles < 0) in computeInstrLatency()
51 return WLEntry->Cycles; in computeInstrLatency()
52 Latency = std::max(Latency, static_cast<int>(WLEntry->Cycles)); in computeInstrLatency()
96 if (!I->Cycles) in getReciprocalThroughput()
99 double Temp = NumUnits * 1.0 / I->Cycles; in getReciprocalThroughput()
/freebsd-12.1/contrib/llvm/lib/MCA/
H A DPipeline.cpp46 ++Cycles; in run()
49 return Cycles; in run()
86 LLVM_DEBUG(dbgs() << "\n[E] Cycle begin: " << Cycles << '\n'); in notifyCycleBegin()
92 LLVM_DEBUG(dbgs() << "[E] Cycle end: " << Cycles << "\n"); in notifyCycleEnd()
H A DInstrBuilder.cpp78 CycleSegment RCy(0, PRE->Cycles, false); in initializeUsedResources()
82 SuperResources[Super] += PRE->Cycles; in initializeUsedResources()
308 WLE.Cycles < 0 ? ID.MaxLatency : static_cast<unsigned>(WLE.Cycles); in populateWrites()
336 WLE.Cycles < 0 ? ID.MaxLatency : static_cast<unsigned>(WLE.Cycles); in populateWrites()
H A DInstruction.cpp22 void ReadState::writeStartEvent(unsigned Cycles) { in writeStartEvent() argument
32 TotalCycles = std::max(TotalCycles, Cycles); in writeStartEvent()
/freebsd-12.1/contrib/llvm/include/llvm/MCA/
H A DInstruction.h178 void writeStartEvent(unsigned Cycles) { in writeStartEvent() argument
179 DependentWriteCyclesLeft = Cycles; in writeStartEvent()
250 void writeStartEvent(unsigned Cycles);
294 void subtract(unsigned Cycles) { in subtract() argument
295 assert(End >= Cycles); in subtract()
296 End -= Cycles; in subtract()
314 ResourceUsage(CycleSegment Cycles, unsigned Units = 1)
315 : CS(Cycles), NumUnits(Units) {} in CS()
H A DPipeline.h60 unsigned Cycles; variable
68 Pipeline() : Cycles(0) {} in Pipeline()
H A DSupport.h56 ResourceCycles(unsigned Cycles, unsigned ResourceUnits = 1)
57 : Numerator(Cycles), Denominator(ResourceUnits) {} in Numerator() argument
/freebsd-12.1/contrib/llvm/lib/MCA/Stages/
H A DInstructionTables.cpp32 unsigned Cycles = Resource.second.size(); in execute() local
42 std::make_pair(ResourceUnit, ResourceCycles(Cycles, NumUnits))); in execute()
57 ResourceUnit, ResourceCycles(Cycles, NumUnits * SubUnit.NumUnits))); in execute()
/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DSubtargetEmitter.cpp285 int Cycles = Stage->getValueAsInt("Cycles"); in FormItineraryStageString() local
286 ItinString += " { " + itostr(Cycles) + ", "; in FormItineraryStageString()
935 Cycles.push_back(Cycles[i]); in ExpandProcResources()
951 Cycles.push_back(Cycles[i]); in ExpandProcResources()
1051 WLEntry.Cycles = 0; in GenSchedClassTables()
1081 std::vector<int64_t> Cycles = in GenSchedClassTables() local
1084 if (Cycles.empty()) { in GenSchedClassTables()
1087 Cycles.resize(PRVec.size(), 1); in GenSchedClassTables()
1106 WPREntry.Cycles = Cycles[PRIdx]; in GenSchedClassTables()
1115 WriteProcResources[WPRIdx].Cycles += WPREntry.Cycles; in GenSchedClassTables()
[all …]
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DTargetSchedule.cpp127 static unsigned capLatency(int Cycles) { in capLatency() argument
128 return Cycles >= 0 ? Cycles : 1000; in capLatency()
225 unsigned Latency = capLatency(WLEntry->Cycles); in computeOperandLatency()
H A DMachineTraceMetrics.cpp130 PRCycles[PI->ProcResourceIdx] += PI->Cycles; in getResources()
583 Cycles.erase(&I); in invalidate()
776 unsigned Len = LIR.Height + Cycles[DefMI].Depth; in computeCrossBlockCriticalPath()
801 unsigned DepCycle = Cycles.lookup(Dep.DefMI).Depth; in updateDepth()
809 InstrCycles &MICycles = Cycles[&UseMI]; in updateDepth()
1082 unsigned Height = TBI.Succ ? Cycles.lookup(&PHI).Height : 0; in computeInstrHeights()
1121 InstrCycles &MICycles = Cycles[&MI]; in computeInstrHeights()
1237 unsigned Cycles = 0; in getResourceLength() local
1247 Cycles += in getResourceLength()
1248 (PI->Cycles * TE.MTM.SchedModel.getResourceFactor(ResourceIdx)); in getResourceLength()
[all …]
H A DMachineScheduler.cpp1912 RemainingCounts[PIdx] += (Factor * PI->Cycles); in init()
1949 getNextResourceCycle(unsigned PIdx, unsigned Cycles) { in getNextResourceCycle() argument
1956 NextUnreserved += Cycles; in getNextResourceCycle()
2000 unsigned Cycles = PE.Cycles; in checkHazard() local
2001 unsigned NRCycle = getNextResourceCycle(ResIdx, Cycles); in checkHazard()
2004 MaxObservedStall = std::max(Cycles, MaxObservedStall); in checkHazard()
2144 unsigned Count = Factor * Cycles; in countResource()
2146 << Cycles << "x" << Factor << "u\n"); in countResource()
2163 unsigned NextAvailable = getNextResourceCycle(PIdx, Cycles); in countResource()
2431 ResDelta.CritResources += PI->Cycles; in initResourceDelta()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZHazardRecognizer.cpp191 if (PI->Cycles > 1) in dumpSU()
192 OS << "(" << PI->Cycles << "cyc)"; in dumpSU()
305 CurrCounter += PI->Cycles; in EmitInstruction()
405 Cost = PI->Cycles; in resourcesCost()
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DMachineTraceMetrics.h300 return TE.Cycles.lookup(&MI); in getInstrCycles()
326 DenseMap<const MachineInstr*, InstrCycles> Cycles; variable
H A DMachineScheduler.h759 unsigned getNextResourceCycle(unsigned PIdx, unsigned Cycles);
773 unsigned countResource(unsigned PIdx, unsigned Cycles, unsigned ReadyCycle);
/freebsd-12.1/contrib/llvm/include/llvm/Target/
H A DTargetItinerary.td44 // the execution of an instruction. Cycles represents the number of
53 // InstrStage<1, [FU_x, FU_y]> - TimeInc defaults to Cycles
60 int Cycles = cycles; // length of stage in machine cycles
/freebsd-12.1/contrib/llvm/tools/llvm-mca/
H A Dllvm-mca.cpp241 Expected<unsigned> Cycles = P.run(); in runPipeline() local
242 if (!Cycles) { in runPipeline()
243 WithColor::error() << toString(Cycles.takeError()); in runPipeline()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DR600InstrInfo.cpp407 unsigned Cycles[3] = { 2, 1, 0}; in getTransSwizzle() local
408 return Cycles[Op]; in getTransSwizzle()
411 unsigned Cycles[3] = { 1, 2, 2}; in getTransSwizzle() local
412 return Cycles[Op]; in getTransSwizzle()
415 unsigned Cycles[3] = { 2, 1, 2}; in getTransSwizzle() local
416 return Cycles[Op]; in getTransSwizzle()
419 unsigned Cycles[3] = { 2, 2, 1}; in getTransSwizzle() local
420 return Cycles[Op]; in getTransSwizzle()
/freebsd-12.1/contrib/llvm/lib/Target/Lanai/
H A DLanaiSchedule.td28 // Cycles for loads to access the cache [default = -1]
/freebsd-12.1/contrib/llvm/lib/MC/MCDisassembler/
H A DDisassembler.cpp218 Latency = std::max(Latency, WLEntry->Cycles); in getLatency()

12