Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/MCA/
H A DSupport.cpp51 const MCProcResourceDesc &Desc = *SM.getProcResource(I); in computeProcResourceMasks()
60 const MCProcResourceDesc &Desc = *SM.getProcResource(I); in computeProcResourceMasks()
75 const MCProcResourceDesc &Desc = *SM.getProcResource(I); in computeProcResourceMasks()
99 const MCProcResourceDesc &MCDesc = *SM.getProcResource(I); in computeBlockRThroughput()
H A DInstrBuilder.cpp72 const MCProcResourceDesc &PR = *SM.getProcResource(PRE->ProcResourceIdx); in initializeUsedResources()
189 const MCProcResourceDesc &PR = *SM.getProcResource(I); in initializeUsedResources()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetSchedule.h130 const MCProcResourceDesc *getProcResource(unsigned PIdx) const { in getProcResource() function
131 return SchedModel.getProcResource(PIdx); in getProcResource()
138 return SchedModel.getProcResource(PIdx)->Name; in getResourceName()
178 return SchedModel.getProcResource(PIdx)->BufferSize; in getResourceBufferSize()
H A DMachineScheduler.h1026 return SchedModel->getProcResource(PIdx)->SubUnitsIdxBegin && in isUnbufferedGroup()
1027 !SchedModel->getProcResource(PIdx)->BufferSize; in isUnbufferedGroup()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DResourcePressureView.cpp29 const MCProcResourceDesc &ProcResource = *SM.getProcResource(I); in ResourcePressureView()
92 const MCProcResourceDesc &ProcResource = *SM.getProcResource(I); in printColumnNames()
131 const MCProcResourceDesc &ProcResource = *SM.getProcResource(I); in printResourcePressurePerIter()
H A DInstructionInfoView.cpp64 const MCProcResourceDesc &ProcResource = *SM.getProcResource(I); in printView()
76 FOS << SM.getProcResource(ProcResource.SubUnitsIdxBegin[U])->Name; in printView()
235 SM.getProcResource(Index->ProcResourceIdx); in collectData()
H A DBottleneckAnalysis.cpp36 const MCProcResourceDesc &ProcResource = *SM.getProcResource(I); in PressureTracker()
51 const MCProcResourceDesc &PRDesc = *SM.getProcResource(ProcResID); in getResourceUsers()
617 const MCProcResourceDesc &PRDesc = *SM.getProcResource(I); in printBottleneckHints()
670 const MCProcResourceDesc &PRDesc = *SM.getProcResource(I); in toJSON()
H A DSchedulerStatistics.cpp140 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()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetSchedule.cpp58 unsigned NumUnits = SchedModel.getProcResource(Idx)->NumUnits; in init()
64 unsigned NumUnits = SchedModel.getProcResource(Idx)->NumUnits; in init()
297 if (!SchedModel.getProcResource(PRI->ProcResourceIdx)->BufferSize) in computeOutputLatency()
H A DMachineScheduler.cpp2591 NumUnits += SchedModel->getProcResource(i)->NumUnits; in init()
2593 auto SubUnits = SchedModel->getProcResource(i)->SubUnitsIdxBegin; in init()
2594 for (unsigned U = 0, UE = SchedModel->getProcResource(i)->NumUnits; in init()
2660 unsigned NumberOfInstances = SchedModel->getProcResource(PIdx)->NumUnits; in getNextResourceCycle()
2684 auto SubUnits = SchedModel->getProcResource(PIdx)->SubUnitsIdxBegin; in getNextResourceCycle()
3054 if (SchedModel->getProcResource(PIdx)->BufferSize == 0) { in bumpNode()
3220 const unsigned NumUnits = SchedModel->getProcResource(ResIdx)->NumUnits; in dumpReservedCycles()
3455 dbgs() << " " << SchedModel->getProcResource(ResIdx)->Name << " "; in traceCandidate()
H A DMachinePipeliner.cpp1413 STI->getSchedModel().getProcResource(PRE.ProcResourceIdx); in minFuncUnits()
3883 const MCProcResourceDesc &Desc = *SM.getProcResource(I); in initProcResourceVectors()
3891 const MCProcResourceDesc &Desc = *SM.getProcResource(I); in initProcResourceVectors()
3903 const MCProcResourceDesc *ProcResource = SM.getProcResource(I); in initProcResourceVectors()
3995 const MCProcResourceDesc *Desc = SM.getProcResource(I); in isOverbooked()
4099 SM.getProcResource(PRE.ProcResourceIdx); in calculateResMII()
4126 const MCProcResourceDesc *Desc = SM.getProcResource(I); in calculateResMII()
H A DMachineTraceMetrics.cpp915 << MTM.SchedModel.getProcResource(K)->Name << " (" in computeInstrDepths()
1095 << MTM.SchedModel.getProcResource(K)->Name << " (" in computeInstrHeights()
H A DScheduleDAGInstrs.cpp624 switch (SchedModel.getProcResource(PRE.ProcResourceIdx)->BufferSize) { in initSUnits()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/
H A DPipelinePrinter.cpp86 const MCProcResourceDesc &ProcResource = *SM.getProcResource(I); in getJSONTargetInfo()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCSchedule.cpp108 unsigned NumUnits = SM.getProcResource(I->ProcResourceIdx)->NumUnits; in getReciprocalThroughput()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSchedule.h359 const MCProcResourceDesc *getProcResource(unsigned ProcResourceIdx) const { in getProcResource() function