Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/MCA/
DInstrBuilder.cpp206 static void computeMaxLatency(InstrDesc &ID, const MCInstrDesc &MCDesc, in computeMaxLatency() argument
209 if (MCDesc.isCall()) { in computeMaxLatency()
221 static Error verifyOperands(const MCInstrDesc &MCDesc, const MCInst &MCI) { in verifyOperands() argument
224 unsigned NumExplicitDefs = MCDesc.getNumDefs(); in verifyOperands()
236 if (MCDesc.hasOptionalDef()) { in verifyOperands()
238 const MCOperand &Op = MCI.getOperand(MCDesc.getNumOperands() - 1); in verifyOperands()
252 const MCInstrDesc &MCDesc = MCII.get(MCI.getOpcode()); in populateWrites() local
299 unsigned NumExplicitDefs = MCDesc.getNumDefs(); in populateWrites()
300 unsigned NumImplicitDefs = MCDesc.getNumImplicitDefs(); in populateWrites()
303 if (MCDesc.hasOptionalDef()) in populateWrites()
[all …]
DSupport.cpp98 const MCProcResourceDesc &MCDesc = *SM.getProcResource(I); in computeBlockRThroughput() local
99 double Throughput = static_cast<double>(ResourceCycles) / MCDesc.NumUnits; in computeBlockRThroughput()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/
DInstrBuilder.cpp203 static void computeMaxLatency(InstrDesc &ID, const MCInstrDesc &MCDesc, in computeMaxLatency() argument
206 if (MCDesc.isCall()) { in computeMaxLatency()
218 static Error verifyOperands(const MCInstrDesc &MCDesc, const MCInst &MCI) { in verifyOperands() argument
221 unsigned NumExplicitDefs = MCDesc.getNumDefs(); in verifyOperands()
233 if (MCDesc.hasOptionalDef()) { in verifyOperands()
235 const MCOperand &Op = MCI.getOperand(MCDesc.getNumOperands() - 1); in verifyOperands()
249 const MCInstrDesc &MCDesc = MCII.get(MCI.getOpcode()); in populateWrites() local
295 unsigned NumExplicitDefs = MCDesc.getNumDefs(); in populateWrites()
296 unsigned NumImplicitDefs = MCDesc.getNumImplicitDefs(); in populateWrites()
299 if (MCDesc.hasOptionalDef()) in populateWrites()
[all …]
DSupport.cpp98 const MCProcResourceDesc &MCDesc = *SM.getProcResource(I); in computeBlockRThroughput() local
99 double Throughput = static_cast<double>(ResourceCycles) / MCDesc.NumUnits; in computeBlockRThroughput()
/external/llvm-project/llvm/tools/llvm-mca/Views/
DInstructionInfoView.cpp98 const MCInstrDesc &MCDesc = MCII.get(Inst.getOpcode()); in collectData() local
101 unsigned SchedClassID = MCDesc.getSchedClass(); in collectData()
116 IIVDEntry.mayLoad = MCDesc.mayLoad(); in collectData()
117 IIVDEntry.mayStore = MCDesc.mayStore(); in collectData()
118 IIVDEntry.hasUnmodeledSideEffects = MCDesc.hasUnmodeledSideEffects(); in collectData()
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()
/external/llvm/utils/TableGen/
DSubtargetEmitter.cpp1127 MCSchedClassDesc &MCDesc = SCTab[SCIdx]; in EmitSchedClassTables() local
1132 OS << MCDesc.NumMicroOps in EmitSchedClassTables()
1133 << ", " << ( MCDesc.BeginGroup ? "true" : "false" ) in EmitSchedClassTables()
1134 << ", " << ( MCDesc.EndGroup ? "true" : "false" ) in EmitSchedClassTables()
1135 << ", " << format("%2d", MCDesc.WriteProcResIdx) in EmitSchedClassTables()
1136 << ", " << MCDesc.NumWriteProcResEntries in EmitSchedClassTables()
1137 << ", " << format("%2d", MCDesc.WriteLatencyIdx) in EmitSchedClassTables()
1138 << ", " << MCDesc.NumWriteLatencyEntries in EmitSchedClassTables()
1139 << ", " << format("%2d", MCDesc.ReadAdvanceIdx) in EmitSchedClassTables()
1140 << ", " << MCDesc.NumReadAdvanceEntries << "}"; in EmitSchedClassTables()
/external/llvm-project/llvm/utils/TableGen/
DSubtargetEmitter.cpp1320 MCSchedClassDesc &MCDesc = SCTab[SCIdx]; in EmitSchedClassTables() local
1325 OS << MCDesc.NumMicroOps in EmitSchedClassTables()
1326 << ", " << ( MCDesc.BeginGroup ? "true" : "false" ) in EmitSchedClassTables()
1327 << ", " << ( MCDesc.EndGroup ? "true" : "false" ) in EmitSchedClassTables()
1328 << ", " << format("%2d", MCDesc.WriteProcResIdx) in EmitSchedClassTables()
1329 << ", " << MCDesc.NumWriteProcResEntries in EmitSchedClassTables()
1330 << ", " << format("%2d", MCDesc.WriteLatencyIdx) in EmitSchedClassTables()
1331 << ", " << MCDesc.NumWriteLatencyEntries in EmitSchedClassTables()
1332 << ", " << format("%2d", MCDesc.ReadAdvanceIdx) in EmitSchedClassTables()
1333 << ", " << MCDesc.NumReadAdvanceEntries in EmitSchedClassTables()
/external/llvm-project/llvm/tools/llvm-profgen/
DProfiledBinary.cpp209 const MCInstrDesc &MCDesc = MII->get(Inst.getOpcode()); in dissassembleSymbol() local
217 if (MCDesc.isCall()) in dissassembleSymbol()
219 else if (MCDesc.isReturn()) in dissassembleSymbol()
/external/llvm/lib/CodeGen/
DRenameIndependentSubregs.cpp320 const MCInstrDesc &MCDesc = TII->get(TargetOpcode::IMPLICIT_DEF); in computeMainRangesFixFlags() local
322 DebugLoc(), MCDesc, Reg); in computeMainRangesFixFlags()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DRenameIndependentSubregs.cpp332 const MCInstrDesc &MCDesc = TII->get(TargetOpcode::IMPLICIT_DEF); in computeMainRangesFixFlags() local
334 DebugLoc(), MCDesc, Reg); in computeMainRangesFixFlags()
/external/llvm-project/llvm/lib/CodeGen/
DRenameIndependentSubregs.cpp332 const MCInstrDesc &MCDesc = TII->get(TargetOpcode::IMPLICIT_DEF); in computeMainRangesFixFlags() local
334 DebugLoc(), MCDesc, Reg); in computeMainRangesFixFlags()
/external/llvm-project/llvm/docs/
DWritingAnLLVMBackend.rst1010 Instruction itineraries can be queried using MCDesc::getSchedClass(). The
/external/llvm/docs/
DWritingAnLLVMBackend.rst1010 Instruction itineraries can be queried using MCDesc::getSchedClass(). The