Home
last modified time | relevance | path

Searched refs:LLVMBuildLShr (Results 1 – 24 of 24) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_yuv.c99 tmp = LLVMBuildLShr(builder, packed, lp_build_const_int_vec(gallivm, type, 8), ""); in uyvy_to_yuv_soa()
100 tmp2 = LLVMBuildLShr(builder, tmp, lp_build_const_int_vec(gallivm, type, 16), ""); in uyvy_to_yuv_soa()
114 *y = LLVMBuildLShr(builder, packed, shift, ""); in uyvy_to_yuv_soa()
119 *v = LLVMBuildLShr(builder, packed, lp_build_const_int_vec(gallivm, type, 16), ""); in uyvy_to_yuv_soa()
121 *u = LLVMBuildLShr(builder, packed, lp_build_const_int_vec(gallivm, type, 24), ""); in uyvy_to_yuv_soa()
122 *v = LLVMBuildLShr(builder, packed, lp_build_const_int_vec(gallivm, type, 8), ""); in uyvy_to_yuv_soa()
183 tmp = LLVMBuildLShr(builder, packed, lp_build_const_int_vec(gallivm, type, 16), ""); in yuyv_to_yuv_soa()
196 *y = LLVMBuildLShr(builder, packed, shift, ""); in yuyv_to_yuv_soa()
200 *u = LLVMBuildLShr(builder, packed, lp_build_const_int_vec(gallivm, type, 8), ""); in yuyv_to_yuv_soa()
201 *v = LLVMBuildLShr(builder, packed, lp_build_const_int_vec(gallivm, type, 24), ""); in yuyv_to_yuv_soa()
[all …]
Dlp_bld_format_s3tc.c366 r = LLVMBuildLShr(builder, colors, lp_build_const_int_vec(gallivm, type16, 11), ""); in color_expand2_565_to_8888()
370 rblo = LLVMBuildLShr(builder, rb, lp_build_const_int_vec(gallivm, type16, 5), ""); in color_expand2_565_to_8888()
377 g = LLVMBuildLShr(builder, g, lp_build_const_int_vec(gallivm, type16, 3), ""); in color_expand2_565_to_8888()
378 glo = LLVMBuildLShr(builder, g, lp_build_const_int_vec(gallivm, type16, 6), ""); in color_expand2_565_to_8888()
441 r = LLVMBuildLShr(builder, colors, lp_build_const_int_vec(gallivm, type, 8), ""); in color_expand_565_to_8888()
447 rgblo = LLVMBuildLShr(builder, rgba, lp_build_const_int_vec(gallivm, type, 5), ""); in color_expand_565_to_8888()
448 glo = LLVMBuildLShr(builder, g, lp_build_const_int_vec(gallivm, type, 6), ""); in color_expand_565_to_8888()
496 res = LLVMBuildLShr(builder, res, ext_one, ""); in lp_build_pavgb()
539 x_lo = LLVMBuildLShr(builder, mul_lo, lp_build_const_int_vec(gallivm, i16_type, 8), ""); in lp_build_lerp23()
540 x_hi = LLVMBuildLShr(builder, mul_hi, lp_build_const_int_vec(gallivm, i16_type, 8), ""); in lp_build_lerp23()
[all …]
Dlp_bld_format_aos.c185 LLVMValueRef lower = LLVMBuildLShr(builder, in scale_bits_up()
201 LLVMBuildLShr(builder, result, shuv, ""), in scale_bits_up()
328 shifted = LLVMBuildLShr(builder, packed, LLVMConstVector(shifts, 4), ""); in lp_build_unpack_arith_rgba_aos()
566 chans[j] = LLVMBuildLShr(builder, packed, in lp_build_fetch_rgba_aos()
Dlp_bld_swizzle.c235 …tmp = LLVMBuildLShr(builder, a, lp_build_const_int_vec(bld->gallivm, type2, -shift * type.width), … in lp_build_swizzle_scalar_aos()
304 …tmp = LLVMBuildLShr(builder, a, lp_build_const_int_vec(bld->gallivm, type4, -shift*type.width), ""… in lp_build_swizzle_scalar_aos()
549 shifted = LLVMBuildLShr(builder, masked, in lp_build_swizzle_aos()
Dlp_bld_format_soa.c147 input = LLVMBuildLShr(builder, input, in lp_build_extract_soa_chan()
235 input = LLVMBuildLShr(builder, input, in lp_build_extract_soa_chan()
381 input = LLVMBuildLShr(builder, input, in lp_build_rgba8_to_fi32_soa()
Dlp_bld_bitarit.c212 res = LLVMBuildLShr(builder, a, b, ""); in lp_build_shr()
Dlp_bld_conv.c371 rshifted = LLVMBuildLShr(builder, res, in lp_build_clamped_float_to_unsigned_norm()
444 res = LLVMBuildLShr(builder, res, in lp_build_unsigned_norm_to_float()
Dlp_bld_logic.c344 mask = LLVMBuildLShr(builder, mask, shift, ""); in lp_build_select()
Dlp_bld_sample.c1256 size = LLVMBuildLShr(builder, base_size, level, "minify"); in lp_build_minify()
1973 signma = LLVMBuildLShr(builder, mai, signshift, ""); in lp_build_cube_lookup()
2028 signma = LLVMBuildLShr(builder, mai, signshift, ""); in lp_build_cube_lookup()
2086 coord = LLVMBuildLShr(builder, coord, block_shift, ""); in lp_build_sample_partial_offset()
Dlp_bld_arit.c1004 res = LLVMBuildLShr(builder, res, shift, ""); in lp_build_mul()
1187 tmp = LLVMBuildLShr(builder, tmp, shift, ""); in lp_build_mul_32_lohi()
3326 res = LLVMBuildLShr(builder, x, in lp_build_extract_exponent()
3477 logexp = LLVMBuildLShr(builder, exp, lp_build_const_int_vec(bld->gallivm, type, 23), ""); in lp_build_log2_approx()
/third_party/mesa3d/src/amd/llvm/
Dac_llvm_build.c720 num = LLVMBuildLShr(builder, num, pre_shift, ""); in ac_build_fast_udiv()
724 num = LLVMBuildLShr(builder, num, LLVMConstInt(ctx->i64, 32, 0), ""); in ac_build_fast_udiv()
726 return LLVMBuildLShr(builder, num, post_shift, ""); in ac_build_fast_udiv()
738 num = LLVMBuildLShr(builder, num, pre_shift, ""); in ac_build_fast_udiv_nuw()
742 num = LLVMBuildLShr(builder, num, LLVMConstInt(ctx->i64, 32, 0), ""); in ac_build_fast_udiv_nuw()
744 return LLVMBuildLShr(builder, num, post_shift, ""); in ac_build_fast_udiv_nuw()
756 num = LLVMBuildLShr(builder, num, LLVMConstInt(ctx->i64, 32, 0), ""); in ac_build_fast_udiv_u31_d_not_one()
758 return LLVMBuildLShr(builder, num, post_shift, ""); in ac_build_fast_udiv_u31_d_not_one()
1555 tmp = LLVMBuildLShr(ctx->builder, loaded, tmp, ""); in ac_build_opencoded_load_format()
1573 tmp = LLVMBuildLShr(ctx->builder, data, LLVMConstInt(ctx->i32, 11, false), ""); in ac_build_opencoded_load_format()
[all …]
Dac_nir_to_llvm.c379 dst64 = LLVMBuildLShr(ctx->builder, dst64, LLVMConstInt(ctx->i64, 32, false), ""); in emit_umul_high()
438 val = i == 1 ? LLVMBuildLShr(ctx->builder, src0, const16, "") : src0; in emit_unpack_half_2x16()
737 result = LLVMBuildLShr(ctx->ac.builder, src[0], src[1], ""); in visit_alu()
1239 result = LLVMBuildLShr(ctx->ac.builder, src[0], offset, ""); in visit_alu()
1353 stride = LLVMBuildLShr(ctx->ac.builder, stride, LLVMConstInt(ctx->ac.i32, 16, false), ""); in get_buffer_size()
1394 data_format = LLVMBuildLShr(ctx->builder, formats, LLVMConstInt(ctx->i32, 20, false), ""); in lower_gather4_integer()
1432 sampler0 = LLVMBuildLShr(ctx->builder, sampler0, LLVMConstInt(ctx->i32, 15, false), ""); in lower_gather4_integer()
1698 LLVMValueRef cond = LLVMBuildLShr(ctx->ac.builder, addr, ctx->ac.i32_1, ""); in visit_load_push_constant()
3026 result = LLVMBuildLShr(ctx->ac.builder, result, LLVMConstInt(ctx->ac.i32, 1, false), ""); in visit_load_local_invocation_index()
3037 return LLVMBuildLShr(ctx->ac.builder, result, LLVMConstInt(ctx->ac.i32, 6, false), ""); in visit_load_subgroup_id()
[all …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_depth.c950 z_dst = LLVMBuildLShr(builder, z_dst, shift, "z_dst"); in lp_build_depth_stencil_test()
961 stencil_vals = LLVMBuildLShr(builder, stencil_vals, shift, ""); in lp_build_depth_stencil_test()
1065 z_src = LLVMBuildLShr(builder, z_src, shift, ""); in lp_build_depth_stencil_test()
Dlp_state_fs.c265 mask_input = LLVMBuildLShr(builder, mask_input, lp_build_const_int64(gallivm, 16 * sample), ""); in generate_quad_mask()
270 mask_input = LLVMBuildLShr(builder, in generate_quad_mask()
530 …counter = LLVMBuildLShr(builder, fs_iface->loop_state->counter, lp_build_const_int32(gallivm, 1), … in fs_fb_fetch()
1730 result = LLVMBuildLShr(builder, in scale_bits()
1747 result = LLVMBuildLShr(builder, in scale_bits()
1777 result = LLVMBuildLShr(builder, in scale_bits()
1795 LLVMValueRef lower = LLVMBuildLShr(builder, in scale_bits()
1810 LLVMBuildLShr(builder, result, shuv, ""), in scale_bits()
1967 chans[j] = LLVMBuildLShr(builder, in convert_to_blend_type()
2154 chans[j] = LLVMBuildLShr(builder, in convert_from_blend_type()
Dlp_state_fs_linear_llvm.c453 width = LLVMBuildLShr(builder, width, LLVMConstInt(int32t, 2, 0), ""); in llvmpipe_fs_variant_linear_llvm()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_shader_ngg.c395 LLVMValueRef bufsize_dw = LLVMBuildLShr( in build_streamout()
437 tmp = LLVMBuildLShr(builder, LLVMConstInt(ctx->ac.i32, bufmask_for_stream[stream], false), in build_streamout()
701 valid_mask = LLVMBuildLShr(builder, LLVMConstInt(ctx->ac.i64, ~0ull, 0), in load_vertex_counts()
706 valid_mask = LLVMBuildLShr(builder, LLVMConstInt(ctx->ac.i32, ~0, 0), num_waves8_rev, ""); in load_vertex_counts()
1579 LLVMValueRef row = LLVMBuildLShr(builder, vertexidx, LLVMConstInt(ctx->ac.i32, 5, false), ""); in ngg_gs_vertex_ptr()
1826 tmp = LLVMBuildLShr(builder, tid, LLVMConstInt(ctx->ac.i32, 2, false), ""); in gfx10_ngg_gs_emit_epilogue()
1931 LLVMValueRef is_odd = LLVMBuildLShr(builder, flags, ctx->ac.i8_1, ""); in gfx10_ngg_gs_emit_epilogue()
Dsi_shader_llvm_ps.c596 bit = LLVMBuildLShr(builder, row, address[0], ""); in si_llvm_emit_polygon_stipple()
683 LLVMBuildLShr(ctx->ac.builder, bc_optimize, LLVMConstInt(ctx->ac.i32, 31, 0), ""); in si_llvm_build_ps_prolog()
Dsi_shader_llvm.c373 value = LLVMBuildLShr(ctx->ac.builder, value, LLVMConstInt(ctx->ac.i32, rshift, 0), ""); in unpack_llvm_param()
771 count = LLVMBuildLShr(builder, count, LLVMConstInt(ctx->ac.i32, 8, 0), ""); in si_build_wrapper_function()
/third_party/ltp/tools/sparse/sparse-src/
Dsparse-llvm.c576 target = LLVMBuildLShr(fn->builder, lhs, rhs, target_name); in output_op_binary()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c1517 LLVMValueRef row = LLVMBuildLShr(builder, vertexidx, LLVMConstInt(ctx->ac.i32, 5, false), ""); in ngg_gs_vertex_ptr()
1921 LLVMValueRef is_odd = LLVMBuildLShr(builder, flags, ctx->ac.i8_1, ""); in gfx10_ngg_gs_emit_epilogue_2()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h3731 LLVMValueRef LLVMBuildLShr(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS,
/third_party/flutter/skia/src/sksl/
DSkSLJIT.cpp585 BINARY(LLVMBuildAShr, LLVMBuildLShr, LLVMBuildAShr); in compileBinary()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DCore.cpp3364 LLVMValueRef LLVMBuildLShr(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, in LLVMBuildLShr() function
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c1222 vertex_id = LLVMBuildLShr(builder, mask, lp_build_const_int32(gallivm, 16), ""); in adjust_mask()