Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_jit.c63 LLVMArrayType(LLVMPointerType(LLVMInt8TypeInContext(lc), 0), in lp_jit_create_types()
125 elem_types[LP_JIT_CTX_CONSTANTS] = LLVMPointerType(LLVMFloatTypeInContext(lc), 0); in lp_jit_create_types()
129 elem_types[LP_JIT_CTX_BLEND_COLOR] = LLVMPointerType(LLVMInt8TypeInContext(lc), 0); in lp_jit_create_types()
163 lp->jit_context_ptr_type = LLVMPointerType(context_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()
404 LLVMPointerType(setup_bld->vec_type, 0), ""); in coeffs_init()
409 LLVMPointerType(setup_bld->vec_type, 0), ""); in coeffs_init()
420 LLVMPointerType(setup_bld->vec_type, 0), ""); in coeffs_init()
594 LLVMTypeRef ptr_type = LLVMPointerType(LLVMFloatTypeInContext( in attribs_update()
Dlp_test_arit.c257 LLVMTypeRef args[2] = { LLVMPointerType(vf32t, 0), LLVMPointerType(vf32t, 0) }; in build_unary_test_func()
Dlp_state_setup.c712 arg_types[0] = LLVMPointerType(vec4f_type, 0); /* v0 */ in generate_setup_variant()
713 arg_types[1] = LLVMPointerType(vec4f_type, 0); /* v1 */ in generate_setup_variant()
714 arg_types[2] = LLVMPointerType(vec4f_type, 0); /* v2 */ in generate_setup_variant()
716 arg_types[4] = LLVMPointerType(vec4f_type, 0); /* a0, aligned */ in generate_setup_variant()
717 arg_types[5] = LLVMPointerType(vec4f_type, 0); /* dadx, aligned */ in generate_setup_variant()
718 arg_types[6] = LLVMPointerType(vec4f_type, 0); /* dady, aligned */ in generate_setup_variant()
Dlp_state_fs.c724 LLVMPointerType(vec_type, 0), ""); in generate_blend()
863 arg_types[4] = LLVMPointerType(fs_elem_type, 0); /* a0 */ in generate_fragment()
864 arg_types[5] = LLVMPointerType(fs_elem_type, 0); /* dadx */ in generate_fragment()
865 arg_types[6] = LLVMPointerType(fs_elem_type, 0); /* dady */ in generate_fragment()
866 arg_types[7] = LLVMPointerType(LLVMPointerType(blend_vec_type, 0), 0); /* color */ in generate_fragment()
867 arg_types[8] = LLVMPointerType(int8_type, 0); /* depth */ in generate_fragment()
869 arg_types[10] = LLVMPointerType(int32_type, 0); /* counter */ in generate_fragment()
Dlp_test_format.c99 args[0] = LLVMPointerType(lp_build_vec_type(gallivm, type), 0); in add_fetch_rgba_test()
100 args[1] = LLVMPointerType(LLVMInt8TypeInContext(context), 0); in add_fetch_rgba_test()
Dlp_bld_depth.c636 LLVMPointerType(z_bld.vec_type, 0), ""); in lp_build_depth_stencil_test()
859 LLVMPointerType(LLVMTypeOf(zs_value), 0), ""); in lp_build_depth_write()
884 LLVMPointerType(z_bld.vec_type, 0), ""); in lp_build_deferred_depth_write()
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_test_blend.c176 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.c52 assert(LLVMTypeOf(base_ptr) == LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0)); in lp_build_gather_elem_ptr()
83 LLVMTypeRef src_ptr_type = LLVMPointerType(src_type, 0); in lp_build_gather_elem()
88 assert(LLVMTypeOf(base_ptr) == LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0)); in lp_build_gather_elem()
Dlp_bld_printf.c56 assert(LLVMTypeOf(args[0]) == LLVMPointerType(LLVMInt8TypeInContext(context), 0)); in lp_build_print_args()
68 …func_printf = LLVMBuildBitCast(builder, func_printf, LLVMPointerType(printf_type, 0), "debug_print… in lp_build_print_args()
Dlp_bld_format_aos.c521 LLVMTypeRef pi8t = LLVMPointerType(i8t, 0); in lp_build_fetch_rgba_aos()
561 LLVMPointerType(function_type, 0), in lp_build_fetch_rgba_aos()
625 LLVMTypeRef pf32t = LLVMPointerType(f32t, 0); in lp_build_fetch_rgba_aos()
626 LLVMTypeRef pi8t = LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0); in lp_build_fetch_rgba_aos()
Dlp_bld_assert.c76 arg_types[1] = LLVMPointerType(LLVMInt8TypeInContext(context), 0); in lp_build_assert()
Dlp_bld_format_aos_array.c76 ptr = LLVMBuildPointerCast(builder, ptr, LLVMPointerType(src_vec_type, 0), ""); in lp_build_fetch_rgba_aos_array()
Dlp_bld_const.c450 string = LLVMConstBitCast(string, LLVMPointerType(i8, 0)); in lp_build_const_string()
477 LLVMPointerType(function_type, 0), in lp_build_const_func_pointer()
Dlp_bld_const.h146 LLVMPointerType(int_type, 0), in lp_build_const_int_pointer()
Dlp_bld_tgsi_soa.c624 LLVMTypeRef ivtype = LLVMPointerType(LLVMInt32TypeInContext(gallivm->context), 0); in emit_fetch_constant()
690 float4_ptr_type = LLVMPointerType(LLVMFloatTypeInContext(gallivm->context), 0); in emit_fetch_input()
757 … float4_ptr_type = LLVMPointerType(LLVMFloatTypeInContext(bld->bld_base.base.gallivm->context), 0); in emit_fetch_temporary()
767 LLVMTypeRef itype = LLVMPointerType(bld->bld_base.int_bld.vec_type, 0); in emit_fetch_temporary()
1015 LLVMPointerType(LLVMFloatTypeInContext(gallivm->context), 0); in emit_store_chan()
1058 LLVMPointerType(LLVMFloatTypeInContext(gallivm->context), 0); in emit_store_chan()
1073 LLVMTypeRef ivtype = LLVMPointerType(itype, 0); in emit_store_chan()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c86 LLVMArrayType(LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0), in create_jit_texture_type()
161 elem_types[0] = LLVMPointerType(float_type, 0); /* vs_constants */ in create_jit_context_type()
162 elem_types[1] = LLVMPointerType(float_type, 0); /* gs_constants */ in create_jit_context_type()
163 elem_types[2] = LLVMPointerType(LLVMArrayType(LLVMArrayType(float_type, 4), in create_jit_context_type()
165 elem_types[3] = LLVMPointerType(float_type, 0); /* viewport */ in create_jit_context_type()
205 elem_types[3] = LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0); /* vs_constants */ in create_jit_vertex_buffer_type()
295 variant->context_ptr_type = LLVMPointerType(context_type, 0); in create_jit_types()
297 buffer_type = LLVMPointerType(LLVMIntTypeInContext(gallivm->context, 8), 0); in create_jit_types()
298 variant->buffer_ptr_type = LLVMPointerType(buffer_type, 0); in create_jit_types()
301 variant->vb_ptr_type = LLVMPointerType(vb_type, 0); in create_jit_types()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dradeonsi_shader.c162 ret_type = LLVMPointerType(ret_type, CONST_ADDR_SPACE); in use_sgpr()
178 ret_type = LLVMPointerType(ret_type, CONST_ADDR_SPACE); in use_sgpr()
185 ret_type = LLVMPointerType(ret_type, CONST_ADDR_SPACE); in use_sgpr()
193 ret_type = LLVMPointerType(ret_type, USER_SGPR_ADDR_SPACE); in use_sgpr()
/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()
Decho.cpp135 return LLVMPointerType( in Clone()
/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