| /third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
| D | lp_jit.c | 64 LLVMArrayType(LLVMInt32TypeInContext(lc), LP_MAX_TEXTURE_LEVELS); in create_jit_texture_type() 118 LLVMArrayType(LLVMFloatTypeInContext(lc), 4); in create_jit_sampler_type() 225 LLVMArrayType(LLVMPointerType(LLVMFloatTypeInContext(lc), 0), LP_MAX_TGSI_CONST_BUFFERS); in lp_jit_create_types() 227 LLVMArrayType(LLVMInt32TypeInContext(lc), LP_MAX_TGSI_CONST_BUFFERS); in lp_jit_create_types() 228 elem_types[LP_JIT_CTX_TEXTURES] = LLVMArrayType(texture_type, in lp_jit_create_types() 230 elem_types[LP_JIT_CTX_SAMPLERS] = LLVMArrayType(sampler_type, in lp_jit_create_types() 232 elem_types[LP_JIT_CTX_IMAGES] = LLVMArrayType(image_type, in lp_jit_create_types() 243 LLVMArrayType(LLVMPointerType(LLVMInt32TypeInContext(lc), 0), LP_MAX_TGSI_SHADER_BUFFERS); in lp_jit_create_types() 245 LLVMArrayType(LLVMInt32TypeInContext(lc), LP_MAX_TGSI_SHADER_BUFFERS); in lp_jit_create_types() 353 LLVMArrayType(linear_elem_ptr_type, LP_MAX_LINEAR_TEXTURES); in lp_jit_create_types() [all …]
|
| D | lp_state_cs.c | 358 …system_values.thread_id = LLVMGetUndef(LLVMArrayType(LLVMVectorType(int32_type, cs_type.length), 3… in generate_compute()
|
| D | lp_state_fs.c | 3257 LLVMArrayType(flt_type, key->coverage_samples * 2), ""); in generate_fragment()
|
| /third_party/mesa3d/src/gallium/auxiliary/draw/ |
| D | draw_llvm.c | 163 LLVMArrayType(int32_type, PIPE_MAX_TEXTURE_LEVELS); in create_jit_texture_type() 224 LLVMArrayType(LLVMFloatTypeInContext(gallivm->context), 4); in create_jit_sampler_type() 321 …elem_types[DRAW_JIT_CTX_CONSTANTS] = LLVMArrayType(LLVMPointerType(float_type, 0), LP_MAX_TGSI_CON… in create_jit_context_type() 322 elem_types[DRAW_JIT_CTX_NUM_CONSTANTS] = LLVMArrayType(int_type, LP_MAX_TGSI_CONST_BUFFERS); in create_jit_context_type() 323 …elem_types[DRAW_JIT_CTX_PLANES] = LLVMPointerType(LLVMArrayType(LLVMArrayType(float_type, 4), DRAW… in create_jit_context_type() 325 elem_types[DRAW_JIT_CTX_TEXTURES] = LLVMArrayType(texture_type, PIPE_MAX_SHADER_SAMPLER_VIEWS); in create_jit_context_type() 326 elem_types[DRAW_JIT_CTX_SAMPLERS] = LLVMArrayType(sampler_type, PIPE_MAX_SAMPLERS); in create_jit_context_type() 327 elem_types[DRAW_JIT_CTX_IMAGES] = LLVMArrayType(image_type, PIPE_MAX_SHADER_IMAGES); in create_jit_context_type() 328 …elem_types[DRAW_JIT_CTX_SSBOS] = LLVMArrayType(LLVMPointerType(int_type, 0), LP_MAX_TGSI_SHADER_BU… in create_jit_context_type() 329 elem_types[DRAW_JIT_CTX_NUM_SSBOS] = LLVMArrayType(int_type, LP_MAX_TGSI_SHADER_BUFFERS); in create_jit_context_type() [all …]
|
| /third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
| D | lp_bld_format.c | 48 return LLVMArrayType(lp_build_format_cache_elem_type(gallivm, member), elem_count); in lp_build_format_cache_member_type()
|
| D | lp_bld_nir.h | 327 LLVMTypeRef arr_type = LLVMArrayType(LLVMTypeOf(values[0]), value_count); in lp_nir_array_build_gather_values()
|
| D | lp_bld_const.c | 439 LLVMValueRef string = LLVMAddGlobal(gallivm->module, LLVMArrayType(i8, len), ""); in lp_build_const_string()
|
| D | lp_bld_nir.c | 364 …LLVMValueRef arr = LLVMGetUndef(LLVMArrayType(LLVMTypeOf(LLVMBuildExtractValue(builder, value, 0, … in get_alu_src() 2675 type = LLVMArrayType(type, reg->num_array_elems); in get_register_type() 2677 type = LLVMArrayType(type, reg->num_components); in get_register_type()
|
| D | lp_bld_tgsi_soa.c | 4280 LLVMArrayType(bld_base->base.vec_type, array_size), in emit_prologue() 4296 LLVMArrayType(bld_base->base.vec_type, array_size), in emit_prologue()
|
| /third_party/mesa3d/src/gallium/drivers/radeonsi/ |
| D | si_shader_llvm.c | 235 ctx->ac.lds = LLVMAddGlobalInAddressSpace(ctx->ac.module, LLVMArrayType(ctx->ac.i32, 0), in si_llvm_create_main_func() 338 ctx->esgs_ring = LLVMAddGlobalInAddressSpace(ctx->ac.module, LLVMArrayType(ctx->ac.i32, 0), in si_llvm_declare_esgs_ring() 413 var = LLVMAddGlobalInAddressSpace(ctx->ac.module, LLVMArrayType(ctx->ac.i8, lds_size), in si_llvm_declare_compute_memory() 858 LLVMTypeRef ai32 = LLVMArrayType(ctx->ac.i32, gfx10_ngg_get_scratch_dw_size(shader)); in si_llvm_translate_nir() 865 ctx->ac.module, LLVMArrayType(ctx->ac.i32, 0), "ngg_emit", AC_ADDR_SPACE_LDS); in si_llvm_translate_nir() 941 LLVMTypeRef asi32 = LLVMArrayType(ctx->ac.i32, gfx10_ngg_get_scratch_dw_size(shader)); in si_llvm_translate_nir()
|
| D | gfx10_shader_ngg.c | 739 LLVMTypeRef ai32 = LLVMArrayType(ctx->ac.i32, vertex_size); in ngg_nogs_vertex_ptr() 1759 LLVMArrayType(ctx->ac.i32, 4 * info->num_outputs), in ngg_gs_get_vertex_storage() 1760 LLVMArrayType(ctx->ac.i8, 4), in ngg_gs_get_vertex_storage() 1763 type = LLVMPointerType(LLVMArrayType(type, 0), AC_ADDR_SPACE_LDS); in ngg_gs_get_vertex_storage()
|
| /third_party/ltp/tools/sparse/sparse-src/ |
| D | sparse-llvm.c | 65 return LLVMArrayType(elem_type, sym->bit_size / base_type->bit_size); in sym_array_type() 109 elements = LLVMArrayType(LLVMInt8Type(), union_size); in sym_union_type() 300 data = LLVMAddGlobal(module, LLVMArrayType(LLVMInt8Type(), strlen(s) + 1), ".str"); in get_sym_value()
|
| /third_party/mesa3d/src/amd/vulkan/ |
| D | radv_nir_to_llvm.c | 1333 ctx->esgs_ring = LLVMAddGlobalInAddressSpace(ctx->ac.module, LLVMArrayType(ctx->ac.i32, 0), in declare_esgs_ring() 1416 LLVMTypeRef ai32 = LLVMArrayType(ctx.ac.i32, 8); in ac_translate_nir_to_llvm() 1425 …LLVMAddGlobalInAddressSpace(ctx.ac.module, LLVMArrayType(ctx.ac.i32, 0), "ngg_emit", AC_ADDR_SPACE… in ac_translate_nir_to_llvm()
|
| /third_party/mesa3d/src/amd/llvm/ |
| D | ac_nir_to_llvm.c | 5136 return LLVMArrayType(glsl_to_llvm_type(ac, glsl_get_column_type(type)), in glsl_to_llvm_type() 5141 return LLVMArrayType(glsl_to_llvm_type(ac, glsl_get_array_element(type)), in glsl_to_llvm_type() 5409 ac_build_alloca_undef(&ctx->ac, LLVMArrayType(ctx->ac.i8, shader->scratch_size), "scratch"); in setup_scratch() 5419 LLVMTypeRef type = LLVMArrayType(ctx->ac.i8, shader->constant_data_size); in setup_constant_data() 5434 LLVMTypeRef type = LLVMArrayType(ctx->ac.i8, nir->info.shared_size); in setup_shared()
|
| D | ac_llvm_build.c | 2756 LLVMPointerType(LLVMArrayType(ctx->i32, lds_size / 4), AC_ADDR_SPACE_LDS), "lds"); in ac_declare_lds_as_pointer()
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/ |
| D | Core.h | 1397 LLVMTypeRef LLVMArrayType(LLVMTypeRef ElementType, unsigned ElementCount);
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
| D | Core.cpp | 743 LLVMTypeRef LLVMArrayType(LLVMTypeRef ElementType, unsigned ElementCount) { in LLVMArrayType() function
|