Searched refs:llvm_ir_size (Results 1 – 4 of 4) sorted by relevance
387 unsigned llvm_ir_size; member
4156 size_t llvm_ir_size = llvm_ir_string ? strlen(llvm_ir_string) : 0; in ac_compile_llvm_module() local4157 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()
1223 variant->ir_string = bin->llvm_ir_size ? strdup((const char*)(bin->data + bin->elf_size)) : NULL; in radv_shader_variant_create()
157 unsigned llvm_ir_size = in si_get_shader_binary() local162 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()