Home
last modified time | relevance | path

Searched refs:LLVMPointerType (Results 1 – 25 of 36) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_jit.c80 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()
Dlp_bld_interp.c198 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()
Dlp_test_format.c103 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()
Dlp_state_setup.c753 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()
Dlp_test_arit.c331 LLVMTypeRef args[2] = { LLVMPointerType(vf32t, 0), LLVMPointerType(vf32t, 0) }; in build_unary_test_func()
Dlp_test_conv.c116 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()
Dlp_state_fs.c233 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()
Dlp_bld_depth.c549 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()
Dlp_test_blend.c162 args[4] = args[3] = args[2] = args[1] = args[0] = LLVMPointerType(vec_type, 0); in add_blend_test()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_gather.c58 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()
Dlp_bld_format_cached.c89 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()
Dlp_bld_printf.c57 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()
Dlp_bld_assert.c76 arg_types[1] = LLVMPointerType(LLVMInt8TypeInContext(context), 0); in lp_build_assert()
Dlp_bld_format_aos_array.c82 ptr = LLVMBuildPointerCast(builder, ptr, LLVMPointerType(src_vec_type, 0), ""); in lp_build_fetch_rgba_aos_array()
Dlp_bld_const.c454 string = LLVMConstBitCast(string, LLVMPointerType(i8, 0)); in lp_build_const_string()
481 LLVMPointerType(function_type, 0), in lp_build_const_func_pointer()
Dlp_bld_const.h148 LLVMPointerType(int_type, 0), in lp_build_const_int_pointer()
Dlp_bld_format_aos.c771 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()
Dlp_bld_tgsi_soa.c1291 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()
Dlp_bld_conv.c194 func = LLVMBuildBitCast(builder, func, LLVMPointerType(func_type, 0), "util_float_to_half"); in lp_build_float_to_half()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c95 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/
DIntrinsics.td66 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/
Dcalc.c120 LLVMTypeRef I64Ptrty = LLVMPointerType(I64ty, 0); in handle_line()
/external/llvm/include/llvm/IR/
DIntrinsics.td106 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/
Dllvm_ocaml.c349 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/
Dllvm_ocaml.c453 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()

12