Home
last modified time | relevance | path

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

/third_party/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()
157 unsigned int hw_reg_mapping[alloc.count]; in reg_allocate() local
223 hw_reg_mapping[i] = ra_get_node_reg(g, i); 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()
1229 unsigned hw_reg_mapping[fs->alloc.count]; in assign_regs() local
1234 hw_reg_mapping[i] = reg; in assign_regs()
1236 hw_reg_mapping[i] + fs->alloc.sizes[i]); in assign_regs()
1240 assign_reg(hw_reg_mapping, &inst->dst); in assign_regs()
[all …]