Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_logic.c348 LLVMVectorType(LLVMInt1TypeInContext(lc), type.length); in lp_build_select()
369 LLVMVectorType(LLVMIntTypeInContext(lc, type.width), type.length); in lp_build_select()
379 arg_type = LLVMVectorType(LLVMDoubleTypeInContext(lc), 4); in lp_build_select()
383 arg_type = LLVMVectorType(LLVMFloatTypeInContext(lc), 8); in lp_build_select()
387 arg_type = LLVMVectorType(LLVMInt8TypeInContext(lc), 32); in lp_build_select()
393 arg_type = LLVMVectorType(LLVMDoubleTypeInContext(lc), 2); in lp_build_select()
397 arg_type = LLVMVectorType(LLVMFloatTypeInContext(lc), 4); in lp_build_select()
400 arg_type = LLVMVectorType(LLVMInt8TypeInContext(lc), 16); in lp_build_select()
Dlp_bld_type.c74 return LLVMVectorType(elem_type, type.length); in lp_build_vec_type()
193 return LLVMVectorType(elem_type, type.length); in lp_build_int_vec_type()
408 bld->int_vec_type = LLVMVectorType(bld->int_elem_type, type.length); in lp_build_context_init()
409 bld->vec_type = LLVMVectorType(bld->elem_type, type.length); in lp_build_context_init()
Dlp_bld_gather.c297 src_vec_type = LLVMVectorType(src_type, length); in lp_build_gather_avx2()
312 LLVMTypeRef i32_vec_type = LLVMVectorType(i32_type, length); in lp_build_gather_avx2()
314 LLVMTypeRef i1_vec_type = LLVMVectorType(i1_type, length); in lp_build_gather_avx2()
460 src_type = LLVMVectorType(lp_build_elem_type(gallivm, fetch_type), in lp_build_gather()
590 LLVMTypeRef vec_type = LLVMVectorType(LLVMTypeOf(values[0]), value_count); in lp_build_gather_values()
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()
851 res = LLVMGetUndef(LLVMVectorType(i32t, num_pixels)); in lp_build_fetch_rgba_aos()
910 LLVMTypeRef f32x4t = LLVMVectorType(f32t, 4); in lp_build_fetch_rgba_aos()
Dlp_bld_format_s3tc.c297 LLVMTypeRef type64_vec = LLVMVectorType(type64, length/2); in lp_build_gather_s3tc()
298 LLVMTypeRef type32_vec = LLVMVectorType(type32, length); in lp_build_gather_s3tc()
984 alpha64 = LLVMBuildBitCast(builder, alpha64, LLVMVectorType(i64t, n), ""); in s3tc_dxt5_alpha_channel()
985 shift = LLVMBuildZExt(builder, bit_pos, LLVMVectorType(i64t, n), ""); in s3tc_dxt5_alpha_channel()
1100 LLVMTypeRef type32_4 = LLVMVectorType(type32, 4); in lp_build_gather_s3tc_simple_scalar()
1112 LLVMTypeRef type32_2 = LLVMVectorType(type32, 2); in lp_build_gather_s3tc_simple_scalar()
1133 type_ptr4x32 = LLVMPointerType(LLVMVectorType(LLVMInt32TypeInContext(gallivm->context), 4), 0); in s3tc_store_cached_block()
2159 return LLVMBuildBitCast(builder, color, LLVMVectorType(i8t, n * 4), ""); in compressed_fetch_cached()
2220 LLVMTypeRef i8_vectype = LLVMVectorType(i8t, 4 * n); in lp_build_fetch_s3tc_rgba_aos()
2222 LLVMTypeRef i128_vectype = LLVMVectorType(i128_type, n / 4); in lp_build_fetch_s3tc_rgba_aos()
[all …]
Dlp_bld_intr.c347 a = LLVMBuildBitCast(builder, a, LLVMVectorType(elem_type, 1), ""); in lp_build_intrinsic_binary_anylength()
348 b = LLVMBuildBitCast(builder, b, LLVMVectorType(elem_type, 1), ""); in lp_build_intrinsic_binary_anylength()
Dlp_bld_format_yuv.c354 LLVMVectorType(LLVMInt8TypeInContext(gallivm->context), 4*n), ""); in rgb_to_rgba_aos()
526 rgba = LLVMGetUndef(LLVMVectorType(LLVMInt8TypeInContext(gallivm->context), 4*n)); in lp_build_fetch_subsampled_rgba_aos()
Dlp_bld_conv.c124 LLVMVectorType(LLVMInt16TypeInContext(gallivm->context), 8), ""); in lp_build_half_to_float()
138LLVMVectorType(LLVMHalfTypeInContext(gallivm->context), src_length), ""); in lp_build_half_to_float()
214 LLVMValueRef ref_result = LLVMGetUndef(LLVMVectorType(i16t, length)); in lp_build_float_to_half()
Dlp_bld_swizzle.c64 LLVMTypeRef i32_vec_type = LLVMVectorType(i32_type, length); in lp_build_broadcast()
129 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_sample_aos.c1072 LLVMTypeRef tmp_vec_type = LLVMVectorType(u8n_bld.elem_type, bld->lodi_bld.type.length); in lp_build_sample_mipmap()
Dlp_bld_tgsi_soa.c552 …res = LLVMGetUndef(LLVMVectorType(LLVMFloatTypeInContext(gallivm->context), bld_base->base.type.le… in build_gather()
889 …res = LLVMGetUndef(LLVMVectorType(LLVMFloatTypeInContext(gallivm->context), bld_base->base.type.le… in emit_fetch_constant()
1801 …value = LLVMBuildBitCast(builder, value, LLVMVectorType(LLVMFloatTypeInContext(gallivm->context),… in emit_store_temp()
Dlp_bld_nir.c466 LLVMVectorType(LLVMInt32TypeInContext(gallivm->context), len), ""); in split_64bit()
519 …src = LLVMBuildBitCast(gallivm->builder, src, LLVMVectorType(LLVMInt16TypeInContext(gallivm->conte… in split_16bit()
Dlp_bld_nir_soa.c149 …value = LLVMBuildBitCast(gallivm->builder, value, LLVMVectorType(LLVMFloatTypeInContext(gallivm->c… in emit_store_64bit_split()
237 …res = LLVMGetUndef(LLVMVectorType(LLVMFloatTypeInContext(gallivm->context), bld_base->base.type.le… in build_gather()
/third_party/flutter/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 …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs_linear_llvm.c256 LLVMTypeRef pixelt = LLVMVectorType(int32t, 4); in llvmpipe_fs_variant_linear_llvm()
354 blend_color = lp_build_broadcast(gallivm, LLVMVectorType(int32t, 4), in llvmpipe_fs_variant_linear_llvm()
357 LLVMVectorType(int8t, 16), ""); in llvmpipe_fs_variant_linear_llvm()
Dlp_state_cs.c358 …system_values.thread_id = LLVMGetUndef(LLVMArrayType(LLVMVectorType(int32_type, cs_type.length), 3… in generate_compute()
363 system_values.block_id = LLVMGetUndef(LLVMVectorType(int32_type, 3)); in generate_compute()
368 system_values.grid_size = LLVMGetUndef(LLVMVectorType(int32_type, 3)); in generate_compute()
401 system_values.block_size = LLVMGetUndef(LLVMVectorType(int32_type, 3)); in generate_compute()
408 …LLVMValueRef mask_val = lp_build_alloca(gallivm, LLVMVectorType(int32_type, cs_type.length), "mask… in generate_compute()
Dlp_jit.c330 ret_type = LLVMPointerType(LLVMVectorType(LLVMInt8TypeInContext(lc), 16), 0); in lp_jit_create_types()
Dlp_state_setup.c666 LLVMVectorType(LLVMFloatTypeInContext(gallivm->context), 4); in generate_setup_variant()
Dlp_bld_depth.c466 LLVMTypeRef i8vntype = LLVMVectorType(LLVMInt8TypeInContext(context), type.length * 4); in lp_build_occlusion_count()
/third_party/mesa3d/src/amd/llvm/
Dac_llvm_build.c89 ctx->v2i16 = LLVMVectorType(ctx->i16, 2); in ac_llvm_context_init()
90 ctx->v4i16 = LLVMVectorType(ctx->i16, 4); in ac_llvm_context_init()
91 ctx->v2f16 = LLVMVectorType(ctx->f16, 2); in ac_llvm_context_init()
92 ctx->v4f16 = LLVMVectorType(ctx->f16, 4); in ac_llvm_context_init()
93 ctx->v2i32 = LLVMVectorType(ctx->i32, 2); in ac_llvm_context_init()
94 ctx->v3i32 = LLVMVectorType(ctx->i32, 3); in ac_llvm_context_init()
95 ctx->v4i32 = LLVMVectorType(ctx->i32, 4); in ac_llvm_context_init()
96 ctx->v2f32 = LLVMVectorType(ctx->f32, 2); in ac_llvm_context_init()
97 ctx->v3f32 = LLVMVectorType(ctx->f32, 3); in ac_llvm_context_init()
98 ctx->v4f32 = LLVMVectorType(ctx->f32, 4); in ac_llvm_context_init()
[all …]
Dac_nir_to_llvm.c79 type = LLVMVectorType(type, def->num_components); in get_def_type()
1714 LLVMTypeRef vec_type = LLVMVectorType(ctx->ac.i8, 4 * load_dwords); in visit_load_push_constant()
1738 LLVMVectorType(ctx->ac.i8, instr->dest.ssa.num_components), ""); in visit_load_push_constant()
1742 LLVMTypeRef vec_type = LLVMVectorType(ctx->ac.i16, 2 * load_dwords); in visit_load_push_constant()
2128 LLVMTypeRef byte_vec = LLVMVectorType(ctx->ac.i8, ac_get_type_size(LLVMTypeOf(ret))); in visit_load_buffer()
2132 LLVMTypeRef ret_type = LLVMVectorType(def_elem_type, num_elems); in visit_load_buffer()
2347 LLVMVectorType(ctx->ac.i64, num_components / 2), ""); in visit_load_ubo_buffer()
2350 LLVMVectorType(ctx->ac.i16, num_components * 2), ""); in visit_load_ubo_buffer()
2353 LLVMVectorType(ctx->ac.i8, num_components * 4), ""); in visit_load_ubo_buffer()
2654 res = LLVMBuildBitCast(ctx->ac.builder, res, LLVMVectorType(ctx->ac.i64, 2), ""); in visit_image_load()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c394 elem_types[8] = LLVMPointerType(LLVMVectorType(int_type, in create_gs_jit_context_type()
396 elem_types[9] = LLVMPointerType(LLVMVectorType(int_type, in create_gs_jit_context_type()
452 input_array = LLVMVectorType(float_type, TGSI_NUM_CHANNELS); /* num primitives */ in create_gs_jit_input_type()
1390 LLVMPointerType(LLVMVectorType(LLVMFloatTypeInContext(gallivm->context), in store_clip()
2044 LLVMVectorType(LLVMInt64TypeInContext(context), 4), ""); in draw_llvm_generate()
2776 LLVMTypeRef prim_id_type = LLVMVectorType(int32_type, vector_length); in draw_gs_llvm_generate()
3504 LLVMValueRef invocvec = LLVMGetUndef(LLVMVectorType(int32_type, vector_length)); in draw_tcs_llvm_generate()
4044 …system_values.tess_coord = LLVMGetUndef(LLVMArrayType(LLVMVectorType(flt_type, vector_length), 3)); in draw_tes_llvm_generate()
4046 LLVMValueRef tess_coord_chan = LLVMGetUndef(LLVMVectorType(flt_type, vector_length)); in draw_tes_llvm_generate()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_gs.c321 LLVMTypeRef v2i64 = LLVMVectorType(ctx->ac.i64, 2); in si_preload_gs_rings()
Dsi_shader_llvm.c554 LLVMTypeRef vector_type = LLVMVectorType(out_type, size); in si_build_wrapper_function()

12