| /freebsd-14.2/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCSchedule.cpp | 49 STI.getWriteLatencyEntry(&SCDesc, DefIdx); in computeInstrLatency() 61 if (!SCDesc.isValid()) in computeInstrLatency() 63 if (!SCDesc.isVariant()) in computeInstrLatency() 64 return MCSchedModel::computeInstrLatency(STI, SCDesc); in computeInstrLatency() 74 if (!SCDesc->isValid()) in computeInstrLatency() 78 while (SCDesc->isVariant()) { in computeInstrLatency() 80 SCDesc = getSchedClassDesc(SchedClass); in computeInstrLatency() 108 return ((double)SCDesc.NumMicroOps) / SM.IssueWidth; in getReciprocalThroughput() 120 if (!SCDesc->isValid()) in getReciprocalThroughput() 124 while (SCDesc->isVariant()) { in getReciprocalThroughput() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TargetSchedule.cpp | 125 if (!SCDesc->isValid()) in resolveSchedClass() 126 return SCDesc; in resolveSchedClass() 131 while (SCDesc->isVariant()) { in resolveSchedClass() 135 SCDesc = SchedModel.getSchedClassDesc(SchedClass); in resolveSchedClass() 137 return SCDesc; in resolveSchedClass() 203 if (DefIdx < SCDesc->NumWriteLatencyEntries) { in computeOperandLatency() 206 STI->getWriteLatencyEntry(SCDesc, DefIdx); in computeOperandLatency() 267 if (SCDesc->isValid()) in computeInstrLatency() 268 return computeInstrLatency(*SCDesc); in computeInstrLatency() 297 if (SCDesc->isValid()) { in computeOutputLatency() [all …]
|
| H A D | MachinePipeliner.cpp | 1088 if (!SCDesc->isValid()) in minFuncUnits() 1131 if (!SCDesc->isValid()) in calcCriticalResources() 3490 if (!SCDesc->isValid()) { in canReserveResources() 3498 reserveResources(SCDesc, Cycle); in canReserveResources() 3500 unreserveResources(SCDesc, Cycle); in canReserveResources() 3516 if (!SCDesc->isValid()) { in reserveResources() 3524 reserveResources(SCDesc, Cycle); in reserveResources() 3538 STI->getWriteProcResBegin(SCDesc), STI->getWriteProcResEnd(SCDesc))) in reserveResources() 3550 STI->getWriteProcResBegin(SCDesc), STI->getWriteProcResEnd(SCDesc))) in unreserveResources() 3649 if (!SCDesc->isValid()) in calculateResMII() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/MCA/ |
| H A D | InstrBuilder.cpp | 43 const MCSchedClassDesc &SCDesc, in initializeUsedResources() argument 222 const MCSchedClassDesc &SCDesc, in computeMaxLatency() argument 231 int Latency = MCSchedModel::computeInstrLatency(STI, SCDesc); in computeMaxLatency() 343 *STI.getWriteLatencyEntry(&SCDesc, CurrentDef); in populateWrites() 371 *STI.getWriteLatencyEntry(&SCDesc, Index); in populateWrites() 555 ID->NumMicroOps = SCDesc.NumMicroOps; in createInstrDescImpl() 574 computeMaxLatency(*ID, MCDesc, SCDesc, STI); in createInstrDescImpl() 650 const MCSchedClassDesc &SCDesc = in createInstruction() local 656 NewIS->setBeginGroup(SCDesc.BeginGroup); in createInstruction() 657 NewIS->setEndGroup(SCDesc.EndGroup); in createInstruction() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64StorePairSuppress.cpp | 87 const MCSchedClassDesc *SCDesc = in shouldAddSTPToBlock() local 91 if (SCDesc->isValid() && !SCDesc->isVariant()) { in shouldAddSTPToBlock() 92 unsigned ResLenWithSTP = BBTrace.getResourceLength(std::nullopt, SCDesc); in shouldAddSTPToBlock()
|
| H A D | AArch64SIMDInstrOpt.cpp | 230 const MCSchedClassDesc *SCDesc = in shouldReplaceInst() local 236 if (!SCDesc->isValid() || SCDesc->isVariant()) in shouldReplaceInst()
|
| /freebsd-14.2/contrib/llvm-project/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()
|
| /freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | SubtargetEmitter.cpp | 1041 MCSchedClassDesc &SCDesc = SCTab.back(); in GenSchedClassTables() local 1043 SCDesc.NumMicroOps = 0; in GenSchedClassTables() 1044 SCDesc.BeginGroup = false; in GenSchedClassTables() 1045 SCDesc.EndGroup = false; in GenSchedClassTables() 1046 SCDesc.RetireOOO = false; in GenSchedClassTables() 1047 SCDesc.WriteProcResIdx = 0; in GenSchedClassTables() 1048 SCDesc.WriteLatencyIdx = 0; in GenSchedClassTables() 1049 SCDesc.ReadAdvanceIdx = 0; in GenSchedClassTables() 1302 SCDesc.NumWriteLatencyEntries = WriteLatencies.size(); in GenSchedClassTables() 1309 SCDesc.WriteLatencyIdx = idx; in GenSchedClassTables() [all …]
|
| /freebsd-14.2/contrib/llvm-project/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()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCSchedule.h | 369 const MCSchedClassDesc &SCDesc); 378 const MCSchedClassDesc &SCDesc);
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetSchedule.h | 46 unsigned computeInstrLatency(const MCSchedClassDesc &SCDesc) const;
|
| H A D | MachinePipeliner.h | 476 void reserveResources(const MCSchedClassDesc *SCDesc, int Cycle); 478 void unreserveResources(const MCSchedClassDesc *SCDesc, int Cycle);
|