Lines Matching refs:class_count
94 unsigned int class_count; member
344 regs->class_count + 1); in ra_alloc_reg_class()
347 regs->classes[regs->class_count] = class; in ra_alloc_reg_class()
351 return regs->class_count++; in ra_alloc_reg_class()
385 for (b = 0; b < regs->class_count; b++) { in ra_set_finalize()
386 regs->classes[b]->q = ralloc_array(regs, unsigned int, regs->class_count); in ra_set_finalize()
390 for (b = 0; b < regs->class_count; b++) { in ra_set_finalize()
391 for (c = 0; c < regs->class_count; c++) { in ra_set_finalize()
399 for (b = 0; b < regs->class_count; b++) { in ra_set_finalize()
400 for (c = 0; c < regs->class_count; c++) { in ra_set_finalize()
429 blob_write_uint32(blob, regs->class_count); in ra_set_serialize()
438 for (unsigned int c = 0; c < regs->class_count; c++) { in ra_set_serialize()
443 blob_write_bytes(blob, class->q, regs->class_count * sizeof(*class->q)); in ra_set_serialize()
453 unsigned int class_count = blob_read_uint32(blob); in ra_set_deserialize() local
465 regs->classes = ralloc_array(regs->regs, struct ra_class *, class_count); in ra_set_deserialize()
466 regs->class_count = class_count; in ra_set_deserialize()
468 for (unsigned int c = 0; c < class_count; c++) { in ra_set_deserialize()
478 class->q = ralloc_array(regs->classes[c], unsigned int, class_count); in ra_set_deserialize()
479 blob_copy_bytes(blob, class->q, class_count * sizeof(*class->q)); in ra_set_deserialize()