| /freebsd-13.1/contrib/llvm-project/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 …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TargetSchedule.cpp | 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() 219 if (DefIdx < SCDesc->NumWriteLatencyEntries) { in computeOperandLatency() 222 STI->getWriteLatencyEntry(SCDesc, DefIdx); in computeOperandLatency() 283 if (SCDesc->isValid()) in computeInstrLatency() 284 return computeInstrLatency(*SCDesc); in computeInstrLatency() 313 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() 3018 if (!SCDesc->isValid()) { in canReserveResources() 3058 if (!SCDesc->isValid()) { in reserveResources() 3066 make_range(STI->getWriteProcResBegin(SCDesc), in reserveResources() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/MCA/ |
| H A D | InstrBuilder.cpp | 39 const MCSchedClassDesc &SCDesc, in initializeUsedResources() argument 248 const MCSchedClassDesc &SCDesc, in computeMaxLatency() argument 257 int Latency = MCSchedModel::computeInstrLatency(STI, SCDesc); in computeMaxLatency() 369 *STI.getWriteLatencyEntry(&SCDesc, CurrentDef); in populateWrites() 397 *STI.getWriteLatencyEntry(&SCDesc, Index); in populateWrites() 578 ID->NumMicroOps = SCDesc.NumMicroOps; in createInstrDescImpl() 599 ID->BeginGroup = SCDesc.BeginGroup; in createInstrDescImpl() 600 ID->EndGroup = SCDesc.EndGroup; in createInstrDescImpl() 601 ID->RetireOOO = SCDesc.RetireOOO; in createInstrDescImpl() 603 initializeUsedResources(*ID, SCDesc, STI, ProcResourceMasks); in createInstrDescImpl() [all …]
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/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() 1203 SCDesc.NumWriteLatencyEntries = WriteLatencies.size(); in GenSchedClassTables() 1210 SCDesc.WriteLatencyIdx = idx; in GenSchedClassTables() [all …]
|
| /freebsd-13.1/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-13.1/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCSchedule.h | 356 const MCSchedClassDesc &SCDesc); 365 const MCSchedClassDesc &SCDesc);
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetSchedule.h | 47 unsigned computeInstrLatency(const MCSchedClassDesc &SCDesc) const;
|