Home
last modified time | relevance | path

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

/src/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()
/src/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()
/src/contrib/llvm-project/llvm/lib/MC/
H A DMCSchedule.cpp99 unsigned NumUnits = SM.getProcResource(I->ProcResourceIdx)->NumUnits; in getReciprocalThroughput()
/src/contrib/llvm-project/llvm/utils/TableGen/
H A DSubtargetEmitter.cpp78 return LHS.ProcResourceIdx < RHS.ProcResourceIdx; in operator ()()
1221 WPREntry.ProcResourceIdx = ProcModel.getProcResourceIdx(PRVec[PRIdx]); in GenSchedClassTables()
1222 assert(WPREntry.ProcResourceIdx && "Bad ProcResourceIdx"); in GenSchedClassTables()
1242 if (WriteProcResources[WPRIdx].ProcResourceIdx == in GenSchedClassTables()
1243 WPREntry.ProcResourceIdx) { in GenSchedClassTables()
1366 OS << " {" << format("%2d", WPREntry.ProcResourceIdx) << ", " in EmitSchedClassTables()
/src/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetSchedule.cpp300 if (!SchedModel.getProcResource(PRI->ProcResourceIdx)->BufferSize) in computeOutputLatency()
H A DMachineScheduler.cpp1063 SchedModel.getResourceName(PI.ProcResourceIdx); in dumpScheduleTraceTopDown()
1144 SchedModel.getResourceName(PI.ProcResourceIdx); in dumpScheduleTraceBottomUp()
2294 unsigned PIdx = PI->ProcResourceIdx; in init()
2406 if (ResourceGroupSubUnitMasks[PIdx][PE.ProcResourceIdx]) in getNextResourceCycle()
2483 unsigned ResIdx = PE.ProcResourceIdx; in checkHazard()
2747 countResource(SC, PI->ProcResourceIdx, PI->ReleaseAtCycle, NextCycle, in bumpNode()
2760 unsigned PIdx = PI->ProcResourceIdx; in bumpNode()
2982 if (PI->ProcResourceIdx == Policy.ReduceResIdx) in initResourceDelta()
2984 if (PI->ProcResourceIdx == Policy.DemandResIdx) in initResourceDelta()
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.cpp1159 STI->getSchedModel().getProcResource(PRE.ProcResourceIdx); in minFuncUnits()
1163 F = PRE.ProcResourceIdx; in minFuncUnits()
1201 Resources[PRE.ProcResourceIdx]++; in calcCriticalResources()
3609 ++MRT[positiveModulo(C, InitiationInterval)][PRE.ProcResourceIdx]; in reserveResources()
3621 --MRT[positiveModulo(C, InitiationInterval)][PRE.ProcResourceIdx]; in unreserveResources()
3735 SM.getProcResource(PRE.ProcResourceIdx); in calculateResMII()
3739 ResourceCount[PRE.ProcResourceIdx] += PRE.ReleaseAtCycle; in calculateResMII()
H A DScheduleDAGInstrs.cpp609 switch (SchedModel.getProcResource(PRE.ProcResourceIdx)->BufferSize) { in initSUnits()
/src/contrib/llvm-project/llvm/lib/MCA/
H A DInstrBuilder.cpp72 const MCProcResourceDesc &PR = *SM.getProcResource(PRE->ProcResourceIdx); in initializeUsedResources()
84 uint64_t Mask = ProcResourceMasks[PRE->ProcResourceIdx]; in initializeUsedResources()