Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_const.c291 return LLVMConstVector(elems, type.length); in lp_build_one()
336 return LLVMConstVector(elems, type.length); in lp_build_const_vec()
357 return LLVMConstVector(elems, type.length); in lp_build_const_int_vec()
387 return LLVMConstVector(elems, type.length); in lp_build_const_aos()
414 return LLVMConstVector(masks, type.length); in lp_build_const_mask_aos()
Dlp_bld_swizzle.c185 return LLVMBuildShuffleVector(builder, a, bld->undef, LLVMConstVector(shuffles, n), ""); in lp_build_swizzle_scalar_aos()
350 …return LLVMBuildShuffleVector(builder, src, LLVMGetUndef(LLVMTypeOf(src)), LLVMConstVector(shuffle… in lp_build_swizzle_aos_n()
446 LLVMConstVector(aux, n), in lp_build_swizzle_aos()
447 LLVMConstVector(shuffles, n), ""); in lp_build_swizzle_aos()
788 LLVMConstVector(shuffles, num_dst), ""); in lp_build_pack_aos_scalars()
824 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_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_intr.c337 constvec = LLVMConstVector(elems, intrin_length); in lp_build_intrinsic_binary_anylength()
344 constvec = LLVMConstVector(elems, src_type.length); in lp_build_intrinsic_binary_anylength()
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()
1233 x = LLVMConstVector(elems, 8); in lp_build_lerp23_single()
1419 LLVMConstVector(shuf, 16), ""); in s3tc_decode_block_dxt1()
1787 shufa = LLVMConstVector(elems, 16); in s3tc_decode_block_dxt5()
1802 mulclo = LLVMConstVector(elems, 8); in s3tc_decode_block_dxt5()
1809 mulchi = LLVMConstVector(elems, 8); in s3tc_decode_block_dxt5()
[all …]
Dlp_bld_arit.c595 LLVMConstVector(shuffles1, length), ""); in lp_build_horizontal_add()
597 LLVMConstVector(shuffles2, length), ""); in lp_build_horizontal_add()
643 LLVMConstVector(shuffles, 4), ""); in lp_build_horizontal_add4x4f()
645 LLVMConstVector(shuffles, 4), ""); in lp_build_horizontal_add4x4f()
653 LLVMConstVector(shuffles, 4), ""); in lp_build_horizontal_add4x4f()
655 LLVMConstVector(shuffles, 4), ""); in lp_build_horizontal_add4x4f()
665 LLVMConstVector(shuffles, 4), ""); in lp_build_horizontal_add4x4f()
672 LLVMConstVector(shuffles, 4), ""); in lp_build_horizontal_add4x4f()
1093 shuf_vec = LLVMConstVector(shuf, bld->type.length); in lp_build_mul_32_lohi_cpu()
1164 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.c478 return LLVMBuildShuffleVector(builder, a, b, LLVMConstVector(shuffles, n), ""); in lp_build_select_aos()
Dlp_bld_gather.c266 … res = LLVMBuildShuffleVector(gallivm->builder, res, res, LLVMConstVector(shuffles, 4), ""); in lp_build_gather_elem_vec()
Dlp_bld_sample_aos.c617 shuffle = LLVMConstVector(shuffles, u8n.type.length); in lp_build_sample_fetch_image_linear()
1092 LLVMConstVector(shuffle, u8n_bld.type.length), ""); in lp_build_sample_mipmap()
Dlp_bld_nir.c376 LLVMConstVector(hi ? shuffles2 : shuffles, in split_64bit()
402 return LLVMBuildShuffleVector(builder, input, input2, LLVMConstVector(shuffles, len), ""); in merge_64bit()
426 LLVMConstVector(hi ? shuffles2 : shuffles, in split_16bit()
451 return LLVMBuildShuffleVector(builder, input, input2, LLVMConstVector(shuffles, len), ""); in merge_16bit()
Dlp_bld_sample.c411 LLVMConstVector(shuffles, length), ""); in lp_build_rho()
484 LLVMConstVector(shuffles1, length), ""); in lp_build_rho()
486 LLVMConstVector(shuffles2, length), ""); in lp_build_rho()
Dlp_bld_nir_soa.c96 res = LLVMBuildShuffleVector(builder, input, input2, LLVMConstVector(shuffles, len), ""); in emit_fetch_64bit()
126 LLVMConstVector(shuffles, in emit_store_64bit_split()
131 LLVMConstVector(shuffles2, in emit_store_64bit_split()
1862 return LLVMConstVector(elems, type.length); in get_scratch_thread_offsets()
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()
1657 LLVMConstVector(shuffles, in emit_store_64bit_chan()
1662 LLVMConstVector(shuffles2, in emit_store_64bit_chan()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_depth.c479 shufflev = LLVMConstVector(shuffles, type.length); in lp_build_occlusion_count()
603 LLVMConstVector(shuffles, zs_type.length), ""); in lp_build_depth_stencil_load_swizzled()
640 LLVMConstVector(shuffles1, zs_type.length), ""); in lp_build_depth_stencil_load_swizzled()
642 LLVMConstVector(shuffles2, zs_type.length), ""); in lp_build_depth_stencil_load_swizzled()
766 LLVMConstVector(&shuffles[0], in lp_build_depth_stencil_write_swizzled()
769 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.c233 dzxyz20 = LLVMBuildShuffleVector(b, dxyz20, dxyz20, LLVMConstVector(shuffles, 4), ""); in lp_do_offset_tri()
239 dyzzx01 = LLVMBuildShuffleVector(b, dxyz01, dxyz01, LLVMConstVector(shuffles, 4), ""); in lp_do_offset_tri()
248 LLVMConstVector(shuffles, 4), ""); in lp_do_offset_tri()
330 z0z1 = LLVMBuildShuffleVector(b, attribv[0], attribv[1], LLVMConstVector(shuffles, 4), ""); in lp_do_offset_tri()
335 z0z1z2 = LLVMBuildShuffleVector(b, z0z1, attribv[2], LLVMConstVector(shuffles, 4), ""); in lp_do_offset_tri()
670 shuf10 = LLVMConstVector(shuffles, 4); in init_args()
Dlp_state_fs.c288 bits_vec = LLVMConstVector(bits, fs_type.length); in generate_quad_mask()
1420 shuf_vec = LLVMConstVector(shuf, 8); in fs_twiddle_transpose()
1426 shuf_vec = LLVMConstVector(shuf, 4); in fs_twiddle_transpose()
1840 LLVMConstVector(shuffles, 8), ""); in convert_to_blend_type()
2000 LLVMConstVector(shuffles, 8), ""); in convert_from_blend_type()
2218 LLVMConstVector(shuffles, row_type.length), in convert_alpha()
/external/llvm-project/llvm/tools/llvm-c-test/
Decho.cpp374 return LLVMConstVector(Elts.data(), EltCount); in clone_constant_impl()
385 return LLVMConstVector(Elts.data(), EltCount); in clone_constant_impl()
824 LLVMValueRef Mask = LLVMConstVector(MaskElts.data(), NumMaskElts); in CloneInstruction()
/external/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c126 LLVMValueRef swizzle = LLVMConstVector(masks, num_components); in get_alu_src()
1213 value = LLVMConstVector(values, instr->def.num_components); in visit_load_const()
1576 LLVMValueRef swizzle_aligned = LLVMConstVector(&mask[0], instr->dest.ssa.num_components); in visit_load_push_constant()
1577 LLVMValueRef swizzle_unaligned = LLVMConstVector(&mask[1], instr->dest.ssa.num_components); in visit_load_push_constant()
1616 LLVMValueRef swizzle = LLVMConstVector(&mask[start], count); in extract_vector_range()
/external/llvm/include/llvm-c/
DCore.h1719 LLVMValueRef LLVMConstVector(LLVMValueRef *ScalarConstantVals, unsigned Size);
/external/llvm-project/llvm/include/llvm-c/
DCore.h2082 LLVMValueRef LLVMConstVector(LLVMValueRef *ScalarConstantVals, unsigned Size);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h2045 LLVMValueRef LLVMConstVector(LLVMValueRef *ScalarConstantVals, unsigned Size);

12