/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_jit.c | 80 elem_types[LP_JIT_TEXTURE_BASE] = LLVMPointerType(LLVMInt8TypeInContext(lc), 0); in lp_jit_create_types() 154 LLVMArrayType(LLVMPointerType(LLVMFloatTypeInContext(lc), 0), LP_MAX_TGSI_CONST_BUFFERS); in lp_jit_create_types() 160 elem_types[LP_JIT_CTX_U8_BLEND_COLOR] = LLVMPointerType(LLVMInt8TypeInContext(lc), 0); in lp_jit_create_types() 161 elem_types[LP_JIT_CTX_F_BLEND_COLOR] = LLVMPointerType(LLVMFloatTypeInContext(lc), 0); in lp_jit_create_types() 162 elem_types[LP_JIT_CTX_VIEWPORTS] = LLVMPointerType(viewport_type, 0); in lp_jit_create_types() 204 lp->jit_context_ptr_type = LLVMPointerType(context_type, 0); in lp_jit_create_types() 213 LLVMPointerType(lp_build_format_cache_type(gallivm), 0); in lp_jit_create_types() 221 lp->jit_thread_data_ptr_type = LLVMPointerType(thread_data_type, 0); in lp_jit_create_types()
|
D | lp_bld_interp.c | 198 LLVMPointerType(setup_bld->vec_type, 0), ""); in coeffs_init_simple() 203 LLVMPointerType(setup_bld->vec_type, 0), ""); in coeffs_init_simple() 214 LLVMPointerType(setup_bld->vec_type, 0), ""); in coeffs_init_simple() 410 LLVMPointerType(setup_bld->vec_type, 0), ""); in coeffs_init() 415 LLVMPointerType(setup_bld->vec_type, 0), ""); in coeffs_init() 426 LLVMPointerType(setup_bld->vec_type, 0), ""); in coeffs_init() 593 LLVMTypeRef ptr_type = LLVMPointerType(LLVMFloatTypeInContext( in attribs_update()
|
D | lp_test_format.c | 103 args[0] = LLVMPointerType(lp_build_vec_type(gallivm, type), 0); in add_fetch_rgba_test() 104 args[1] = LLVMPointerType(LLVMInt8TypeInContext(context), 0); in add_fetch_rgba_test() 106 args[4] = LLVMPointerType(lp_build_format_cache_type(gallivm), 0); in add_fetch_rgba_test()
|
D | lp_state_setup.c | 753 arg_types[0] = LLVMPointerType(vec4f_type, 0); /* v0 */ in generate_setup_variant() 754 arg_types[1] = LLVMPointerType(vec4f_type, 0); /* v1 */ in generate_setup_variant() 755 arg_types[2] = LLVMPointerType(vec4f_type, 0); /* v2 */ in generate_setup_variant() 757 arg_types[4] = LLVMPointerType(vec4f_type, 0); /* a0, aligned */ in generate_setup_variant() 758 arg_types[5] = LLVMPointerType(vec4f_type, 0); /* dadx, aligned */ in generate_setup_variant() 759 arg_types[6] = LLVMPointerType(vec4f_type, 0); /* dady, aligned */ in generate_setup_variant()
|
D | lp_test_arit.c | 331 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 | 233 LLVMPointerType(lp_build_vec_type(gallivm, viewport_type), 0), ""); in lp_llvm_viewport() 895 LLVMPointerType(lp_build_vec_type(gallivm, dst_type), 0), ""); in load_unswizzled_block() 940 LLVMPointerType(lp_build_vec_type(gallivm, src_type), 0), ""); in store_unswizzled_block() 2062 LLVMPointerType(lp_build_vec_type(gallivm, fs_type), 0), ""); in generate_unswizzled_blend() 2475 arg_types[4] = LLVMPointerType(fs_elem_type, 0); /* a0 */ in generate_fragment() 2476 arg_types[5] = LLVMPointerType(fs_elem_type, 0); /* dadx */ in generate_fragment() 2477 arg_types[6] = LLVMPointerType(fs_elem_type, 0); /* dady */ in generate_fragment() 2478 arg_types[7] = LLVMPointerType(LLVMPointerType(blend_vec_type, 0), 0); /* color */ in generate_fragment() 2479 arg_types[8] = LLVMPointerType(int8_type, 0); /* depth */ in generate_fragment() 2482 arg_types[11] = LLVMPointerType(int32_type, 0); /* stride */ in generate_fragment()
|
D | lp_bld_depth.c | 549 load_ptr_type = LLVMPointerType(lp_build_vec_type(gallivm, zs_load_type), 0); in lp_build_depth_stencil_load_swizzled() 688 load_ptr_type = LLVMPointerType(lp_build_vec_type(gallivm, zs_load_type), 0); in lp_build_depth_stencil_write_swizzled()
|
D | lp_test_blend.c | 162 args[4] = args[3] = args[2] = args[1] = args[0] = LLVMPointerType(vec_type, 0); in add_blend_test()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
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() 275 assert(LLVMTypeOf(base_ptr) == LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0)); in lp_build_gather_avx2() 290 LLVMTypeRef src_ptr_type = LLVMPointerType(src_type, 0); in lp_build_gather_avx2()
|
D | lp_bld_format_cached.c | 89 type_ptr4x32 = LLVMPointerType(LLVMVectorType(LLVMInt32TypeInContext(gallivm->context), 4), 0); in store_cached_block() 152 LLVMTypeRef pi8t = LLVMPointerType(i8t, 0); in update_cached_block() 192 LLVMPointerType(function_type, 0), in update_cached_block() 225 tmp_ptr = LLVMBuildBitCast(builder, tmp_ptr, LLVMPointerType(i32x4, 0), ""); in update_cached_block() 331 LLVMPointerType(i8t, 0), ""); in lp_build_fetch_cached_texels() 357 tmp = LLVMBuildIntToPtr(builder, addr, LLVMPointerType(i8t, 0), ""); in lp_build_fetch_cached_texels()
|
D | lp_bld_printf.c | 57 assert(LLVMTypeOf(args[0]) == LLVMPointerType(LLVMInt8TypeInContext(context), 0)); in lp_build_print_args() 69 …func_printf = LLVMBuildBitCast(builder, func_printf, LLVMPointerType(printf_type, 0), "debug_print… in lp_build_print_args()
|
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 | 148 LLVMPointerType(int_type, 0), in lp_build_const_int_pointer()
|
D | lp_bld_format_aos.c | 771 LLVMTypeRef pi8t = LLVMPointerType(i8t, 0); in lp_build_fetch_rgba_aos() 811 LLVMPointerType(function_type, 0), in lp_build_fetch_rgba_aos() 875 LLVMTypeRef pf32t = LLVMPointerType(f32t, 0); in lp_build_fetch_rgba_aos() 876 LLVMTypeRef pi8t = LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0); in lp_build_fetch_rgba_aos()
|
D | lp_bld_tgsi_soa.c | 1291 LLVMTypeRef dptr_type = LLVMPointerType(LLVMDoubleTypeInContext(gallivm->context), 0); in emit_fetch_constant() 1295 LLVMTypeRef u64ptr_type = LLVMPointerType(LLVMInt64TypeInContext(gallivm->context), 0); in emit_fetch_constant() 1299 LLVMTypeRef i64ptr_type = LLVMPointerType(LLVMInt64TypeInContext(gallivm->context), 0); in emit_fetch_constant() 1365 fptr_type = LLVMPointerType(LLVMFloatTypeInContext(gallivm->context), 0); in emit_fetch_immediate() 1462 fptr_type = LLVMPointerType(LLVMFloatTypeInContext(gallivm->context), 0); in emit_fetch_input() 1614 fptr_type = LLVMPointerType(LLVMFloatTypeInContext(gallivm->context), 0); in emit_fetch_temporary() 1915 fptr_type = LLVMPointerType(LLVMFloatTypeInContext(gallivm->context), 0); in emit_store_chan() 1953 fptr_type = LLVMPointerType(LLVMFloatTypeInContext(gallivm->context), 0); in emit_store_chan()
|
D | lp_bld_conv.c | 194 func = LLVMBuildBitCast(builder, func, LLVMPointerType(func_type, 0), "util_float_to_half"); in lp_build_float_to_half()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm.c | 95 LLVMPointerType(LLVMIntTypeInContext(gallivm->context, 8), 0); in create_jit_dvbuffer_type() 129 LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0); in create_jit_texture_type() 226 elem_types[0] = LLVMArrayType(LLVMPointerType(float_type, 0), /* vs_constants */ in create_jit_context_type() 230 elem_types[2] = LLVMPointerType(LLVMArrayType(LLVMArrayType(float_type, 4), in create_jit_context_type() 232 elem_types[3] = LLVMPointerType(float_type, 0); /* viewports */ in create_jit_context_type() 277 elem_types[0] = LLVMArrayType(LLVMPointerType(float_type, 0), /* constants */ in create_gs_jit_context_type() 281 elem_types[2] = LLVMPointerType(LLVMArrayType(LLVMArrayType(float_type, 4), in create_gs_jit_context_type() 283 elem_types[3] = LLVMPointerType(float_type, 0); /* viewports */ in create_gs_jit_context_type() 290 elem_types[6] = LLVMPointerType(LLVMPointerType(int_type, 0), 0); in create_gs_jit_context_type() 291 elem_types[7] = LLVMPointerType(LLVMVectorType(int_type, in create_gs_jit_context_type() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Intrinsics.td | 66 class LLVMPointerType<LLVMType elty> 108 def llvm_ptr_ty : LLVMPointerType<llvm_i8_ty>; // i8* 109 def llvm_ptrptr_ty : LLVMPointerType<llvm_ptr_ty>; // i8** 112 def llvm_descriptor_ty : LLVMPointerType<llvm_empty_ty>; // { }* 116 def llvm_ptrx86mmx_ty : LLVMPointerType<llvm_x86mmx_ty>; // <1 x i64>*
|
/external/llvm/tools/llvm-c-test/ |
D | calc.c | 120 LLVMTypeRef I64Ptrty = LLVMPointerType(I64ty, 0); in handle_line()
|
/external/llvm/include/llvm/IR/ |
D | Intrinsics.td | 106 class LLVMPointerType<LLVMType elty> 158 def llvm_ptr_ty : LLVMPointerType<llvm_i8_ty>; // i8* 159 def llvm_ptrptr_ty : LLVMPointerType<llvm_ptr_ty>; // i8** 162 def llvm_descriptor_ty : LLVMPointerType<llvm_empty_ty>; // { }* 167 def llvm_ptrx86mmx_ty : LLVMPointerType<llvm_x86mmx_ty>; // <1 x i64>*
|
/external/swiftshader/third_party/LLVM/bindings/ocaml/llvm/ |
D | llvm_ocaml.c | 349 return LLVMPointerType(ElementTy, 0); in llvm_pointer_type() 355 return LLVMPointerType(ElementTy, Int_val(AddressSpace)); in llvm_qualified_pointer_type() 864 return LLVMConstBitCast(GlobalVar, LLVMPointerType(Ty, 0)); in DEFINE_ITERATORS() 878 LLVMPointerType(Ty, Int_val(AddressSpace))); in llvm_declare_qualified_global() 978 return LLVMConstBitCast(Fn, LLVMPointerType(Ty, 0)); in DEFINE_ITERATORS()
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm_ocaml.c | 453 return LLVMPointerType(ElementTy, 0); in llvm_pointer_type() 459 return LLVMPointerType(ElementTy, Int_val(AddressSpace)); in llvm_qualified_pointer_type() 1101 return LLVMConstBitCast(GlobalVar, LLVMPointerType(Ty, 0)); in DEFINE_ITERATORS() 1115 LLVMPointerType(Ty, Int_val(AddressSpace))); in llvm_declare_qualified_global() 1240 return LLVMConstBitCast(Fn, LLVMPointerType(Ty, 0)); in DEFINE_ITERATORS()
|