Home
last modified time | relevance | path

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

/external/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()
884 .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()
262 program->shader.binary.elf_buffer = malloc(header->num_bytes); in si_create_compute_state()
263 if (!program->shader.binary.elf_buffer) { in si_create_compute_state()
267 memcpy((void *)program->shader.binary.elf_buffer, header->blob, header->num_bytes); in si_create_compute_state()
275 free((void *)program->shader.binary.elf_buffer); in si_create_compute_state()
Dsi_shader_llvm.c104 if (!ac_compile_module_to_elf(passes, ac->module, (char **)&binary->elf_buffer, in si_compile_llvm()
120 .elf_ptrs = &binary->elf_buffer, in si_compile_llvm()
Dsi_shader.h700 const char *elf_buffer; member
Dsi_shader.c791 part_elfs[num_parts] = (shader_or_part)->binary.elf_buffer; \ in si_shader_binary_open()
920 .elf_ptrs = &binary->elf_buffer, in si_shader_dump_disassembly()
2585 free((void *)binary->elf_buffer); in si_shader_binary_clean()
2586 binary->elf_buffer = NULL; in si_shader_binary_clean()
Dsi_state_shaders.c180 ptr = write_chunk(ptr, shader->binary.elf_buffer, shader->binary.elf_size); in si_get_shader_binary()
207 ptr = read_chunk(ptr, (void **)&shader->binary.elf_buffer, &elf_size); in si_load_shader_binary()
/external/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()
/external/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c4131 char *elf_buffer = NULL; in ac_compile_llvm_module() local
4147 int v = radv_llvm_compile(llvm_module, &elf_buffer, &elf_size, ac_llvm); in ac_compile_llvm_module()
4159 memcpy(rbin->data, elf_buffer, elf_size); in ac_compile_llvm_module()
4171 free(elf_buffer); in ac_compile_llvm_module()