Home
last modified time | relevance | path

Searched refs:ProcResourceIdx (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCSchedule.h64 uint16_t ProcResourceIdx; member
68 return ProcResourceIdx == Other.ProcResourceIdx && Cycles == Other.Cycles;
339 const MCProcResourceDesc *getProcResource(unsigned ProcResourceIdx) const { in getProcResource()
342 assert(ProcResourceIdx < NumProcResourceKinds && "bad proc resource idx"); in getProcResource()
343 return &ProcResourceTable[ProcResourceIdx]; in getProcResource()
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/
H A DSchedClassResolution.cpp63 SM.getProcResource(WPR->ProcResourceIdx); in getNonRedundantWriteProcRes()
66 Result.push_back({WPR->ProcResourceIdx, WPR->Cycles}); in getNonRedundantWriteProcRes()
67 ProcResUnitUsage[WPR->ProcResourceIdx] += WPR->Cycles; in getNonRedundantWriteProcRes()
82 Result.push_back({WPR->ProcResourceIdx, in getNonRedundantWriteProcRes()
180 return A.ProcResourceIdx < B.ProcResourceIdx; in computeIdealizedProcResPressure()
185 SM.getProcResource(WPR.ProcResourceIdx); in computeIdealizedProcResPressure()
188 DensePressure[WPR.ProcResourceIdx] += WPR.Cycles; in computeIdealizedProcResPressure()
H A DAnalysis.cpp414 SM.getProcResource(WPR.ProcResourceIdx)->Name); in printSchedClassDescHtml()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZHazardRecognizer.cpp179 *SchedModel->getProcResource(PI->ProcResourceIdx); in dumpSU()
300 if (SchedModel->getProcResource(PI->ProcResourceIdx)->BufferSize == 1) in EmitInstruction()
303 ProcResourceCounters[PI->ProcResourceIdx]; in EmitInstruction()
308 (PI->ProcResourceIdx != CriticalResourceIdx && in EmitInstruction()
313 << SchedModel->getProcResource(PI->ProcResourceIdx)->Name in EmitInstruction()
315 CriticalResourceIdx = PI->ProcResourceIdx; in EmitInstruction()
403 if (PI->ProcResourceIdx == CriticalResourceIdx) in resourcesCost()
422 switch (SchedModel->getProcResource(PRE.ProcResourceIdx)->BufferSize) { in emitInstruction()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DSubtargetEmitter.cpp67 return LHS.ProcResourceIdx < RHS.ProcResourceIdx; in operator ()()
1162 WPREntry.ProcResourceIdx = ProcModel.getProcResourceIdx(PRVec[PRIdx]); in GenSchedClassTables()
1163 assert(WPREntry.ProcResourceIdx && "Bad ProcResourceIdx"); in GenSchedClassTables()
1171 if (WriteProcResources[WPRIdx].ProcResourceIdx in GenSchedClassTables()
1172 == WPREntry.ProcResourceIdx) { in GenSchedClassTables()
1284 OS << " {" << format("%2d", WPREntry.ProcResourceIdx) << ", " in EmitSchedClassTables()
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCSchedule.cpp97 unsigned NumUnits = SM.getProcResource(I->ProcResourceIdx)->NumUnits; in getReciprocalThroughput()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachinePipeliner.cpp1027 STI->getSchedModel().getProcResource(PRE.ProcResourceIdx); in minFuncUnits()
1031 F = PRE.ProcResourceIdx; in minFuncUnits()
1069 Resources[PRE.ProcResourceIdx]++; in calcCriticalResources()
3091 SM.getProcResource(I->ProcResourceIdx); in canReserveResources()
3096 ProcResource->Name, I->ProcResourceIdx, in canReserveResources()
3097 ProcResourceCount[I->ProcResourceIdx], NumUnits, in canReserveResources()
3100 if (ProcResourceCount[I->ProcResourceIdx] >= NumUnits) in canReserveResources()
3129 ++ProcResourceCount[PRE.ProcResourceIdx]; in reserveResources()
3133 SM.getProcResource(PRE.ProcResourceIdx); in reserveResources()
3135 ProcResource->Name, PRE.ProcResourceIdx, in reserveResources()
[all …]
H A DTargetSchedule.cpp315 if (!SchedModel.getProcResource(PRI->ProcResourceIdx)->BufferSize) in computeOutputLatency()
H A DMachineTraceMetrics.cpp129 assert(PI->ProcResourceIdx < PRKinds && "Bad processor resource kind"); in getResources()
130 PRCycles[PI->ProcResourceIdx] += PI->Cycles; in getResources()
1244 if (PI->ProcResourceIdx != ResourceIdx) in getResourceLength()
H A DMachineScheduler.cpp2031 unsigned PIdx = PI->ProcResourceIdx; in init()
2124 if (ResourceGroupSubUnitMasks[PIdx][PE.ProcResourceIdx]) in getNextResourceCycle()
2190 unsigned ResIdx = PE.ProcResourceIdx; in checkHazard()
2446 countResource(SC, PI->ProcResourceIdx, PI->Cycles, NextCycle); in bumpNode()
2458 unsigned PIdx = PI->ProcResourceIdx; in bumpNode()
2631 if (PI->ProcResourceIdx == Policy.ReduceResIdx) in initResourceDelta()
2633 if (PI->ProcResourceIdx == Policy.DemandResIdx) in initResourceDelta()
H A DScheduleDAGInstrs.cpp590 switch (SchedModel.getProcResource(PRE.ProcResourceIdx)->BufferSize) { in initSUnits()
/llvm-project-15.0.7/llvm/lib/MCA/
H A DInstrBuilder.cpp70 const MCProcResourceDesc &PR = *SM.getProcResource(PRE->ProcResourceIdx); in initializeUsedResources()
82 uint64_t Mask = ProcResourceMasks[PRE->ProcResourceIdx]; in initializeUsedResources()