Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MC/
H A DMCSchedule.h65 uint16_t ProcResourceIdx; member
69 return ProcResourceIdx == Other.ProcResourceIdx && Cycles == Other.Cycles;
340 const MCProcResourceDesc *getProcResource(unsigned ProcResourceIdx) const { in getProcResource()
343 assert(ProcResourceIdx < NumProcResourceKinds && "bad proc resource idx"); in getProcResource()
344 return &ProcResourceTable[ProcResourceIdx]; in getProcResource()
/netbsd-src/external/apache2/llvm/dist/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.cpp411 SM.getProcResource(WPR.ProcResourceIdx)->Name); in printSchedClassDescHtml()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DSubtargetEmitter.cpp67 return LHS.ProcResourceIdx < RHS.ProcResourceIdx; in operator ()()
1126 WPREntry.ProcResourceIdx = ProcModel.getProcResourceIdx(PRVec[PRIdx]); in GenSchedClassTables()
1127 assert(WPREntry.ProcResourceIdx && "Bad ProcResourceIdx"); in GenSchedClassTables()
1135 if (WriteProcResources[WPRIdx].ProcResourceIdx in GenSchedClassTables()
1136 == WPREntry.ProcResourceIdx) { in GenSchedClassTables()
1248 OS << " {" << format("%2d", WPREntry.ProcResourceIdx) << ", " in EmitSchedClassTables()
/netbsd-src/external/apache2/llvm/dist/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()
3032 SM.getProcResource(I->ProcResourceIdx); in canReserveResources()
3037 ProcResource->Name, I->ProcResourceIdx, in canReserveResources()
3038 ProcResourceCount[I->ProcResourceIdx], NumUnits, in canReserveResources()
3041 if (ProcResourceCount[I->ProcResourceIdx] >= NumUnits) in canReserveResources()
3070 ++ProcResourceCount[PRE.ProcResourceIdx]; in reserveResources()
3074 SM.getProcResource(PRE.ProcResourceIdx); in reserveResources()
3076 ProcResource->Name, PRE.ProcResourceIdx, in reserveResources()
[all …]
H A DTargetSchedule.cpp316 if (!SchedModel.getProcResource(PRI->ProcResourceIdx)->BufferSize) in computeOutputLatency()
H A DMachineScheduler.cpp2032 unsigned PIdx = PI->ProcResourceIdx; in init()
2125 if (ResourceGroupSubUnitMasks[PIdx][PE.ProcResourceIdx]) in getNextResourceCycle()
2191 unsigned ResIdx = PE.ProcResourceIdx; in checkHazard()
2447 countResource(SC, PI->ProcResourceIdx, PI->Cycles, NextCycle); in bumpNode()
2459 unsigned PIdx = PI->ProcResourceIdx; in bumpNode()
2632 if (PI->ProcResourceIdx == Policy.ReduceResIdx) in initResourceDelta()
2634 if (PI->ProcResourceIdx == Policy.DemandResIdx) in initResourceDelta()
H A DMachineTraceMetrics.cpp129 assert(PI->ProcResourceIdx < PRKinds && "Bad processor resource kind"); in getResources()
130 PRCycles[PI->ProcResourceIdx] += PI->Cycles; in getResources()
1245 if (PI->ProcResourceIdx != ResourceIdx) in getResourceLength()
H A DScheduleDAGInstrs.cpp600 switch (SchedModel.getProcResource(PRE.ProcResourceIdx)->BufferSize) { in initSUnits()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DMCSchedule.cpp97 unsigned NumUnits = SM.getProcResource(I->ProcResourceIdx)->NumUnits; in getReciprocalThroughput()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MCA/
H A DInstrBuilder.cpp67 const MCProcResourceDesc &PR = *SM.getProcResource(PRE->ProcResourceIdx); in initializeUsedResources()
79 uint64_t Mask = ProcResourceMasks[PRE->ProcResourceIdx]; in initializeUsedResources()