Home
last modified time | relevance | path

Searched refs:LLVMConstVector (Results 1 – 25 of 27) sorted by relevance

12

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_const.c286 return LLVMConstVector(elems, type.length); in lp_build_one()
329 return LLVMConstVector(elems, type.length); in lp_build_const_vec()
349 return LLVMConstVector(elems, type.length); in lp_build_const_int_vec()
378 return LLVMConstVector(elems, type.length); in lp_build_const_aos()
404 return LLVMConstVector(masks, type.length); in lp_build_const_mask_aos()
Dlp_bld_swizzle.c178 return LLVMBuildShuffleVector(builder, a, bld->undef, LLVMConstVector(shuffles, n), ""); in lp_build_swizzle_scalar_aos()
340 LLVMConstVector(shuffles, dst_len), ""); in lp_build_swizzle_aos_n()
434 LLVMConstVector(aux, n), in lp_build_swizzle_aos()
435 LLVMConstVector(shuffles, n), ""); in lp_build_swizzle_aos()
765 LLVMConstVector(shuffles, num_dst), ""); in lp_build_pack_aos_scalars()
799 LLVMConstVector(shuffles, num_dst), ""); in lp_build_unpack_broadcast_aos_scalars()
Dlp_bld_pack.c103 return LLVMConstVector(elems, n); in lp_build_const_unpack_shuffle()
128 return LLVMConstVector(elems, n); in lp_build_const_unpack_shuffle_half()
153 return LLVMConstVector(elems, 16); in lp_build_const_unpack_shuffle_16wide()
175 return LLVMConstVector(elems, n); in lp_build_const_pack_shuffle()
202 LLVMConstVector(elems, size), ""); in lp_build_extract_range()
237 LLVMConstVector(shuffles, new_length), ""); in lp_build_concat()
304 shuffle = LLVMConstVector(elems, num_elems / 2); in lp_build_uninterleave1()
1062 …return LLVMBuildShuffleVector(gallivm->builder, src, undef, LLVMConstVector(elems, dst_length), ""… in lp_build_pad_vector()
Dlp_bld_nir_aos.c87 return LLVMConstVector(elems, 16); in lp_nir_aos_conv_const()
210 LLVMConstVector(shuffles, 16), ""); in emit_store_reg()
267 LLVMConstVector(shuffles, type.length), in emit_load_ubo()
316 outval[0] = LLVMConstVector(elems, nc); in emit_load_const()
Dlp_bld_format_aos.c326 masked = LLVMBuildAnd(builder, packed, LLVMConstVector(masks, 4), ""); in lp_build_unpack_arith_rgba_aos()
328 shifted = LLVMBuildLShr(builder, packed, LLVMConstVector(shifts, 4), ""); in lp_build_unpack_arith_rgba_aos()
329 masked = LLVMBuildAnd(builder, shifted, LLVMConstVector(masks, 4), ""); in lp_build_unpack_arith_rgba_aos()
347 scaled = LLVMBuildFMul(builder, casted, LLVMConstVector(scales, 4), ""); in lp_build_unpack_arith_rgba_aos()
398 LLVMConstVector(swizzles, 4), ""); in lp_build_pack_rgba_aos()
427 scaled = LLVMBuildFMul(builder, unswizzled, LLVMConstVector(scales, 4), ""); in lp_build_pack_rgba_aos()
433 shifted = LLVMBuildShl(builder, casted, LLVMConstVector(shifts, 4), ""); in lp_build_pack_rgba_aos()
Dlp_bld_quad.c149 LLVMConstVector(shuffles1, length), ""); in lp_build_packed_ddx_ddy_twocoord()
151 LLVMConstVector(shuffles2, length), ""); in lp_build_packed_ddx_ddy_twocoord()
Dlp_bld_format_s3tc.c100 shuffle = LLVMConstVector(elems, type.length); in lp_build_uninterleave2_half()
129 return LLVMConstVector(elems, length); in lp_build_const_extend_shuffle()
149 return LLVMConstVector(elems, n * 2); in lp_build_const_unpackx2_shuffle()
170 return LLVMConstVector(elems, n); in lp_build_const_shuffle1()
190 shuf = LLVMConstVector(elems, n); in lp_build_shuffle1undef()
1237 x = LLVMConstVector(elems, 8); in lp_build_lerp23_single()
1423 LLVMConstVector(shuf, 16), ""); in s3tc_decode_block_dxt1()
1791 shufa = LLVMConstVector(elems, 16); in s3tc_decode_block_dxt5()
1806 mulclo = LLVMConstVector(elems, 8); in s3tc_decode_block_dxt5()
1813 mulchi = LLVMConstVector(elems, 8); in s3tc_decode_block_dxt5()
[all …]
Dlp_bld_intr.c350 constvec = LLVMConstVector(elems, intrin_length); in lp_build_intrinsic_binary_anylength()
357 constvec = LLVMConstVector(elems, src_type.length); in lp_build_intrinsic_binary_anylength()
Dlp_bld_arit.c557 LLVMConstVector(shuffles1, length), ""); in lp_build_horizontal_add()
559 LLVMConstVector(shuffles2, length), ""); in lp_build_horizontal_add()
606 LLVMConstVector(shuffles, 4), ""); in lp_build_horizontal_add4x4f()
608 LLVMConstVector(shuffles, 4), ""); in lp_build_horizontal_add4x4f()
616 LLVMConstVector(shuffles, 4), ""); in lp_build_horizontal_add4x4f()
618 LLVMConstVector(shuffles, 4), ""); in lp_build_horizontal_add4x4f()
628 LLVMConstVector(shuffles, 4), ""); in lp_build_horizontal_add4x4f()
635 LLVMConstVector(shuffles, 4), ""); in lp_build_horizontal_add4x4f()
1045 shuf_vec = LLVMConstVector(shuf, bld->type.length); in lp_build_mul_32_lohi_cpu()
1116 shuf_vec = LLVMConstVector(shuf, bld->type.length); in lp_build_mul_32_lohi_cpu()
[all …]
Dlp_bld_format_soa.c531 shuf_vec = LLVMConstVector(shuffles, gather_type.length); in lp_build_fetch_rgba_soa()
541 shuf_vec = LLVMConstVector(shuffles, gather_type.length); in lp_build_fetch_rgba_soa()
633 LLVMConstVector(shuffles, type.length), ""); in lp_build_fetch_rgba_soa()
Dlp_bld_logic.c481 LLVMConstVector(shuffles, n), ""); in lp_build_select_aos()
Dlp_bld_gather.c265 … res = LLVMBuildShuffleVector(gallivm->builder, res, res, LLVMConstVector(shuffles, 4), ""); in lp_build_gather_elem_vec()
Dlp_bld_sample.c290 LLVMConstVector(shuffles, length), ""); in lp_build_pmin()
509 LLVMConstVector(shuffles, length), ""); in lp_build_rho()
582 LLVMConstVector(shuffles1, length), ""); in lp_build_rho()
584 LLVMConstVector(shuffles2, length), ""); in lp_build_rho()
Dlp_bld_sample_aos.c617 shuffle = LLVMConstVector(shuffles, u8n.type.length); in lp_build_sample_fetch_image_linear()
1083 LLVMConstVector(shuffle, u8n_bld.type.length), ""); in lp_build_sample_mipmap()
Dlp_bld_nir_soa.c132 res = LLVMBuildShuffleVector(builder, input, input2, LLVMConstVector(shuffles, len), ""); in emit_fetch_64bit()
162 LLVMConstVector(shuffles, in emit_store_64bit_split()
167 LLVMConstVector(shuffles2, in emit_store_64bit_split()
1849 result[0] = LLVMConstVector(elems, bld->bld_base.base.type.length); in emit_sysval_intrin()
2537 return LLVMConstVector(elems, type.length); in get_scratch_thread_offsets()
Dlp_bld_nir.c469 LLVMConstVector(hi ? shuffles2 : shuffles, in split_64bit()
496 return LLVMBuildShuffleVector(builder, input, input2, LLVMConstVector(shuffles, len), ""); in merge_64bit()
522 LLVMConstVector(hi ? shuffles2 : shuffles, in split_16bit()
549 return LLVMBuildShuffleVector(builder, input, input2, LLVMConstVector(shuffles, len), ""); in merge_16bit()
Dlp_bld_tgsi_aos.c166 LLVMConstVector(shuffles, type.length), in emit_fetch_constant()
Dlp_bld_tgsi_soa.c948 res = LLVMBuildShuffleVector(builder, input, input2, LLVMConstVector(shuffles, len), ""); in emit_fetch_64bit()
1662 LLVMConstVector(shuffles, in emit_store_64bit_chan()
1667 LLVMConstVector(shuffles2, in emit_store_64bit_chan()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_depth.c481 shufflev = LLVMConstVector(shuffles, type.length); in lp_build_occlusion_count()
605 LLVMConstVector(shuffles, zs_type.length), ""); in lp_build_depth_stencil_load_swizzled()
641 LLVMConstVector(shuffles1, zs_type.length), ""); in lp_build_depth_stencil_load_swizzled()
643 LLVMConstVector(shuffles2, zs_type.length), ""); in lp_build_depth_stencil_load_swizzled()
767 LLVMConstVector(&shuffles[0], in lp_build_depth_stencil_write_swizzled()
770 LLVMConstVector(&shuffles[4], in lp_build_depth_stencil_write_swizzled()
790 LLVMConstVector(&shuffles[0], in lp_build_depth_stencil_write_swizzled()
793 LLVMConstVector(&shuffles[8], in lp_build_depth_stencil_write_swizzled()
Dlp_state_setup.c229 dzxyz20 = LLVMBuildShuffleVector(b, dxyz20, dxyz20, LLVMConstVector(shuffles, 4), ""); in lp_do_offset_tri()
235 dyzzx01 = LLVMBuildShuffleVector(b, dxyz01, dxyz01, LLVMConstVector(shuffles, 4), ""); in lp_do_offset_tri()
244 LLVMConstVector(shuffles, 4), ""); in lp_do_offset_tri()
576 shuf10 = LLVMConstVector(shuffles, 4); in init_args()
Dlp_state_fs.c286 bits_vec = LLVMConstVector(bits, fs_type.length); in generate_quad_mask()
1567 shuf_vec = LLVMConstVector(shuf, 8); in fs_twiddle_transpose()
1573 shuf_vec = LLVMConstVector(shuf, 4); in fs_twiddle_transpose()
1970 LLVMConstVector(shuffles, 8), ""); in convert_to_blend_type()
2130 LLVMConstVector(shuffles, 8), ""); in convert_from_blend_type()
2348 LLVMConstVector(shuffles, row_type.length), in convert_alpha()
/third_party/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c141 LLVMValueRef swizzle = LLVMConstVector(masks, num_components); in get_alu_src()
1402 value = LLVMConstVector(values, instr->def.num_components); in visit_load_const()
1752 LLVMValueRef swizzle_aligned = LLVMConstVector(&mask[0], instr->dest.ssa.num_components); in visit_load_push_constant()
1753 LLVMValueRef swizzle_unaligned = LLVMConstVector(&mask[1], instr->dest.ssa.num_components); in visit_load_push_constant()
1793 LLVMValueRef swizzle = LLVMConstVector(&mask[start], count); in extract_vector_range()
Dac_llvm_build.c2599 return LLVMConstVector(scalars, vec_size); in ac_const_uint_vec()
3059 LLVMValueRef swizzle = LLVMConstVector(masks, count); in ac_trim_vector()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h2045 LLVMValueRef LLVMConstVector(LLVMValueRef *ScalarConstantVals, unsigned Size);
/third_party/flutter/skia/src/sksl/
DSkSLJIT.cpp1589 out[0] = LLVMConstVector(values, fVectorCount); in compileVectorFloatLiteral()

12