Home
last modified time | relevance | path

Searched refs:llvm_ir_size (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/amd/vulkan/
Dradv_shader.h423 unsigned llvm_ir_size; member
Dradv_nir_to_llvm.c2657 size_t llvm_ir_size = llvm_ir_string ? strlen(llvm_ir_string) : 0; in ac_compile_llvm_module() local
2658 size_t alloc_size = sizeof(struct radv_shader_binary_rtld) + elf_size + llvm_ir_size + 1; in ac_compile_llvm_module()
2662 memcpy(rbin->data + elf_size, llvm_ir_string, llvm_ir_size + 1); in ac_compile_llvm_module()
2668 rbin->llvm_ir_size = llvm_ir_size; in ac_compile_llvm_module()
Dradv_shader.c1681 bin->llvm_ir_size ? strdup((const char *)(bin->data + bin->elf_size)) : NULL; in radv_shader_variant_create()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_shaders.c166 unsigned llvm_ir_size = in si_get_shader_binary() local
171 if (shader->binary.elf_size > UINT_MAX / 4 || llvm_ir_size > UINT_MAX / 4) in si_get_shader_binary()
177 align(shader->binary.elf_size, 4) + 4 + align(llvm_ir_size, 4); in si_get_shader_binary()
190 ptr = write_chunk(ptr, shader->binary.llvm_ir_string, llvm_ir_size); in si_get_shader_binary()