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