Lines Matching refs:NumRegs
280 /// NumRegs if they are all allocated.
281 unsigned getFirstUnallocated(const uint16_t *Regs, unsigned NumRegs) const {
282 for (unsigned i = 0; i != NumRegs; ++i)
285 return NumRegs;
308 unsigned AllocateReg(const uint16_t *Regs, unsigned NumRegs) {
309 unsigned FirstUnalloc = getFirstUnallocated(Regs, NumRegs);
310 if (FirstUnalloc == NumRegs)
321 unsigned NumRegs) {
322 unsigned FirstUnalloc = getFirstUnallocated(Regs, NumRegs);
323 if (FirstUnalloc == NumRegs)