/external/mesa3d/src/intel/compiler/ |
D | brw_ir_fs.h | 117 return byte_offset(reg, delta * reg.stride * type_sz(reg.type)); in horiz_offset() 124 return byte_offset(reg, delta * stride * type_sz(reg.type)); in horiz_offset() 198 return (MAX2(1, stride) - 1) * type_sz(r.type); in reg_padding() 294 assert((i + 1) * type_sz(type) <= type_sz(reg.type)); in subscript() 300 const int delta = _mesa_logbase2(type_sz(reg.type)) - in subscript() 301 _mesa_logbase2(type_sz(type)); in subscript() 309 reg.stride *= type_sz(reg.type) / type_sz(type); in subscript() 312 return byte_offset(retype(reg, type), i * type_sz(type)); in subscript() 457 if (type_sz(t) > type_sz(exec_type)) in get_exec_type() 459 else if (type_sz(t) == type_sz(exec_type) && in get_exec_type() [all …]
|
D | brw_ir_vec4.h | 110 return byte_offset(reg, num_components * type_sz(reg.type) * delta); in offset() 116 return byte_offset(reg, delta * type_sz(reg.type)); in horiz_offset() 191 return byte_offset(reg, num_components * type_sz(reg.type) * delta); in offset() 200 return byte_offset(reg, delta * type_sz(reg.type)); in horiz_offset() 443 if (type_sz(t) > type_sz(exec_type)) in get_exec_type() 445 else if (type_sz(t) == type_sz(exec_type) && in get_exec_type() 465 return type_sz(get_exec_type(inst)); in get_exec_type_size()
|
D | brw_fs_copy_propagation.cpp | 329 if (type_sz(inst->src[arg].type) > 4) in can_take_stride() 422 if (type_sz(entry->dst.type) < type_sz(inst->src[arg].type)) in try_copy_propagate() 440 type_sz(inst->src[arg].type)) % type_sz(entry->src.type) != 0) in try_copy_propagate() 452 type_sz(entry->dst.type) != type_sz(inst->src[arg].type))) in try_copy_propagate() 488 const unsigned component = rel_offset / type_sz(entry->dst.type); in try_copy_propagate() 489 const unsigned suboffset = rel_offset % type_sz(entry->dst.type); in try_copy_propagate() 495 component * entry->src.stride * type_sz(entry->src.type) + in try_copy_propagate() 528 if (type_sz(entry->src.type) > 4) in try_constant_propagate() 553 if (type_sz(inst->src[i].type) != type_sz(entry->dst.type)) in try_constant_propagate() 832 assert(effective_width * type_sz(inst->src[i].type) % REG_SIZE == 0); in opt_copy_propagation_local() [all …]
|
D | brw_vec4.cpp | 237 return 4 * type_sz(src[arg].type); in size_read() 240 return exec_size * type_sz(src[arg].type); in size_read() 406 type_sz(inst->src[0].type) < 8 && in opt_vector_float() 655 assert(type_sz(inst->src[i].type) % 4 == 0); in pack_uniform_registers() 656 int channel_size = type_sz(inst->src[i].type) / 4; in pack_uniform_registers() 691 int channel_size = type_sz(inst->src[0].type) / 4; in pack_uniform_registers() 954 const glsl_type *temp_type = type_sz(inst->src[i].type) == 8 ? in move_push_constants_to_pull_constants() 980 #define IS_64BIT(reg) (reg.file != BAD_FILE && type_sz(reg.type) == 8) in is_dep_ctrl_unsafe() 1296 if (type_sz(inst->src[0].type) != type_sz(scan_inst->src[0].type)) in opt_register_coalesce() 1318 type_sz(scan_inst->dst.type)) > 8 || in opt_register_coalesce() [all …]
|
D | brw_vec4_copy_propagation.cpp | 158 if (type_sz(value.type) == 8 || type_sz(inst->src[arg].type) == 8) in try_constant_propagate() 351 type_sz(value.type) == 4) in try_copy_propagate() 358 if (type_sz(value.type) != type_sz(inst->src[arg].type)) in try_copy_propagate()
|
D | brw_vec4_live_variables.h | 92 const unsigned csize = DIV_ROUND_UP(type_sz(reg.type), 4); 106 const unsigned csize = DIV_ROUND_UP(type_sz(reg.type), 4);
|
D | brw_vec4_reg_allocate.cpp | 378 return type_sz(type) == 8 ? 2.25f : 1.0f; in spill_cost_for_type() 420 if (type_sz(inst->src[i].type) == 8 && inst->exec_size != 8) in evaluate_spill_costs() 427 unsigned type_size = type_sz(inst->src[i].type); in evaluate_spill_costs() 447 if (type_sz(inst->dst.type) == 8 && inst->exec_size != 8) in evaluate_spill_costs() 453 unsigned type_size = type_sz(inst->dst.type); in evaluate_spill_costs()
|
D | brw_fs_nir.cpp | 818 } else if (type_sz(op[0].type) < 8) { in nir_emit_alu() 2101 type_sz(dst.type) <= 4 && in emit_gs_input_load() 2202 if (type_sz(dst.type) == 8) { in emit_gs_input_load() 2259 if (type_sz(dst.type) == 8) { in emit_gs_input_load() 2305 if (type_sz(dest.type) <= 2) { in do_untyped_vector_read() 2326 type_sz(dest.type) * 8 /* bit_size */, in do_untyped_vector_read() 2330 } else if (type_sz(dest.type) == 4) { in do_untyped_vector_read() 2338 } else if (type_sz(dest.type) == 8) { in do_untyped_vector_read() 2435 if (type_sz(src.type) == 8) { in nir_emit_vs_intrinsic() 2557 if (type_sz(dst.type) == 8) { in nir_emit_tcs_intrinsic() [all …]
|
D | brw_reg.h | 266 type_sz(unsigned type) in type_sz() function 372 reg.subnr = subnr * type_sz(type); in brw_reg() 537 return byte_offset(reg, delta * type_sz(reg.type)); in suboffset() 939 unsigned scale = type_sz(reg.type) / type_sz(type); in subscript()
|
D | brw_vec4_cse.cpp | 187 unsigned component_size = width * type_sz(entry->tmp.type); in opt_cse_local() 208 unsigned component_size = width * type_sz(inst->dst.type); in opt_cse_local()
|
D | brw_fs_generator.cpp | 77 const unsigned reg_width = REG_SIZE / (reg->stride * type_sz(reg->type)); in brw_reg_from_fs_reg() 119 if (type_sz(reg->type) == 8) { in brw_reg_from_fs_reg() 133 type_sz(inst->dst.type) < 8) { in brw_reg_from_fs_reg() 165 type_sz(reg->type) == 8 && in brw_reg_from_fs_reg() 499 if (type_sz(reg.type) > 4 && in generate_mov_indirect() 1229 assert(type_sz(dst.type) == 4); in generate_uniform_pull_constant_load() 1252 assert(type_sz(dst.type) == 4); in generate_uniform_pull_constant_load_gen7() 1710 (get_exec_type_size(inst) == 8 || type_sz(inst->dst.type) == 8)) { in generate_code() 1946 src[0].subnr = 0 * type_sz(src[0].type); in generate_code() 1951 src[0].subnr = 4 * type_sz(src[0].type); in generate_code()
|
D | brw_fs_lower_conversions.cpp | 57 if (get_exec_type_size(inst) == 8 && type_sz(inst->dst.type) < 8) { in lower_conversions()
|
D | brw_vec4_visitor.cpp | 60 0 : this->exec_size * type_sz(dst.type)); in vec4_instruction() 1448 if (type_sz(inst->dst.type) < 8) { in get_scratch_offset() 1481 if (type_sz(orig_src.type) < 8) { in emit_scratch_read() 1517 bool is_64bit = type_sz(inst->dst.type) == 8; in emit_scratch_write() 1604 dst_reg temp = dst_reg(this, type_sz(src.type) == 8 ? in emit_resolve_reladdr() 1713 bool is_64bit = type_sz(orig_src.type) == 8; in emit_pull_constant_load() 1715 assert(type_sz(temp.type) == 8); in emit_pull_constant_load()
|
D | brw_vec4_generator.cpp | 1946 assert(type_sz(src[0].type) == 8); in generate_code() 1947 assert(type_sz(dst.type) == 8); in generate_code() 1986 assert(type_sz(src[0].type) == 4); in generate_code() 1987 assert(type_sz(dst.type) == 8); in generate_code() 2002 assert(type_sz(src[0].type) == 8); in generate_code() 2003 assert(type_sz(dst.type) == 4); in generate_code() 2025 assert(type_sz(src[0].type) == 4); in generate_code() 2026 assert(type_sz(dst.type) == 8); in generate_code()
|
D | brw_vec4_builder.h | 178 n * DIV_ROUND_UP(type_sz(type), 4))), 316 inst->size_written = inst->exec_size * type_sz(inst->dst.type); in emit()
|
D | brw_fs_builder.h | 191 DIV_ROUND_UP(n * type_sz(type) * dispatch_width(), 574 ALIGN(dispatch_width() * type_sz(src[i].type) * dst.stride, in LOAD_PAYLOAD()
|
D | brw_vec4_nir.cpp | 679 if (type_sz(dest.type) < 8) { in nir_emit_intrinsic() 772 const int type_size = type_sz(src.type); in nir_emit_intrinsic() 876 unsigned type_size = type_sz(dest.type); in nir_emit_intrinsic() 1809 if (type_sz(op[0].type) < 8) { in nir_emit_alu() 1893 if (type_sz(dst.type) == 8) { in nir_emit_alu() 2261 assert(type_sz(src.type) == 8); in shuffle_64bit_data() 2262 assert(type_sz(dst.type) == 8); in shuffle_64bit_data()
|
D | brw_fs.cpp | 195 switch (type_sz(dst.type)) { in VARYING_PULL_CONSTANT_LOAD() 452 return MAX2(width * stride, 1) * type_sz(type); in component_size() 672 (this->exec_size * type_sz(this->dst.type)) < 32 || in is_partial_write() 864 return components_read(arg) * type_sz(src[arg].type); in size_read() 1620 type_sz(inst->src[i].type); in convert_attr_sources_to_hw_regs() 2064 assert(inst->src[i].offset % type_sz(inst->src[i].type) == 0); in assign_constant_locations() 2077 type_sz(inst->src[i].type); in assign_constant_locations() 2083 type_sz(inst->src[i].type)); in assign_constant_locations() 3851 assert(sample_mask.file != BAD_FILE && type_sz(sample_mask.type) == 4); in lower_fb_write_logical_send() 4797 (devinfo->is_haswell || type_sz(inst->src[i].type) != 8); in get_fpu_lowered_simd_width() [all …]
|
D | brw_vec4_tes.cpp | 66 bool is_64bit = type_sz(inst->src[i].type) == 8; in setup_payload()
|
D | brw_fs_register_coalesce.cpp | 58 type_sz(inst->src[i].type)); in is_nop_mov()
|
D | brw_eu_emit.c | 204 if (type_sz(reg.type) < 8) { in brw_set_src0() 302 assert(type_sz(reg.type) < 8); in brw_set_src1() 656 assert(src0.file != BRW_IMMEDIATE_VALUE || type_sz(src0.type) <= 4); in brw_alu2() 657 assert(src1.file != BRW_IMMEDIATE_VALUE || type_sz(src1.type) <= 4); in brw_alu2() 3522 brw_imm_ud(_mesa_logbase2(type_sz(src.type)) + in brw_broadcast() 3537 if (type_sz(src.type) > 4 && in brw_broadcast()
|
D | brw_clip_unfilled.c | 271 2 * type_sz(BRW_REGISTER_TYPE_F)); in apply_one_offset()
|
D | brw_vec4_gs_visitor.cpp | 61 unsigned width = REG_SIZE / 2 / MAX2(4, type_sz(type)); in attribute_to_hw_reg()
|
D | brw_shader.cpp | 509 const unsigned size = type_sz(type); in brw_saturate_immediate()
|
D | brw_fs_reg_allocate.cpp | 976 inst->dst.is_contiguous() && type_sz(inst->dst.type) == 4 && in spill_reg()
|