Home
last modified time | relevance | path

Searched refs:getProcResource (Results 1 – 25 of 25) sorted by relevance

/llvm-project-15.0.7/llvm/lib/MCA/
H A DSupport.cpp50 const MCProcResourceDesc &Desc = *SM.getProcResource(I); in computeProcResourceMasks()
59 const MCProcResourceDesc &Desc = *SM.getProcResource(I); in computeProcResourceMasks()
74 const MCProcResourceDesc &Desc = *SM.getProcResource(I); in computeProcResourceMasks()
98 const MCProcResourceDesc &MCDesc = *SM.getProcResource(I); in computeBlockRThroughput()
H A DInstrBuilder.cpp70 const MCProcResourceDesc &PR = *SM.getProcResource(PRE->ProcResourceIdx); in initializeUsedResources()
216 const MCProcResourceDesc &PR = *SM.getProcResource(I); in initializeUsedResources()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DTargetSchedule.h117 const MCProcResourceDesc *getProcResource(unsigned PIdx) const { in getProcResource() function
118 return SchedModel.getProcResource(PIdx); in getProcResource()
125 return SchedModel.getProcResource(PIdx)->Name; in getResourceName()
165 return SchedModel.getProcResource(PIdx)->BufferSize; in getResourceBufferSize()
H A DMachineScheduler.h766 return SchedModel->getProcResource(PIdx)->SubUnitsIdxBegin && in isUnbufferedGroup()
767 !SchedModel->getProcResource(PIdx)->BufferSize; in isUnbufferedGroup()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZHazardRecognizer.cpp179 *SchedModel->getProcResource(PI->ProcResourceIdx); in dumpSU()
238 dbgs() << SchedModel->getProcResource(i)->Name in dumpProcResourceCounters()
244 << SchedModel->getProcResource(CriticalResourceIdx)->Name in dumpProcResourceCounters()
300 if (SchedModel->getProcResource(PI->ProcResourceIdx)->BufferSize == 1) in EmitInstruction()
313 << SchedModel->getProcResource(PI->ProcResourceIdx)->Name in EmitInstruction()
422 switch (SchedModel->getProcResource(PRE.ProcResourceIdx)->BufferSize) { in emitInstruction()
/llvm-project-15.0.7/llvm/lib/MCA/Stages/
H A DInstructionTables.cpp34 const MCProcResourceDesc &ProcResource = *SM.getProcResource(Index); in execute()
51 const MCProcResourceDesc &SubUnit = *SM.getProcResource(SubUnitIdx); in execute()
/llvm-project-15.0.7/llvm/tools/llvm-mca/Views/
H A DResourcePressureView.cpp29 const MCProcResourceDesc &ProcResource = *SM.getProcResource(I); in ResourcePressureView()
73 const MCProcResourceDesc &ProcResource = *SM.getProcResource(I); in printColumnNames()
112 const MCProcResourceDesc &ProcResource = *SM.getProcResource(I); in printResourcePressurePerIter()
H A DBottleneckAnalysis.cpp36 const MCProcResourceDesc &ProcResource = *SM.getProcResource(I); in PressureTracker()
52 const MCProcResourceDesc &PRDesc = *SM.getProcResource(ProcResID); in getResourceUsers()
617 const MCProcResourceDesc &PRDesc = *SM.getProcResource(I); in printBottleneckHints()
H A DSchedulerStatistics.cpp141 const MCProcResourceDesc &ProcResource = *SM.getProcResource(I); in printSchedulerUsage()
H A DBottleneckAnalysis.h169 const MCProcResourceDesc &PRDesc = *SM.getProcResource(ProcResID); in resolveResourceName()
H A DTimelineView.cpp49 const MCProcResourceDesc &MCDesc = *SM.getProcResource(Buffer); in onReservedBuffers()
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/
H A DSchedClassResolution.cpp63 SM.getProcResource(WPR->ProcResourceIdx); in getNonRedundantWriteProcRes()
185 SM.getProcResource(WPR.ProcResourceIdx); in computeIdealizedProcResPressure()
254 if (NameOrId == SchedModel.getProcResource(I)->Name) in findProcResIdx()
H A DAnalysis.cpp414 SM.getProcResource(WPR.ProcResourceIdx)->Name); in printSchedClassDescHtml()
423 .getProcResource(Pressure.first) in printSchedClassDescHtml()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTargetSchedule.cpp72 unsigned NumUnits = SchedModel.getProcResource(Idx)->NumUnits; in init()
78 unsigned NumUnits = SchedModel.getProcResource(Idx)->NumUnits; in init()
315 if (!SchedModel.getProcResource(PRI->ProcResourceIdx)->BufferSize) in computeOutputLatency()
H A DMachineScheduler.cpp2053 NumUnits += SchedModel->getProcResource(i)->NumUnits; in init()
2055 auto SubUnits = SchedModel->getProcResource(i)->SubUnitsIdxBegin; in init()
2056 for (unsigned U = 0, UE = SchedModel->getProcResource(i)->NumUnits; in init()
2107 unsigned NumberOfInstances = SchedModel->getProcResource(PIdx)->NumUnits; in getNextResourceCycle()
2127 auto SubUnits = SchedModel->getProcResource(PIdx)->SubUnitsIdxBegin; in getNextResourceCycle()
2459 if (SchedModel->getProcResource(PIdx)->BufferSize == 0) { in bumpNode()
2807 dbgs() << " " << SchedModel->getProcResource(ResIdx)->Name << " "; in traceCandidate()
H A DMachinePipeliner.cpp1027 STI->getSchedModel().getProcResource(PRE.ProcResourceIdx); in minFuncUnits()
3036 const MCProcResourceDesc &Desc = *SM.getProcResource(I); in initProcResourceVectors()
3044 const MCProcResourceDesc &Desc = *SM.getProcResource(I); in initProcResourceVectors()
3056 const MCProcResourceDesc *ProcResource = SM.getProcResource(I); in initProcResourceVectors()
3091 SM.getProcResource(I->ProcResourceIdx); in canReserveResources()
3133 SM.getProcResource(PRE.ProcResourceIdx); in reserveResources()
H A DMachineTraceMetrics.cpp874 << MTM.SchedModel.getProcResource(K)->Name << " (" in computeInstrDepths()
1058 << MTM.SchedModel.getProcResource(K)->Name << " (" in computeInstrHeights()
H A DScheduleDAGInstrs.cpp590 switch (SchedModel.getProcResource(PRE.ProcResourceIdx)->BufferSize) { in initSUnits()
/llvm-project-15.0.7/llvm/lib/MCA/HardwareUnits/
H A DLSUnit.cpp31 const MCProcResourceDesc &LdQDesc = *SM.getProcResource(EPI.LoadQueueID); in LSUnitBase()
36 const MCProcResourceDesc &StQDesc = *SM.getProcResource(EPI.StoreQueueID); in LSUnitBase()
H A DResourceManager.cpp131 std::make_unique<ResourceState>(*SM.getProcResource(I), I, Mask); in ResourceManager()
/llvm-project-15.0.7/llvm/unittests/tools/llvm-exegesis/PowerPC/
H A DAnalysisTest.cpp41 const std::string Name = SM.getProcResource(I)->Name; in PPCAnalysisTest()
/llvm-project-15.0.7/llvm/unittests/tools/llvm-exegesis/X86/
H A DSchedClassResolutionTest.cpp33 const std::string Name = SM.getProcResource(I)->Name; in X86SchedClassResolutionTest()
/llvm-project-15.0.7/llvm/tools/llvm-mca/
H A DPipelinePrinter.cpp86 const MCProcResourceDesc &ProcResource = *SM.getProcResource(I); in getJSONTargetInfo()
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCSchedule.h339 const MCProcResourceDesc *getProcResource(unsigned ProcResourceIdx) const { in getProcResource() function
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCSchedule.cpp97 unsigned NumUnits = SM.getProcResource(I->ProcResourceIdx)->NumUnits; in getReciprocalThroughput()