Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/MC/
H A DMCSchedule.h65 uint16_t ProcResourceIdx; member
69 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()
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZHazardRecognizer.cpp180 *SchedModel->getProcResource(PI->ProcResourceIdx); in dumpSU()
301 if (SchedModel->getProcResource(PI->ProcResourceIdx)->BufferSize == 1) in EmitInstruction()
304 ProcResourceCounters[PI->ProcResourceIdx]; in EmitInstruction()
309 (PI->ProcResourceIdx != CriticalResourceIdx && in EmitInstruction()
314 << SchedModel->getProcResource(PI->ProcResourceIdx)->Name in EmitInstruction()
316 CriticalResourceIdx = PI->ProcResourceIdx; in EmitInstruction()
404 if (PI->ProcResourceIdx == CriticalResourceIdx) in resourcesCost()
423 switch (SchedModel->getProcResource(PRE.ProcResourceIdx)->BufferSize) { in emitInstruction()
/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DSubtargetEmitter.cpp68 return LHS.ProcResourceIdx < RHS.ProcResourceIdx; in operator ()()
1104 WPREntry.ProcResourceIdx = ProcModel.getProcResourceIdx(PRVec[PRIdx]); in GenSchedClassTables()
1105 assert(WPREntry.ProcResourceIdx && "Bad ProcResourceIdx"); in GenSchedClassTables()
1113 if (WriteProcResources[WPRIdx].ProcResourceIdx in GenSchedClassTables()
1114 == WPREntry.ProcResourceIdx) { in GenSchedClassTables()
1230 OS << " {" << format("%2d", WPREntry.ProcResourceIdx) << ", " in EmitSchedClassTables()
/freebsd-12.1/contrib/llvm/lib/MCA/
H A DInstrBuilder.cpp68 const MCProcResourceDesc &PR = *SM.getProcResource(PRE->ProcResourceIdx); in initializeUsedResources()
69 uint64_t Mask = ProcResourceMasks[PRE->ProcResourceIdx]; in initializeUsedResources()
73 Buffers.setBit(PRE->ProcResourceIdx); in initializeUsedResources()
/freebsd-12.1/contrib/llvm/lib/MC/
H A DMCSchedule.cpp98 unsigned NumUnits = SM.getProcResource(I->ProcResourceIdx)->NumUnits; in getReciprocalThroughput()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DTargetSchedule.cpp317 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()
1245 if (PI->ProcResourceIdx != ResourceIdx) in getResourceLength()
H A DMachineScheduler.cpp1910 unsigned PIdx = PI->ProcResourceIdx; in init()
1999 unsigned ResIdx = PE.ProcResourceIdx; in checkHazard()
2240 countResource(PI->ProcResourceIdx, PI->Cycles, NextCycle); in bumpNode()
2252 unsigned PIdx = PI->ProcResourceIdx; in bumpNode()
2430 if (PI->ProcResourceIdx == Policy.ReduceResIdx) in initResourceDelta()
2432 if (PI->ProcResourceIdx == Policy.DemandResIdx) in initResourceDelta()
H A DScheduleDAGInstrs.cpp574 switch (SchedModel.getProcResource(PRE.ProcResourceIdx)->BufferSize) { in initSUnits()