/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_logic.c | 320 mask = LLVMBuildTrunc(builder, mask, LLVMInt1TypeInContext(lc), ""); in lp_build_select() 349 mask = LLVMBuildTrunc(builder, mask, bool_vec_type, ""); in lp_build_select() 516 val = LLVMBuildTrunc(builder, val, true_type, ""); in lp_build_any_true_range()
|
D | lp_bld_nir.c | 261 result = LLVMBuildTrunc(builder, result, bld_base->int_bld.vec_type, ""); in int_to_bool32() 276 result = LLVMBuildTrunc(builder, result, bld_base->int_bld.vec_type, ""); in flt_to_bool32() 298 result = LLVMBuildTrunc(builder, result, bld_base->int_bld.vec_type, ""); in fcmp32() 319 result = LLVMBuildTrunc(builder, result, bld_base->int_bld.vec_type, ""); in icmp32() 421 return LLVMBuildTrunc(builder, result, bld_base->int8_bld.vec_type, ""); in emit_b2i() 423 return LLVMBuildTrunc(builder, result, bld_base->int16_bld.vec_type, ""); in emit_b2i() 708 result = LLVMBuildTrunc(builder, result, bld_base->int_bld.vec_type, ""); in do_alu_action() 831 result = LLVMBuildTrunc(builder, result, bld_base->uint_bld.vec_type, ""); in do_alu_action() 942 result = LLVMBuildTrunc(builder, src[0], bld_base->int8_bld.vec_type, ""); in do_alu_action() 948 result = LLVMBuildTrunc(builder, src[0], bld_base->int16_bld.vec_type, ""); in do_alu_action() [all …]
|
D | lp_bld_format_soa.c | 238 input = LLVMBuildTrunc(builder, input, in lp_build_extract_soa_chan() 1115 data = LLVMBuildTrunc(gallivm->builder, data, LLVMInt8TypeInContext(gallivm->context), ""); in lp_build_store_rgba_soa() 1118 … data = LLVMBuildTrunc(gallivm->builder, data, LLVMInt16TypeInContext(gallivm->context), ""); in lp_build_store_rgba_soa()
|
D | lp_bld_sample_aos.c | 1067 lod_fpart = LLVMBuildTrunc(builder, lod_fpart, u8n_bld.elem_type, ""); in lp_build_sample_mipmap() 1076 lod_fpart = LLVMBuildTrunc(builder, lod_fpart, tmp_vec_type, ""); in lp_build_sample_mipmap() 1170 lod_positive = LLVMBuildTrunc(builder, lod_positive, in lp_build_sample_aos()
|
D | lp_bld_ir_common.c | 220 exec_mask = LLVMBuildTrunc(builder, exec_mask, bld_store->vec_type, ""); in lp_exec_mask_store()
|
D | lp_bld_format_s3tc.c | 497 res = LLVMBuildTrunc(builder, res, bld8->vec_type, ""); in lp_build_pavgb() 931 alpha0 = LLVMBuildTrunc(builder, alpha0, lp_build_vec_type(gallivm, type8), ""); in s3tc_dxt5_alpha_channel() 940 alpha1 = LLVMBuildTrunc(builder, alpha1, lp_build_vec_type(gallivm, type8), ""); in s3tc_dxt5_alpha_channel() 968 alphac0 = LLVMBuildTrunc(builder, alphac0, i32t, ""); in s3tc_dxt5_alpha_channel() 987 alphac = LLVMBuildTrunc(builder, alphac, bld32.vec_type, ""); in s3tc_dxt5_alpha_channel()
|
D | lp_bld_tgsi_action.c | 2129 cond = LLVMBuildTrunc(builder, cond, bld_base->int_bld.int_vec_type, ""); in dset_emit_cpu() 2237 cond = LLVMBuildTrunc(builder, cond, bld_base->int_bld.int_vec_type, ""); in u64set_emit_cpu() 2288 cond = LLVMBuildTrunc(builder, cond, bld_base->int_bld.int_vec_type, ""); in i64set_emit_cpu()
|
D | lp_bld_format_aos.c | 451 packed = LLVMBuildTrunc(builder, packed, type, ""); in lp_build_pack_rgba_aos()
|
D | lp_bld_conv.c | 204 result = LLVMBuildTrunc(builder, result, lp_build_vec_type(gallivm, i16_type), ""); in lp_build_float_to_half()
|
D | lp_bld_arit.c | 1168 res_lo = LLVMBuildTrunc(builder, tmp, narrow_type, ""); in lp_build_mul_32_lohi() 1172 *res_hi = LLVMBuildTrunc(builder, tmp, narrow_type, ""); in lp_build_mul_32_lohi()
|
D | lp_bld_nir_soa.c | 339 … scalar_pred = LLVMBuildTrunc(builder, scalar_pred, LLVMInt1TypeInContext(gallivm->context), ""); in emit_mask_scatter()
|
D | lp_bld_sample_soa.c | 3000 lod_positive = LLVMBuildTrunc(builder, lod_positive, in lp_build_sample_general()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | gfx10_shader_ngg.c | 510 tmp = LLVMBuildTrunc(builder, tmp, ctx->ac.i1, ""); in build_streamout() 1256 LLVMBuildStore(builder, LLVMBuildTrunc(builder, vertex_count, ctx->ac.i8, ""), in gfx10_ngg_culling_build_end() 1292 LLVMBuildStore(builder, LLVMBuildTrunc(builder, new_id, ctx->ac.i8, ""), in gfx10_ngg_culling_build_end() 1322 …LLVMBuildStore(builder, LLVMBuildTrunc(builder, ac_get_arg(&ctx->ac, ctx->args.tes_rel_patch_id), … in gfx10_ngg_culling_build_end() 1379 ac_build_ifcc(&ctx->ac, LLVMBuildTrunc(builder, gs_accepted, ctx->ac.i1, ""), 16011); in gfx10_ngg_culling_build_end() 1619 tmp = LLVMBuildTrunc(builder, tmp, ctx->ac.i1, ""); in gfx10_ngg_build_end() 1658 tmp = LLVMBuildTrunc(builder, tmp, ctx->ac.i1, ""); in gfx10_ngg_build_end() 1947 tmp = LLVMBuildTrunc(builder, tmp, ctx->ac.i1, ""); in gfx10_ngg_gs_emit_begin() 2048 tmp = LLVMBuildTrunc(builder, tmp, ctx->ac.i1, ""); in gfx10_ngg_gs_build_end() 2066 tmp = LLVMBuildTrunc(builder, tmp, ctx->ac.i1, ""); in gfx10_ngg_gs_build_end() [all …]
|
D | si_shader_llvm_vs.c | 38 return LLVMBuildSExt(ctx->ac.builder, LLVMBuildTrunc(ctx->ac.builder, i32, ctx->ac.i16, ""), in unpack_sint16() 150 out[i] = LLVMBuildTrunc(ctx->ac.builder, out[i], ctx->ac.i16, ""); in load_input_vs() 474 cond = LLVMBuildTrunc(ctx->ac.builder, cond, ctx->ac.i1, ""); in si_vertex_color_clamping()
|
D | si_shader_llvm_ps.c | 557 bit = LLVMBuildTrunc(builder, bit, ctx->ac.i1, ""); in si_llvm_emit_polygon_stipple() 644 bc_optimize = LLVMBuildTrunc(ctx->ac.builder, bc_optimize, ctx->ac.i1, ""); in si_llvm_build_ps_prolog()
|
D | si_shader_llvm_gs.c | 122 tmp = LLVMBuildTrunc(ctx->ac.builder, tmp, ctx->ac.i1, ""); in si_llvm_gs_build_end()
|
D | si_shader_llvm.c | 732 indexed = LLVMBuildTrunc(ctx->ac.builder, indexed, ctx->ac.i1, ""); in si_llvm_load_intrinsic()
|
/third_party/mesa3d/src/amd/llvm/ |
D | ac_llvm_build.c | 471 vgpr = LLVMBuildTrunc(builder, vgpr, type, ""); in ac_build_optimization_barrier() 729 num = LLVMBuildTrunc(builder, num, ctx->i32, ""); in ac_build_fast_udiv() 747 num = LLVMBuildTrunc(builder, num, ctx->i32, ""); in ac_build_fast_udiv_nuw() 761 num = LLVMBuildTrunc(builder, num, ctx->i32, ""); in ac_build_fast_udiv_u31_d_not_one() 1612 loads[dst - 1] = LLVMBuildTrunc(ctx->builder, tmp, dst_type, ""); in ac_build_opencoded_load_format() 1645 loads[0] = LLVMBuildTrunc(ctx->builder, data, i10, ""); in ac_build_opencoded_load_format() 1647 loads[1] = LLVMBuildTrunc(ctx->builder, tmp, i10, ""); in ac_build_opencoded_load_format() 1649 loads[2] = LLVMBuildTrunc(ctx->builder, tmp, i10, ""); in ac_build_opencoded_load_format() 1651 loads[3] = LLVMBuildTrunc(ctx->builder, tmp, i2, ""); in ac_build_opencoded_load_format() 1823 tl = LLVMBuildTrunc(ctx->builder, tl, ctx->i16, ""); in ac_build_ddxy() [all …]
|
D | ac_nir_to_llvm.c | 383 result = LLVMBuildTrunc(ctx->builder, dst64, ctx->i32, ""); in emit_umul_high() 396 result = LLVMBuildTrunc(ctx->builder, dst64, ctx->i32, ""); in emit_imul_high() 442 val = LLVMBuildTrunc(ctx->builder, val, ctx->i16, ""); in emit_unpack_half_2x16() 741 src[1] = LLVMBuildTrunc(ctx->ac.builder, src[1], LLVMTypeOf(src[0]), ""); in visit_alu() 750 src[1] = LLVMBuildTrunc(ctx->ac.builder, src[1], LLVMTypeOf(src[0]), ""); in visit_alu() 759 src[1] = LLVMBuildTrunc(ctx->ac.builder, src[1], LLVMTypeOf(src[0]), ""); in visit_alu() 1075 result = LLVMBuildTrunc(ctx->ac.builder, src[0], def_type, ""); in visit_alu() 1085 result = LLVMBuildTrunc(ctx->ac.builder, src[0], def_type, ""); in visit_alu() 1309 … result = LLVMBuildTrunc(ctx->ac.builder, result, LLVMIntTypeInContext(ctx->ac.context, size), ""); in visit_alu() 1733 res = LLVMBuildTrunc( in visit_load_push_constant() [all …]
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_bld_depth.c | 508 count = LLVMBuildTrunc(builder, count, LLVMIntTypeInContext(context, 64), ""); in lp_build_occlusion_count() 755 z_value = LLVMBuildTrunc(builder, z_value, in lp_build_depth_stencil_write_swizzled()
|
D | lp_state_fs.c | 266 mask_input = LLVMBuildTrunc(builder, mask_input, i32t, ""); in generate_quad_mask() 668 LLVMBuildTrunc(gallivm->builder, facing, in generate_fs_loop() 1785 … result = LLVMBuildTrunc(gallivm->builder, result, lp_build_int_vec_type(gallivm, src_type), ""); in scale_bits() 2153 src[i] = LLVMBuildTrunc(builder, src[i], ltypei64, ""); in convert_from_blend_type() 2257 dst[i] = LLVMBuildTrunc(builder, res, lp_build_vec_type(gallivm, dst_type), ""); in convert_from_blend_type()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_nir_to_llvm.c | 501 out[chan] = LLVMBuildTrunc(ctx->ac.builder, out[chan], ctx->ac.i16, ""); in load_vs_input() 1687 value = LLVMBuildTrunc(ctx->ac.builder, value, ctx->ac.i16, ""); in ac_gs_copy_shader_emit()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/ |
D | Core.h | 3829 LLVMValueRef LLVMBuildTrunc(LLVMBuilderRef, LLVMValueRef Val,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Core.cpp | 3705 LLVMValueRef LLVMBuildTrunc(LLVMBuilderRef B, LLVMValueRef Val, in LLVMBuildTrunc() function
|