Home
last modified time | relevance | path

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

/external/mesa3d/src/intel/compiler/
Dbrw_vec4_reg_allocate.cpp44 unsigned int hw_reg_mapping[this->alloc.count]; in reg_allocate_trivial() local
65 hw_reg_mapping[0] = this->first_non_payload_grf; in reg_allocate_trivial()
66 next = hw_reg_mapping[0] + this->alloc.sizes[0]; in reg_allocate_trivial()
69 hw_reg_mapping[i] = next; in reg_allocate_trivial()
76 assign(hw_reg_mapping, &inst->dst); in reg_allocate_trivial()
77 assign(hw_reg_mapping, &inst->src[0]); in reg_allocate_trivial()
78 assign(hw_reg_mapping, &inst->src[1]); in reg_allocate_trivial()
79 assign(hw_reg_mapping, &inst->src[2]); in reg_allocate_trivial()
195 unsigned int hw_reg_mapping[alloc.count]; in reg_allocate() local
263 hw_reg_mapping[i] = compiler->vec4_reg_set.ra_reg_to_grf[reg]; in reg_allocate()
[all …]
Dbrw_fs_reg_allocate.cpp48 unsigned hw_reg_mapping[this->alloc.count + 1]; in assign_regs_trivial() local
53 hw_reg_mapping[0] = ALIGN(this->first_non_payload_grf, reg_width); in assign_regs_trivial()
55 hw_reg_mapping[i] = (hw_reg_mapping[i - 1] + in assign_regs_trivial()
58 this->grf_used = hw_reg_mapping[this->alloc.count]; in assign_regs_trivial()
61 assign_reg(hw_reg_mapping, &inst->dst); in assign_regs_trivial()
63 assign_reg(hw_reg_mapping, &inst->src[i]); in assign_regs_trivial()
1332 unsigned hw_reg_mapping[fs->alloc.count]; in assign_regs() local
1337 hw_reg_mapping[i] = compiler->fs_reg_sets[rsi].ra_reg_to_grf[reg]; in assign_regs()
1339 hw_reg_mapping[i] + fs->alloc.sizes[i]); in assign_regs()
1343 assign_reg(hw_reg_mapping, &inst->dst); in assign_regs()
[all …]