| /xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/ |
| H A D | brw_fs_validate.cpp | 47 fsv_assert(inst->dst.offset / REG_SIZE + regs_written(inst) <= 53 fsv_assert(inst->src[i].offset / REG_SIZE + regs_read(inst, i) <=
|
| H A D | brw_fs_register_coalesce.cpp | 56 dst.offset += (i < inst->header_size ? REG_SIZE : 199 const int offset = inst->src[0].offset / REG_SIZE; 210 for (unsigned i = 0; i < MAX2(inst->size_written / REG_SIZE, 1); i++) 211 dst_reg_offset[offset + i] = inst->dst.offset / REG_SIZE + i; 259 scan_inst->dst.offset = scan_inst->dst.offset % REG_SIZE + 260 dst_reg_offset[scan_inst->dst.offset / REG_SIZE] * REG_SIZE; 267 scan_inst->src[j].offset = scan_inst->src[j].offset % REG_SIZE + 268 dst_reg_offset[scan_inst->src[j].offset / REG_SIZE] * REG_SIZE; [all...] |
| H A D | brw_ir_fs.h | 85 reg.nr += suboffset / REG_SIZE; 86 reg.offset = suboffset % REG_SIZE; 92 reg.nr += suboffset / REG_SIZE; 93 reg.subnr = suboffset % REG_SIZE; 184 (r.file == UNIFORM ? 4 : REG_SIZE) + r.offset + 217 regions_overlap(byte_offset(t, 4 * REG_SIZE), dr / 2, s, ds); 442 return DIV_ROUND_UP(reg_offset(inst->dst) % REG_SIZE + 445 REG_SIZE); 458 inst->src[i].file == UNIFORM || inst->src[i].file == IMM ? 4 : REG_SIZE;
|
| H A D | brw_ir_vec4.h | 79 reg->nr += suboffset / REG_SIZE; 80 reg->offset = suboffset % REG_SIZE; 87 reg->nr += suboffset / REG_SIZE; 88 reg->subnr = suboffset % REG_SIZE; 235 (r.file == UNIFORM ? 16 : REG_SIZE) + r.offset + 255 t1.offset += 4 * REG_SIZE; 419 return DIV_ROUND_UP(reg_offset(inst->dst) % REG_SIZE + inst->size_written, 420 REG_SIZE); 433 inst->src[i].file == UNIFORM || inst->src[i].file == IMM ? 16 : REG_SIZE;
|
| H A D | brw_vec4_copy_propagation.cpp | 49 inst->dst.offset % REG_SIZE == 0 && 76 return regions_overlap(*src, REG_SIZE, inst->dst, inst->size_written) && 340 if (devinfo->gen < 8 && inst->size_written > REG_SIZE && is_uniform(value)) 366 if (inst->src[arg].offset % REG_SIZE || value.offset % REG_SIZE) 510 if (inst->size_read(i) != REG_SIZE || 511 inst->src[i].offset % REG_SIZE) 515 inst->src[i].offset / REG_SIZE); 527 alloc.offsets[inst->dst.nr] + inst->dst.offset / REG_SIZE;
|
| H A D | brw_fs_live_variables.h | 86 return var_from_vgrf[reg.nr] + reg.offset / REG_SIZE;
|
| H A D | brw_fs_lower_regioning.cpp | 114 if (reg_offset(inst->src[i]) % REG_SIZE != 115 reg_offset(inst->dst) % REG_SIZE) 119 return reg_offset(inst->dst) % REG_SIZE; 146 reg_offset(inst->src[i]) % REG_SIZE > 0 && 154 const unsigned dst_byte_offset = reg_offset(inst->dst) % REG_SIZE; 155 const unsigned src_byte_offset = reg_offset(inst->src[i]) % REG_SIZE; 175 const unsigned dst_byte_offset = reg_offset(inst->dst) % REG_SIZE;
|
| H A D | brw_fs_reg_allocate.cpp | 39 reg->nr = reg_hw_locations[reg->nr] + reg->offset / REG_SIZE; 40 reg->offset %= REG_SIZE; 822 REG_SIZE; 834 spill_offset < (1 << 12) * REG_SIZE); 846 dst.offset += reg_size * REG_SIZE; 847 spill_offset += reg_size * REG_SIZE; 856 REG_SIZE; 862 src.offset += reg_size * REG_SIZE; 863 spill_inst->offset = spill_offset + i * reg_size * REG_SIZE; 977 last_scratch += size * REG_SIZE; [all...] |
| H A D | brw_fs_saturate_propagation.cpp | 127 scan_inst->src[i].offset / REG_SIZE == 128 inst->src[0].offset / REG_SIZE) {
|
| H A D | brw_vec4.cpp | 203 return size_written > REG_SIZE; 217 return mlen * REG_SIZE; 221 return mlen * REG_SIZE; 1096 int reg = inst->src[i].nr + inst->src[i].offset / REG_SIZE; 1115 int reg = inst->dst.nr + inst->dst.offset / REG_SIZE; 1585 inst->dst.offset / REG_SIZE != 0) { 1587 inst->dst.offset / REG_SIZE - 1); 1588 inst->dst.offset %= REG_SIZE; 1592 inst->src[i].offset / REG_SIZE != 0) { 1594 inst->src[i].offset / REG_SIZE [all...] |
| H A D | brw_vec4_reg_allocate.cpp | 36 reg->nr = reg_hw_locations[reg->nr] + reg->offset / REG_SIZE; 37 reg->offset %= REG_SIZE; 410 inst->src[i].offset >= REG_SIZE) 438 if (inst->dst.reladdr || inst->dst.offset >= REG_SIZE)
|
| H A D | brw_fs_generator.cpp | 77 const unsigned reg_width = REG_SIZE / (reg->stride * type_sz(reg->type)); 95 assert(reg->stride * type_sz(reg->type) <= REG_SIZE); 270 const unsigned rlen = dst_is_null ? 0 : inst->size_written / REG_SIZE; 407 assert(inst->size_written % REG_SIZE == 0); 413 inst->header_size, inst->size_written / REG_SIZE, 428 unsigned imm_byte_offset = reg.nr * REG_SIZE + reg.subnr; 433 reg.nr = imm_byte_offset / REG_SIZE; 434 reg.subnr = imm_byte_offset % REG_SIZE; 587 brw_ADD(p, addr, addr, brw_imm_uw(src.nr * REG_SIZE + src.subnr)); 694 assert(inst->size_written % REG_SIZE [all...] |
| /xsrc/external/mit/MesaLib/dist/src/intel/compiler/ |
| H A D | brw_fs_validate.cpp | 47 fsv_assert(inst->dst.offset / REG_SIZE + regs_written(inst) <= 53 fsv_assert(inst->src[i].offset / REG_SIZE + regs_read(inst, i) <=
|
| H A D | brw_fs_register_coalesce.cpp | 58 dst.offset += (i < inst->header_size ? REG_SIZE : 235 const int offset = inst->src[0].offset / REG_SIZE; 246 for (unsigned i = 0; i < MAX2(inst->size_written / REG_SIZE, 1); i++) 247 dst_reg_offset[offset + i] = inst->dst.offset / REG_SIZE + i; 307 scan_inst->dst.offset = scan_inst->dst.offset % REG_SIZE + 308 dst_reg_offset[scan_inst->dst.offset / REG_SIZE] * REG_SIZE; 315 scan_inst->src[j].offset = scan_inst->src[j].offset % REG_SIZE + 316 dst_reg_offset[scan_inst->src[j].offset / REG_SIZE] * REG_SIZE; [all...] |
| H A D | brw_ir_vec4.h | 79 reg->nr += suboffset / REG_SIZE; 80 reg->offset = suboffset % REG_SIZE; 87 reg->nr += suboffset / REG_SIZE; 88 reg->subnr = suboffset % REG_SIZE; 235 (r.file == UNIFORM ? 16 : REG_SIZE) + r.offset + 255 t1.offset += 4 * REG_SIZE; 421 return DIV_ROUND_UP(reg_offset(inst->dst) % REG_SIZE + inst->size_written, 422 REG_SIZE); 435 inst->src[i].file == UNIFORM || inst->src[i].file == IMM ? 16 : REG_SIZE;
|
| H A D | brw_vec4_copy_propagation.cpp | 49 inst->dst.offset % REG_SIZE == 0 && 76 return regions_overlap(*src, REG_SIZE, inst->dst, inst->size_written) && 323 if (inst->size_written > REG_SIZE && is_uniform(value)) 344 if (inst->src[arg].offset % REG_SIZE || value.offset % REG_SIZE) 496 if (inst->size_read(i) != REG_SIZE || 497 inst->src[i].offset % REG_SIZE) 501 inst->src[i].offset / REG_SIZE); 513 alloc.offsets[inst->dst.nr] + inst->dst.offset / REG_SIZE;
|
| H A D | brw_fs_live_variables.h | 97 return var_from_vgrf[reg.nr] + reg.offset / REG_SIZE;
|
| H A D | brw_fs_reg_allocate.cpp | 40 reg->nr = reg_hw_locations[reg->nr] + reg->offset / REG_SIZE; 41 reg->offset %= REG_SIZE; 746 REG_SIZE; 774 unspill_inst->size_written = reg_size * REG_SIZE; 782 } else if (devinfo->ver >= 7 && spill_offset < (1 << 12) * REG_SIZE) { 800 dst.offset += reg_size * REG_SIZE; 801 spill_offset += reg_size * REG_SIZE; 811 REG_SIZE; 857 src.offset += reg_size * REG_SIZE; 858 spill_offset += reg_size * REG_SIZE; [all...] |
| H A D | brw_ir_fs.h | 85 reg.nr += suboffset / REG_SIZE; 86 reg.offset = suboffset % REG_SIZE; 92 reg.nr += suboffset / REG_SIZE; 93 reg.subnr = suboffset % REG_SIZE; 184 (r.file == UNIFORM ? 4 : REG_SIZE) + r.offset + 217 regions_overlap(byte_offset(t, 4 * REG_SIZE), dr / 2, s, ds); 448 return DIV_ROUND_UP(reg_offset(inst->dst) % REG_SIZE + 451 REG_SIZE); 466 const unsigned reg_size = inst->src[i].file == UNIFORM ? 4 : REG_SIZE; 686 alloc.sizes[inst->src[0].nr] * REG_SIZE [all...] |
| H A D | brw_fs_saturate_propagation.cpp | 129 scan_inst->src[i].offset / REG_SIZE == 130 inst->src[0].offset / REG_SIZE) {
|
| H A D | brw_fs_lower_regioning.cpp | 114 if (reg_offset(inst->src[i]) % REG_SIZE != 115 reg_offset(inst->dst) % REG_SIZE) 119 return reg_offset(inst->dst) % REG_SIZE; 146 reg_offset(inst->src[i]) % REG_SIZE > 0 && 154 const unsigned dst_byte_offset = reg_offset(inst->dst) % REG_SIZE; 155 const unsigned src_byte_offset = reg_offset(inst->src[i]) % REG_SIZE; 175 const unsigned dst_byte_offset = reg_offset(inst->dst) % REG_SIZE;
|
| H A D | brw_vec4.cpp | 202 return size_written > REG_SIZE; 216 return mlen * REG_SIZE; 220 return mlen * REG_SIZE; 1080 int reg = inst->src[i].nr + inst->src[i].offset / REG_SIZE; 1099 int reg = inst->dst.nr + inst->dst.offset / REG_SIZE; 1571 inst->dst.offset / REG_SIZE != 0) { 1573 inst->dst.offset / REG_SIZE - 1); 1574 inst->dst.offset %= REG_SIZE; 1578 inst->src[i].offset / REG_SIZE != 0) { 1580 inst->src[i].offset / REG_SIZE [all...] |
| H A D | brw_ir_performance.cpp | 125 td(inst->dst.type), sd(DIV_ROUND_UP(inst->size_written, REG_SIZE)), 134 ss = DIV_ROUND_UP(inst->size_read(2), REG_SIZE) + 135 DIV_ROUND_UP(inst->size_read(3), REG_SIZE); 138 ss = MAX2(ss, DIV_ROUND_UP(inst->size_read(i), REG_SIZE)); 142 sx = DIV_ROUND_UP(inst->exec_size * type_sz(tx), REG_SIZE); 156 td(inst->dst.type), sd(DIV_ROUND_UP(inst->size_written, REG_SIZE)), 162 ss = MAX2(ss, DIV_ROUND_UP(inst->size_read(i), REG_SIZE)); 165 sx = DIV_ROUND_UP(inst->exec_size * type_sz(tx), REG_SIZE); 1238 const unsigned i = r.nr + r.offset / REG_SIZE + delta; 1249 r.nr + r.offset / REG_SIZE [all...] |
| H A D | brw_vec4_reg_allocate.cpp | 36 reg->nr = reg_hw_locations[reg->nr] + reg->offset / REG_SIZE; 37 reg->offset %= REG_SIZE; 369 inst->src[i].offset >= REG_SIZE) 397 if (inst->dst.reladdr || inst->dst.offset >= REG_SIZE)
|
| H A D | brw_fs_generator.cpp | 78 const unsigned reg_width = REG_SIZE / (reg->stride * type_sz(reg->type)); 98 assert(reg->stride * type_sz(reg->type) <= REG_SIZE); 329 const unsigned rlen = dst_is_null ? 0 : inst->size_written / REG_SIZE; 444 assert(inst->size_written % REG_SIZE == 0); 450 inst->header_size, inst->size_written / REG_SIZE, 465 unsigned imm_byte_offset = reg.nr * REG_SIZE + reg.subnr; 470 reg.nr = imm_byte_offset / REG_SIZE; 471 reg.subnr = imm_byte_offset % REG_SIZE; 667 uint32_t src_start_offset = src.nr * REG_SIZE + src.subnr; 830 assert(inst->size_written % REG_SIZE [all...] |