| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/ |
| H A D | P10InstrResources.td | 13 // 22 Cycles Binary Floating Point operations, 2 input operands 21 // 22 Cycles Binary Floating Point operations, and 3 Cycles ALU operations, 2 input operands 27 // 24 Cycles Binary Floating Point operations, 2 input operands 33 // 26 Cycles Binary Floating Point operations, 1 input operands 41 // 26 Cycles Binary Floating Point operations, and 3 Cycles ALU operations, 1 input operands 47 // 27 Cycles Binary Floating Point operations, 1 input operands 53 // 27 Cycles Binary Floating Point operations, 2 input operands 62 // 27 Cycles Binary Floating Point operations, and 3 Cycles ALU operations, 2 input operands 68 // 36 Cycles Binary Floating Point operations, 1 input operands 77 // 36 Cycles Binary Floating Point operations, and 3 Cycles ALU operations, 1 input operands [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86PadShortFunction.cpp | 44 unsigned int Cycles = 0; member 47 VisitedBBInfo(bool HasReturn, unsigned int Cycles) in VisitedBBInfo() 48 : HasReturn(HasReturn), Cycles(Cycles) {} in VisitedBBInfo() 75 unsigned int Cycles = 0); 78 unsigned int &Cycles); 133 unsigned Cycles = ReturnBB.second; in runOnMachineFunction() local 140 if (Cycles < Threshold) { in runOnMachineFunction() 152 addPadding(MBB, ReturnLoc, Threshold - Cycles); in runOnMachineFunction() 163 void PadShortFunc::findReturns(MachineBasicBlock *MBB, unsigned int Cycles) { in findReturns() argument 165 bool hasReturn = cyclesUntilReturn(MBB, Cycles); in findReturns() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/MCA/ |
| H A D | Instruction.cpp | 22 unsigned Cycles) { in writeStartEvent() argument 25 CRD.Cycles = Cycles; in writeStartEvent() 26 DependentWriteCyclesLeft = Cycles; in writeStartEvent() 31 unsigned Cycles) { in writeStartEvent() argument 41 if (TotalCycles < Cycles) { in writeStartEvent() 44 CRD.Cycles = Cycles; in writeStartEvent() 45 TotalCycles = Cycles; in writeStartEvent() 132 if (CriticalRegDep.Cycles) in computeCriticalRegDep() 138 if (WriteCRD.Cycles > MaxLatency) in computeCriticalRegDep() 144 if (ReadCRD.Cycles > MaxLatency) in computeCriticalRegDep()
|
| H A D | Pipeline.cpp | 46 ++Cycles; in run() 49 return Cycles; in run() 97 LLVM_DEBUG(dbgs() << "\n[E] Cycle begin: " << Cycles << '\n'); in notifyCycleBegin() 103 LLVM_DEBUG(dbgs() << "[E] Cycle end: " << Cycles << "\n"); in notifyCycleEnd()
|
| H A D | InstrBuilder.cpp | 72 if (!PRE->Cycles) { in initializeUsedResources() 92 CycleSegment RCy(0, PRE->Cycles, false); in initializeUsedResources() 96 SuperResources[Super] += PRE->Cycles; in initializeUsedResources() 346 WLE.Cycles < 0 ? ID.MaxLatency : static_cast<unsigned>(WLE.Cycles); in populateWrites() 374 WLE.Cycles < 0 ? ID.MaxLatency : static_cast<unsigned>(WLE.Cycles); in populateWrites()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/MC/ |
| H A D | MCSchedule.h | 65 uint16_t Cycles; member 68 return ProcResourceIdx == Other.ProcResourceIdx && Cycles == Other.Cycles; 78 int16_t Cycles; member 82 return Cycles == Other.Cycles && WriteResourceID == Other.WriteResourceID; 97 int Cycles; member 101 && Cycles == Other.Cycles;
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInsertDelayAlu.cpp | 109 DelayInfo(DelayType Type, unsigned Cycles) { in DelayInfo() 114 VALUCycles = Cycles; in DelayInfo() 118 TRANSCycles = Cycles; in DelayInfo() 123 SALUCycles = Cycles; in DelayInfo() 151 bool advance(DelayType Type, unsigned Cycles) { in advance() 155 if (VALUNum >= VALU_MAX || VALUCycles <= Cycles) { in advance() 161 VALUCycles -= Cycles; in advance() 167 if (TRANSNum >= TRANS_MAX || TRANSCycles <= Cycles) { in advance() 174 TRANSCycles -= Cycles; in advance() 178 if (SALUCycles <= Cycles) { in advance() [all …]
|
| /openbsd-src/gnu/llvm/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() 164 DelayCycles = std::min(DelayCycles, E.Cycles); in getForwardingDelayCycles()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/MCA/HardwareUnits/ |
| H A D | LSUnit.h | 122 unsigned Cycles = IR.getInstruction()->getCyclesLeft(); in onGroupIssued() local 123 if (CriticalPredecessor.Cycles < Cycles) { in onGroupIssued() 125 CriticalPredecessor.Cycles = Cycles; in onGroupIssued() 187 if (isWaiting() && CriticalPredecessor.Cycles) in cycleEvent() 188 CriticalPredecessor.Cycles--; in cycleEvent()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-mca/Views/ |
| H A D | TimelineView.cpp | 22 unsigned Cycles) in TimelineView() argument 24 MaxCycle(Cycles == 0 ? std::numeric_limits<unsigned>::max() : Cycles), in TimelineView() 121 static void tryChangeColor(raw_ostream &OS, unsigned Cycles, in tryChangeColor() argument 126 raw_ostream::Colors Color = chooseColor(Cycles, Executions, BufferSize); in tryChangeColor() 257 static void printTimelineHeader(formatted_raw_ostream &OS, unsigned Cycles) { in printTimelineHeader() argument 259 if (Cycles >= 10) { in printTimelineHeader() 261 for (unsigned I = 0; I <= Cycles; ++I) { in printTimelineHeader() 272 for (unsigned I = 0; I <= Cycles; ++I) { in printTimelineHeader()
|
| H A D | BottleneckAnalysis.cpp | 506 unsigned Cycles = 2 * Tracker.getResourcePressureCycles(IID); in onEvent() local 513 addResourceDep(U.first % Source.size(), To, Current, U.second + Cycles); in onEvent() 519 if (RegDep.Cycles) { in onEvent() 520 Cycles = RegDep.Cycles + 2 * Tracker.getRegisterPressureCycles(IID); in onEvent() 522 addRegisterDep(From, To, RegDep.RegID, Cycles); in onEvent() 526 if (MemDep.Cycles) { in onEvent() 527 Cycles = MemDep.Cycles + 2 * Tracker.getMemoryPressureCycles(IID); in onEvent() 529 addMemoryDep(From, To, Cycles); in onEvent()
|
| H A D | TimelineView.h | 167 unsigned Cycles);
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | EarlyIfConversion.cpp | 859 struct Cycles { struct 863 template <typename Remark> Remark &operator<<(Remark &R, Cycles C) { in operator <<() 906 << Cycles{"ResLength", ResLength} in shouldConvertIf() 908 << Cycles{"MinCrit", MinCrit} << ") by more than the threshold of " in shouldConvertIf() 909 << Cycles{"CritLimit", CritLimit} in shouldConvertIf() 992 << Cycles{"CondCycles", Cond.Extra} << " to the critical path"; in shouldConvertIf() 995 << Cycles{"ShortCycles", Short.Extra}; in shouldConvertIf() 998 << Cycles{"LongCycles", Long.Extra}; in shouldConvertIf() 1000 << Cycles{"CritLimit", CritLimit} << "."; in shouldConvertIf() 1008 << Cycles{"CondCycles", Cond.Extra} << " to the critical path"; in shouldConvertIf() [all …]
|
| H A D | TargetSchedule.cpp | 110 static unsigned capLatency(int Cycles) { in capLatency() argument 111 return Cycles >= 0 ? Cycles : 1000; in capLatency() 208 unsigned Latency = capLatency(WLEntry->Cycles); in computeOperandLatency()
|
| H A D | MachineTraceMetrics.cpp | 129 PRCycles[PI->ProcResourceIdx] += PI->Cycles; in getResources() 582 Cycles.erase(&I); in invalidate() 774 unsigned Len = LIR.Height + Cycles[DefMI].Depth; in computeCrossBlockCriticalPath() 799 unsigned DepCycle = Cycles.lookup(Dep.DefMI).Depth; in updateDepth() 807 InstrCycles &MICycles = Cycles[&UseMI]; in updateDepth() 1080 unsigned Height = TBI.Succ ? Cycles.lookup(&PHI).Height : 0; in computeInstrHeights() 1119 InstrCycles &MICycles = Cycles[&MI]; in computeInstrHeights() 1235 unsigned Cycles = 0; in getResourceLength() local 1245 Cycles += in getResourceLength() 1246 (PI->Cycles * TE.MTM.SchedModel.getResourceFactor(ResourceIdx)); in getResourceLength() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/MCA/Stages/ |
| H A D | InstructionTables.cpp | 32 unsigned Cycles = Resource.second.size(); in execute() local 41 std::make_pair(ResourceUnit, ResourceCycles(Cycles, NumUnits))); in execute() 56 ResourceUnit, ResourceCycles(Cycles, NumUnits * SubUnit.NumUnits))); in execute()
|
| H A D | InOrderIssueStage.cpp | 30 void StallInfo::update(const InstRef &Inst, unsigned Cycles, StallKind SK) { in update() argument 32 CyclesLeft = Cycles; in update() 119 if (unsigned Cycles = checkRegisterHazard(PRF, STI, IR)) { in canExecute() local 120 SI.update(IR, Cycles, StallInfo::StallKind::REGISTER_DEPS); in canExecute()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-exegesis/lib/ |
| H A D | SchedClassResolution.cpp | 88 Result.push_back({WPR->ProcResourceIdx, WPR->Cycles}); in getNonRedundantWriteProcRes() 89 ProcResUnitUsage[WPR->ProcResourceIdx] += WPR->Cycles; in getNonRedundantWriteProcRes() 93 float RemainingCycles = WPR->Cycles; in getNonRedundantWriteProcRes() 210 DensePressure[WPR.ProcResourceIdx] += WPR.Cycles; in computeIdealizedProcResPressure() 216 distributePressure(WPR.Cycles, Subunits, DensePressure); in computeIdealizedProcResPressure() 300 std::max<double>(LatencyMeasure.PerInstructionValue, WLE->Cycles); in getAsPoint()
|
| /openbsd-src/gnu/llvm/llvm/utils/TableGen/ |
| H A D | SubtargetEmitter.cpp | 112 void ExpandProcResources(RecVec &PRVec, std::vector<int64_t> &Cycles, 344 int Cycles = Stage->getValueAsInt("Cycles"); in FormItineraryStageString() local 345 ItinString += " { " + itostr(Cycles) + ", "; in FormItineraryStageString() 969 std::vector<int64_t> &Cycles, in ExpandProcResources() argument 971 assert(PRVec.size() == Cycles.size() && "failed precondition"); in ExpandProcResources() 991 Cycles.push_back(Cycles[i]); in ExpandProcResources() 1007 Cycles.push_back(Cycles[i]); in ExpandProcResources() 1108 WLEntry.Cycles = 0; in GenSchedClassTables() 1129 WLEntry.Cycles += WriteRes->getValueAsInt("Latency"); in GenSchedClassTables() 1139 std::vector<int64_t> Cycles = in GenSchedClassTables() local [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/MCA/ |
| H A D | Instruction.h | 188 unsigned Cycles; member 303 void writeStartEvent(unsigned IID, MCPhysReg RegID, unsigned Cycles); 375 void writeStartEvent(unsigned IID, MCPhysReg RegID, unsigned Cycles); 419 void subtract(unsigned Cycles) { in subtract() argument 420 assert(End >= Cycles); in subtract() 421 End -= Cycles; in subtract() 439 ResourceUsage(CycleSegment Cycles, unsigned Units = 1) 440 : CS(Cycles), NumUnits(Units) {} in CS()
|
| H A D | Pipeline.h | 64 unsigned Cycles; variable 72 Pipeline() : CurrentState(State::Created), Cycles(0) {} in Pipeline()
|
| H A D | Support.h | 56 ResourceCycles(unsigned Cycles, unsigned ResourceUnits = 1) 57 : Numerator(Cycles), Denominator(ResourceUnits) {} in Numerator() argument
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/ |
| H A D | SystemZHazardRecognizer.cpp | 190 if (PI->Cycles > 1) in dumpSU() 191 OS << "(" << PI->Cycles << "cyc)"; in dumpSU() 304 CurrCounter += PI->Cycles; in EmitInstruction() 404 Cost = PI->Cycles; in resourcesCost()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | MachineTraceMetrics.h | 298 return TE.Cycles.lookup(&MI); in getInstrCycles() 324 DenseMap<const MachineInstr*, InstrCycles> Cycles; variable
|
| /openbsd-src/gnu/llvm/llvm/docs/ |
| H A D | CycleTerminology.rst | 12 Cycles chapter 15 Cycles are a generalization of LLVM :ref:`loops <loop-terminology>`, 73 - Cycles are well-nested (by definition). 82 Examples of Cycles 197 Closed Paths and Cycles
|