Lines Matching refs:class_count
222 regs->class_count + 1); in ra_alloc_reg_class()
228 class->index = regs->class_count++; in ra_alloc_reg_class()
296 for (b = 0; b < regs->class_count; b++) { in ra_set_finalize()
297 regs->classes[b]->q = ralloc_array(regs, unsigned int, regs->class_count); in ra_set_finalize()
301 for (b = 0; b < regs->class_count; b++) { in ra_set_finalize()
302 for (c = 0; c < regs->class_count; c++) { in ra_set_finalize()
310 for (b = 0; b < regs->class_count; b++) { in ra_set_finalize()
311 for (c = 0; c < regs->class_count; c++) { in ra_set_finalize()
382 for (int c = 0; c < regs->class_count; c++) in ra_set_finalize()
400 blob_write_uint32(blob, regs->class_count); in ra_set_serialize()
414 for (unsigned int c = 0; c < regs->class_count; c++) { in ra_set_serialize()
420 blob_write_bytes(blob, class->q, regs->class_count * sizeof(*class->q)); in ra_set_serialize()
430 unsigned int class_count = blob_read_uint32(blob); in ra_set_deserialize() local
450 regs->classes = ralloc_array(regs->regs, struct ra_class *, class_count); in ra_set_deserialize()
451 regs->class_count = class_count; in ra_set_deserialize()
453 for (unsigned int c = 0; c < class_count; c++) { in ra_set_deserialize()
466 class->q = ralloc_array(regs->classes[c], unsigned int, class_count); in ra_set_deserialize()
467 blob_copy_bytes(blob, class->q, class_count * sizeof(*class->q)); in ra_set_deserialize()