Searched refs:elf_size (Results 1 – 11 of 11) sorted by relevance
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_nir_to_llvm.c | 1564 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()
|
D | radv_shader.h | 454 unsigned elf_size; member
|
D | radv_shader.c | 1918 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/ |
D | evergreen_compute.c | 277 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/ |
D | si_compute.c | 74 .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()
|
D | si_debug.c | 271 binary->elf_size = nread; in si_replace_shader() 849 .elf_sizes = &binary->elf_size})) in si_add_split_disasm()
|
D | si_shader.h | 792 size_t elf_size; member
|
D | si_state_shaders.cpp | 270 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()
|
D | si_shader_llvm.c | 104 &binary->elf_size)) in si_compile_llvm() 120 .elf_sizes = &binary->elf_size})) in si_compile_llvm()
|
D | si_shader.c | 831 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()
|
D | si_state_draw.cpp | 310 shader->binary.elf_size, in si_update_shaders()
|