| /openbsd-src/gnu/llvm/llvm/lib/MC/ |
| H A D | MCSchedule.cpp | 42 const MCSchedClassDesc &SCDesc) { in computeInstrLatency() argument 44 for (unsigned DefIdx = 0, DefEnd = SCDesc.NumWriteLatencyEntries; in computeInstrLatency() 48 STI.getWriteLatencyEntry(&SCDesc, DefIdx); in computeInstrLatency() 59 const MCSchedClassDesc &SCDesc = *getSchedClassDesc(SchedClass); in computeInstrLatency() local 60 if (!SCDesc.isValid()) in computeInstrLatency() 62 if (!SCDesc.isVariant()) in computeInstrLatency() 63 return MCSchedModel::computeInstrLatency(STI, SCDesc); in computeInstrLatency() 72 const MCSchedClassDesc *SCDesc = getSchedClassDesc(SchedClass); in computeInstrLatency() local 73 if (!SCDesc->isValid()) in computeInstrLatency() 77 while (SCDesc->isVariant()) { in computeInstrLatency() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | TargetSchedule.cpp | 120 const MCSchedClassDesc *SCDesc = SchedModel.getSchedClassDesc(SchedClass); in resolveSchedClass() local 121 if (!SCDesc->isValid()) in resolveSchedClass() 122 return SCDesc; in resolveSchedClass() 127 while (SCDesc->isVariant()) { in resolveSchedClass() 131 SCDesc = SchedModel.getSchedClassDesc(SchedClass); in resolveSchedClass() 133 return SCDesc; in resolveSchedClass() 201 const MCSchedClassDesc *SCDesc = resolveSchedClass(DefMI); in computeOperandLatency() local 203 if (DefIdx < SCDesc->NumWriteLatencyEntries) { in computeOperandLatency() 206 STI->getWriteLatencyEntry(SCDesc, DefIdx); in computeOperandLatency() 225 if (SCDesc->isValid() && !DefMI->getOperand(DefOperIdx).isImplicit() && in computeOperandLatency() [all …]
|
| H A D | MachinePipeliner.cpp | 1034 const MCSchedClassDesc *SCDesc = in minFuncUnits() local 1036 if (!SCDesc->isValid()) in minFuncUnits() 1042 make_range(STI->getWriteProcResBegin(SCDesc), in minFuncUnits() 1043 STI->getWriteProcResEnd(SCDesc))) { in minFuncUnits() 1077 const MCSchedClassDesc *SCDesc = in calcCriticalResources() local 1079 if (!SCDesc->isValid()) in calcCriticalResources() 1085 make_range(STI->getWriteProcResBegin(SCDesc), in calcCriticalResources() 1086 STI->getWriteProcResEnd(SCDesc))) { in calcCriticalResources() 3053 const MCSchedClassDesc *SCDesc = DAG->getSchedClass(&SU); in canReserveResources() local 3054 if (!SCDesc->isValid()) { in canReserveResources() [all …]
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-exegesis/lib/ |
| H A D | SchedClassResolution.cpp | 51 getNonRedundantWriteProcRes(const MCSchedClassDesc &SCDesc, in getNonRedundantWriteProcRes() argument 64 for (const auto *WPR = STI.getWriteProcResBegin(&SCDesc), in getNonRedundantWriteProcRes() 65 *const WPREnd = STI.getWriteProcResEnd(&SCDesc); in getNonRedundantWriteProcRes() 232 SCDesc(STI.getSchedModel().getSchedClassDesc(ResolvedSchedClassId)), in ResolvedSchedClass() 234 NonRedundantWriteProcRes(getNonRedundantWriteProcRes(*SCDesc, STI)), in ResolvedSchedClass() 237 assert((SCDesc == nullptr || !SCDesc->isVariant()) && in ResolvedSchedClass() 296 for (unsigned I = 0; I < SCDesc->NumWriteLatencyEntries; ++I) { in getAsPoint() 298 STI.getWriteLatencyEntry(SCDesc, I); in getAsPoint() 321 Measure.PerInstructionValue = SCDesc->NumMicroOps; in getAsPoint() 334 MCSchedModel::getReciprocalThroughput(STI, *SCDesc); in getAsPoint()
|
| H A D | Analysis.cpp | 142 const MCSchedClassDesc *const SCDesc = in printInstructionRowCsv() local 144 writeEscaped<kEscapeCsv>(OS, SCDesc->Name); in printInstructionRowCsv() 379 if (RSC.SCDesc->isValid()) { in printSchedClassDescHtml() 384 OS << "<td>" << RSC.SCDesc->NumMicroOps << "</td>"; in printSchedClassDescHtml() 387 for (int I = 0, E = RSC.SCDesc->NumWriteLatencyEntries; I < E; ++I) { in printSchedClassDescHtml() 388 const auto *const Entry = SI.getWriteLatencyEntry(RSC.SCDesc, I); in printSchedClassDescHtml() 390 if (RSC.SCDesc->NumWriteLatencyEntries > 1) { in printSchedClassDescHtml() 400 OS, MCSchedModel::getReciprocalThroughput(SI, *RSC.SCDesc)); in printSchedClassDescHtml() 547 if (!RSCAndPoints.RSC.SCDesc) in run() 580 writeEscaped<kEscapeHtml>(OS, RSCAndPoints.RSC.SCDesc->Name); in run()
|
| H A D | SchedClassResolution.h | 52 const MCSchedClassDesc *const SCDesc; member
|
| /openbsd-src/gnu/llvm/llvm/lib/MCA/ |
| H A D | InstrBuilder.cpp | 43 const MCSchedClassDesc &SCDesc, in initializeUsedResources() argument 69 for (unsigned I = 0, E = SCDesc.NumWriteProcResEntries; I < E; ++I) { in initializeUsedResources() 70 const MCWriteProcResEntry *PRE = STI.getWriteProcResBegin(&SCDesc) + I; in initializeUsedResources() 77 WithColor::note() << "found in scheduling class " << SCDesc.Name in initializeUsedResources() 222 const MCSchedClassDesc &SCDesc, in computeMaxLatency() argument 231 int Latency = MCSchedModel::computeInstrLatency(STI, SCDesc); in computeMaxLatency() 269 const MCSchedClassDesc &SCDesc = *SM.getSchedClassDesc(SchedClassID); in populateWrites() local 316 unsigned NumWriteLatencyEntries = SCDesc.NumWriteLatencyEntries; in populateWrites() 343 *STI.getWriteLatencyEntry(&SCDesc, CurrentDef); in populateWrites() 371 *STI.getWriteLatencyEntry(&SCDesc, Index); in populateWrites() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/ |
| H A D | AArch64StorePairSuppress.cpp | 86 const MCSchedClassDesc *SCDesc = in shouldAddSTPToBlock() local 90 if (SCDesc->isValid() && !SCDesc->isVariant()) { in shouldAddSTPToBlock() 91 unsigned ResLenWithSTP = BBTrace.getResourceLength(std::nullopt, SCDesc); in shouldAddSTPToBlock()
|
| H A D | AArch64SIMDInstrOpt.cpp | 229 const MCSchedClassDesc *SCDesc = in shouldReplaceInst() local 235 if (!SCDesc->isValid() || SCDesc->isVariant()) in shouldReplaceInst()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-mca/Views/ |
| H A D | InstructionInfoView.cpp | 134 const MCSchedClassDesc &SCDesc = *SM.getSchedClassDesc(SchedClassID); in collectData() local 135 IIVDEntry.NumMicroOpcodes = SCDesc.NumMicroOps; in collectData() 136 IIVDEntry.Latency = MCSchedModel::computeInstrLatency(STI, SCDesc); in collectData() 139 STI.getReadAdvanceEntries(SCDesc)); in collectData() 140 IIVDEntry.RThroughput = MCSchedModel::getReciprocalThroughput(STI, SCDesc); in collectData()
|
| /openbsd-src/gnu/llvm/llvm/utils/TableGen/ |
| H A D | SubtargetEmitter.cpp | 1027 MCSchedClassDesc &SCDesc = SCTab.back(); in GenSchedClassTables() local 1029 SCDesc.NumMicroOps = 0; in GenSchedClassTables() 1030 SCDesc.BeginGroup = false; in GenSchedClassTables() 1031 SCDesc.EndGroup = false; in GenSchedClassTables() 1032 SCDesc.RetireOOO = false; in GenSchedClassTables() 1033 SCDesc.WriteProcResIdx = 0; in GenSchedClassTables() 1034 SCDesc.WriteLatencyIdx = 0; in GenSchedClassTables() 1035 SCDesc.ReadAdvanceIdx = 0; in GenSchedClassTables() 1047 SCDesc.NumMicroOps = MCSchedClassDesc::VariantNumMicroOps; in GenSchedClassTables() 1093 SCDesc.NumMicroOps = MCSchedClassDesc::InvalidNumMicroOps; in GenSchedClassTables() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/MC/MCDisassembler/ |
| H A D | Disassembler.cpp | 209 const MCSchedClassDesc *SCDesc = SCModel.getSchedClassDesc(SCClass); in getLatency() local 212 if (!SCDesc || !SCDesc->isValid() || SCDesc->isVariant()) in getLatency() 217 for (unsigned DefIdx = 0, DefEnd = SCDesc->NumWriteLatencyEntries; in getLatency() 220 const MCWriteLatencyEntry *WLEntry = STI->getWriteLatencyEntry(SCDesc, in getLatency()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/MC/ |
| H A D | MCSchedule.h | 355 const MCSchedClassDesc &SCDesc); 364 const MCSchedClassDesc &SCDesc);
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | TargetSchedule.h | 46 unsigned computeInstrLatency(const MCSchedClassDesc &SCDesc) const;
|
| H A D | MachinePipeliner.h | 475 void reserveResources(const MCSchedClassDesc *SCDesc, int Cycle); 477 void unreserveResources(const MCSchedClassDesc *SCDesc, int Cycle);
|