| /netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/ |
| H A D | MCSchedule.cpp | 41 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 D | TargetSchedule.cpp | 136 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 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() 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 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() 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 D | SchedClassResolution.h | 52 const MCSchedClassDesc *const SCDesc; member
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/MCA/ |
| H A D | InstrBuilder.cpp | 39 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 D | InstructionInfoView.cpp | 110 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 D | SubtargetEmitter.cpp | 991 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 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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/MCDisassembler/ |
| H A D | Disassembler.cpp | 210 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 D | MCSchedule.h | 356 const MCSchedClassDesc &SCDesc); 365 const MCSchedClassDesc &SCDesc);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
| H A D | TargetSchedule.h | 47 unsigned computeInstrLatency(const MCSchedClassDesc &SCDesc) const;
|