Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/vulkan/
Dradv_shader.h387 unsigned llvm_ir_size; member
Dradv_nir_to_llvm.c4156 size_t llvm_ir_size = llvm_ir_string ? strlen(llvm_ir_string) : 0; in ac_compile_llvm_module() local
4157 size_t alloc_size = sizeof(struct radv_shader_binary_rtld) + elf_size + llvm_ir_size + 1; in ac_compile_llvm_module()
4161 memcpy(rbin->data + elf_size, llvm_ir_string, llvm_ir_size + 1); in ac_compile_llvm_module()
4167 rbin->llvm_ir_size = llvm_ir_size; in ac_compile_llvm_module()
Dradv_shader.c1223 variant->ir_string = bin->llvm_ir_size ? strdup((const char*)(bin->data + bin->elf_size)) : NULL; in radv_shader_variant_create()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_shaders.c157 unsigned llvm_ir_size = in si_get_shader_binary() local
162 if (shader->binary.elf_size > UINT_MAX / 4 || llvm_ir_size > UINT_MAX / 4) in si_get_shader_binary()
168 align(shader->binary.elf_size, 4) + 4 + align(llvm_ir_size, 4); in si_get_shader_binary()
181 ptr = write_chunk(ptr, shader->binary.llvm_ir_string, llvm_ir_size); in si_get_shader_binary()