Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSchedule.h69 uint16_t ProcResourceIdx; member
80 return ProcResourceIdx == Other.ProcResourceIdx &&
359 const MCProcResourceDesc *getProcResource(unsigned ProcResourceIdx) const { in getProcResource()
362 assert(ProcResourceIdx < NumProcResourceKinds && "bad proc resource idx"); in getProcResource()
363 return &ProcResourceTable[ProcResourceIdx]; in getProcResource()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DSubtargetEmitter.cpp70 return LHS.ProcResourceIdx < RHS.ProcResourceIdx; in operator ()()
1193 WPREntry.ProcResourceIdx = ProcModel.getProcResourceIdx(PRVec[PRIdx]); in genSchedClassTables()
1194 assert(WPREntry.ProcResourceIdx && "Bad ProcResourceIdx"); in genSchedClassTables()
1214 if (WriteProcResources[WPRIdx].ProcResourceIdx == in genSchedClassTables()
1215 WPREntry.ProcResourceIdx) { in genSchedClassTables()
1343 OS << " {" << format("%2d", WPREntry.ProcResourceIdx) << ", " in emitSchedClassTables()
/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/lib/CodeGen/
H A DTargetSchedule.cpp297 if (!SchedModel.getProcResource(PRI->ProcResourceIdx)->BufferSize) in computeOutputLatency()
H A DMachineTraceMetrics.cpp142 assert(PI->ProcResourceIdx < PRKinds && "Bad processor resource kind"); in getResources()
143 PRCycles[PI->ProcResourceIdx] += PI->ReleaseAtCycle; in getResources()
1277 if (PI->ProcResourceIdx != ResourceIdx) in getResourceLength()
H A DMachineScheduler.cpp1303 SchedModel.getResourceName(PI.ProcResourceIdx); in dumpScheduleTraceTopDown()
1384 SchedModel.getResourceName(PI.ProcResourceIdx); in dumpScheduleTraceBottomUp()
2567 unsigned PIdx = PI->ProcResourceIdx; in init()
2679 if (ResourceGroupSubUnitMasks[PIdx][PE.ProcResourceIdx]) in getNextResourceCycle()
2760 unsigned ResIdx = PE.ProcResourceIdx; in checkHazard()
3040 countResource(SC, PI->ProcResourceIdx, PI->ReleaseAtCycle, NextCycle, in bumpNode()
3053 unsigned PIdx = PI->ProcResourceIdx; in bumpNode()
3277 if (PI->ProcResourceIdx == Policy.ReduceResIdx) in initResourceDelta()
3279 if (PI->ProcResourceIdx == Policy.DemandResIdx) in initResourceDelta()
H A DMachinePipeliner.cpp1413 STI->getSchedModel().getProcResource(PRE.ProcResourceIdx); in minFuncUnits()
1417 F = PRE.ProcResourceIdx; in minFuncUnits()
1455 Resources[PRE.ProcResourceIdx]++; in calcCriticalResources()
3973 ++MRT[positiveModulo(C, InitiationInterval)][PRE.ProcResourceIdx]; in reserveResources()
3985 --MRT[positiveModulo(C, InitiationInterval)][PRE.ProcResourceIdx]; in unreserveResources()
4099 SM.getProcResource(PRE.ProcResourceIdx); in calculateResMII()
4103 ResourceCount[PRE.ProcResourceIdx] += PRE.ReleaseAtCycle; in calculateResMII()
H A DScheduleDAGInstrs.cpp624 switch (SchedModel.getProcResource(PRE.ProcResourceIdx)->BufferSize) { in initSUnits()
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DInstructionInfoView.cpp235 SM.getProcResource(Index->ProcResourceIdx); in collectData()
/freebsd/contrib/llvm-project/llvm/lib/MCA/
H A DInstrBuilder.cpp72 const MCProcResourceDesc &PR = *SM.getProcResource(PRE->ProcResourceIdx); in initializeUsedResources()
85 uint64_t Mask = ProcResourceMasks[PRE->ProcResourceIdx]; in initializeUsedResources()