Lines Matching refs:PRKinds
109 unsigned PRKinds = SchedModel.getNumProcResourceKinds(); in getResources() local
110 SmallVector<unsigned, 32> PRCycles(PRKinds); in getResources()
129 assert(PI->ProcResourceIdx < PRKinds && "Bad processor resource kind"); in getResources()
136 unsigned PROffset = MBB->getNumber() * PRKinds; in getResources()
137 for (unsigned K = 0; K != PRKinds; ++K) in getResources()
148 unsigned PRKinds = SchedModel.getNumProcResourceKinds(); in getProcResourceCycles() local
149 assert((MBBNum+1) * PRKinds <= ProcResourceCycles.size()); in getProcResourceCycles()
150 return makeArrayRef(ProcResourceCycles.data() + MBBNum * PRKinds, PRKinds); in getProcResourceCycles()
160 unsigned PRKinds = MTM.SchedModel.getNumProcResourceKinds(); in Ensemble() local
161 ProcResourceDepths.resize(MTM.BlockInfo.size() * PRKinds); in Ensemble()
162 ProcResourceHeights.resize(MTM.BlockInfo.size() * PRKinds); in Ensemble()
178 unsigned PRKinds = MTM.SchedModel.getNumProcResourceKinds(); in computeDepthResources() local
179 unsigned PROffset = MBB->getNumber() * PRKinds; in computeDepthResources()
186 ProcResourceDepths.begin() + PROffset + PRKinds, 0); in computeDepthResources()
202 for (unsigned K = 0; K != PRKinds; ++K) in computeDepthResources()
211 unsigned PRKinds = MTM.SchedModel.getNumProcResourceKinds(); in computeHeightResources() local
212 unsigned PROffset = MBB->getNumber() * PRKinds; in computeHeightResources()
235 for (unsigned K = 0; K != PRKinds; ++K) in computeHeightResources()
266 unsigned PRKinds = MTM.SchedModel.getNumProcResourceKinds(); in getProcResourceDepths() local
267 assert((MBBNum+1) * PRKinds <= ProcResourceDepths.size()); in getProcResourceDepths()
268 return makeArrayRef(ProcResourceDepths.data() + MBBNum * PRKinds, PRKinds); in getProcResourceDepths()
279 unsigned PRKinds = MTM.SchedModel.getNumProcResourceKinds(); in getProcResourceHeights() local
280 assert((MBBNum+1) * PRKinds <= ProcResourceHeights.size()); in getProcResourceHeights()
281 return makeArrayRef(ProcResourceHeights.data() + MBBNum * PRKinds, PRKinds); in getProcResourceHeights()