Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp3531 Temp load_lds(isel_context *ctx, unsigned elem_size_bytes, Temp dst, in load_lds() argument
3538 unsigned num_components = dst.bytes() / elem_size_bytes; in load_lds()
3539 LoadEmitInfo info = {Operand(as_vgpr(ctx, address)), dst, num_components, elem_size_bytes}; in load_lds()
3566 …unsigned elem_size_bytes = 1u << (ffs(std::accumulate(bytes, bytes + count, 8, std::bit_or<>{})) -… in split_store_data() local
3568 ASSERTED bool is_subdword = elem_size_bytes < 4; in split_store_data()
3587 if (elem_size_bytes % elem_size) in split_store_data()
3592 elem_size_bytes = elem_size; in split_store_data()
3603 unsigned num_elems = src.bytes() / elem_size_bytes; in split_store_data()
3607 temps.emplace_back(bld.tmp(RegClass::get(dst_type, elem_size_bytes))); in split_store_data()
3615 unsigned op_count = dst[i].bytes() / elem_size_bytes; in split_store_data()
[all …]
/external/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c1660 int elem_size_bytes = ac_get_elem_bits(&ctx->ac, LLVMTypeOf(src_data)) / 8; in visit_store_ssbo() local
1683 if (count == 3 && (elem_size_bytes != 4 || !ac_has_vec3_support(ctx->ac.chip_class, false))) { in visit_store_ssbo()
1687 int num_bytes = count * elem_size_bytes; /* count in bytes */ in visit_store_ssbo()
1698 if (elem_size_bytes == 2 && num_bytes > 2 && (start % 2) == 1) { in visit_store_ssbo()
1707 if (ctx->ac.chip_class == GFX6 && count > 1 && elem_size_bytes < 4) { in visit_store_ssbo()
1710 num_bytes = elem_size_bytes; in visit_store_ssbo()
1716 LLVMConstInt(ctx->ac.i32, start * elem_size_bytes, false), ""); in visit_store_ssbo()
1910 int elem_size_bytes = instr->dest.ssa.bit_size / 8; in visit_load_buffer() local
1925 if (elem_size_bytes < 4 && nir_intrinsic_align(instr) % 4 != 0) in visit_load_buffer()
1927 if (num_elems * elem_size_bytes > 16) in visit_load_buffer()
[all …]