Lines Matching refs:LLVMBuildSelect
758 sgn_ma = LLVMBuildSelect(builder, is_ma_positive, LLVMConstReal(f32, 1.0), in build_cube_select()
769 tmp = LLVMBuildSelect(builder, is_ma_x, coords[2], coords[0], ""); in build_cube_select()
770 sgn = LLVMBuildSelect( in build_cube_select()
772 LLVMBuildSelect(builder, is_ma_z, sgn_ma, LLVMBuildFNeg(builder, sgn_ma, ""), ""), ""); in build_cube_select()
776 tmp = LLVMBuildSelect(builder, is_ma_y, coords[2], coords[1], ""); in build_cube_select()
777 sgn = LLVMBuildSelect(builder, is_ma_y, sgn_ma, LLVMConstReal(f32, -1.0), ""); in build_cube_select()
781 tmp = LLVMBuildSelect(builder, is_ma_z, coords[2], in build_cube_select()
782 LLVMBuildSelect(builder, is_ma_y, coords[1], coords[0], ""), ""); in build_cube_select()
821 tmp = LLVMBuildSelect(builder, ge0, tmp, ctx->f32_0, ""); in ac_prepare_cube_coords()
1394 result = LLVMBuildSelect(ctx->builder, tmp, naninf, normal, ""); in ac_ufN_to_float()
1398 result = LLVMBuildSelect(ctx->builder, tmp, result, denormal, ""); in ac_ufN_to_float()
1401 result = LLVMBuildSelect(ctx->builder, tmp, result, ctx->i32_0, ""); in ac_ufN_to_float()
1609 tmp = LLVMBuildSelect(ctx->builder, clamp, neg_one, tmp, ""); in ac_build_opencoded_load_format()
1849 return LLVMBuildSelect(ctx->builder, cond, all_ones, msb, ""); in ac_build_imsb()
1909 return LLVMBuildSelect(ctx->builder, LLVMBuildICmp(ctx->builder, LLVMIntEQ, arg, zero, ""), in ac_build_umsb()
1936 return LLVMBuildSelect(ctx->builder, cmp, a, b, ""); in ac_build_imin()
1942 return LLVMBuildSelect(ctx->builder, cmp, a, b, ""); in ac_build_imax()
1948 return LLVMBuildSelect(ctx->builder, cmp, a, b, ""); in ac_build_umin()
1954 return LLVMBuildSelect(ctx->builder, cmp, a, b, ""); in ac_build_umax()
2589 dw[1] = LLVMBuildSelect( in ac_build_fsign()
2591 LLVMBuildSelect(ctx->builder, neg, LLVMConstInt(ctx->i32, 0xBFF00000, 0), ctx->i32_0, ""), in ac_build_fsign()
3022 return LLVMBuildSelect(ctx->builder, LLVMBuildICmp(ctx->builder, LLVMIntEQ, src0, zero, ""), in ac_find_lsb()
3297 addr[sample_chan] = LLVMBuildSelect(ac->builder, tmp, final_sample, addr[sample_chan], ""); in ac_apply_fmask_to_sample()
3772 return LLVMBuildSelect(ctx->builder, LLVMBuildICmp(ctx->builder, LLVMIntSLT, lhs, rhs, ""), in ac_build_alu_op()
3775 return LLVMBuildSelect(ctx->builder, LLVMBuildICmp(ctx->builder, LLVMIntULT, lhs, rhs, ""), in ac_build_alu_op()
3783 return LLVMBuildSelect(ctx->builder, LLVMBuildICmp(ctx->builder, LLVMIntSGT, lhs, rhs, ""), in ac_build_alu_op()
3786 return LLVMBuildSelect(ctx->builder, LLVMBuildICmp(ctx->builder, LLVMIntUGT, lhs, rhs, ""), in ac_build_alu_op()
3827 tmp2 = LLVMBuildSelect(ctx->builder, active, in ac_wavefront_shift_right_1()
3837 return LLVMBuildSelect(ctx->builder, active, tmp2, tmp1, ""); in ac_wavefront_shift_right_1()
3842 return LLVMBuildSelect(ctx->builder, active, tmp2, tmp1, ""); in ac_wavefront_shift_right_1()
3856 tmp1 = LLVMBuildSelect(ctx->builder, active, tmp2, tmp1, ""); in ac_wavefront_shift_right_1()
3861 tmp1 = LLVMBuildSelect(ctx->builder, active, tmp2, tmp1, ""); in ac_wavefront_shift_right_1()
3866 tmp1 = LLVMBuildSelect(ctx->builder, active, tmp2, tmp1, ""); in ac_wavefront_shift_right_1()
3869 tmp1 = LLVMBuildSelect(ctx->builder, active, tmp2, tmp1, ""); in ac_wavefront_shift_right_1()
3871 return LLVMBuildSelect(ctx->builder, active, identity, tmp1, ""); in ac_wavefront_shift_right_1()
3895 tmp = LLVMBuildSelect(ctx->builder, active, tmp, identity, ""); in ac_build_scan()
3901 tmp = LLVMBuildSelect(ctx->builder, active, tmp, identity, ""); in ac_build_scan()
3907 tmp = LLVMBuildSelect(ctx->builder, active, tmp, identity, ""); in ac_build_scan()
3913 tmp = LLVMBuildSelect(ctx->builder, active, tmp, identity, ""); in ac_build_scan()
3919 tmp = LLVMBuildSelect(ctx->builder, active, tmp, identity, ""); in ac_build_scan()
3925 tmp = LLVMBuildSelect(ctx->builder, active, tmp, identity, ""); in ac_build_scan()
3963 tmp = LLVMBuildSelect(ctx->builder, active, tmp, identity, ""); in ac_build_scan()
3974 tmp = LLVMBuildSelect(ctx->builder, active, tmp, identity, ""); in ac_build_scan()
4179 ws->result_exclusive = LLVMBuildSelect(builder, tmp2, identity, tmp, ""); in ac_build_wg_wavescan_bottom()
4696 prefix_bcnt[0] = LLVMBuildSelect(builder, is_0, ctx->i32_0, prefix_bcnt[0], ""); in ac_prefix_bitcount_2x64()
4697 prefix_bcnt[0] = LLVMBuildSelect(builder, is_hi, mask_bcnt0, prefix_bcnt[0], ""); in ac_prefix_bitcount_2x64()
4698 prefix_bcnt[1] = LLVMBuildSelect(builder, is_hi, prefix_bcnt[1], ctx->i32_0, ""); in ac_prefix_bitcount_2x64()
4722 out[0] = LLVMBuildSelect(builder, flatshade_first, index[0], in ac_build_triangle_strip_indices_to_triangle()
4723 LLVMBuildSelect(builder, is_odd, index[1], index[0], ""), ""); in ac_build_triangle_strip_indices_to_triangle()
4724 out[1] = LLVMBuildSelect(builder, flatshade_first, in ac_build_triangle_strip_indices_to_triangle()
4725 LLVMBuildSelect(builder, is_odd, index[2], index[1], ""), in ac_build_triangle_strip_indices_to_triangle()
4726 LLVMBuildSelect(builder, is_odd, index[0], index[1], ""), ""); in ac_build_triangle_strip_indices_to_triangle()
4727 out[2] = LLVMBuildSelect(builder, flatshade_first, in ac_build_triangle_strip_indices_to_triangle()
4728 LLVMBuildSelect(builder, is_odd, index[1], index[2], ""), index[2], ""); in ac_build_triangle_strip_indices_to_triangle()