Home
last modified time | relevance | path

Searched refs:current_reg (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/freedreno/registers/
Dgen_header.py368 self.current_reg = Reg(attrs, self.prefix(), self.current_array, bit_size)
369 self.current_reg.bitset = self.current_bitset
372 self.file.append(self.current_reg)
424 self.current_reg = None
/external/mesa3d/src/amd/compiler/
Daco_register_allocation.cpp630 for (unsigned current_reg = lb; current_reg < ub; current_reg++) { in get_reg_simple() local
632 if (reg_file[current_reg] == 0 && !ctx.war_hint[current_reg]) { in get_reg_simple()
634 last_pos = current_reg; in get_reg_simple()
637 if (current_reg == ctx.max_used_sgpr + 1 || current_reg == 256 + ctx.max_used_vgpr + 1) in get_reg_simple()
647 if (last_pos + size == current_reg) { in get_reg_simple()
653 if (last_pos + size < current_reg && current_reg - last_pos < gap_size) { in get_reg_simple()
655 gap_size = current_reg - last_pos; in get_reg_simple()