Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSchedule.h64 uint16_t ProcResourceIdx; member
75 return ProcResourceIdx == Other.ProcResourceIdx &&
353 const MCProcResourceDesc *getProcResource(unsigned ProcResourceIdx) const { in getProcResource()
356 assert(ProcResourceIdx < NumProcResourceKinds && "bad proc resource idx"); in getProcResource()
357 return &ProcResourceTable[ProcResourceIdx]; in getProcResource()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DSubtargetEmitter.cpp77 return LHS.ProcResourceIdx < RHS.ProcResourceIdx; in operator ()()
1203 WPREntry.ProcResourceIdx = ProcModel.getProcResourceIdx(PRVec[PRIdx]); in GenSchedClassTables()
1204 assert(WPREntry.ProcResourceIdx && "Bad ProcResourceIdx"); in GenSchedClassTables()
1224 if (WriteProcResources[WPRIdx].ProcResourceIdx in GenSchedClassTables()
1225 == WPREntry.ProcResourceIdx) { in GenSchedClassTables()
1347 OS << " {" << format("%2d", WPREntry.ProcResourceIdx) << ", " in EmitSchedClassTables()
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/
H A DMCSchedule.cpp99 unsigned NumUnits = SM.getProcResource(I->ProcResourceIdx)->NumUnits; in getReciprocalThroughput()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineScheduler.cpp1027 SchedModel.getResourceName(PI.ProcResourceIdx); in dumpScheduleTraceTopDown()
1108 SchedModel.getResourceName(PI.ProcResourceIdx); in dumpScheduleTraceBottomUp()
2253 unsigned PIdx = PI->ProcResourceIdx; in init()
2365 if (ResourceGroupSubUnitMasks[PIdx][PE.ProcResourceIdx]) in getNextResourceCycle()
2442 unsigned ResIdx = PE.ProcResourceIdx; in checkHazard()
2706 countResource(SC, PI->ProcResourceIdx, PI->ReleaseAtCycle, NextCycle, in bumpNode()
2719 unsigned PIdx = PI->ProcResourceIdx; in bumpNode()
2941 if (PI->ProcResourceIdx == Policy.ReduceResIdx) in initResourceDelta()
2943 if (PI->ProcResourceIdx == Policy.DemandResIdx) in initResourceDelta()
H A DTargetSchedule.cpp300 if (!SchedModel.getProcResource(PRI->ProcResourceIdx)->BufferSize) in computeOutputLatency()
H A DMachineTraceMetrics.cpp128 assert(PI->ProcResourceIdx < PRKinds && "Bad processor resource kind"); in getResources()
129 PRCycles[PI->ProcResourceIdx] += PI->ReleaseAtCycle; in getResources()
1249 if (PI->ProcResourceIdx != ResourceIdx) in getResourceLength()
H A DMachinePipeliner.cpp1099 STI->getSchedModel().getProcResource(PRE.ProcResourceIdx); in minFuncUnits()
1103 F = PRE.ProcResourceIdx; in minFuncUnits()
1141 Resources[PRE.ProcResourceIdx]++; in calcCriticalResources()
3540 ++MRT[positiveModulo(C, InitiationInterval)][PRE.ProcResourceIdx]; in reserveResources()
3552 --MRT[positiveModulo(C, InitiationInterval)][PRE.ProcResourceIdx]; in unreserveResources()
3666 SM.getProcResource(PRE.ProcResourceIdx); in calculateResMII()
3670 ResourceCount[PRE.ProcResourceIdx] += PRE.ReleaseAtCycle; in calculateResMII()
H A DScheduleDAGInstrs.cpp607 switch (SchedModel.getProcResource(PRE.ProcResourceIdx)->BufferSize) { in initSUnits()
/freebsd-14.2/contrib/llvm-project/llvm/lib/MCA/
H A DInstrBuilder.cpp71 const MCProcResourceDesc &PR = *SM.getProcResource(PRE->ProcResourceIdx); in initializeUsedResources()
83 uint64_t Mask = ProcResourceMasks[PRE->ProcResourceIdx]; in initializeUsedResources()