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.c226 …tmp = LLVMBuildLShr(builder, a, lp_build_const_int_vec(bld->gallivm, type2, -shift * type.width), … in lp_build_swizzle_scalar_aos()
292 …tmp = LLVMBuildLShr(builder, a, lp_build_const_int_vec(bld->gallivm, type4, -shift*type.width), ""… in lp_build_swizzle_scalar_aos()
532 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.c345 mask = LLVMBuildLShr(builder, mask, shift, ""); in lp_build_select()
Dlp_bld_sample.c1262 size = LLVMBuildLShr(builder, base_size, level, "minify"); in lp_build_minify()
1975 signma = LLVMBuildLShr(builder, mai, signshift, ""); in lp_build_cube_lookup()
2030 signma = LLVMBuildLShr(builder, mai, signshift, ""); in lp_build_cube_lookup()
2088 coord = LLVMBuildLShr(builder, coord, block_shift, ""); in lp_build_sample_partial_offset()
Dlp_bld_arit.c988 res = LLVMBuildLShr(builder, res, shift, ""); in lp_build_mul()
1171 tmp = LLVMBuildLShr(builder, tmp, shift, ""); in lp_build_mul_32_lohi()
3313 res = LLVMBuildLShr(builder, x, in lp_build_extract_exponent()
3465 logexp = LLVMBuildLShr(builder, exp, lp_build_const_int_vec(bld->gallivm, type, 23), ""); in lp_build_log2_approx()
Dlp_bld_nir_soa.c1087 … num_consts = LLVMBuildLShr(gallivm->builder, num_consts, lp_build_const_int32(gallivm, 1), ""); in emit_load_ubo()
/third_party/mesa3d/src/amd/llvm/
Dac_llvm_build.c724 num = LLVMBuildLShr(builder, num, pre_shift, ""); in ac_build_fast_udiv()
728 num = LLVMBuildLShr(builder, num, LLVMConstInt(ctx->i64, 32, 0), ""); in ac_build_fast_udiv()
730 return LLVMBuildLShr(builder, num, post_shift, ""); in ac_build_fast_udiv()
742 num = LLVMBuildLShr(builder, num, pre_shift, ""); in ac_build_fast_udiv_nuw()
746 num = LLVMBuildLShr(builder, num, LLVMConstInt(ctx->i64, 32, 0), ""); in ac_build_fast_udiv_nuw()
748 return LLVMBuildLShr(builder, num, post_shift, ""); in ac_build_fast_udiv_nuw()
760 num = LLVMBuildLShr(builder, num, LLVMConstInt(ctx->i64, 32, 0), ""); in ac_build_fast_udiv_u31_d_not_one()
762 return LLVMBuildLShr(builder, num, post_shift, ""); in ac_build_fast_udiv_u31_d_not_one()
1611 tmp = LLVMBuildLShr(ctx->builder, loaded, tmp, ""); in ac_build_opencoded_load_format()
1629 tmp = LLVMBuildLShr(ctx->builder, data, LLVMConstInt(ctx->i32, 11, false), ""); in ac_build_opencoded_load_format()
[all …]
Dac_nir_to_llvm.c382 dst64 = LLVMBuildLShr(ctx->builder, dst64, LLVMConstInt(ctx->i64, 32, false), ""); in emit_umul_high()
441 val = i == 1 ? LLVMBuildLShr(ctx->builder, src0, const16, "") : src0; in emit_unpack_half_2x16()
760 result = LLVMBuildLShr(ctx->ac.builder, src[0], src[1], ""); in visit_alu()
1308 result = LLVMBuildLShr(ctx->ac.builder, src[0], offset, ""); in visit_alu()
1422 stride = LLVMBuildLShr(ctx->ac.builder, stride, LLVMConstInt(ctx->ac.i32, 16, false), ""); in get_buffer_size()
1462 data_format = LLVMBuildLShr(ctx->builder, formats, LLVMConstInt(ctx->i32, 20, false), ""); in lower_gather4_integer()
1500 sampler0 = LLVMBuildLShr(ctx->builder, sampler0, LLVMConstInt(ctx->i32, 15, false), ""); in lower_gather4_integer()
1746 LLVMValueRef cond = LLVMBuildLShr(ctx->ac.builder, addr, ctx->ac.i32_1, ""); in visit_load_push_constant()
3054 result = LLVMBuildLShr(ctx->ac.builder, result, LLVMConstInt(ctx->ac.i32, 1, false), ""); in visit_load_local_invocation_index()
3065 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.c954 z_dst = LLVMBuildLShr(builder, z_dst, shift, "z_dst"); in lp_build_depth_stencil_test()
965 stencil_vals = LLVMBuildLShr(builder, stencil_vals, shift, ""); in lp_build_depth_stencil_test()
1069 z_src = LLVMBuildLShr(builder, z_src, shift, ""); in lp_build_depth_stencil_test()
Dlp_state_fs.c264 mask_input = LLVMBuildLShr(builder, mask_input, in generate_quad_mask()
269 mask_input = LLVMBuildLShr(builder, mask_input, in generate_quad_mask()
560 …counter = LLVMBuildLShr(builder, fs_iface->loop_state->counter, lp_build_const_int32(gallivm, 1), … in fs_fb_fetch()
1795 result = LLVMBuildLShr(builder, in scale_bits()
1812 result = LLVMBuildLShr(builder, in scale_bits()
1842 result = LLVMBuildLShr(builder, in scale_bits()
1860 LLVMValueRef lower = LLVMBuildLShr(builder, in scale_bits()
1875 LLVMBuildLShr(builder, result, shuv, ""), in scale_bits()
2032 chans = LLVMBuildLShr(builder, in convert_to_blend_type()
2219 chans = LLVMBuildLShr(builder, in convert_from_blend_type()
Dlp_state_fs_linear_llvm.c439 width = LLVMBuildLShr(builder, width, LLVMConstInt(int32t, 2, 0), ""); in llvmpipe_fs_variant_linear_llvm()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_shader_ngg.c466 LLVMValueRef bufsize_dw = LLVMBuildLShr( in build_streamout()
508 tmp = LLVMBuildLShr(builder, LLVMConstInt(ctx->ac.i32, bufmask_for_stream[stream], false), in build_streamout()
792 valid_mask = LLVMBuildLShr(builder, LLVMConstInt(ctx->ac.i64, ~0ull, 0), in load_vertex_counts()
797 valid_mask = LLVMBuildLShr(builder, LLVMConstInt(ctx->ac.i32, ~0, 0), num_waves8_rev, ""); in load_vertex_counts()
1806 LLVMValueRef row = LLVMBuildLShr(builder, vertexidx, LLVMConstInt(ctx->ac.i32, 5, false), ""); in ngg_gs_vertex_ptr()
2079 tmp = LLVMBuildLShr(builder, tid, LLVMConstInt(ctx->ac.i32, 2, false), ""); in gfx10_ngg_gs_build_end()
2263 LLVMValueRef is_odd = LLVMBuildLShr(builder, flags, ctx->ac.i8_1, ""); in gfx10_ngg_gs_build_end()
Dsi_shader_llvm_ps.c556 bit = LLVMBuildLShr(builder, row, address[0], ""); in si_llvm_emit_polygon_stipple()
643 LLVMBuildLShr(ctx->ac.builder, bc_optimize, LLVMConstInt(ctx->ac.i32, 31, 0), ""); in si_llvm_build_ps_prolog()
Dsi_shader_llvm.c365 value = LLVMBuildLShr(ctx->ac.builder, value, LLVMConstInt(ctx->ac.i32, rshift, 0), ""); in unpack_llvm_param()
675 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/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.c1206 vertex_id = LLVMBuildLShr(builder, mask, lp_build_const_int32(gallivm, 16), ""); in adjust_mask()