Lines Matching refs:alloc

569    fs_reg dst = fs_reg(VGRF, alloc.allocate(1), BRW_REGISTER_TYPE_UD);
1120 alloc.allocate(glsl_count_dword_slots(type, false) * reg_width),
2136 int num_vars = this->alloc.count;
2143 reg_count += alloc.sizes[i];
2159 for (unsigned j = 1; j < this->alloc.sizes[inst->dst.nr]; j++)
2166 for (unsigned j = 1; j < this->alloc.sizes[inst->src[i].nr]; j++)
2180 assert(inst->size_written == alloc.sizes[inst->dst.nr] * REG_SIZE);
2217 for (unsigned j = 1; j < alloc.sizes[i]; j++) {
2225 int grf = alloc.allocate(offset);
2237 alloc.sizes[i] = offset;
2259 reg_offset += alloc.sizes[new_virtual_grf[reg]];
2277 alloc.sizes[new_virtual_grf[reg]]);
2293 alloc.sizes[new_virtual_grf[reg]]);
2326 int *remap_table = new int[this->alloc.count];
2327 memset(remap_table, -1, this->alloc.count * sizeof(int));
2342 for (unsigned i = 0; i < this->alloc.count; i++) {
2350 alloc.sizes[new_index] = alloc.sizes[i];
2356 this->alloc.count = new_index;
2949 lp->dst = fs_reg(VGRF, alloc.allocate(lp->size_written / REG_SIZE), lp->dst.type);
2950 lp2->dst = fs_reg(VGRF, alloc.allocate(lp2->size_written / REG_SIZE), lp2->dst.type);
2975 unsigned remap[alloc.count];
2976 memset(remap, ~0u, sizeof(unsigned) * alloc.count);
3000 alloc.sizes[inst->dst.nr] * REG_SIZE == inst->size_written &&
3005 remap[dst] = alloc.allocate(regs_written(inst));
3938 fs_reg imm(VGRF, alloc.allocate(dispatch_width / 8), inst->dst.type);
4008 low = fs_reg(VGRF, alloc.allocate(regs_written(inst)),
4013 fs_reg high(VGRF, alloc.allocate(regs_written(inst)), inst->dst.type);
4082 fs_reg bd(VGRF, alloc.allocate(q_regs), BRW_REGISTER_TYPE_UQ);
4083 fs_reg ad(VGRF, alloc.allocate(d_regs), BRW_REGISTER_TYPE_UD);
4084 fs_reg bc(VGRF, alloc.allocate(d_regs), BRW_REGISTER_TYPE_UD);
4091 fs_reg bd_high(VGRF, alloc.allocate(d_regs), BRW_REGISTER_TYPE_UD);
4092 fs_reg bd_low(VGRF, alloc.allocate(d_regs), BRW_REGISTER_TYPE_UD);
5732 alloc.sizes[inst->dst.nr] * REG_SIZE != inst->size_written)) {
5831 alloc.sizes[inst->src[i].nr] * REG_SIZE != inst->size_read(i))) {
6004 for (unsigned reg = 0; reg < v->alloc.count; reg++) {
6006 regs_live_at_ip[ip] += v->alloc.sizes[reg];
6219 fs_reg tmp = fs_reg(VGRF, alloc.allocate(inst->ex_mlen),
6259 inst->dst = fs_reg(VGRF, alloc.allocate(dispatch_width / 8),