Home
last modified time | relevance | path

Searched refs:elf_buffer (Results 1 – 9 of 9) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_debug.c258 binary->elf_buffer = MALLOC(filesize); in si_replace_shader()
259 if (!binary->elf_buffer) { in si_replace_shader()
264 nread = fread((void *)binary->elf_buffer, 1, filesize, f); in si_replace_shader()
266 FREE((void *)binary->elf_buffer); in si_replace_shader()
267 binary->elf_buffer = NULL; in si_replace_shader()
861 .elf_ptrs = &binary->elf_buffer, in si_add_split_disasm()
Dsi_compute.c73 .elf_ptrs = &program->shader.binary.elf_buffer, in si_compute_get_code_object()
266 program->shader.binary.elf_buffer = malloc(header->num_bytes); in si_create_compute_state()
267 if (!program->shader.binary.elf_buffer) { in si_create_compute_state()
271 memcpy((void *)program->shader.binary.elf_buffer, header->blob, header->num_bytes); in si_create_compute_state()
279 free((void *)program->shader.binary.elf_buffer); in si_create_compute_state()
313 program->shader.binary.elf_buffer, in si_bind_compute_state()
Dsi_shader.h721 const char *elf_buffer; member
Dsi_shader.c772 part_elfs[num_parts] = (shader_or_part)->binary.elf_buffer; \ in si_shader_binary_open()
907 .elf_ptrs = &binary->elf_buffer, in si_shader_dump_disassembly()
2155 free((void *)binary->elf_buffer); in si_shader_binary_clean()
2156 binary->elf_buffer = NULL; in si_shader_binary_clean()
Dsi_shader_llvm.c103 if (!ac_compile_module_to_elf(passes, ac->module, (char **)&binary->elf_buffer, in si_compile_llvm()
119 .elf_ptrs = &binary->elf_buffer, in si_compile_llvm()
Dsi_state_shaders.c189 ptr = write_chunk(ptr, shader->binary.elf_buffer, shader->binary.elf_size); in si_get_shader_binary()
216 ptr = read_chunk(ptr, (void **)&shader->binary.elf_buffer, &elf_size); in si_load_shader_binary()
Dsi_state_draw.cpp291 shader->binary.elf_buffer, in si_update_shaders()
/third_party/mesa3d/src/gallium/drivers/r600/
Devergreen_compute.c280 char *elf_buffer; in r600_elf_read() local
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()
344 FREE(elf_buffer); in r600_elf_read()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c2632 char *elf_buffer = NULL; in ac_compile_llvm_module() local
2648 int v = radv_llvm_compile(llvm_module, &elf_buffer, &elf_size, ac_llvm); in ac_compile_llvm_module()
2660 memcpy(rbin->data, elf_buffer, elf_size); in ac_compile_llvm_module()
2672 free(elf_buffer); in ac_compile_llvm_module()