| /src/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCSchedule.cpp | 43 const MCSchedClassDesc &SCDesc) { in computeInstrLatency() argument 45 for (unsigned DefIdx = 0, DefEnd = SCDesc.NumWriteLatencyEntries; in computeInstrLatency() 49 STI.getWriteLatencyEntry(&SCDesc, DefIdx); in computeInstrLatency() 60 const MCSchedClassDesc &SCDesc = *getSchedClassDesc(SchedClass); in computeInstrLatency() local 61 if (!SCDesc.isValid()) in computeInstrLatency() 63 if (!SCDesc.isVariant()) in computeInstrLatency() 64 return MCSchedModel::computeInstrLatency(STI, SCDesc); in computeInstrLatency() 73 const MCSchedClassDesc *SCDesc = getSchedClassDesc(SchedClass); in computeInstrLatency() local 74 if (!SCDesc->isValid()) in computeInstrLatency() 78 while (SCDesc->isVariant()) { in computeInstrLatency() [all …]
|
| /src/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TargetSchedule.cpp | 124 const MCSchedClassDesc *SCDesc = SchedModel.getSchedClassDesc(SchedClass); in resolveSchedClass() local 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() 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 D | MachinePipeliner.cpp | 1146 const MCSchedClassDesc *SCDesc = in minFuncUnits() local 1148 if (!SCDesc->isValid()) in minFuncUnits() 1154 make_range(STI->getWriteProcResBegin(SCDesc), in minFuncUnits() 1155 STI->getWriteProcResEnd(SCDesc))) { in minFuncUnits() 1189 const MCSchedClassDesc *SCDesc = in calcCriticalResources() local 1191 if (!SCDesc->isValid()) in calcCriticalResources() 1197 make_range(STI->getWriteProcResBegin(SCDesc), in calcCriticalResources() 1198 STI->getWriteProcResEnd(SCDesc))) { in calcCriticalResources() 3558 const MCSchedClassDesc *SCDesc = DAG->getSchedClass(&SU); in canReserveResources() local 3559 if (!SCDesc->isValid()) { in canReserveResources() [all …]
|
| /src/contrib/llvm-project/llvm/lib/MCA/ |
| H A D | InstrBuilder.cpp | 44 const MCSchedClassDesc &SCDesc, in initializeUsedResources() argument 70 for (unsigned I = 0, E = SCDesc.NumWriteProcResEntries; I < E; ++I) { in initializeUsedResources() 71 const MCWriteProcResEntry *PRE = STI.getWriteProcResBegin(&SCDesc) + I; in initializeUsedResources() 78 WithColor::note() << "found in scheduling class " << SCDesc.Name in initializeUsedResources() 223 const MCSchedClassDesc &SCDesc, in computeMaxLatency() argument 233 int Latency = MCSchedModel::computeInstrLatency(STI, SCDesc); in computeMaxLatency() 272 const MCSchedClassDesc &SCDesc = *SM.getSchedClassDesc(SchedClassID); in populateWrites() local 319 unsigned NumWriteLatencyEntries = SCDesc.NumWriteLatencyEntries; in populateWrites() 350 *STI.getWriteLatencyEntry(&SCDesc, CurrentDef); in populateWrites() 378 *STI.getWriteLatencyEntry(&SCDesc, Index); in populateWrites() [all …]
|
| /src/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()
|
| /src/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | SubtargetEmitter.cpp | 1061 MCSchedClassDesc &SCDesc = SCTab.emplace_back(); in GenSchedClassTables() local 1063 SCDesc.NumMicroOps = 0; in GenSchedClassTables() 1064 SCDesc.BeginGroup = false; in GenSchedClassTables() 1065 SCDesc.EndGroup = false; in GenSchedClassTables() 1066 SCDesc.RetireOOO = false; in GenSchedClassTables() 1067 SCDesc.WriteProcResIdx = 0; in GenSchedClassTables() 1068 SCDesc.WriteLatencyIdx = 0; in GenSchedClassTables() 1069 SCDesc.ReadAdvanceIdx = 0; in GenSchedClassTables() 1081 SCDesc.NumMicroOps = MCSchedClassDesc::VariantNumMicroOps; in GenSchedClassTables() 1127 SCDesc.NumMicroOps = MCSchedClassDesc::InvalidNumMicroOps; in GenSchedClassTables() [all …]
|
| /src/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()
|
| /src/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCSchedule.h | 369 const MCSchedClassDesc &SCDesc); 378 const MCSchedClassDesc &SCDesc);
|
| /src/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetSchedule.h | 46 unsigned computeInstrLatency(const MCSchedClassDesc &SCDesc) const;
|
| H A D | MachinePipeliner.h | 481 void reserveResources(const MCSchedClassDesc *SCDesc, int Cycle); 483 void unreserveResources(const MCSchedClassDesc *SCDesc, int Cycle);
|
| /src/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64SIMDInstrOpt.cpp | 230 const MCSchedClassDesc *SCDesc = in shouldReplaceInst() local 236 if (!SCDesc->isValid() || SCDesc->isVariant()) in shouldReplaceInst()
|