| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MCSchedule.cpp | 47 STI.getWriteLatencyEntry(&SCDesc, DefIdx); in computeInstrLatency() 59 if (!SCDesc.isValid()) in computeInstrLatency() 61 if (!SCDesc.isVariant()) in computeInstrLatency() 62 return MCSchedModel::computeInstrLatency(STI, SCDesc); in computeInstrLatency() 72 if (!SCDesc->isValid()) in computeInstrLatency() 76 while (SCDesc->isVariant()) { in computeInstrLatency() 78 SCDesc = getSchedClassDesc(SchedClass); in computeInstrLatency() 106 return ((double)SCDesc.NumMicroOps) / SM.IssueWidth; in getReciprocalThroughput() 118 if (!SCDesc->isValid()) in getReciprocalThroughput() 122 while (SCDesc->isVariant()) { in getReciprocalThroughput() [all …]
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | TargetSchedule.cpp | 136 if (!SCDesc->isValid()) in resolveSchedClass() 137 return SCDesc; in resolveSchedClass() 142 while (SCDesc->isVariant()) { in resolveSchedClass() 146 SCDesc = SchedModel.getSchedClassDesc(SchedClass); in resolveSchedClass() 148 return SCDesc; in resolveSchedClass() 218 if (DefIdx < SCDesc->NumWriteLatencyEntries) { in computeOperandLatency() 221 STI->getWriteLatencyEntry(SCDesc, DefIdx); in computeOperandLatency() 282 if (SCDesc->isValid()) in computeInstrLatency() 283 return computeInstrLatency(*SCDesc); in computeInstrLatency() 312 if (SCDesc->isValid()) { in computeOutputLatency() [all …]
|
| H A D | MachinePipeliner.cpp | 1014 const MCSchedClassDesc *SCDesc = in minFuncUnits() local 1016 if (!SCDesc->isValid()) in minFuncUnits() 1022 make_range(STI->getWriteProcResBegin(SCDesc), in minFuncUnits() 1023 STI->getWriteProcResEnd(SCDesc))) { in minFuncUnits() 1057 const MCSchedClassDesc *SCDesc = in calcCriticalResources() local 1059 if (!SCDesc->isValid()) in calcCriticalResources() 1065 make_range(STI->getWriteProcResBegin(SCDesc), in calcCriticalResources() 3077 if (!SCDesc->isValid()) { in canReserveResources() 3117 if (!SCDesc->isValid()) { in reserveResources() 3125 make_range(STI->getWriteProcResBegin(SCDesc), in reserveResources() [all …]
|
| /llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/ |
| H A D | SchedClassResolution.cpp | 50 getNonRedundantWriteProcRes(const MCSchedClassDesc &SCDesc, in getNonRedundantWriteProcRes() argument 59 for (const auto *WPR = STI.getWriteProcResBegin(&SCDesc), in getNonRedundantWriteProcRes() 60 *const WPREnd = STI.getWriteProcResEnd(&SCDesc); in getNonRedundantWriteProcRes() 210 SCDesc(STI.getSchedModel().getSchedClassDesc(ResolvedSchedClassId)), in ResolvedSchedClass() 212 NonRedundantWriteProcRes(getNonRedundantWriteProcRes(*SCDesc, STI)), in ResolvedSchedClass() 215 assert((SCDesc == nullptr || !SCDesc->isVariant()) && in ResolvedSchedClass() 274 for (unsigned I = 0; I < SCDesc->NumWriteLatencyEntries; ++I) { in getAsPoint() 276 STI.getWriteLatencyEntry(SCDesc, I); in getAsPoint() 299 Measure.PerInstructionValue = SCDesc->NumMicroOps; in getAsPoint() 312 MCSchedModel::getReciprocalThroughput(STI, *SCDesc); in getAsPoint()
|
| H A D | Analysis.cpp | 141 const MCSchedClassDesc *const SCDesc = in printInstructionRowCsv() local 143 writeEscaped<kEscapeCsv>(OS, SCDesc->Name); in printInstructionRowCsv() 385 if (RSC.SCDesc->isValid()) { in printSchedClassDescHtml() 389 OS << "<td>" << RSC.SCDesc->NumMicroOps << "</td>"; in printSchedClassDescHtml() 392 for (int I = 0, E = RSC.SCDesc->NumWriteLatencyEntries; I < E; ++I) { in printSchedClassDescHtml() 394 SubtargetInfo_->getWriteLatencyEntry(RSC.SCDesc, I); in printSchedClassDescHtml() 396 if (RSC.SCDesc->NumWriteLatencyEntries > 1) { in printSchedClassDescHtml() 407 MCSchedModel::getReciprocalThroughput(*SubtargetInfo_, *RSC.SCDesc)); in printSchedClassDescHtml() 554 if (!RSCAndPoints.RSC.SCDesc) in run() 588 writeEscaped<kEscapeHtml>(OS, RSCAndPoints.RSC.SCDesc->Name); in run()
|
| H A D | SchedClassResolution.h | 52 const MCSchedClassDesc *const SCDesc; member
|
| /llvm-project-15.0.7/llvm/lib/MCA/ |
| H A D | InstrBuilder.cpp | 42 const MCSchedClassDesc &SCDesc, in initializeUsedResources() argument 251 const MCSchedClassDesc &SCDesc, in computeMaxLatency() argument 260 int Latency = MCSchedModel::computeInstrLatency(STI, SCDesc); in computeMaxLatency() 372 *STI.getWriteLatencyEntry(&SCDesc, CurrentDef); in populateWrites() 400 *STI.getWriteLatencyEntry(&SCDesc, Index); in populateWrites() 582 ID->NumMicroOps = SCDesc.NumMicroOps; in createInstrDescImpl() 601 computeMaxLatency(*ID, MCDesc, SCDesc, STI); in createInstrDescImpl() 666 const MCSchedClassDesc &SCDesc = in createInstruction() local 672 NewIS->setBeginGroup(SCDesc.BeginGroup); in createInstruction() 673 NewIS->setEndGroup(SCDesc.EndGroup); in createInstruction() [all …]
|
| /llvm-project-15.0.7/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(None, SCDesc); in shouldAddSTPToBlock()
|
| H A D | AArch64SIMDInstrOpt.cpp | 229 const MCSchedClassDesc *SCDesc = in shouldReplaceInst() local 235 if (!SCDesc->isValid() || SCDesc->isVariant()) in shouldReplaceInst()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/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() 1239 SCDesc.NumWriteLatencyEntries = WriteLatencies.size(); in GenSchedClassTables() 1246 SCDesc.WriteLatencyIdx = idx; in GenSchedClassTables() [all …]
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/llvm/include/llvm/MC/ |
| H A D | MCSchedule.h | 355 const MCSchedClassDesc &SCDesc); 364 const MCSchedClassDesc &SCDesc);
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | TargetSchedule.h | 46 unsigned computeInstrLatency(const MCSchedClassDesc &SCDesc) const;
|