Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_s3tc.c367 r = LLVMBuildShl(builder, r, lp_build_const_int_vec(gallivm, type16, 3), ""); in color_expand2_565_to_8888()
368 b = LLVMBuildShl(builder, colors, lp_build_const_int_vec(gallivm, type16, 11), ""); in color_expand2_565_to_8888()
442 b = LLVMBuildShl(builder, colors, lp_build_const_int_vec(gallivm, type, 19), ""); in color_expand_565_to_8888()
444 g = LLVMBuildShl(builder, g, lp_build_const_int_vec(gallivm, type, 5), ""); in color_expand_565_to_8888()
695 bit_pos = LLVMBuildShl(builder, j, const2, ""); in s3tc_dxt1_full_to_rgba_aos()
802 bit_pos = LLVMBuildShl(builder, j, lp_build_const_int_vec(gallivm, type, 2), ""); in s3tc_dxt3_to_rgba_aos()
804 bit_pos = LLVMBuildShl(builder, bit_pos, in s3tc_dxt3_to_rgba_aos()
821 tmp = LLVMBuildShl(builder, tmp, lp_build_const_int_vec(gallivm, type, 28), ""); in s3tc_dxt3_to_rgba_aos()
945 bit_pos = LLVMBuildShl(builder, j, lp_build_const_int_vec(gallivm, type, 2), ""); in s3tc_dxt5_alpha_channel()
962 alphac0 = LLVMBuildShl(builder, alpha_hi, in s3tc_dxt5_alpha_channel()
[all …]
Dlp_bld_format_yuv.c339 g = LLVMBuildShl(builder, g, lp_build_const_int_vec(gallivm, type, 8), ""); in rgb_to_rgba_aos()
340 b = LLVMBuildShl(builder, b, lp_build_const_int_vec(gallivm, type, 16), ""); in rgb_to_rgba_aos()
343 r = LLVMBuildShl(builder, r, lp_build_const_int_vec(gallivm, type, 24), ""); in rgb_to_rgba_aos()
344 g = LLVMBuildShl(builder, g, lp_build_const_int_vec(gallivm, type, 16), ""); in rgb_to_rgba_aos()
345 b = LLVMBuildShl(builder, b, lp_build_const_int_vec(gallivm, type, 8), ""); in rgb_to_rgba_aos()
Dlp_bld_gather.c145 res = LLVMBuildShl(gallivm->builder, res, in lp_build_gather_elem()
239 res = LLVMBuildShl(gallivm->builder, res, in lp_build_gather_elem_vec()
558 res = LLVMBuildShl(gallivm->builder, res, in lp_build_gather()
Dlp_bld_swizzle.c233 …tmp = LLVMBuildShl(builder, a, lp_build_const_int_vec(bld->gallivm, type2, shift * type.width), ""… in lp_build_swizzle_scalar_aos()
302 … tmp = LLVMBuildShl(builder, a, lp_build_const_int_vec(bld->gallivm, type4, shift*type.width), ""); in lp_build_swizzle_scalar_aos()
546 shifted = LLVMBuildShl(builder, masked, in lp_build_swizzle_aos()
Dlp_bld_format_soa.c190 input = LLVMBuildShl(builder, input, bits_val, ""); in lp_build_extract_soa_chan()
912 chan = LLVMBuildShl(builder, chan, in lp_build_insert_soa_chan()
945 chan = LLVMBuildShl(builder, chan, in lp_build_insert_soa_chan()
960 chan = LLVMBuildShl(builder, chan, in lp_build_insert_soa_chan()
Dlp_bld_format_aos.c178 result = LLVMBuildShl(builder, in scale_bits_up()
433 shifted = LLVMBuildShl(builder, casted, LLVMConstVector(shifts, 4), ""); in lp_build_pack_rgba_aos()
594 rgba[j] = LLVMBuildShl(builder, rgba[j], in lp_build_fetch_rgba_aos()
Dlp_bld_format_srgb.c361 shifted = LLVMBuildShl(builder, tmpsrgb[chan], shift_val, ""); in lp_build_float_to_srgb_packed()
Dlp_bld_bitarit.c187 res = LLVMBuildShl(builder, a, b, ""); in lp_build_shl()
Dlp_bld_arit.c1257 return LLVMBuildShl(builder, a, factor, ""); in lp_build_mul_imm()
1851 sign = LLVMBuildShl(builder, sign, shift, ""); in lp_build_set_sign()
2895 LLVMValueRef sign_bit = cos ? LLVMBuildShl(b, LLVMBuildAnd(b, const_4, in lp_build_sin_or_cos()
2899 LLVMBuildShl(b, emm2_add, in lp_build_sin_or_cos()
3287 expipart = LLVMBuildShl(builder, expipart, in lp_build_exp2()
Dlp_bld_conv.c361 lshifted = LLVMBuildShl(builder, res, in lp_build_clamped_float_to_unsigned_norm()
Dlp_bld_nir_soa.c1949 …LLVMBuildAnd(builder, value_ptr, LLVMBuildShl(builder, lp_build_const_int32(gallivm, 1), loop_stat… in emit_ballot()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_depth.c575 LLVMValueRef loopx2 = LLVMBuildShl(builder, loop_counter, in lp_build_depth_stencil_load_swizzled()
721 LLVMValueRef loopx2 = LLVMBuildShl(builder, loop_counter, in lp_build_depth_stencil_write_swizzled()
1134 z_dst = LLVMBuildShl(builder, z_dst, shift, ""); in lp_build_depth_stencil_test()
1137 stencil_vals = LLVMBuildShl(builder, stencil_vals, in lp_build_depth_stencil_test()
Dlp_state_fs.c527 x_offset = LLVMBuildShl(builder, in fs_fb_fetch()
883 …LLVMValueRef mask_bit_idx = LLVMBuildShl(builder, lp_build_const_int32(gallivm, 1), sample_loop_st… in generate_fs_loop()
939LLVMBuildShl(builder, lp_build_const_int32(gallivm, 1), sample_loop_state.counter, "")), ""); in generate_fs_loop()
1060 …LLVMValueRef out_smask_idx = LLVMBuildShl(builder, lp_build_const_int32(gallivm, 1), sample_loop_s… in generate_fs_loop()
1146 …LLVMValueRef out_smask_idx = LLVMBuildShl(builder, lp_build_const_int32(gallivm, 1), sample_loop_s… in generate_fs_loop()
1788 result = LLVMBuildShl(builder, in scale_bits()
1984 chans[j] = LLVMBuildShl(builder, in convert_to_blend_type()
2176 chans[j] = LLVMBuildShl(builder, in convert_from_blend_type()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_shader_ngg.c166 edge = LLVMBuildShl(builder, edge, LLVMConstInt(ctx->ac.i32, shift, 0), ""); in gfx10_ngg_build_export_prim()
202 edge = LLVMBuildShl(ctx->ac.builder, edge, LLVMConstInt(ctx->ac.i32, 9 + i*10, 0), ""); in gfx10_ngg_build_export_prim()
230 offset[buffer] = LLVMBuildShl(builder, tmp, LLVMConstInt(ctx->ac.i32, 2, false), ""); in build_streamout_vertex()
695 LLVMValueRef num_waves8 = LLVMBuildShl(builder, num_waves, LLVMConstInt(ctx->ac.i32, 3, 0), ""); in load_vertex_counts()
714 LLVMValueRef wave_id8 = LLVMBuildShl(builder, get_wave_id_in_tg(ctx), in load_vertex_counts()
717 LLVMBuildNot(builder, LLVMBuildShl(builder, LLVMConstInt(type, ~0ull, 0), in load_vertex_counts()
773 LLVMBuildShl(builder, *new_num_threads, LLVMConstInt(ctx->ac.i32, tg_info_shift, 0), ""), ""); in update_thread_counts()
786 LLVMBuildShl(builder, *new_num_threads, LLVMConstInt(ctx->ac.i32, wave_info_shift, 0), ""), in update_thread_counts()
988 LLVMBuildShl(builder, small_prim_precision, LLVMConstInt(ctx->ac.i32, 23, 0), ""); in gfx10_emit_ngg_culling_epilogue()
1686 LLVMBuildShl(builder, LLVMBuildZExt(builder, is_odd, ctx->ac.i8, ""), ctx->ac.i8_1, ""), ""); in gfx10_ngg_gs_emit_vertex()
Dsi_shader_llvm_vs.c233 tmp = LLVMBuildShl( in load_input_vs()
702 v = LLVMBuildShl(ctx->ac.builder, v, LLVMConstInt(ctx->ac.i32, 16, 0), ""); in si_llvm_build_vs_exports()
Dsi_shader_llvm_gs.c637 hi = LLVMBuildShl(builder, vtx_out[i * 2 + 1], LLVMConstInt(ctx->ac.i32, 16, 0), ""); in si_llvm_build_gs_prolog()
Dsi_shader_llvm_ps.c846 LLVMBuildShl(ctx->ac.builder, LLVMConstInt(ctx->ac.i32, ps_iter_mask, false), in si_llvm_build_ps_prolog()
/third_party/mesa3d/src/amd/llvm/
Dac_llvm_build.c1406 shifted = LLVMBuildShl(ctx->builder, src, LLVMConstInt(ctx->i32, normal_shift, false), ""); in ac_ufN_to_float()
1426 denormal = LLVMBuildShl(ctx->builder, mantissa, tmp, ""); in ac_ufN_to_float()
1430 tmp = LLVMBuildShl(ctx->builder, tmp, LLVMConstInt(ctx->i32, 23, false), ""); in ac_ufN_to_float()
1524 tmp = LLVMBuildShl(ctx->builder, tmp, LLVMConstInt(dst_type, 8 * i, false), ""); in ac_build_opencoded_load_format()
2327 samples = LLVMBuildShl(ctx->builder, ctx->i32_1, samples, ""); in ac_build_image_get_sample_count()
4519 stencil = LLVMBuildShl(ctx->builder, stencil, LLVMConstInt(ctx->i32, 16, 0), ""); in ac_export_mrt_z()
4577 tmp = LLVMBuildShl(builder, prim_cnt, LLVMConstInt(ctx->i32, 12, false), ""); in ac_build_sendmsg_gs_alloc_req()
4632 LLVMValueRef result = LLVMBuildShl(builder, tmp, LLVMConstInt(ctx->i32, 31, false), ""); in ac_pack_prim_export()
4636 tmp = LLVMBuildShl(builder, prim->index[i], LLVMConstInt(ctx->i32, 10 * i, false), ""); in ac_pack_prim_export()
Dac_nir_to_llvm.c400 return LLVMBuildShl( in emit_bfm()
402 LLVMBuildSub(ctx->builder, LLVMBuildShl(ctx->builder, ctx->i32_1, bits, ""), ctx->i32_1, ""), in emit_bfm()
719 result = LLVMBuildShl(ctx->ac.builder, src[0], src[1], ""); in visit_alu()
1253 …result = LLVMBuildShl(ctx->ac.builder, LLVMBuildAnd(ctx->ac.builder, src[0], mask, ""), offset, ""… in visit_alu()
4631 samples = LLVMBuildShl(ctx->ac.builder, ctx->ac.i32_1, samples, ""); in visit_tex()
4665 offset[chan] = LLVMBuildShl(ctx->ac.builder, offset[chan], in visit_tex()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c1224 clipmask = LLVMBuildShl(builder, clipmask, lp_build_const_int32(gallivm, 18), ""); in adjust_mask()
1227 pad = LLVMBuildShl(builder, pad, lp_build_const_int32(gallivm, 1), ""); in adjust_mask()
1230 edgeflag = LLVMBuildShl(builder, edgeflag, lp_build_const_int32(gallivm, 3), ""); in adjust_mask()
1587 temp = LLVMBuildShl(builder, temp, shift, ""); in generate_clipmask()
1593 temp = LLVMBuildShl(builder, temp, shift, ""); in generate_clipmask()
1600 temp = LLVMBuildShl(builder, temp, shift, ""); in generate_clipmask()
1622 temp = LLVMBuildShl(builder, temp, shift, ""); in generate_clipmask()
/third_party/flutter/skia/src/sksl/
DSkSLJIT.cpp583 BINARY(LLVMBuildShl, LLVMBuildShl, LLVMBuildShl); in compileBinary()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c289 sample_id = LLVMBuildShl(ctx->ac.builder, LLVMConstInt(ctx->ac.i32, 1, false), sample_id, ""); in load_sample_mask_in()
628 LLVMBuildShl(ctx->ac.builder, alpha, in adjust_vertex_fetch_alpha()
1290 v = LLVMBuildShl(ctx->ac.builder, v, LLVMConstInt(ctx->ac.i32, 16, false), ""); in radv_llvm_export_vs()
2069 LLVMBuildShl(builder, LLVMBuildZExt(builder, is_odd, ctx->ac.i8, ""), ctx->ac.i8_1, ""), ""); in gfx10_ngg_gs_emit_vertex()
/third_party/ltp/tools/sparse/sparse-src/
Dsparse-llvm.c572 target = LLVMBuildShl(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.h3729 LLVMValueRef LLVMBuildShl(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DCore.cpp3359 LLVMValueRef LLVMBuildShl(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, in LLVMBuildShl() function