Home
last modified time | relevance | path

Searched refs:MCDesc (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/MCA/
H A DInstrBuilder.cpp222 static void computeMaxLatency(InstrDesc &ID, const MCInstrDesc &MCDesc, in computeMaxLatency() argument
226 if (MCDesc.isCall()) { in computeMaxLatency()
239 static Error verifyOperands(const MCInstrDesc &MCDesc, const MCInst &MCI) { in verifyOperands() argument
242 unsigned NumExplicitDefs = MCDesc.getNumDefs(); in verifyOperands()
254 if (MCDesc.hasOptionalDef()) { in verifyOperands()
256 const MCOperand &Op = MCI.getOperand(MCDesc.getNumOperands() - 1); in verifyOperands()
270 const MCInstrDesc &MCDesc = MCII.get(MCI.getOpcode()); in populateWrites() local
317 unsigned NumExplicitDefs = MCDesc.getNumDefs(); in populateWrites()
318 unsigned NumImplicitDefs = MCDesc.implicit_defs().size(); in populateWrites()
321 if (MCDesc.hasOptionalDef()) in populateWrites()
[all …]
H A DSupport.cpp99 const MCProcResourceDesc &MCDesc = *SM.getProcResource(I); in computeBlockRThroughput() local
100 double Throughput = static_cast<double>(ReleaseAtCycles) / MCDesc.NumUnits; in computeBlockRThroughput()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/MCTargetDesc/
H A DSPIRVMCCodeEmitter.cpp64 const MCInstrDesc &MCDesc = MII.get(MI.getOpcode()); in hasType() local
66 if (MCDesc.getNumDefs() == 1 && MCDesc.getNumOperands() >= 2) { in hasType()
68 auto &DefOpInfo = MCDesc.operands()[0]; in hasType()
69 auto &FirstArgOpInfo = MCDesc.operands()[1]; in hasType()
H A DSPIRVInstPrinter.cpp121 const MCInstrDesc &MCDesc = MII.get(OpCode); in printInst() local
122 if (MCDesc.isVariadic()) { in printInst()
123 const unsigned NumFixedOps = MCDesc.getNumOperands(); in printInst()
126 if (NumFixedOps > 0 && MCDesc.operands()[LastFixedIndex].OperandType == in printInst()
228 const MCInstrDesc &MCDesc = MII.get(MI->getOpcode()); in printOpExtInst() local
229 unsigned NumFixedOps = MCDesc.getNumOperands(); in printOpExtInst()
243 const MCInstrDesc &MCDesc = MII.get(MI->getOpcode()); in printOpDecorate() local
244 unsigned NumFixedOps = MCDesc.getNumOperands(); in printOpDecorate()
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DInstructionInfoView.cpp118 const MCInstrDesc &MCDesc = MCII.get(Inst.getOpcode()); in collectData() local
125 ? MCDesc.getSchedClass() in collectData()
141 IIVDEntry.mayLoad = MCDesc.mayLoad(); in collectData()
142 IIVDEntry.mayStore = MCDesc.mayStore(); in collectData()
143 IIVDEntry.hasUnmodeledSideEffects = MCDesc.hasUnmodeledSideEffects(); in collectData()
H A DTimelineView.cpp49 const MCProcResourceDesc &MCDesc = *SM.getProcResource(Buffer); in onReservedBuffers() local
50 if (!BufferInfo.first || BufferInfo.second > MCDesc.BufferSize) { in onReservedBuffers()
52 BufferInfo.second = MCDesc.BufferSize; in onReservedBuffers()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DSubtargetEmitter.cpp1432 MCSchedClassDesc &MCDesc = SCTab[SCIdx]; in EmitSchedClassTables() local
1437 OS << MCDesc.NumMicroOps << ", " << (MCDesc.BeginGroup ? "true" : "false") in EmitSchedClassTables()
1438 << ", " << (MCDesc.EndGroup ? "true" : "false") << ", " in EmitSchedClassTables()
1439 << (MCDesc.RetireOOO ? "true" : "false") << ", " in EmitSchedClassTables()
1440 << format("%2d", MCDesc.WriteProcResIdx) << ", " in EmitSchedClassTables()
1441 << MCDesc.NumWriteProcResEntries << ", " in EmitSchedClassTables()
1442 << format("%2d", MCDesc.WriteLatencyIdx) << ", " in EmitSchedClassTables()
1443 << MCDesc.NumWriteLatencyEntries << ", " in EmitSchedClassTables()
1444 << format("%2d", MCDesc.ReadAdvanceIdx) << ", " in EmitSchedClassTables()
1445 << MCDesc.NumReadAdvanceEntries << "}, // #" << SCIdx << '\n'; in EmitSchedClassTables()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRenameIndependentSubregs.cpp332 const MCInstrDesc &MCDesc = TII->get(TargetOpcode::IMPLICIT_DEF); in computeMainRangesFixFlags() local
334 DebugLoc(), MCDesc, Reg); in computeMainRangesFixFlags()