Lines Matching refs:reg
8971 /* src2 is ignored for writelane. RA assigns the same reg for dst */
11374 PhysReg color_start(exports_start.reg() + color_index * 4);
11588 unsigned reg = ctx->args->ac.args[i].offset;
11591 if (file == AC_ARG_SGPR && reg % MIN2(4, util_next_power_of_two(size))) {
11595 startpgm->definitions[arg++] = Definition(elems[j].id(), PhysReg{reg + j}, s1);
11602 startpgm->definitions[arg].setFixed(PhysReg{file == AC_ARG_SGPR ? reg : reg + 256});
12205 unsigned reg = args->ac.args[arg.arg_index].offset;
12207 return Operand(PhysReg(file == AC_ARG_SGPR ? reg : reg + 256),
12214 unsigned count = MIN2((bld.program->dev.sgpr_limit - dest.reg()) / 4u, max);
12338 align((has_nontrivial_divisors ? prolog_input : vertex_buffers).advance(8).reg(), 4));
12345 PhysReg vertex_index(attributes_start.reg() + key->num_attributes * 4 - 1);
12346 PhysReg instance_index(attributes_start.reg() + key->num_attributes * 4 - 2);
12347 PhysReg start_instance_vgpr(attributes_start.reg() + key->num_attributes * 4 - 3);
12348 PhysReg nontrivial_tmp_vgpr0(attributes_start.reg() + key->num_attributes * 4 - 4);
12349 PhysReg nontrivial_tmp_vgpr1(attributes_start.reg() + key->num_attributes * 4);
12362 unsigned num_vgprs = attributes_start.reg() - 256;
12371 num_sgprs = MAX2(num_sgprs, desc.advance(num_descs * 16u).reg());
12407 PhysReg dest(attributes_start.reg() + loc * 4u);
12478 PhysReg alpha(attributes_start.reg() + loc * 4u + 3);