| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86PadShortFunction.cpp | 42 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 D | MCSchedule.h | 66 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 D | MCSubtargetInfo.h | 150 return I->Cycles; in getReadAdvanceCycles()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-mca/Views/ |
| H A D | TimelineView.cpp | 22 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 D | TimelineView.h | 170 unsigned Cycles);
|
| /freebsd-12.1/contrib/llvm/lib/MC/ |
| H A D | MCSchedule.cpp | 50 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 D | Pipeline.cpp | 46 ++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 D | InstrBuilder.cpp | 78 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 D | Instruction.cpp | 22 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 D | Instruction.h | 178 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 D | Pipeline.h | 60 unsigned Cycles; variable 68 Pipeline() : Cycles(0) {} in Pipeline()
|
| H A D | Support.h | 56 ResourceCycles(unsigned Cycles, unsigned ResourceUnits = 1) 57 : Numerator(Cycles), Denominator(ResourceUnits) {} in Numerator() argument
|
| /freebsd-12.1/contrib/llvm/lib/MCA/Stages/ |
| H A D | InstructionTables.cpp | 32 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 D | SubtargetEmitter.cpp | 285 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 D | TargetSchedule.cpp | 127 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 D | MachineTraceMetrics.cpp | 130 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 D | MachineScheduler.cpp | 1912 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 D | SystemZHazardRecognizer.cpp | 191 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 D | MachineTraceMetrics.h | 300 return TE.Cycles.lookup(&MI); in getInstrCycles() 326 DenseMap<const MachineInstr*, InstrCycles> Cycles; variable
|
| H A D | MachineScheduler.h | 759 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 D | TargetItinerary.td | 44 // 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 D | llvm-mca.cpp | 241 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 D | R600InstrInfo.cpp | 407 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 D | LanaiSchedule.td | 28 // Cycles for loads to access the cache [default = -1]
|
| /freebsd-12.1/contrib/llvm/lib/MC/MCDisassembler/ |
| H A D | Disassembler.cpp | 218 Latency = std::max(Latency, WLEntry->Cycles); in getLatency()
|