Home
last modified time | relevance | path

Searched refs:contig_len (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/util/
Dregister_allocate.c245 ra_alloc_contig_reg_class(struct ra_regs *regs, int contig_len) in ra_alloc_contig_reg_class() argument
249 assert(contig_len != 0); in ra_alloc_contig_reg_class()
250 c->contig_len = contig_len; in ra_alloc_contig_reg_class()
271 assert(r + class->contig_len <= class->regset->count); in ra_class_add_reg()
316 if (class_b->contig_len && class_c->contig_len) { in ra_set_finalize()
317 if (class_b->contig_len == 1 && class_c->contig_len == 1) { in ra_set_finalize()
330 int max_possible_conflicts = class_b->contig_len + class_c->contig_len - 1; in ra_set_finalize()
335 int start = MAX2(0, (int)rc - class_b->contig_len + 1); in ra_set_finalize()
336 int end = MIN2(regs->count, rc + class_c->contig_len); in ra_set_finalize()
356 assert(!class_b->contig_len && !class_c->contig_len); in ra_set_finalize()
[all …]
Dregister_allocate_internal.h70 int contig_len; member
Dregister_allocate.h57 struct ra_class *ra_alloc_contig_reg_class(struct ra_regs *regs, int contig_len);
/third_party/mesa3d/src/intel/compiler/
Dbrw_fs_reg_allocate.cpp157 int contig_len = aligned_bary_size(dispatch_width); in brw_alloc_reg_set() local
158 aligned_bary_class = ra_alloc_contig_reg_class(regs, contig_len); in brw_alloc_reg_set()
160 for (int i = 0; i <= base_reg_count - contig_len; i += 2) in brw_alloc_reg_set()