Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DMCSchedule.cpp41 const MCSchedClassDesc &SCDesc) { in computeInstrLatency() argument
43 for (unsigned DefIdx = 0, DefEnd = SCDesc.NumWriteLatencyEntries; in computeInstrLatency()
47 STI.getWriteLatencyEntry(&SCDesc, DefIdx); in computeInstrLatency()
58 const MCSchedClassDesc &SCDesc = *getSchedClassDesc(SchedClass); in computeInstrLatency() local
59 if (!SCDesc.isValid()) in computeInstrLatency()
61 if (!SCDesc.isVariant()) in computeInstrLatency()
62 return MCSchedModel::computeInstrLatency(STI, SCDesc); in computeInstrLatency()
71 const MCSchedClassDesc *SCDesc = getSchedClassDesc(SchedClass); in computeInstrLatency() local
72 if (!SCDesc->isValid()) in computeInstrLatency()
76 while (SCDesc->isVariant()) { in computeInstrLatency()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DTargetSchedule.cpp136 const MCSchedClassDesc *SCDesc = SchedModel.getSchedClassDesc(SchedClass); in resolveSchedClass() local
137 if (!SCDesc->isValid()) in resolveSchedClass()
138 return SCDesc; in resolveSchedClass()
143 while (SCDesc->isVariant()) { in resolveSchedClass()
147 SCDesc = SchedModel.getSchedClassDesc(SchedClass); in resolveSchedClass()
149 return SCDesc; in resolveSchedClass()
217 const MCSchedClassDesc *SCDesc = resolveSchedClass(DefMI); in computeOperandLatency() local
219 if (DefIdx < SCDesc->NumWriteLatencyEntries) { in computeOperandLatency()
222 STI->getWriteLatencyEntry(SCDesc, DefIdx); in computeOperandLatency()
241 if (SCDesc->isValid() && !DefMI->getOperand(DefOperIdx).isImplicit() in computeOperandLatency()
[all …]
H A DMachinePipeliner.cpp1014 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()
1066 STI->getWriteProcResEnd(SCDesc))) { in calcCriticalResources()
3017 const MCSchedClassDesc *SCDesc = SM.getSchedClassDesc(InsnClass); in canReserveResources() local
3018 if (!SCDesc->isValid()) { in canReserveResources()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/
H A DSchedClassResolution.cpp50 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 DAnalysis.cpp141 const MCSchedClassDesc *const SCDesc = in printInstructionRowCsv() local
143 writeEscaped<kEscapeCsv>(OS, SCDesc->Name); in printInstructionRowCsv()
382 if (RSC.SCDesc->isValid()) { in printSchedClassDescHtml()
386 OS << "<td>" << RSC.SCDesc->NumMicroOps << "</td>"; in printSchedClassDescHtml()
389 for (int I = 0, E = RSC.SCDesc->NumWriteLatencyEntries; I < E; ++I) { in printSchedClassDescHtml()
391 SubtargetInfo_->getWriteLatencyEntry(RSC.SCDesc, I); in printSchedClassDescHtml()
393 if (RSC.SCDesc->NumWriteLatencyEntries > 1) { in printSchedClassDescHtml()
404 MCSchedModel::getReciprocalThroughput(*SubtargetInfo_, *RSC.SCDesc)); in printSchedClassDescHtml()
551 if (!RSCAndPoints.RSC.SCDesc) in run()
585 writeEscaped<kEscapeHtml>(OS, RSCAndPoints.RSC.SCDesc->Name); in run()
H A DSchedClassResolution.h52 const MCSchedClassDesc *const SCDesc; member
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MCA/
H A DInstrBuilder.cpp39 const MCSchedClassDesc &SCDesc, in initializeUsedResources() argument
65 for (unsigned I = 0, E = SCDesc.NumWriteProcResEntries; I < E; ++I) { in initializeUsedResources()
66 const MCWriteProcResEntry *PRE = STI.getWriteProcResBegin(&SCDesc) + I; in initializeUsedResources()
73 WithColor::note() << "found in scheduling class " << SCDesc.Name in initializeUsedResources()
207 const MCSchedClassDesc &SCDesc, in computeMaxLatency() argument
216 int Latency = MCSchedModel::computeInstrLatency(STI, SCDesc); in computeMaxLatency()
254 const MCSchedClassDesc &SCDesc = *SM.getSchedClassDesc(SchedClassID); in populateWrites() local
301 unsigned NumWriteLatencyEntries = SCDesc.NumWriteLatencyEntries; in populateWrites()
328 *STI.getWriteLatencyEntry(&SCDesc, CurrentDef); in populateWrites()
356 *STI.getWriteLatencyEntry(&SCDesc, Index); in populateWrites()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-mca/Views/
H A DInstructionInfoView.cpp110 const MCSchedClassDesc &SCDesc = *SM.getSchedClassDesc(SchedClassID); in collectData() local
111 IIVDEntry.NumMicroOpcodes = SCDesc.NumMicroOps; in collectData()
112 IIVDEntry.Latency = MCSchedModel::computeInstrLatency(STI, SCDesc); in collectData()
115 STI.getReadAdvanceEntries(SCDesc)); in collectData()
116 IIVDEntry.RThroughput = MCSchedModel::getReciprocalThroughput(STI, SCDesc); in collectData()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DSubtargetEmitter.cpp991 MCSchedClassDesc &SCDesc = SCTab.back(); in GenSchedClassTables() local
993 SCDesc.NumMicroOps = 0; in GenSchedClassTables()
994 SCDesc.BeginGroup = false; in GenSchedClassTables()
995 SCDesc.EndGroup = false; in GenSchedClassTables()
996 SCDesc.RetireOOO = false; in GenSchedClassTables()
997 SCDesc.WriteProcResIdx = 0; in GenSchedClassTables()
998 SCDesc.WriteLatencyIdx = 0; in GenSchedClassTables()
999 SCDesc.ReadAdvanceIdx = 0; in GenSchedClassTables()
1011 SCDesc.NumMicroOps = MCSchedClassDesc::VariantNumMicroOps; in GenSchedClassTables()
1057 SCDesc.NumMicroOps = MCSchedClassDesc::InvalidNumMicroOps; in GenSchedClassTables()
[all …]
/netbsd-src/external/apache2/llvm/dist/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(None, SCDesc); in shouldAddSTPToBlock()
H A DAArch64SIMDInstrOpt.cpp229 const MCSchedClassDesc *SCDesc = in shouldReplaceInst() local
235 if (!SCDesc->isValid() || SCDesc->isVariant()) in shouldReplaceInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/MCDisassembler/
H A DDisassembler.cpp210 const MCSchedClassDesc *SCDesc = SCModel.getSchedClassDesc(SCClass); in getLatency() local
213 if (!SCDesc || !SCDesc->isValid() || SCDesc->isVariant()) in getLatency()
218 for (unsigned DefIdx = 0, DefEnd = SCDesc->NumWriteLatencyEntries; in getLatency()
221 const MCWriteLatencyEntry *WLEntry = STI->getWriteLatencyEntry(SCDesc, in getLatency()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MC/
H A DMCSchedule.h356 const MCSchedClassDesc &SCDesc);
365 const MCSchedClassDesc &SCDesc);
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DTargetSchedule.h47 unsigned computeInstrLatency(const MCSchedClassDesc &SCDesc) const;