Searched refs:NumCycles (Results 1 - 19 of 19) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DDispatchStatistics.cpp42 double Percentage = ((double)Entry.second / NumCycles) * 100.0;
53 unsigned NumCycles) {
59 double Percentage = ((double)NumStalls / NumCycles) * 100.0;
69 printStalls(SS, HWStalls[HWStallEvent::RegisterFileStall], NumCycles);
71 printStalls(SS, HWStalls[HWStallEvent::RetireControlUnitStall], NumCycles);
73 printStalls(SS, HWStalls[HWStallEvent::SchedulerQueueFull], NumCycles);
75 printStalls(SS, HWStalls[HWStallEvent::LoadQueueFull], NumCycles);
77 printStalls(SS, HWStalls[HWStallEvent::StoreQueueFull], NumCycles);
79 printStalls(SS, HWStalls[HWStallEvent::DispatchGroupStall], NumCycles);
52 printStalls(raw_ostream &OS, unsigned NumStalls, unsigned NumCycles) argument
H A DDispatchStatistics.h46 unsigned NumCycles; member in class:llvm::mca::DispatchStatistics
66 : NumDispatched(0), NumCycles(0),
73 void onCycleBegin() override { NumCycles++; }
H A DRetireControlUnitStatistics.cpp21 : NumRetired(0), NumCycles(0), EntriesInUse(0), MaxUsedEntries(0),
50 ++NumCycles;
69 << format("%.1f", ((double)Entry.second / NumCycles) * 100.0)
73 unsigned AvgUsage = (double)SumOfUsedEntries / NumCycles;
H A DSchedulerStatistics.h53 unsigned NumCycles; member in class:llvm::mca::final
77 void onCycleBegin() override { NumCycles++; }
H A DRetireControlUnitStatistics.h43 unsigned NumCycles; member in class:llvm::mca::RetireControlUnitStatistics
H A DSchedulerStatistics.cpp23 NumCycles(0), MostRecentLoadDispatched(~0U),
117 << format("%.1f", ((double)IPC / NumCycles) * 100) << "%)\n";
124 assert(NumCycles && "Unexpected number of cycles!");
146 double AvgUsage = (double)BU.CumulativeNumUsedSlots / NumCycles;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DEarlyIfConversion.cpp993 unsigned NumCycles = SchedModel.computeInstrLatency(&I, false); local
994 if (NumCycles > 1)
995 Cycles += NumCycles - 1;
1007 unsigned NumCycles = SchedModel.computeInstrLatency(&I, false); local
1008 if (NumCycles > 1)
1009 TCycle += NumCycles - 1;
1013 unsigned NumCycles = SchedModel.computeInstrLatency(&I, false); local
1014 if (NumCycles > 1)
1015 FCycle += NumCycles - 1;
H A DIfConversion.cpp1125 unsigned NumCycles = SchedModel.computeInstrLatency(&MI, false); local
1126 if (NumCycles > 1)
1127 BBI.ExtraCost += NumCycles-1;
2197 unsigned NumCycles = SchedModel.computeInstrLatency(&I, false); local
2198 if (NumCycles > 1)
2199 ToBBI.ExtraCost += NumCycles-1;
H A DMachinePipeliner.cpp1043 unsigned NumCycles = getSUnit(MI)->Latency; local
1048 dbgs() << "Trying to reserve resource for " << NumCycles
1052 for (unsigned C = 0; C < NumCycles; ++C)
1062 << ", NumCycles:" << NumCycles << "\n"); local
1064 for (unsigned C = ReservedCycles; C < NumCycles; ++C) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600InstrInfo.h184 bool isProfitableToDupForIfCvt(MachineBasicBlock &MBB, unsigned NumCycles,
187 bool isProfitableToIfCvt(MachineBasicBlock &MBB, unsigned NumCycles,
H A DR600InstrInfo.cpp901 unsigned NumCycles,
920 unsigned NumCycles,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZInstrInfo.h233 bool isProfitableToIfCvt(MachineBasicBlock &MBB, unsigned NumCycles,
241 bool isProfitableToDupForIfCvt(MachineBasicBlock &MBB, unsigned NumCycles,
H A DSystemZInstrInfo.cpp684 unsigned NumCycles, unsigned ExtraPredCycles,
698 return NumCycles == 1;
712 isProfitableToDupForIfCvt(MachineBasicBlock &MBB, unsigned NumCycles, argument
715 return NumCycles == 1;
683 isProfitableToIfCvt(MachineBasicBlock &MBB, unsigned NumCycles, unsigned ExtraPredCycles, BranchProbability Probability) const argument
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.h265 unsigned NumCycles, unsigned ExtraPredCycles,
273 bool isProfitableToDupForIfCvt(MachineBasicBlock &MBB, unsigned NumCycles,
275 return NumCycles == 1;
H A DARMBaseInstrInfo.cpp1991 unsigned NumCycles, unsigned ExtraPredCycles,
1993 if (!NumCycles)
2011 return isProfitableToIfCvt(MBB, NumCycles, ExtraPredCycles,
1990 isProfitableToIfCvt(MachineBasicBlock &MBB, unsigned NumCycles, unsigned ExtraPredCycles, BranchProbability Probability) const argument
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.h138 /// instructions with accumulated instruction latency of "NumCycles"
142 bool isProfitableToIfCvt(MachineBasicBlock &MBB, unsigned NumCycles,
164 bool isProfitableToDupForIfCvt(MachineBasicBlock &MBB, unsigned NumCycles,
H A DHexagonInstrInfo.cpp770 unsigned NumCycles, unsigned ExtraPredCycles,
769 isProfitableToIfCvt(MachineBasicBlock &MBB, unsigned NumCycles, unsigned ExtraPredCycles, BranchProbability Probability) const argument
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.h314 unsigned NumCycles, unsigned ExtraPredCycles,
325 bool isProfitableToDupForIfCvt(MachineBasicBlock &MBB, unsigned NumCycles,
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h764 /// instructions with accumulated instruction latency of "NumCycles"
768 virtual bool isProfitableToIfCvt(MachineBasicBlock &MBB, unsigned NumCycles, argument
795 unsigned NumCycles,
794 isProfitableToDupForIfCvt(MachineBasicBlock &MBB, unsigned NumCycles, BranchProbability Probability) const argument

Completed in 131 milliseconds