Lines Matching refs:PRKinds
122 unsigned PRKinds = SchedModel.getNumProcResourceKinds(); in getResources() local
123 SmallVector<unsigned, 32> PRCycles(PRKinds); in getResources()
142 assert(PI->ProcResourceIdx < PRKinds && "Bad processor resource kind"); in getResources()
149 unsigned PROffset = MBB->getNumber() * PRKinds; in getResources()
150 for (unsigned K = 0; K != PRKinds; ++K) in getResources()
161 unsigned PRKinds = SchedModel.getNumProcResourceKinds(); in getProcReleaseAtCycles() local
162 assert((MBBNum+1) * PRKinds <= ProcReleaseAtCycles.size()); in getProcReleaseAtCycles()
163 return ArrayRef(ProcReleaseAtCycles.data() + MBBNum * PRKinds, PRKinds); in getProcReleaseAtCycles()
173 unsigned PRKinds = MTM.SchedModel.getNumProcResourceKinds(); in Ensemble() local
174 ProcResourceDepths.resize(MTM.BlockInfo.size() * PRKinds); in Ensemble()
175 ProcResourceHeights.resize(MTM.BlockInfo.size() * PRKinds); in Ensemble()
191 unsigned PRKinds = MTM.SchedModel.getNumProcResourceKinds(); in computeDepthResources() local
192 unsigned PROffset = MBB->getNumber() * PRKinds; in computeDepthResources()
199 ProcResourceDepths.begin() + PROffset + PRKinds, 0); in computeDepthResources()
215 for (unsigned K = 0; K != PRKinds; ++K) in computeDepthResources()
224 unsigned PRKinds = MTM.SchedModel.getNumProcResourceKinds(); in computeHeightResources() local
225 unsigned PROffset = MBB->getNumber() * PRKinds; in computeHeightResources()
248 for (unsigned K = 0; K != PRKinds; ++K) in computeHeightResources()
279 unsigned PRKinds = MTM.SchedModel.getNumProcResourceKinds(); in getProcResourceDepths() local
280 assert((MBBNum+1) * PRKinds <= ProcResourceDepths.size()); in getProcResourceDepths()
281 return ArrayRef(ProcResourceDepths.data() + MBBNum * PRKinds, PRKinds); in getProcResourceDepths()
292 unsigned PRKinds = MTM.SchedModel.getNumProcResourceKinds(); in getProcResourceHeights() local
293 assert((MBBNum+1) * PRKinds <= ProcResourceHeights.size()); in getProcResourceHeights()
294 return ArrayRef(ProcResourceHeights.data() + MBBNum * PRKinds, PRKinds); in getProcResourceHeights()