Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir.c216 result = LLVMBuildTrunc(builder, result, bld_base->int_bld.vec_type, ""); in int_to_bool32()
228 result = LLVMBuildTrunc(builder, result, bld_base->int_bld.vec_type, ""); in flt_to_bool32()
246 result = LLVMBuildTrunc(builder, result, bld_base->int_bld.vec_type, ""); in fcmp32()
262 result = LLVMBuildTrunc(builder, result, bld_base->int_bld.vec_type, ""); in icmp32()
333 return LLVMBuildTrunc(builder, result, bld_base->int8_bld.vec_type, ""); in emit_b2i()
335 return LLVMBuildTrunc(builder, result, bld_base->int16_bld.vec_type, ""); in emit_b2i()
654 result = LLVMBuildTrunc(builder, result, bld_base->uint_bld.vec_type, ""); in do_alu_action()
728 result = LLVMBuildTrunc(builder, src[0], bld_base->int8_bld.vec_type, ""); in do_alu_action()
734 result = LLVMBuildTrunc(builder, src[0], bld_base->int16_bld.vec_type, ""); in do_alu_action()
740 result = LLVMBuildTrunc(builder, src[0], bld_base->int_bld.vec_type, ""); in do_alu_action()
[all …]
Dlp_bld_logic.c320 mask = LLVMBuildTrunc(builder, mask, LLVMInt1TypeInContext(lc), ""); in lp_build_select()
347 mask = LLVMBuildTrunc(builder, mask, bool_vec_type, ""); in lp_build_select()
512 val = LLVMBuildTrunc(builder, val, true_type, ""); in lp_build_any_true_range()
Dlp_bld_format_soa.c238 input = LLVMBuildTrunc(builder, input, in lp_build_extract_soa_chan()
1101 data = LLVMBuildTrunc(gallivm->builder, data, LLVMInt8TypeInContext(gallivm->context), ""); in lp_build_store_rgba_soa()
1104 … data = LLVMBuildTrunc(gallivm->builder, data, LLVMInt16TypeInContext(gallivm->context), ""); in lp_build_store_rgba_soa()
Dlp_bld_sample_aos.c1076 lod_fpart = LLVMBuildTrunc(builder, lod_fpart, u8n_bld.elem_type, ""); in lp_build_sample_mipmap()
1085 lod_fpart = LLVMBuildTrunc(builder, lod_fpart, tmp_vec_type, ""); in lp_build_sample_mipmap()
1174 lod_positive = LLVMBuildTrunc(builder, lod_positive, in lp_build_sample_aos()
Dlp_bld_ir_common.c220 exec_mask = LLVMBuildTrunc(builder, exec_mask, bld_store->vec_type, ""); in lp_exec_mask_store()
Dlp_bld_format_s3tc.c497 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()
Dlp_bld_tgsi_action.c2129 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()
Dlp_bld_format_aos.c451 packed = LLVMBuildTrunc(builder, packed, type, ""); in lp_build_pack_rgba_aos()
Dlp_bld_conv.c193 result = LLVMBuildTrunc(builder, result, lp_build_vec_type(gallivm, i16_type), ""); in lp_build_float_to_half()
Dlp_bld_arit.c1216 res_lo = LLVMBuildTrunc(builder, tmp, narrow_type, ""); in lp_build_mul_32_lohi()
1220 *res_hi = LLVMBuildTrunc(builder, tmp, narrow_type, ""); in lp_build_mul_32_lohi()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_shader_ngg.c79 return LLVMBuildTrunc(ctx->ac.builder, tmp, ctx->ac.i1, ""); in ngg_get_initial_edgeflag()
435 tmp = LLVMBuildTrunc(builder, tmp, ctx->ac.i1, ""); in build_streamout()
978 LLVMBuildStore(builder, LLVMBuildTrunc(builder, new_id, ctx->ac.i8, ""), in gfx10_emit_ngg_culling_epilogue()
1007 …LLVMBuildStore(builder, LLVMBuildTrunc(builder, ac_get_arg(&ctx->ac, ctx->tes_rel_patch_id), ctx->… in gfx10_emit_ngg_culling_epilogue()
1056 ac_build_ifcc(&ctx->ac, LLVMBuildTrunc(builder, gs_accepted, ctx->ac.i1, ""), 16011); in gfx10_emit_ngg_culling_epilogue()
1305 tmp = LLVMBuildTrunc(builder, tmp, ctx->ac.i1, ""); in gfx10_emit_ngg_epilogue()
1343 tmp = LLVMBuildTrunc(builder, tmp, ctx->ac.i1, ""); in gfx10_emit_ngg_epilogue()
1706 tmp = LLVMBuildTrunc(builder, tmp, ctx->ac.i1, ""); in gfx10_ngg_gs_emit_epilogue()
1724 tmp = LLVMBuildTrunc(builder, tmp, ctx->ac.i1, ""); in gfx10_ngg_gs_emit_epilogue()
1773 const LLVMValueRef primlive = LLVMBuildTrunc(builder, tmp, ctx->ac.i1, ""); in gfx10_ngg_gs_emit_epilogue()
[all …]
Dsi_compute_prim_discard.c506 LLVMBuildTrunc(builder, gds_prim_restart_continue, ctx->ac.i1, ""); in si_build_prim_discard_compute_shader()
543 first_is_odd = LLVMBuildTrunc(builder, strip_start, ctx->ac.i1, ""); in si_build_prim_discard_compute_shader()
609 prev_wave_state = LLVMBuildTrunc(builder, prev_wave_state, ctx->ac.i1, ""); in si_build_prim_discard_compute_shader()
627 builder, first_is_odd, LLVMBuildTrunc(builder, thread_id, ctx->ac.i1, ""), ""); in si_build_prim_discard_compute_shader()
684 num_prims_accepted = LLVMBuildTrunc(builder, num_prims_accepted, ctx->ac.i32, ""); in si_build_prim_discard_compute_shader()
Dsi_shader_llvm_vs.c37 return LLVMBuildSExt(ctx->ac.builder, LLVMBuildTrunc(ctx->ac.builder, i32, ctx->ac.i16, ""), in unpack_sint16()
510 cond = LLVMBuildTrunc(ctx->ac.builder, cond, ctx->ac.i1, ""); in si_vertex_color_clamping()
880 LLVMValueRef is_odd = LLVMBuildTrunc(ctx->ac.builder, thread_id_in_tg, ctx->ac.i1, ""); in si_llvm_build_vs_prolog()
999 indexed = LLVMBuildTrunc(ctx->ac.builder, indexed, ctx->ac.i1, ""); in get_base_vertex()
Dsi_shader_llvm_ps.c601 bit = LLVMBuildTrunc(builder, bit, ctx->ac.i1, ""); in si_llvm_emit_polygon_stipple()
688 bc_optimize = LLVMBuildTrunc(ctx->ac.builder, bc_optimize, ctx->ac.i1, ""); in si_llvm_build_ps_prolog()
Dsi_shader_llvm_gs.c647 rotate = LLVMBuildTrunc(builder, prim_id, ctx->ac.i1, ""); in si_llvm_build_gs_prolog()
/external/mesa3d/src/amd/llvm/
Dac_llvm_build.c422 vgpr = LLVMBuildTrunc(builder, vgpr, type, ""); in ac_build_optimization_barrier()
676 num = LLVMBuildTrunc(builder, num, ctx->i32, ""); in ac_build_fast_udiv()
694 num = LLVMBuildTrunc(builder, num, ctx->i32, ""); in ac_build_fast_udiv_nuw()
708 num = LLVMBuildTrunc(builder, num, ctx->i32, ""); in ac_build_fast_udiv_u31_d_not_one()
1310 res = LLVMBuildTrunc(ctx->builder, res, ctx->i16, ""); in ac_build_tbuffer_load_short()
1335 res = LLVMBuildTrunc(ctx->builder, res, ctx->i8, ""); in ac_build_tbuffer_load_byte()
1514 loads[dst - 1] = LLVMBuildTrunc(ctx->builder, tmp, dst_type, ""); in ac_build_opencoded_load_format()
1547 loads[0] = LLVMBuildTrunc(ctx->builder, data, i10, ""); in ac_build_opencoded_load_format()
1549 loads[1] = LLVMBuildTrunc(ctx->builder, tmp, i10, ""); in ac_build_opencoded_load_format()
1551 loads[2] = LLVMBuildTrunc(ctx->builder, tmp, i10, ""); in ac_build_opencoded_load_format()
[all …]
Dac_nir_to_llvm.c377 result = LLVMBuildTrunc(ctx->builder, dst64, ctx->i32, ""); in emit_umul_high()
390 result = LLVMBuildTrunc(ctx->builder, dst64, ctx->i32, ""); in emit_imul_high()
436 val = LLVMBuildTrunc(ctx->builder, val, ctx->i16, ""); in emit_unpack_half_2x16()
679 src[1] = LLVMBuildTrunc(ctx->ac.builder, src[1], LLVMTypeOf(src[0]), ""); in visit_alu()
688 src[1] = LLVMBuildTrunc(ctx->ac.builder, src[1], LLVMTypeOf(src[0]), ""); in visit_alu()
697 src[1] = LLVMBuildTrunc(ctx->ac.builder, src[1], LLVMTypeOf(src[0]), ""); in visit_alu()
972 result = LLVMBuildTrunc(ctx->ac.builder, src[0], def_type, ""); in visit_alu()
982 result = LLVMBuildTrunc(ctx->ac.builder, src[0], def_type, ""); in visit_alu()
1557 res = LLVMBuildTrunc( in visit_load_push_constant()
1571 cond = LLVMBuildTrunc(ctx->ac.builder, cond, ctx->ac.i1, ""); in visit_load_push_constant()
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c681 value[i] = LLVMBuildTrunc(ctx->ac.builder, value[i], ctx->ac.i16, ""); in load_gs_input()
1272 output[chan] = LLVMBuildTrunc(ctx->ac.builder, output[chan], ctx->ac.i16, ""); in handle_vs_input_decl()
2526 tmp = LLVMBuildTrunc(builder, tmp, ctx->ac.i1, ""); in build_streamout()
2812 prim.edgeflag[i] = LLVMBuildTrunc(builder, tmp, ctx->ac.i1, ""); in handle_ngg_outputs_post_2()
2982 tmp = LLVMBuildTrunc(builder, tmp, ctx->ac.i1, ""); in gfx10_ngg_gs_emit_epilogue_2()
2999 tmp = LLVMBuildTrunc(builder, tmp, ctx->ac.i1, ""); in gfx10_ngg_gs_emit_epilogue_2()
3047 LLVMBuildTrunc(builder, tmp, ctx->ac.i1, ""); in gfx10_ngg_gs_emit_epilogue_2()
3100 tmp2 = LLVMBuildTrunc(builder, tid, ctx->ac.i8, ""); in gfx10_ngg_gs_emit_epilogue_2()
3119 prim.isnull = LLVMBuildNot(builder, LLVMBuildTrunc(builder, flags, ctx->ac.i1, ""), ""); in gfx10_ngg_gs_emit_epilogue_2()
3135 is_odd = LLVMBuildTrunc(builder, is_odd, ctx->ac.i1, ""); in gfx10_ngg_gs_emit_epilogue_2()
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_depth.c506 count = LLVMBuildTrunc(builder, count, LLVMIntTypeInContext(context, 64), ""); in lp_build_occlusion_count()
754 z_value = LLVMBuildTrunc(builder, z_value, in lp_build_depth_stencil_write_swizzled()
Dlp_state_fs.c265 mask_input = LLVMBuildTrunc(builder, mask_input, in generate_quad_mask()
615 …system_values.front_facing = LLVMBuildTrunc(gallivm->builder, facing, LLVMInt1TypeInContext(galliv… in generate_fs_loop()
2023 src[i] = LLVMBuildTrunc(builder, src[i], ltypei64, ""); in convert_from_blend_type()
2127 dst[i] = LLVMBuildTrunc(builder, res, lp_build_vec_type(gallivm, dst_type), ""); in convert_from_blend_type()
/external/skqp/src/sksl/
DSkSLJIT.cpp1277 fVariables[f.fDeclaration.fParameters[1]] = LLVMBuildTrunc(builder, params.get()[3], fInt32Type, in compileStageFunctionLoop()
1286 LLVMBuildTrunc(builder, in compileStageFunctionLoop()
/external/llvm/include/llvm-c/
DCore.h3023 LLVMValueRef LLVMBuildTrunc(LLVMBuilderRef, LLVMValueRef Val,
/external/llvm-project/llvm/include/llvm-c/
DCore.h3866 LLVMValueRef LLVMBuildTrunc(LLVMBuilderRef, LLVMValueRef Val,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h3829 LLVMValueRef LLVMBuildTrunc(LLVMBuilderRef, LLVMValueRef Val,
/external/llvm-project/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c2229 return LLVMBuildTrunc(Builder_val(B), X, Ty, String_val(Name)); in llvm_build_trunc()

12