Home
last modified time | relevance | path

Searched refs:SCDesc (Results 1 – 15 of 15) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DMCSchedule.cpp42 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 DTargetSchedule.cpp120 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 DMachinePipeliner.cpp1034 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 DSchedClassResolution.cpp51 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 DAnalysis.cpp142 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 DSchedClassResolution.h52 const MCSchedClassDesc *const SCDesc; member
/openbsd-src/gnu/llvm/llvm/lib/MCA/
H A DInstrBuilder.cpp43 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 DAArch64StorePairSuppress.cpp86 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 DAArch64SIMDInstrOpt.cpp229 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 DInstructionInfoView.cpp134 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 DSubtargetEmitter.cpp1027 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 DDisassembler.cpp209 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 DMCSchedule.h355 const MCSchedClassDesc &SCDesc);
364 const MCSchedClassDesc &SCDesc);
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DTargetSchedule.h46 unsigned computeInstrLatency(const MCSchedClassDesc &SCDesc) const;
H A DMachinePipeliner.h475 void reserveResources(const MCSchedClassDesc *SCDesc, int Cycle);
477 void unreserveResources(const MCSchedClassDesc *SCDesc, int Cycle);