/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 | 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 …]
|
/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 140 /// Cycles for reductions take approximately VL*SEW/DLEN + 5(4 + log(DLEN/SEW)) 162 /// Cycles for ordered reductions take approximatley 6*VL cycles 455 defvar Cycles = SiFive7GetCyclesDefault<mx>.c; 457 let Latency = 4, AcquireAtCycles = [0, 1], ReleaseAtCycles = [1, !add(1, Cycles)] in { 461 let Latency = 1, AcquireAtCycles = [0, 1], ReleaseAtCycles = [1, !add(1, Cycles)] in 466 defvar Cycles = SiFive7GetMaskLoadStoreCycles<mx>.c; 468 let Latency = 4, AcquireAtCycles = [0, 1], ReleaseAtCycles = [1, !add(1, Cycles)] in 470 let Latency = 1, AcquireAtCycles = [0, 1], ReleaseAtCycles = [1, !add(1, Cycles)] in [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCSchedule.h | 87 int16_t Cycles; 91 return Cycles == Other.Cycles && WriteResourceID == Other.WriteResourceID; 106 int Cycles; 110 && Cycles == Other.Cycles; 72 uint16_t Cycles; global() member 90 int16_t Cycles; global() member 109 int Cycles; global() member
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUInsertDelayAlu.cpp | 113 DelayInfo(DelayType Type, unsigned Cycles) { in DelayInfo() 118 VALUCycles = Cycles; in DelayInfo() 122 TRANSCycles = Cycles; in DelayInfo() 129 SALUCycles = std::min(Cycles, SALU_CYCLES_MAX); in DelayInfo() 157 bool advance(DelayType Type, unsigned Cycles) { in advance() 161 if (VALUNum >= VALU_MAX || VALUCycles <= Cycles) { in advance() 167 VALUCycles -= Cycles; in advance() 173 if (TRANSNum >= TRANS_MAX || TRANSCycles <= Cycles) { in advance() 180 TRANSCycles -= Cycles; in advance() 184 if (SALUCycles <= Cycles) { in advance() [all …]
|
H A D | R600InstrInfo.cpp | 382 unsigned Cycles[3] = { 2, 1, 0}; in getTransSwizzle() local 383 return Cycles[Op]; in getTransSwizzle() 386 unsigned Cycles[3] = { 1, 2, 2}; in getTransSwizzle() local 387 return Cycles[Op]; in getTransSwizzle() 390 unsigned Cycles[3] = { 2, 1, 2}; in getTransSwizzle() local 391 return Cycles[Op]; in getTransSwizzle() 394 unsigned Cycles[3] = { 2, 2, 1}; in getTransSwizzle() local 395 return Cycles[Op]; in getTransSwizzle()
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCSchedule.cpp | 51 if (WLEntry->Cycles < 0) in computeInstrLatency() 52 return WLEntry->Cycles; in computeInstrLatency() 53 Latency = std::max(Latency, static_cast<int>(WLEntry->Cycles)); in computeInstrLatency() 165 DelayCycles = std::min(DelayCycles, E.Cycles); in getForwardingDelayCycles()
|
/freebsd/contrib/llvm-project/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 | 507 unsigned Cycles = 2 * Tracker.getResourcePressureCycles(IID); in onEvent() local 514 addResourceDep(U.first % Source.size(), To, Current, U.second + Cycles); in onEvent() 520 if (RegDep.Cycles) { in onEvent() 521 Cycles = RegDep.Cycles + 2 * Tracker.getRegisterPressureCycles(IID); in onEvent() 523 addRegisterDep(From, To, RegDep.RegID, Cycles); in onEvent() 527 if (MemDep.Cycles) { in onEvent() 528 Cycles = MemDep.Cycles + 2 * Tracker.getMemoryPressureCycles(IID); in onEvent() 530 addMemoryDep(From, To, Cycles); in onEvent()
|
H A D | TimelineView.h | 167 unsigned Cycles);
|
/freebsd/contrib/llvm-project/llvm/include/llvm/MCA/HardwareUnits/ |
H A D | LSUnit.h | 119 unsigned Cycles = IR.getInstruction()->getCyclesLeft(); in onGroupIssued() local 120 if (CriticalPredecessor.Cycles < Cycles) { in onGroupIssued() 122 CriticalPredecessor.Cycles = Cycles; in onGroupIssued() 184 if (isWaiting() && CriticalPredecessor.Cycles) in cycleEvent() 185 CriticalPredecessor.Cycles--; in cycleEvent()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | EarlyIfConversion.cpp | 855 struct Cycles { struct 859 template <typename Remark> Remark &operator<<(Remark &R, Cycles C) { in operator <<() 934 << Cycles{"ResLength", ResLength} in shouldConvertIf() 936 << Cycles{"MinCrit", MinCrit} << ") by more than the threshold of " in shouldConvertIf() 937 << Cycles{"CritLimit", CritLimit} in shouldConvertIf() 1019 << Cycles{"CondCycles", Cond.Extra} << " to the critical path"; in shouldConvertIf() 1022 << Cycles{"ShortCycles", Short.Extra}; in shouldConvertIf() 1025 << Cycles{"LongCycles", Long.Extra}; in shouldConvertIf() 1027 << Cycles{"CritLimit", CritLimit} << "."; in shouldConvertIf() 1035 << Cycles{"CondCycles", Cond.Extra} << " to the critical path"; in shouldConvertIf() [all …]
|
H A D | TargetSchedule.cpp | 114 static unsigned capLatency(int Cycles) { 115 return Cycles >= 0 ? Cycles : 1000; 208 unsigned Latency = capLatency(WLEntry->Cycles); in computeOperandLatency() 110 capLatency(int Cycles) capLatency() argument
|
H A D | MachineTraceMetrics.cpp | 601 Cycles.erase(&I); in invalidate() 788 unsigned Len = LIR.Height + Cycles[DefMI].Depth; in computeCrossBlockCriticalPath() 813 unsigned DepCycle = Cycles.lookup(Dep.DefMI).Depth; in updateDepth() 821 InstrCycles &MICycles = Cycles[&UseMI]; in updateDepth() 1090 unsigned Height = TBI.Succ ? Cycles.lookup(&PHI).Height : 0; in computeInstrHeights() 1126 InstrCycles &MICycles = Cycles[&MI]; in computeInstrHeights() 1241 unsigned Cycles = 0; in getResourceLength() local 1251 Cycles += (PI->ReleaseAtCycle * in getResourceLength() 1255 return Cycles; in getResourceLength()
|
H A D | WindowScheduler.cpp | 628 DenseMap<MachineInstr *, int> Cycles, Stages; in expand() local 633 Cycles[MI] = std::get<1>(Info); in expand() 635 LLVM_DEBUG(dbgs() << "\tCycle " << Cycles[MI] << " [S." << Stages[MI] in expand() 638 ModuloSchedule MS(*MF, &Loop, std::move(OrderedInsts), std::move(Cycles), in expand()
|
/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/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 | Support.h | 56 ReleaseAtCycles(unsigned Cycles, unsigned ResourceUnits = 1) 57 : Numerator(Cycles), Denominator(ResourceUnits) {} in Numerator() argument
|
H A D | Pipeline.h | 64 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 | 310 return TE.Cycles.lookup(&MI); in getInstrCycles() 336 DenseMap<const MachineInstr*, InstrCycles> Cycles; variable
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/ |
H A D | TargetItinerary.td | 43 // the execution of an instruction. Cycles represents the number of 52 // InstrStage<1, [FU_x, FU_y]> - TimeInc defaults to Cycles 59 int Cycles = cycles; // length of stage in machine cycles
|