Lines Matching refs:PRKinds
108 unsigned PRKinds = SchedModel.getNumProcResourceKinds(); in getResources() local
109 SmallVector<unsigned, 32> PRCycles(PRKinds); in getResources()
128 assert(PI->ProcResourceIdx < PRKinds && "Bad processor resource kind"); in getResources()
135 unsigned PROffset = MBB->getNumber() * PRKinds; in getResources()
136 for (unsigned K = 0; K != PRKinds; ++K) in getResources()
147 unsigned PRKinds = SchedModel.getNumProcResourceKinds(); in getProcReleaseAtCycles() local
148 assert((MBBNum+1) * PRKinds <= ProcReleaseAtCycles.size()); in getProcReleaseAtCycles()
149 return ArrayRef(ProcReleaseAtCycles.data() + MBBNum * PRKinds, PRKinds); in getProcReleaseAtCycles()
159 unsigned PRKinds = MTM.SchedModel.getNumProcResourceKinds(); in Ensemble() local
160 ProcResourceDepths.resize(MTM.BlockInfo.size() * PRKinds); in Ensemble()
161 ProcResourceHeights.resize(MTM.BlockInfo.size() * PRKinds); in Ensemble()
177 unsigned PRKinds = MTM.SchedModel.getNumProcResourceKinds(); in computeDepthResources() local
178 unsigned PROffset = MBB->getNumber() * PRKinds; in computeDepthResources()
185 ProcResourceDepths.begin() + PROffset + PRKinds, 0); in computeDepthResources()
201 for (unsigned K = 0; K != PRKinds; ++K) in computeDepthResources()
210 unsigned PRKinds = MTM.SchedModel.getNumProcResourceKinds(); in computeHeightResources() local
211 unsigned PROffset = MBB->getNumber() * PRKinds; in computeHeightResources()
234 for (unsigned K = 0; K != PRKinds; ++K) in computeHeightResources()
265 unsigned PRKinds = MTM.SchedModel.getNumProcResourceKinds(); in getProcResourceDepths() local
266 assert((MBBNum+1) * PRKinds <= ProcResourceDepths.size()); in getProcResourceDepths()
267 return ArrayRef(ProcResourceDepths.data() + MBBNum * PRKinds, PRKinds); in getProcResourceDepths()
278 unsigned PRKinds = MTM.SchedModel.getNumProcResourceKinds(); in getProcResourceHeights() local
279 assert((MBBNum+1) * PRKinds <= ProcResourceHeights.size()); in getProcResourceHeights()
280 return ArrayRef(ProcResourceHeights.data() + MBBNum * PRKinds, PRKinds); in getProcResourceHeights()