Home
last modified time | relevance | path

Searched refs:elf_size (Results 1 – 11 of 11) sorted by relevance

/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c1564 size_t elf_size = 0; in ac_compile_llvm_module() local
1579 int v = radv_llvm_compile(llvm_module, &elf_buffer, &elf_size, ac_llvm); in ac_compile_llvm_module()
1589 size_t alloc_size = sizeof(struct radv_shader_binary_rtld) + elf_size + llvm_ir_size + 1; in ac_compile_llvm_module()
1591 memcpy(rbin->data, elf_buffer, elf_size); in ac_compile_llvm_module()
1593 memcpy(rbin->data + elf_size, llvm_ir_string, llvm_ir_size + 1); in ac_compile_llvm_module()
1598 rbin->elf_size = elf_size; in ac_compile_llvm_module()
Dradv_shader.h454 unsigned elf_size; member
Dradv_shader.c1918 size_t elf_size = ((struct radv_shader_binary_rtld *)binary)->elf_size; in radv_open_rtld_binary() local
1949 .elf_sizes = &elf_size, in radv_open_rtld_binary()
2089 bin->llvm_ir_size ? strdup((const char *)(bin->data + bin->elf_size)) : NULL; in radv_shader_create()
/third_party/mesa3d/src/gallium/drivers/r600/
Devergreen_compute.c277 static void r600_elf_read(const char *elf_data, unsigned elf_size, in r600_elf_read() argument
292 elf_buffer = MALLOC(elf_size); in r600_elf_read()
293 memcpy(elf_buffer, elf_data, elf_size); in r600_elf_read()
295 elf = elf_memory(elf_buffer, elf_size); in r600_elf_read()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_compute.c74 .elf_sizes = &program->shader.binary.elf_size})) in si_compute_get_code_object()
270 program->shader.binary.elf_size = header->num_bytes; in si_create_compute_state()
321 program->shader.binary.elf_size, in si_bind_compute_state()
Dsi_debug.c271 binary->elf_size = nread; in si_replace_shader()
849 .elf_sizes = &binary->elf_size})) in si_add_split_disasm()
Dsi_shader.h792 size_t elf_size; member
Dsi_state_shaders.cpp270 if (shader->binary.elf_size > UINT_MAX / 4 || llvm_ir_size > UINT_MAX / 4) in si_get_shader_binary()
276 align(shader->binary.elf_size, 4) + 4 + align(llvm_ir_size, 4); in si_get_shader_binary()
288 ptr = write_chunk(ptr, shader->binary.elf_buffer, shader->binary.elf_size); in si_get_shader_binary()
306 unsigned elf_size; in si_load_shader_binary() local
315 ptr = read_chunk(ptr, (void **)&shader->binary.elf_buffer, &elf_size); in si_load_shader_binary()
316 shader->binary.elf_size = elf_size; in si_load_shader_binary()
Dsi_shader_llvm.c104 &binary->elf_size)) in si_compile_llvm()
120 .elf_sizes = &binary->elf_size})) in si_compile_llvm()
Dsi_shader.c831 part_sizes[num_parts] = (shader_or_part)->binary.elf_size; \ in si_shader_binary_open()
972 .elf_sizes = &binary->elf_size})) in si_shader_dump_disassembly()
Dsi_state_draw.cpp310 shader->binary.elf_size, in si_update_shaders()