Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/MCA/
H A DInstrBuilder.cpp253 if (MCDesc.isCall()) { in computeMaxLatency()
280 if (MCDesc.hasOptionalDef()) { in verifyOperands()
347 if (MCDesc.hasOptionalDef()) in populateWrites()
421 if (MCDesc.hasOptionalDef()) { in populateWrites()
466 unsigned NumExplicitUses = MCDesc.getNumOperands() - MCDesc.getNumDefs(); in populateReads()
469 if (MCDesc.hasOptionalDef()) in populateReads()
585 if (MCDesc.isCall() && FirstCallInst) { in createInstrDescImpl()
593 if (MCDesc.isReturn() && FirstReturnInst) { in createInstrDescImpl()
617 bool IsVariadic = MCDesc.isVariadic(); in createInstrDescImpl()
669 NewIS->setMayLoad(MCDesc.mayLoad()); in createInstruction()
[all …]
H A DSupport.cpp98 const MCProcResourceDesc &MCDesc = *SM.getProcResource(I); in computeBlockRThroughput() local
99 double Throughput = static_cast<double>(ResourceCycles) / MCDesc.NumUnits; in computeBlockRThroughput()
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/MCTargetDesc/
H A DSPIRVMCCodeEmitter.cpp64 MCInstrDesc MCDesc = MII.get(MI.getOpcode()); in hasType() local
66 if (MCDesc.getNumDefs() == 1 && MCDesc.getNumOperands() >= 2) { in hasType()
68 auto DefOpInfo = MCDesc.opInfo_begin(); in hasType()
69 auto FirstArgOpInfo = MCDesc.opInfo_begin() + 1; in hasType()
H A DSPIRVInstPrinter.cpp79 MCInstrDesc MCDesc = MII.get(OpCode); in printInst() local
80 if (MCDesc.isVariadic()) { in printInst()
81 const unsigned NumFixedOps = MCDesc.getNumOperands(); in printInst()
85 MCDesc.OpInfo[LastFixedIndex].OperandType == MCOI::OPERAND_UNKNOWN) { in printInst()
181 MCInstrDesc MCDesc = MII.get(MI->getOpcode()); in printOpExtInst() local
182 unsigned NumFixedOps = MCDesc.getNumOperands(); in printOpExtInst()
196 MCInstrDesc MCDesc = MII.get(MI->getOpcode()); in printOpDecorate() local
197 unsigned NumFixedOps = MCDesc.getNumOperands(); in printOpDecorate()
/llvm-project-15.0.7/llvm/tools/llvm-mca/Views/
H A DInstructionInfoView.cpp123 const MCInstrDesc &MCDesc = MCII.get(Inst.getOpcode()); in collectData() local
126 unsigned SchedClassID = 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()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DSubtargetEmitter.cpp1348 MCSchedClassDesc &MCDesc = SCTab[SCIdx]; in EmitSchedClassTables() local
1353 OS << MCDesc.NumMicroOps in EmitSchedClassTables()
1354 << ", " << ( MCDesc.BeginGroup ? "true" : "false" ) in EmitSchedClassTables()
1355 << ", " << ( MCDesc.EndGroup ? "true" : "false" ) in EmitSchedClassTables()
1356 << ", " << ( MCDesc.RetireOOO ? "true" : "false" ) in EmitSchedClassTables()
1357 << ", " << format("%2d", MCDesc.WriteProcResIdx) in EmitSchedClassTables()
1358 << ", " << MCDesc.NumWriteProcResEntries in EmitSchedClassTables()
1359 << ", " << format("%2d", MCDesc.WriteLatencyIdx) in EmitSchedClassTables()
1360 << ", " << MCDesc.NumWriteLatencyEntries in EmitSchedClassTables()
1361 << ", " << format("%2d", MCDesc.ReadAdvanceIdx) in EmitSchedClassTables()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DProfiledBinary.cpp486 const MCInstrDesc &MCDesc = MII->get(Inst.getOpcode()); in dissassembleSymbol() local
493 if (MCDesc.isCall()) { in dissassembleSymbol()
496 } else if (MCDesc.isReturn()) { in dissassembleSymbol()
499 } else if (MCDesc.isBranch()) { in dissassembleSymbol()
500 if (MCDesc.isUnconditionalBranch()) in dissassembleSymbol()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DRenameIndependentSubregs.cpp332 const MCInstrDesc &MCDesc = TII->get(TargetOpcode::IMPLICIT_DEF); in computeMainRangesFixFlags() local
334 DebugLoc(), MCDesc, Reg); in computeMainRangesFixFlags()
/llvm-project-15.0.7/llvm/docs/
H A DWritingAnLLVMBackend.rst1010 Instruction itineraries can be queried using MCDesc::getSchedClass(). The