Home
last modified time | relevance | path

Searched refs:LLVMVectorType (Results 1 – 25 of 39) sorted by relevance

12

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_logic.c345 LLVMTypeRef bool_vec_type = LLVMVectorType(LLVMInt1TypeInContext(lc), type.length); in lp_build_select()
370 arg_type = LLVMVectorType(LLVMDoubleTypeInContext(lc), 4); in lp_build_select()
374 arg_type = LLVMVectorType(LLVMFloatTypeInContext(lc), 8); in lp_build_select()
378 arg_type = LLVMVectorType(LLVMInt8TypeInContext(lc), 32); in lp_build_select()
384 arg_type = LLVMVectorType(LLVMDoubleTypeInContext(lc), 2); in lp_build_select()
388 arg_type = LLVMVectorType(LLVMFloatTypeInContext(lc), 4); in lp_build_select()
391 arg_type = LLVMVectorType(LLVMInt8TypeInContext(lc), 16); in lp_build_select()
Dlp_bld_type.c68 return LLVMVectorType(elem_type, type.length); in lp_build_vec_type()
173 return LLVMVectorType(elem_type, type.length); in lp_build_int_vec_type()
384 bld->int_vec_type = LLVMVectorType(bld->int_elem_type, type.length); in lp_build_context_init()
385 bld->vec_type = LLVMVectorType(bld->elem_type, type.length); in lp_build_context_init()
Dlp_bld_gather.c298 src_vec_type = LLVMVectorType(src_type, length); in lp_build_gather_avx2()
313 LLVMTypeRef i32_vec_type = LLVMVectorType(i32_type, length); in lp_build_gather_avx2()
315 LLVMTypeRef i1_vec_type = LLVMVectorType(i1_type, length); in lp_build_gather_avx2()
461 src_type = LLVMVectorType(lp_build_elem_type(gallivm, fetch_type), in lp_build_gather()
591 LLVMTypeRef vec_type = LLVMVectorType(LLVMTypeOf(values[0]), value_count); in lp_build_gather_values()
Dlp_bld_format_cached.c89 type_ptr4x32 = LLVMPointerType(LLVMVectorType(LLVMInt32TypeInContext(gallivm->context), 4), 0); in store_cached_block()
154 LLVMTypeRef i32x4 = LLVMVectorType(LLVMInt32TypeInContext(gallivm->context), 4); in update_cached_block()
312 color = LLVMGetUndef(LLVMVectorType(i32t, n)); in lp_build_fetch_cached_texels()
372 return LLVMBuildBitCast(builder, color, LLVMVectorType(i8t, n * 4), ""); in lp_build_fetch_cached_texels()
Dlp_bld_format_aos.c246 vec32_type = LLVMVectorType(LLVMInt32TypeInContext(gallivm->context), 4); in lp_build_unpack_arith_rgba_aos()
334 …casted = LLVMBuildSIToFP(builder, masked, LLVMVectorType(LLVMFloatTypeInContext(gallivm->context),… in lp_build_unpack_arith_rgba_aos()
336 …casted = LLVMBuildUIToFP(builder, masked, LLVMVectorType(LLVMFloatTypeInContext(gallivm->context),… in lp_build_unpack_arith_rgba_aos()
397 … LLVMGetUndef(LLVMVectorType(LLVMFloatTypeInContext(gallivm->context), 4)), in lp_build_pack_rgba_aos()
431 …casted = LLVMBuildFPToSI(builder, scaled, LLVMVectorType(LLVMInt32TypeInContext(gallivm->context),… in lp_build_pack_rgba_aos()
817 res = LLVMGetUndef(LLVMVectorType(i32t, num_pixels)); in lp_build_fetch_rgba_aos()
874 LLVMTypeRef f32x4t = LLVMVectorType(f32t, 4); in lp_build_fetch_rgba_aos()
Dlp_bld_intr.c324 a = LLVMBuildBitCast(builder, a, LLVMVectorType(elem_type, 1), ""); in lp_build_intrinsic_binary_anylength()
325 b = LLVMBuildBitCast(builder, b, LLVMVectorType(elem_type, 1), ""); in lp_build_intrinsic_binary_anylength()
Dlp_bld_format_yuv.c355 LLVMVectorType(LLVMInt8TypeInContext(gallivm->context), 4*n), ""); in rgb_to_rgba_aos()
527 rgba = LLVMGetUndef(LLVMVectorType(LLVMInt8TypeInContext(gallivm->context), 4*n)); in lp_build_fetch_subsampled_rgba_aos()
Dlp_bld_swizzle.c63 LLVMTypeRef i32_vec_type = LLVMVectorType(i32_type, length); in lp_build_broadcast()
133 LLVMVectorType(i32t, dst_type.length), in lp_build_extract_broadcast()
Dlp_bld_pack.c1040 undef = LLVMGetUndef(LLVMVectorType(type, dst_length)); in lp_build_pad_vector()
Dlp_bld_conv.c189 LLVMValueRef ref_result = LLVMGetUndef(LLVMVectorType(i16t, length)); in lp_build_float_to_half()
Dlp_bld_sample_aos.c1565 LLVMTypeRef tmp_vec_type = LLVMVectorType(u8n_bld.elem_type, bld->lodi_bld.type.length); in lp_build_sample_mipmap()
/external/mesa3d/src/amd/common/
Dac_llvm_build.c80 ctx->v2i32 = LLVMVectorType(ctx->i32, 2); in ac_llvm_context_init()
81 ctx->v3i32 = LLVMVectorType(ctx->i32, 3); in ac_llvm_context_init()
82 ctx->v4i32 = LLVMVectorType(ctx->i32, 4); in ac_llvm_context_init()
83 ctx->v2f32 = LLVMVectorType(ctx->f32, 2); in ac_llvm_context_init()
84 ctx->v4f32 = LLVMVectorType(ctx->f32, 4); in ac_llvm_context_init()
85 ctx->v8i32 = LLVMVectorType(ctx->i32, 8); in ac_llvm_context_init()
190 return LLVMVectorType(to_integer_type_scalar(ctx, elem_type), in ac_to_integer_type()
220 return LLVMVectorType(to_float_type_scalar(ctx, elem_type), in ac_to_float_type()
354 vgpr = LLVMBuildBitCast(builder, vgpr, LLVMVectorType(ctx->i32, vgpr_size / 4), ""); in ac_build_optimization_barrier()
435 vec = LLVMGetUndef( LLVMVectorType(LLVMTypeOf(value), value_count)); in ac_build_varying_gather_values()
[all …]
Dac_nir_to_llvm.c1207 type = LLVMVectorType(type, def->num_components); in get_def_type()
2505 data_type = LLVMVectorType(ctx->ac.f32, components_32bit); in visit_store_ssbo()
2628 data_type = LLVMVectorType(ctx->ac.f32, 4); in visit_load_buffer()
2630 data_type = LLVMVectorType(ctx->ac.f32, load_components); in visit_load_buffer()
3310 LLVMVectorType(ctx->ac.f32, ac_get_llvm_num_components(src) * 2), in visit_store_var()
5216 undef = LLVMGetUndef(LLVMVectorType(type, num_components)); in visit_ssa_undef()
5697 return LLVMVectorType( in glsl_to_llvm_type()
/external/skqp/src/sksl/
DSkSLJIT.cpp103 fInt1VectorType = LLVMVectorType(fInt1Type, fVectorCount); in JIT()
104 fInt1Vector2Type = LLVMVectorType(fInt1Type, 2); in JIT()
105 fInt1Vector3Type = LLVMVectorType(fInt1Type, 3); in JIT()
106 fInt1Vector4Type = LLVMVectorType(fInt1Type, 4); in JIT()
112 fInt32VectorType = LLVMVectorType(fInt32Type, fVectorCount); in JIT()
113 fInt32Vector2Type = LLVMVectorType(fInt32Type, 2); in JIT()
114 fInt32Vector3Type = LLVMVectorType(fInt32Type, 3); in JIT()
115 fInt32Vector4Type = LLVMVectorType(fInt32Type, 4); in JIT()
117 fFloat32VectorType = LLVMVectorType(fFloat32Type, fVectorCount); in JIT()
118 fFloat32Vector2Type = LLVMVectorType(fFloat32Type, 2); in JIT()
[all …]
/external/skia/src/sksl/
DSkSLJIT.cpp103 fInt1VectorType = LLVMVectorType(fInt1Type, fVectorCount); in JIT()
104 fInt1Vector2Type = LLVMVectorType(fInt1Type, 2); in JIT()
105 fInt1Vector3Type = LLVMVectorType(fInt1Type, 3); in JIT()
106 fInt1Vector4Type = LLVMVectorType(fInt1Type, 4); in JIT()
112 fInt32VectorType = LLVMVectorType(fInt32Type, fVectorCount); in JIT()
113 fInt32Vector2Type = LLVMVectorType(fInt32Type, 2); in JIT()
114 fInt32Vector3Type = LLVMVectorType(fInt32Type, 3); in JIT()
115 fInt32Vector4Type = LLVMVectorType(fInt32Type, 4); in JIT()
117 fFloat32VectorType = LLVMVectorType(fFloat32Type, fVectorCount); in JIT()
118 fFloat32Vector2Type = LLVMVectorType(fFloat32Type, 2); in JIT()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_tgsi_setup.c362 result = LLVMGetUndef(LLVMVectorType(ctx->i32, 2)); in si_llvm_emit_fetch_64bit()
383 LLVMTypeRef vec = LLVMVectorType(tgsi2llvmtype(bld_base, type), size); in emit_array_fetch()
533 result = LLVMGetUndef(LLVMVectorType(ctx->i32, 2)); in si_llvm_emit_fetch()
896 LLVMVectorType(ctx->i32, 2), ""); in si_llvm_emit_store()
1084 ctx->v2i32 = LLVMVectorType(ctx->i32, 2); in si_llvm_context_init()
1085 ctx->v4i32 = LLVMVectorType(ctx->i32, 4); in si_llvm_context_init()
1086 ctx->v4f32 = LLVMVectorType(ctx->f32, 4); in si_llvm_context_init()
1087 ctx->v8i32 = LLVMVectorType(ctx->i32, 8); in si_llvm_context_init()
Dsi_shader.c462 LLVMVectorType(f64, 2), ""); in extract_double_to_float()
1091 LLVMTypeRef vec_type = LLVMVectorType(type, 4); in buffer_load()
1194 LLVMValueRef desc = LLVMGetUndef(LLVMVectorType(ctx->i64, 2)); in desc_from_addr_base64k()
1762 LLVMVectorType(ctx->f32, 2), ""); in interp_fs_input()
2734 vdata = LLVMGetUndef(LLVMVectorType(ctx->i32, util_next_power_of_two(num_comps))); in emit_streamout_output()
4172 LLVMValueRef gather = LLVMGetUndef(LLVMVectorType(ctx->f32, input_array_size)); in build_interp_intrinsic()
4664 LLVMTypeRef v3i32 = LLVMVectorType(ctx->i32, 3); in create_function()
5053 LLVMTypeRef v2i64 = LLVMVectorType(ctx->i64, 2); in preload_ring_buffers()
6539 LLVMTypeRef vector_type = LLVMVectorType(out_type, size); in si_build_wrapper_function()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-c-test/
Ddebuginfo.c101 LLVMVectorType(LLVMInt64Type(), 10), in llvm_test_dibuilder()
Decho.cpp141 return LLVMVectorType( in Clone()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c291 elem_types[7] = LLVMPointerType(LLVMVectorType(int_type, in create_gs_jit_context_type()
293 elem_types[8] = LLVMPointerType(LLVMVectorType(int_type, in create_gs_jit_context_type()
336 input_array = LLVMVectorType(float_type, TGSI_NUM_CHANNELS); /* num primitives */ in create_gs_jit_input_type()
1030 LLVMPointerType(LLVMVectorType(LLVMFloatTypeInContext(gallivm->context), in store_clip()
1661 LLVMVectorType(LLVMInt64TypeInContext(context), 4), ""); in draw_llvm_generate()
2268 LLVMVectorType(int32_type, vector_length), 0); /* prim_id_ptr */ in draw_gs_llvm_generate()
/external/llvm/tools/llvm-c-test/
Decho.cpp140 return LLVMVectorType( in Clone()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_depth.c464 LLVMTypeRef i8vntype = LLVMVectorType(LLVMInt8TypeInContext(context), type.length * 4); in lp_build_occlusion_count()
Dlp_state_setup.c751 vec4f_type = LLVMVectorType(LLVMFloatTypeInContext(gallivm->context), 4); in generate_setup_variant()
/external/swiftshader/third_party/LLVM/include/llvm-c/
DCore.h426 LLVMTypeRef LLVMVectorType(LLVMTypeRef ElementType, unsigned ElementCount);
/external/llvm/include/llvm-c/
DCore.h1134 LLVMTypeRef LLVMVectorType(LLVMTypeRef ElementType, unsigned ElementCount);

12