Home
last modified time | relevance | path

Searched refs:LLVMPointerType (Results 1 – 25 of 48) 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.c234 LLVMPointerType(lp_build_vec_type(gallivm, viewport_type), 0), ""); in lp_llvm_viewport()
916 LLVMPointerType(lp_build_vec_type(gallivm, dst_type), 0), ""); in load_unswizzled_block()
961 LLVMPointerType(lp_build_vec_type(gallivm, src_type), 0), ""); in store_unswizzled_block()
2083 LLVMPointerType(lp_build_vec_type(gallivm, fs_type), 0), ""); in generate_unswizzled_blend()
2496 arg_types[4] = LLVMPointerType(fs_elem_type, 0); /* a0 */ in generate_fragment()
2497 arg_types[5] = LLVMPointerType(fs_elem_type, 0); /* dadx */ in generate_fragment()
2498 arg_types[6] = LLVMPointerType(fs_elem_type, 0); /* dady */ in generate_fragment()
2499 arg_types[7] = LLVMPointerType(LLVMPointerType(blend_vec_type, 0), 0); /* color */ in generate_fragment()
2500 arg_types[8] = LLVMPointerType(int8_type, 0); /* depth */ in generate_fragment()
2503 arg_types[11] = LLVMPointerType(int32_type, 0); /* stride */ in generate_fragment()
/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()
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()
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_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_format_aos_array.c82 ptr = LLVMBuildPointerCast(builder, ptr, LLVMPointerType(src_vec_type, 0), ""); in lp_build_fetch_rgba_aos_array()
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_const.h148 LLVMPointerType(int_type, 0), in lp_build_const_int_pointer()
Dlp_bld_tgsi_soa.c1248 LLVMTypeRef dptr_type = LLVMPointerType(LLVMDoubleTypeInContext(gallivm->context), 0); in emit_fetch_constant()
1252 LLVMTypeRef u64ptr_type = LLVMPointerType(LLVMInt64TypeInContext(gallivm->context), 0); in emit_fetch_constant()
1256 LLVMTypeRef i64ptr_type = LLVMPointerType(LLVMInt64TypeInContext(gallivm->context), 0); in emit_fetch_constant()
1322 fptr_type = LLVMPointerType(LLVMFloatTypeInContext(gallivm->context), 0); in emit_fetch_immediate()
1419 fptr_type = LLVMPointerType(LLVMFloatTypeInContext(gallivm->context), 0); in emit_fetch_input()
1571 fptr_type = LLVMPointerType(LLVMFloatTypeInContext(gallivm->context), 0); in emit_fetch_temporary()
1802 fptr_type = LLVMPointerType(LLVMFloatTypeInContext(gallivm->context), 0); in emit_store_chan()
1840 fptr_type = LLVMPointerType(LLVMFloatTypeInContext(gallivm->context), 0); in emit_store_chan()
/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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-c-test/
Dcalc.c120 LLVMTypeRef I64Ptrty = LLVMPointerType(I64ty, 0); in handle_line()
/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/skia/src/sksl/
DSkSLJIT.cpp108 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()
/external/skqp/src/sksl/
DSkSLJIT.cpp108 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()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DIntrinsics.td129 class LLVMPointerType<LLVMType elty>
186 def llvm_ptr_ty : LLVMPointerType<llvm_i8_ty>; // i8*
187 def llvm_ptrptr_ty : LLVMPointerType<llvm_ptr_ty>; // i8**
190 def llvm_descriptor_ty : LLVMPointerType<llvm_empty_ty>; // { }*
195 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()

12