/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_jit.c | 60 elem_types[LP_JIT_TEXTURE_BASE] = LLVMPointerType(LLVMInt8TypeInContext(lc), 0); in create_jit_texture_type() 152 elem_types[LP_JIT_IMAGE_BASE] = LLVMPointerType(LLVMInt8TypeInContext(lc), 0); in create_jit_image_type() 225 LLVMArrayType(LLVMPointerType(LLVMFloatTypeInContext(lc), 0), LP_MAX_TGSI_CONST_BUFFERS); in lp_jit_create_types() 238 elem_types[LP_JIT_CTX_U8_BLEND_COLOR] = LLVMPointerType(LLVMInt8TypeInContext(lc), 0); in lp_jit_create_types() 239 elem_types[LP_JIT_CTX_F_BLEND_COLOR] = LLVMPointerType(LLVMFloatTypeInContext(lc), 0); in lp_jit_create_types() 240 elem_types[LP_JIT_CTX_VIEWPORTS] = LLVMPointerType(viewport_type, 0); in lp_jit_create_types() 241 elem_types[LP_JIT_CTX_ANISO_FILTER_TABLE] = LLVMPointerType(LLVMFloatTypeInContext(lc), 0); in lp_jit_create_types() 243 LLVMArrayType(LLVMPointerType(LLVMInt32TypeInContext(lc), 0), LP_MAX_TGSI_SHADER_BUFFERS); in lp_jit_create_types() 297 lp->jit_context_ptr_type = LLVMPointerType(context_type, 0); in lp_jit_create_types() 306 LLVMPointerType(lp_build_format_cache_type(gallivm), 0); in lp_jit_create_types() [all …]
|
D | lp_state_setup.c | 684 arg_types[0] = LLVMPointerType(vec4f_type, 0); /* v0 */ in generate_setup_variant() 685 arg_types[1] = LLVMPointerType(vec4f_type, 0); /* v1 */ in generate_setup_variant() 686 arg_types[2] = LLVMPointerType(vec4f_type, 0); /* v2 */ in generate_setup_variant() 688 arg_types[4] = LLVMPointerType(vec4f_type, 0); /* a0, aligned */ in generate_setup_variant() 689 arg_types[5] = LLVMPointerType(vec4f_type, 0); /* dadx, aligned */ in generate_setup_variant() 690 arg_types[6] = LLVMPointerType(vec4f_type, 0); /* dady, aligned */ in generate_setup_variant() 691 arg_types[7] = LLVMPointerType(vec4f_type, 0); /* key (placeholder) */ in generate_setup_variant()
|
D | lp_test_format.c | 102 args[0] = LLVMPointerType(lp_build_vec_type(gallivm, type), 0); in add_fetch_rgba_test() 103 args[1] = LLVMPointerType(LLVMInt8TypeInContext(context), 0); in add_fetch_rgba_test() 105 args[4] = LLVMPointerType(lp_build_format_cache_type(gallivm), 0); in add_fetch_rgba_test()
|
D | lp_state_fs_linear_llvm.c | 286 LLVMTypeRef pint8t = LLVMPointerType(int8t, 0); in llvmpipe_fs_variant_linear_llvm() 364 color0_ptr = LLVMBuildBitCast(builder, color0_ptr, LLVMPointerType(bld.vec_type, 0), ""); in llvmpipe_fs_variant_linear_llvm() 483 pixel_ptr = LLVMBuildBitCast(gallivm->builder, pixel_ptr, LLVMPointerType(int32t, 0), ""); in llvmpipe_fs_variant_linear_llvm()
|
D | lp_bld_interp.c | 239 LLVMPointerType(setup_bld->vec_type, 0), ""); in coeffs_init_simple() 244 LLVMPointerType(setup_bld->vec_type, 0), ""); in coeffs_init_simple() 255 LLVMPointerType(setup_bld->vec_type, 0), ""); in coeffs_init_simple() 456 LLVMTypeRef u8ptr = LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0); in lp_build_interp_soa_indirect() 561 … LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0), ""); in lp_build_interp_soa()
|
D | lp_test_arit.c | 352 LLVMTypeRef args[2] = { LLVMPointerType(vf32t, 0), LLVMPointerType(vf32t, 0) }; in build_unary_test_func()
|
D | lp_test_conv.c | 116 args[0] = LLVMPointerType(lp_build_vec_type(gallivm, src_type), 0); in add_conv_test() 117 args[1] = LLVMPointerType(lp_build_vec_type(gallivm, dst_type), 0); in add_conv_test()
|
D | lp_state_fs.c | 340 LLVMPointerType(lp_build_vec_type(gallivm, viewport_type), 0), ""); in lp_llvm_viewport() 511 color_ptr = LLVMBuildBitCast(builder, color_ptr, LLVMPointerType(blend_vec_type, 0), ""); in fs_fb_fetch() 1569 LLVMPointerType(lp_build_vec_type(gallivm, dst_type), 0), ""); in load_unswizzled_block() 1614 LLVMPointerType(lp_build_vec_type(gallivm, src_type), 0), ""); in store_unswizzled_block() 2667 LLVMPointerType(lp_build_vec_type(gallivm, fs_type), 0), ""); in generate_unswizzled_blend() 3083 arg_types[4] = LLVMPointerType(fs_elem_type, 0); /* a0 */ in generate_fragment() 3084 arg_types[5] = LLVMPointerType(fs_elem_type, 0); /* dadx */ in generate_fragment() 3085 arg_types[6] = LLVMPointerType(fs_elem_type, 0); /* dady */ in generate_fragment() 3086 arg_types[7] = LLVMPointerType(LLVMPointerType(int8_type, 0), 0); /* color */ in generate_fragment() 3087 arg_types[8] = LLVMPointerType(int8_type, 0); /* depth */ in generate_fragment() [all …]
|
D | lp_state_cs.c | 124 arg_types[18] = LLVMPointerType(LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0), 0); in generate_compute() 128 coro_func_type = LLVMFunctionType(LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0), in generate_compute() 197 LLVMTypeRef hdl_ptr_type = LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0); in generate_compute()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_coro.c | 47 …coro_id_args[1] = LLVMConstPointerNull(LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0)… in lp_build_coro_id() 73 … LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0), in lp_build_coro_begin() 86 LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0), in lp_build_coro_free() 170 LLVMTypeRef mem_ptr_type = LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0); in lp_build_coro_declare_malloc_hooks() 179 LLVMTypeRef mem_ptr_type = LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0); in lp_build_coro_begin_alloc_mem() 203 LLVMTypeRef mem_ptr_type = LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0); in lp_build_coro_alloc_mem_array()
|
D | lp_bld_gather.c | 58 assert(LLVMTypeOf(base_ptr) == LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0)); in lp_build_gather_elem_ptr() 91 LLVMTypeRef src_ptr_type = LLVMPointerType(src_type, 0); in lp_build_gather_elem() 96 assert(LLVMTypeOf(base_ptr) == LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0)); in lp_build_gather_elem() 176 LLVMTypeRef src_ptr_type = LLVMPointerType(src_type, 0); in lp_build_gather_elem_vec() 177 assert(LLVMTypeOf(base_ptr) == LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0)); in lp_build_gather_elem_vec() 301 assert(LLVMTypeOf(base_ptr) == LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0)); in lp_build_gather_avx2() 316 LLVMTypeRef src_ptr_type = LLVMPointerType(src_type, 0); in lp_build_gather_avx2()
|
D | lp_bld_assert.c | 76 arg_types[1] = LLVMPointerType(LLVMInt8TypeInContext(context), 0); in lp_build_assert()
|
D | lp_bld_format_aos_array.c | 82 ptr = LLVMBuildPointerCast(builder, ptr, LLVMPointerType(src_vec_type, 0), ""); in lp_build_fetch_rgba_aos_array()
|
D | lp_bld_const.c | 454 string = LLVMConstBitCast(string, LLVMPointerType(i8, 0)); in lp_build_const_string() 481 LLVMPointerType(function_type, 0), in lp_build_const_func_pointer()
|
D | lp_bld_const.h | 159 LLVMPointerType(int_type, 0), in lp_build_const_int_pointer()
|
D | lp_bld_format_aos.c | 806 LLVMTypeRef pi8t = LLVMPointerType(i8t, 0); in lp_build_fetch_rgba_aos() 848 LLVMPointerType(function_type, 0), in lp_build_fetch_rgba_aos() 914 LLVMTypeRef pf32t = LLVMPointerType(f32t, 0); in lp_build_fetch_rgba_aos() 915 LLVMTypeRef pi8t = LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0); in lp_build_fetch_rgba_aos()
|
D | lp_bld_nir_soa.c | 436 fptr_type = LLVMPointerType(LLVMFloatTypeInContext(gallivm->context), 0); in emit_load_var() 668 … reg_storage = LLVMBuildBitCast(builder, reg_storage, LLVMPointerType(reg_bld->elem_type, 0), ""); in emit_load_reg() 703 … reg_storage = LLVMBuildBitCast(builder, reg_storage, LLVMPointerType(reg_bld->elem_type, 0), ""); in emit_store_reg() 740 LLVMTypeRef ptr_type = LLVMPointerType(bld_broad->elem_type, 0); in emit_load_kernel_arg() 760 …addr_ptr = LLVMBuildIntToPtr(builder, addr_ptr, LLVMPointerType(LLVMInt8TypeInContext(gallivm->con… in global_addr_to_ptr() 763 …addr_ptr = LLVMBuildIntToPtr(builder, addr_ptr, LLVMPointerType(LLVMInt16TypeInContext(gallivm->co… in global_addr_to_ptr() 767 …addr_ptr = LLVMBuildIntToPtr(builder, addr_ptr, LLVMPointerType(LLVMInt32TypeInContext(gallivm->co… in global_addr_to_ptr() 770 …addr_ptr = LLVMBuildIntToPtr(builder, addr_ptr, LLVMPointerType(LLVMInt64TypeInContext(gallivm->co… in global_addr_to_ptr() 902 …addr_ptr = LLVMBuildBitCast(gallivm->builder, addr_ptr, LLVMPointerType(LLVMTypeOf(value_ptr), 0),… in emit_atomic_global() 998 LLVMTypeRef ptr_type = LLVMPointerType(bld_broad->elem_type, 0); in emit_load_ubo() [all …]
|
D | lp_bld_printf.c | 56 assert(LLVMTypeOf(args[0]) == LLVMPointerType(LLVMInt8TypeInContext(context), 0)); in lp_build_print_args()
|
D | lp_bld_format_soa.c | 1088 LLVMTypeRef int32_ptr_type = LLVMPointerType(LLVMInt32TypeInContext(gallivm->context), 0); in lp_build_store_rgba_soa() 1089 LLVMTypeRef int16_ptr_type = LLVMPointerType(LLVMInt16TypeInContext(gallivm->context), 0); in lp_build_store_rgba_soa() 1090 LLVMTypeRef int8_ptr_type = LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0); in lp_build_store_rgba_soa()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm.c | 124 LLVMPointerType(LLVMIntTypeInContext(gallivm->context, 8), 0); in create_jit_dvbuffer_type() 160 LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0); in create_jit_texture_type() 271 LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0); in create_jit_image_type() 322 elem_types[0] = LLVMArrayType(LLVMPointerType(float_type, 0), /* vs_constants */ in create_jit_context_type() 326 elem_types[2] = LLVMPointerType(LLVMArrayType(LLVMArrayType(float_type, 4), in create_jit_context_type() 328 elem_types[3] = LLVMPointerType(float_type, 0); /* viewports */ in create_jit_context_type() 335 elem_types[7] = LLVMArrayType(LLVMPointerType(int_type, 0), /* vs_ssbo */ in create_jit_context_type() 339 elem_types[9] = LLVMPointerType(float_type, 0); /* aniso table */ in create_jit_context_type() 389 elem_types[0] = LLVMArrayType(LLVMPointerType(float_type, 0), /* constants */ in create_gs_jit_context_type() 393 elem_types[2] = LLVMPointerType(LLVMArrayType(LLVMArrayType(float_type, 4), in create_gs_jit_context_type() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | IntrinsicsWebAssembly.td | 84 [LLVMPointerType<llvm_i32_ty>, llvm_i32_ty, llvm_i64_ty], 90 [LLVMPointerType<llvm_i64_ty>, llvm_i64_ty, llvm_i64_ty], 95 Intrinsic<[llvm_i32_ty], [LLVMPointerType<llvm_i32_ty>, llvm_i32_ty],
|
D | Intrinsics.td | 145 class LLVMPointerType<LLVMType elty> 218 def llvm_ptr_ty : LLVMPointerType<llvm_i8_ty>; // i8* 219 def llvm_ptrptr_ty : LLVMPointerType<llvm_ptr_ty>; // i8** 222 def llvm_descriptor_ty : LLVMPointerType<llvm_empty_ty>; // { }* 227 def llvm_ptrx86mmx_ty : LLVMPointerType<llvm_x86mmx_ty>; // <1 x i64>*
|
/third_party/flutter/skia/src/sksl/ |
D | SkSLJIT.cpp | 108 fInt8PtrType = LLVMPointerType(fInt8Type, 0); in JIT() 251 return LLVMPointerType(this->getType(type.componentType()), 0); in getType() 347 LLVMTypeRef type = LLVMPointerType(LLVMTypeOf(ifTrue), 0); in getLValue() 1362 LLVMPointerType(fInt8PtrType, 0), "cast 2"); in compileStageFunctionLoop() 1692 LLVMPointerType(fInt8PtrType, 0), "cast 2"); in compileStageFunctionVector() 1729 LLVMTypeRef parameterTypes[12] = { fSizeTType, LLVMPointerType(fInt8PtrType, 0), fSizeTType, in compileStageFunction() 1768 type = LLVMPointerType(type, 0); in compileFunction()
|
/third_party/ltp/tools/sparse/sparse-src/ |
D | sparse-llvm.c | 124 return LLVMPointerType(type, 0); in sym_ptr_type() 481 LLVMTypeRef bytep = LLVMPointerType(LLVMInt8Type(), as); in calc_gep() 696 addr_type = LLVMPointerType(insn_symbol_type(insn), as); in calc_memop_addr()
|
/third_party/mesa3d/src/amd/llvm/ |
D | ac_nir_to_llvm.c | 95 …lds_i8 = LLVMBuildBitCast(ctx->ac.builder, ctx->ac.lds, LLVMPointerType(ctx->ac.i8, AC_ADDR_SPACE_… in get_memory_ptr() 103 return LLVMBuildBitCast(ctx->ac.builder, ptr, LLVMPointerType(type, addr_space), ""); in get_memory_ptr() 1912 ptr = LLVMBuildIntToPtr(ctx->ac.builder, ptr, LLVMPointerType(ctx->ac.i64, AC_ADDR_SPACE_GLOBAL), in emit_ssbo_comp_swap_64() 2112 LLVMTypeRef ptr_type = LLVMPointerType(result_type, AC_ADDR_SPACE_GLOBAL); in visit_load_global() 2139 LLVMTypeRef ptr_type = LLVMPointerType(type, AC_ADDR_SPACE_GLOBAL); in visit_store_global() 2176 LLVMTypeRef ptr_type = LLVMPointerType(data_type, AC_ADDR_SPACE_GLOBAL); in visit_global_atomic() 3136 LLVMPointerType(src_type, LLVMGetPointerAddressSpace(LLVMTypeOf(ptr))); in visit_var_atomic() 3193 LLVMPointerType(LLVMTypeOf(val), LLVMGetPointerAddressSpace(LLVMTypeOf(ptr))); in visit_var_atomic() 4109 ptr = LLVMBuildBitCast(ctx->ac.builder, ptr, LLVMPointerType(vec_type, addr_space), ""); in visit_intrinsic() 4118 ptr = LLVMBuildBitCast(ctx->ac.builder, ptr, LLVMPointerType(comp_type, addr_space), ""); in visit_intrinsic() [all …]
|