Lines Matching refs:PRKinds
96 unsigned PRKinds = SchedModel.getNumProcResourceKinds(); in getResources() local
97 SmallVector<unsigned, 32> PRCycles(PRKinds); in getResources()
116 assert(PI->ProcResourceIdx < PRKinds && "Bad processor resource kind"); in getResources()
123 unsigned PROffset = MBB->getNumber() * PRKinds; in getResources()
124 for (unsigned K = 0; K != PRKinds; ++K) in getResources()
135 unsigned PRKinds = SchedModel.getNumProcResourceKinds(); in getProcResourceCycles() local
136 assert((MBBNum+1) * PRKinds <= ProcResourceCycles.size()); in getProcResourceCycles()
137 return makeArrayRef(ProcResourceCycles.data() + MBBNum * PRKinds, PRKinds); in getProcResourceCycles()
148 unsigned PRKinds = MTM.SchedModel.getNumProcResourceKinds(); in Ensemble() local
149 ProcResourceDepths.resize(MTM.BlockInfo.size() * PRKinds); in Ensemble()
150 ProcResourceHeights.resize(MTM.BlockInfo.size() * PRKinds); in Ensemble()
166 unsigned PRKinds = MTM.SchedModel.getNumProcResourceKinds(); in computeDepthResources() local
167 unsigned PROffset = MBB->getNumber() * PRKinds; in computeDepthResources()
174 ProcResourceDepths.begin() + PROffset + PRKinds, 0); in computeDepthResources()
190 for (unsigned K = 0; K != PRKinds; ++K) in computeDepthResources()
199 unsigned PRKinds = MTM.SchedModel.getNumProcResourceKinds(); in computeHeightResources() local
200 unsigned PROffset = MBB->getNumber() * PRKinds; in computeHeightResources()
224 for (unsigned K = 0; K != PRKinds; ++K) in computeHeightResources()
255 unsigned PRKinds = MTM.SchedModel.getNumProcResourceKinds(); in getProcResourceDepths() local
256 assert((MBBNum+1) * PRKinds <= ProcResourceDepths.size()); in getProcResourceDepths()
257 return makeArrayRef(ProcResourceDepths.data() + MBBNum * PRKinds, PRKinds); in getProcResourceDepths()
268 unsigned PRKinds = MTM.SchedModel.getNumProcResourceKinds(); in getProcResourceHeights() local
269 assert((MBBNum+1) * PRKinds <= ProcResourceHeights.size()); in getProcResourceHeights()
270 return makeArrayRef(ProcResourceHeights.data() + MBBNum * PRKinds, PRKinds); in getProcResourceHeights()