| /freebsd/contrib/llvm-project/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 …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86PadShortFunction.cpp | 42 unsigned int Cycles = 0; member 45 VisitedBBInfo(bool HasReturn, unsigned int Cycles) in VisitedBBInfo() 46 : HasReturn(HasReturn), Cycles(Cycles) {} in VisitedBBInfo() 72 unsigned int Cycles = 0); 75 unsigned int &Cycles); 131 unsigned Cycles = ReturnBB.second; in runOnMachineFunction() local 136 if (Cycles < Threshold) { in runOnMachineFunction() 148 addPadding(MBB, ReturnLoc, Threshold - Cycles); in runOnMachineFunction() 159 void PadShortFunc::findReturns(MachineBasicBlock *MBB, unsigned int Cycles) { in findReturns() argument 161 bool hasReturn = cyclesUntilReturn(MBB, Cycles); in findReturns() [all …]
|
| /freebsd/contrib/llvm-project/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()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVSchedSiFive7.td | 75 // Cycles for nf=2 segmented loads and stores are calculated using the 89 // Cycles for segmented loads and stores are calculated using the 136 /// Cycles for reductions take approximately VL*SEW/DLEN + 5(4 + log(DLEN/SEW)) 157 /// Cycles for ordered reductions take approximately 6*VL cycles 490 defvar Cycles = SiFive7GetCyclesDefault<mx>.c; 492 let Latency = 4, AcquireAtCycles = [0, 1], ReleaseAtCycles = [1, !add(1, Cycles)] in { 496 let Latency = 1, AcquireAtCycles = [0, 1], ReleaseAtCycles = [1, !add(1, Cycles)] in 501 defvar Cycles = SiFive7GetMaskLoadStoreCycles<mx>.c; 503 let Latency = 4, AcquireAtCycles = [0, 1], ReleaseAtCycles = [1, !add(1, Cycles)] in 505 let Latency = 1, AcquireAtCycles = [0, 1], ReleaseAtCycles = [1, !add(1, Cycles)] in [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCSchedule.cpp | 52 if (WLEntry->Cycles < 0) in computeInstrLatency() 53 return WLEntry->Cycles; in computeInstrLatency() 54 Latency = std::max(Latency, static_cast<int>(WLEntry->Cycles)); in computeInstrLatency() 176 DelayCycles = std::min(DelayCycles, E.Cycles); in getForwardingDelayCycles() 197 unsigned Cycles = 0; in getBypassDelayCycles() local 199 if (WLEntry->Cycles > 0) in getBypassDelayCycles() 200 Cycles = (unsigned)WLEntry->Cycles; in getBypassDelayCycles() 201 if (Cycles > MaxLatency) { in getBypassDelayCycles() 202 MaxLatency = Cycles; in getBypassDelayCycles() 209 return E.Cycles; in getBypassDelayCycles()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInsertDelayAlu.cpp | 119 DelayInfo(DelayType Type, unsigned Cycles) { in DelayInfo() 124 VALUCycles = Cycles; in DelayInfo() 128 TRANSCycles = Cycles; in DelayInfo() 135 SALUCycles = std::min(Cycles, SALU_CYCLES_MAX); in DelayInfo() 162 bool advance(DelayType Type, unsigned Cycles) { in advance() 166 if (VALUNum >= VALU_MAX || VALUCycles <= Cycles) { in advance() 172 VALUCycles -= Cycles; in advance() 178 if (TRANSNum >= TRANS_MAX || TRANSCycles <= Cycles) { in advance() 185 TRANSCycles -= Cycles; in advance() 189 if (SALUCycles <= Cycles) { in advance() [all …]
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-mca/Views/ |
| H A D | ResourcePressureView.cpp | 79 ResCyclesIt->Cycles += NewUsage.Cycles; in onEvent() 83 CommonResourceUsage[R2VIndex].Cycles += NewUsage.Cycles; in onEvent() 162 Pressure = UsageEntryIt->Cycles / Executions; in printResourcePressurePerIter() 191 Pressure = UsageEntryIt->Cycles / Executions; in printResourcePressurePerInst() 218 assert(RU.Cycles.getNumerator() != 0); in toJSON() 219 double Usage = RU.Cycles / Executions; in toJSON() 229 if (RU.Cycles.getNumerator() != 0) in toJSON()
|
| 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 | ResourcePressureView.h | 82 ReleaseAtCycles Cycles; member
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/MCA/HardwareUnits/ |
| H A D | LSUnit.h | 330 unsigned Cycles = IR.getInstruction()->getCyclesLeft(); in onGroupIssued() local 331 if (CriticalPredecessor.Cycles < Cycles) { in onGroupIssued() 333 CriticalPredecessor.Cycles = Cycles; in onGroupIssued() 397 if (isWaiting() && CriticalPredecessor.Cycles) in cycleEvent() 398 CriticalPredecessor.Cycles--; in cycleEvent()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCSchedule.h | 92 int16_t Cycles; member 96 return Cycles == Other.Cycles && WriteResourceID == Other.WriteResourceID; 111 int Cycles; member 115 && Cycles == Other.Cycles;
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/xray/ |
| H A D | xray_tsc.h | 103 uint64_t Cycles; in readTSC() local 104 asm volatile("stckf %0" : : "Q"(Cycles) : "cc"); in readTSC() 105 return Cycles; in readTSC()
|
| /freebsd/contrib/llvm-project/llvm/lib/MCA/Stages/ |
| H A D | InstructionTables.cpp | 32 unsigned Cycles = Resource.second.size(); in execute() local 41 std::make_pair(ResourceUnit, ReleaseAtCycles(Cycles, NumUnits))); in execute() 48 // Uniformly distribute Cycles across all of the units. in execute() 57 ReleaseAtCycles(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()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | EarlyIfConversion.cpp | 908 struct Cycles { struct 912 template <typename Remark> Remark &operator<<(Remark &R, Cycles C) { in operator <<() 987 << Cycles{"ResLength", ResLength} in shouldConvertIf() 989 << Cycles{"MinCrit", MinCrit} << ") by more than the threshold of " in shouldConvertIf() 990 << Cycles{"CritLimit", CritLimit} in shouldConvertIf() 1072 << Cycles{"CondCycles", Cond.Extra} << " to the critical path"; in shouldConvertIf() 1075 << Cycles{"ShortCycles", Short.Extra}; in shouldConvertIf() 1078 << Cycles{"LongCycles", Long.Extra}; in shouldConvertIf() 1080 << Cycles{"CritLimit", CritLimit} << "."; in shouldConvertIf() 1088 << Cycles{"CondCycles", Cond.Extra} << " to the critical path"; in shouldConvertIf() [all …]
|
| H A D | TargetSchedule.cpp | 111 static unsigned capLatency(int Cycles) { in capLatency() argument 112 return Cycles >= 0 ? Cycles : 1000; in capLatency() 205 unsigned Latency = capLatency(WLEntry->Cycles); in computeOperandLatency()
|
| H A D | MachineTraceMetrics.cpp | 630 Cycles.erase(&I); in invalidate() 816 unsigned Len = LIR.Height + Cycles[DefMI].Depth; in computeCrossBlockCriticalPath() 841 unsigned DepCycle = Cycles.lookup(Dep.DefMI).Depth; in updateDepth() 849 InstrCycles &MICycles = Cycles[&UseMI]; in updateDepth() 1118 unsigned Height = TBI.Succ ? Cycles.lookup(&PHI).Height : 0; in computeInstrHeights() 1154 InstrCycles &MICycles = Cycles[&MI]; in computeInstrHeights() 1269 unsigned Cycles = 0; in getResourceLength() local 1279 Cycles += (PI->ReleaseAtCycle * in getResourceLength() 1283 return Cycles; in getResourceLength()
|
| H A D | WindowScheduler.cpp | 629 DenseMap<MachineInstr *, int> Cycles, Stages; in expand() local 634 Cycles[MI] = std::get<1>(Info); in expand() 636 LLVM_DEBUG(dbgs() << "\tCycle " << Cycles[MI] << " [S." << Stages[MI] in expand() 639 ModuloSchedule MS(*MF, &Loop, std::move(OrderedInsts), std::move(Cycles), in expand()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/MCA/ |
| H A D | Instruction.h | 189 unsigned Cycles; member 304 LLVM_ABI void writeStartEvent(unsigned IID, MCPhysReg RegID, unsigned Cycles); 376 LLVM_ABI void writeStartEvent(unsigned IID, MCPhysReg RegID, unsigned Cycles); 420 void subtract(unsigned Cycles) { in subtract() argument 421 assert(End >= Cycles); in subtract() 422 End -= Cycles; in subtract() 440 ResourceUsage(CycleSegment Cycles, unsigned Units = 1) 441 : CS(Cycles), NumUnits(Units) {} in CS()
|
| H A D | Support.h | 57 ReleaseAtCycles(unsigned Cycles, unsigned ResourceUnits = 1) 58 : Numerator(Cycles), Denominator(ResourceUnits) {} in Numerator() argument
|
| H A D | Pipeline.h | 65 unsigned Cycles = 0; variable
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZHazardRecognizer.cpp | |
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | MachineTraceMetrics.h | 317 return TE.Cycles.lookup(&MI); in getInstrCycles() 343 DenseMap<const MachineInstr*, InstrCycles> Cycles; variable
|