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.cpp239 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()
324 unsigned NumVariadicOps = MCI.getNumOperands() - MCDesc.getNumOperands(); in populateWrites()
330 unsigned OptionalDefIdx = MCDesc.getNumOperands() - 1; 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.cpp63 const MCInstrDesc &MCDesc = MII.get(MI.getOpcode()); in hasType() local
65 if (MCDesc.getNumDefs() == 1 && MCDesc.getNumOperands() >= 2) { in hasType()
67 return MCDesc.operands()[0].RegClass >= 0 && in hasType()
68 MCDesc.operands()[1].RegClass >= 0 && in hasType()
69 MCDesc.operands()[0].RegClass != SPIRV::TYPERegClassID && in hasType()
70 MCDesc.operands()[1].RegClass == SPIRV::TYPERegClassID; in hasType()
H A DSPIRVInstPrinter.cpp119 const MCInstrDesc &MCDesc = MII.get(OpCode); in printInst() local
120 if (MCDesc.isVariadic()) { in printInst()
121 const unsigned NumFixedOps = MCDesc.getNumOperands(); in printInst()
124 if (NumFixedOps > 0 && MCDesc.operands()[LastFixedIndex].OperandType == in printInst()
285 const MCInstrDesc &MCDesc = MII.get(MI->getOpcode()); in printOpExtInst() local
286 unsigned NumFixedOps = MCDesc.getNumOperands(); in printOpExtInst()
300 const MCInstrDesc &MCDesc = MII.get(MI->getOpcode()); in printOpDecorate() local
301 unsigned NumFixedOps = MCDesc.getNumOperands(); in printOpDecorate()
362 const MCInstrDesc &MCDesc = MII.get(MI->getOpcode()); in printUnknownType() local
363 unsigned NumFixedOps = MCDesc.getNumOperands(); in printUnknownType()
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DInstructionInfoView.cpp195 const MCInstrDesc &MCDesc = MCII.get(Inst.getOpcode()); in collectData() local
202 ? MCDesc.getSchedClass() in collectData()
218 IIVDEntry.mayLoad = MCDesc.mayLoad(); in collectData()
219 IIVDEntry.mayStore = MCDesc.mayStore(); in collectData()
220 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.cpp1411 MCSchedClassDesc &MCDesc = SCTab[SCIdx]; in emitSchedClassTables() local
1417 OS << MCDesc.NumMicroOps << ", " << (MCDesc.BeginGroup ? "true" : "false") in emitSchedClassTables()
1418 << ", " << (MCDesc.EndGroup ? "true" : "false") << ", " in emitSchedClassTables()
1419 << (MCDesc.RetireOOO ? "true" : "false") << ", " in emitSchedClassTables()
1420 << format("%2d", MCDesc.WriteProcResIdx) << ", " in emitSchedClassTables()
1421 << MCDesc.NumWriteProcResEntries << ", " in emitSchedClassTables()
1422 << format("%2d", MCDesc.WriteLatencyIdx) << ", " in emitSchedClassTables()
1423 << MCDesc.NumWriteLatencyEntries << ", " in emitSchedClassTables()
1424 << format("%2d", MCDesc.ReadAdvanceIdx) << ", " in emitSchedClassTables()
1425 << MCDesc.NumReadAdvanceEntries << "}, // #" << SCIdx << '\n'; in emitSchedClassTables()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRenameIndependentSubregs.cpp338 const MCInstrDesc &MCDesc = TII->get(TargetOpcode::IMPLICIT_DEF); in computeMainRangesFixFlags() local
340 DebugLoc(), MCDesc, Reg); in computeMainRangesFixFlags()