Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/MC/
H A DMCSchedule.cpp48 STI.getWriteLatencyEntry(&SCDesc, DefIdx); in computeInstrLatency()
60 if (!SCDesc.isValid()) in computeInstrLatency()
62 if (!SCDesc.isVariant()) in computeInstrLatency()
63 return MCSchedModel::computeInstrLatency(STI, SCDesc); in computeInstrLatency()
73 if (!SCDesc->isValid()) in computeInstrLatency()
77 while (SCDesc->isVariant()) { in computeInstrLatency()
79 SCDesc = getSchedClassDesc(SchedClass); in computeInstrLatency()
107 return ((double)SCDesc.NumMicroOps) / SM.IssueWidth; in getReciprocalThroughput()
119 if (!SCDesc->isValid()) in getReciprocalThroughput()
123 while (SCDesc->isVariant()) { in getReciprocalThroughput()
[all …]
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DTargetSchedule.cpp138 if (!SCDesc->isValid()) in resolveSchedClass()
139 return SCDesc; in resolveSchedClass()
144 while (SCDesc->isVariant()) { in resolveSchedClass()
148 SCDesc = SchedModel.getSchedClassDesc(SchedClass); in resolveSchedClass()
150 return SCDesc; in resolveSchedClass()
220 if (DefIdx < SCDesc->NumWriteLatencyEntries) { in computeOperandLatency()
223 STI->getWriteLatencyEntry(SCDesc, DefIdx); in computeOperandLatency()
284 if (SCDesc->isValid()) in computeInstrLatency()
285 return computeInstrLatency(*SCDesc); in computeInstrLatency()
314 if (SCDesc->isValid()) { in computeOutputLatency()
[all …]
/freebsd-12.1/contrib/llvm/lib/MCA/
H A DInstrBuilder.cpp40 const MCSchedClassDesc &SCDesc, in initializeUsedResources() argument
191 const MCSchedClassDesc &SCDesc, in computeMaxLatency() argument
200 int Latency = MCSchedModel::computeInstrLatency(STI, SCDesc); in computeMaxLatency()
284 unsigned NumWriteLatencyEntries = SCDesc.NumWriteLatencyEntries; in populateWrites()
305 *STI.getWriteLatencyEntry(&SCDesc, CurrentDef); in populateWrites()
333 *STI.getWriteLatencyEntry(&SCDesc, Index); in populateWrites()
535 ID->NumMicroOps = SCDesc.NumMicroOps; in createInstrDescImpl()
555 ID->BeginGroup = SCDesc.BeginGroup; in createInstrDescImpl()
556 ID->EndGroup = SCDesc.EndGroup; in createInstrDescImpl()
558 initializeUsedResources(*ID, SCDesc, STI, ProcResourceMasks); in createInstrDescImpl()
[all …]
/freebsd-12.1/contrib/llvm/tools/llvm-mca/Views/
H A DInstructionInfoView.cpp44 const MCSchedClassDesc &SCDesc = *SM.getSchedClassDesc(SchedClassID); in printView() local
45 unsigned NumMicroOpcodes = SCDesc.NumMicroOps; in printView()
46 unsigned Latency = MCSchedModel::computeInstrLatency(STI, SCDesc); in printView()
48 MCSchedModel::getReciprocalThroughput(STI, SCDesc); in printView()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64StorePairSuppress.cpp87 const MCSchedClassDesc *SCDesc = in shouldAddSTPToBlock() local
91 if (SCDesc->isValid() && !SCDesc->isVariant()) { in shouldAddSTPToBlock()
92 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()
/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DSubtargetEmitter.cpp971 MCSchedClassDesc &SCDesc = SCTab.back(); in GenSchedClassTables() local
973 SCDesc.NumMicroOps = 0; in GenSchedClassTables()
974 SCDesc.BeginGroup = false; in GenSchedClassTables()
975 SCDesc.EndGroup = false; in GenSchedClassTables()
976 SCDesc.WriteProcResIdx = 0; in GenSchedClassTables()
977 SCDesc.WriteLatencyIdx = 0; in GenSchedClassTables()
978 SCDesc.ReadAdvanceIdx = 0; in GenSchedClassTables()
1168 SCDesc.NumWriteProcResEntries = WriteProcResources.size(); in GenSchedClassTables()
1181 SCDesc.NumWriteLatencyEntries = WriteLatencies.size(); in GenSchedClassTables()
1188 SCDesc.WriteLatencyIdx = idx; in GenSchedClassTables()
[all …]
/freebsd-12.1/contrib/llvm/lib/MC/MCDisassembler/
H A DDisassembler.cpp205 const MCSchedClassDesc *SCDesc = SCModel.getSchedClassDesc(SCClass); in getLatency() local
208 if (!SCDesc || !SCDesc->isValid() || SCDesc->isVariant()) in getLatency()
213 for (unsigned DefIdx = 0, DefEnd = SCDesc->NumWriteLatencyEntries; in getLatency()
216 const MCWriteLatencyEntry *WLEntry = STI->getWriteLatencyEntry(SCDesc, in getLatency()
/freebsd-12.1/contrib/llvm/include/llvm/MC/
H A DMCSchedule.h355 const MCSchedClassDesc &SCDesc);
364 const MCSchedClassDesc &SCDesc);
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DTargetSchedule.h44 unsigned computeInstrLatency(const MCSchedClassDesc &SCDesc) const;