/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_bld_blend_logicop.c | 62 res = LLVMBuildAnd(builder, LLVMBuildNot(builder, src, ""), dst, ""); in lp_build_logicop() 68 res = LLVMBuildAnd(builder, src, LLVMBuildNot(builder, dst, ""), ""); in lp_build_logicop() 77 res = LLVMBuildNot(builder, LLVMBuildAnd(builder, src, dst, ""), ""); in lp_build_logicop() 80 res = LLVMBuildAnd(builder, src, dst, ""); in lp_build_logicop()
|
D | lp_bld_depth.c | 116 stencilRef = LLVMBuildAnd(builder, stencilRef, valuemask, ""); in lp_build_stencil_test_single() 118 stencilVals = LLVMBuildAnd(builder, stencilVals, valuemask, ""); in lp_build_stencil_test_single() 219 res = LLVMBuildAnd(builder, res, max, ""); in lp_build_stencil_op_single() 223 res = LLVMBuildAnd(builder, res, max, ""); in lp_build_stencil_op_single() 227 res = LLVMBuildAnd(builder, res, max, ""); in lp_build_stencil_op_single() 281 mask = LLVMBuildAnd(builder, mask, writemask, ""); in lp_build_stencil_op() 463 LLVMValueRef countv = LLVMBuildAnd(builder, maskvalue, countmask, "countv"); in lp_build_occlusion_count() 558 LLVMValueRef looplsb = LLVMBuildAnd(builder, loop_counter, in lp_build_depth_stencil_load_swizzled() 560 LLVMValueRef loopmsb = LLVMBuildAnd(builder, loop_counter, in lp_build_depth_stencil_load_swizzled() 709 LLVMValueRef looplsb = LLVMBuildAnd(builder, loop_counter, in lp_build_depth_stencil_write_swizzled() [all …]
|
D | lp_state_fs.c | 268 mask_input = LLVMBuildAnd(builder, mask_input, lp_build_const_int32(gallivm, 0xffff), ""); in generate_quad_mask() 290 mask = LLVMBuildAnd(builder, mask, bits_vec, ""); in generate_quad_mask() 417 s_mask = LLVMBuildAnd(builder, s_mask, test, ""); in lp_build_sample_alpha_to_coverage() 528 … LLVMBuildAnd(builder, fs_iface->loop_state->counter, lp_build_const_int32(gallivm, 1), ""), in fs_fb_fetch() 739 …LLVMValueRef mask_in = LLVMBuildAnd(builder, s_mask, lp_build_const_int_vec(gallivm, type, (1ll <<… in generate_fs_loop() 748 …LLVMValueRef mask_in = LLVMBuildAnd(builder, mask_val, lp_build_const_int_vec(gallivm, type, 1), "… in generate_fs_loop() 808 s_mask = LLVMBuildAnd(builder, s_mask, mask_val, ""); in generate_fs_loop() 885 …mask_bit_idx = LLVMBuildAnd(builder, s_mask, lp_build_broadcast(gallivm, int_vec_type, mask_bit_id… in generate_fs_loop() 906 …LLVMValueRef post_depth_mask_in = LLVMBuildAnd(builder, lp_build_mask_value(&mask), lp_build_const… in generate_fs_loop() 937 system_values.sample_mask_in = LLVMBuildAnd(builder, system_values.sample_mask_in, in generate_fs_loop() [all …]
|
D | lp_state_fs_linear_llvm.c | 452 excess = LLVMBuildAnd(builder, width, LLVMConstInt(int32t, 3, 0), ""); in llvmpipe_fs_variant_linear_llvm()
|
/third_party/mesa3d/src/amd/llvm/ |
D | ac_llvm_cull.c | 70 all_w_negative = LLVMBuildAnd(builder, all_w_negative, neg_w, ""); in ac_analyze_position_w() 159 accepted = LLVMBuildAnd(builder, accepted, visible, ""); in cull_bbox() 164 accepted = LLVMBuildAnd(builder, accepted, visible, ""); in cull_bbox() 198 visible = LLVMBuildAnd(builder, not_equal[0], not_equal[1], ""); in cull_bbox() 199 accepted = LLVMBuildAnd(builder, accepted, visible, ""); in cull_bbox() 241 accepted = LLVMBuildAnd(ctx->builder, accepted, initially_accepted, ""); in ac_cull_primitive() 244 accepted = LLVMBuildAnd( in ac_cull_primitive()
|
D | ac_llvm_build.c | 812 is_ma_y = LLVMBuildAnd( in build_cube_select() 815 is_ma_x = LLVMBuildAnd(builder, is_not_ma_z, LLVMBuildNot(builder, is_ma_y, ""), ""); in build_cube_select() 1399 LLVMBuildAnd(ctx->builder, src, LLVMConstInt(ctx->i32, (1 << mant_bits) - 1, false), ""); in ac_ufN_to_float() 1572 LLVMValueRef r = LLVMBuildAnd(ctx->builder, data, i32_2047, ""); in ac_build_opencoded_load_format() 1574 LLVMValueRef g = LLVMBuildAnd(ctx->builder, tmp, i32_2047, ""); in ac_build_opencoded_load_format() 2326 samples = LLVMBuildAnd(ctx->builder, samples, LLVMConstInt(ctx->i32, 0xf, 0), ""); in ac_build_image_get_sample_count() 3310 value = LLVMBuildAnd(ctx->builder, value, LLVMConstInt(LLVMTypeOf(param), mask, false), ""); in ac_unpack_param() 3370 addr[sample_chan] = LLVMBuildAnd(ac->builder, final_sample, LLVMConstInt(ac->i32, 0x7, 0), ""); in ac_apply_fmask_to_sample() 3877 return LLVMBuildAnd(ctx->builder, lhs, rhs, ""); in ac_build_alu_op() 3917 LLVMBuildAnd(ctx->builder, tid, LLVMConstInt(ctx->i32, 0x1f, false), ""), in ac_wavefront_shift_right_1() [all …]
|
D | ac_nir_to_llvm.c | 365 cond = LLVMBuildAnd(ctx->builder, cond, cond2, ""); in emit_f2f16() 415 LLVMBuildAnd(ctx->builder, mask, LLVMBuildXor(ctx->builder, insert, base, ""), ""), ""); in emit_bitfield_select() 508 active = LLVMBuildAnd(ctx->ac.builder, active, in enter_waterfall() 704 result = LLVMBuildAnd(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() 1354 stride = LLVMBuildAnd(ctx->ac.builder, stride, LLVMConstInt(ctx->ac.i32, 0x3fff, false), ""); in get_buffer_size() 1396 LLVMBuildAnd(ctx->builder, data_format, LLVMConstInt(ctx->i32, (1u << 6) - 1, false), ""); in lower_gather4_integer() 1403 wa_formats = LLVMBuildAnd(ctx->builder, formats, in lower_gather4_integer() 1433 sampler0 = LLVMBuildAnd(ctx->builder, sampler0, ctx->i32_1, ""); in lower_gather4_integer() 1901 LLVMBuildAnd(ctx->ac.builder, ac_llvm_extract_elem(&ctx->ac, descriptor, 1), in emit_ssbo_comp_swap_64() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_ir_common.c | 115 tmp = LLVMBuildAnd(builder, in lp_exec_mask_update() 119 mask->exec_mask = LLVMBuildAnd(builder, in lp_exec_mask_update() 127 mask->exec_mask = LLVMBuildAnd(builder, in lp_exec_mask_update() 134 mask->exec_mask = LLVMBuildAnd(builder, in lp_exec_mask_update() 331 icond = LLVMBuildAnd(builder, i1cond, i2cond, ""); in lp_exec_endloop() 368 mask->cond_mask = LLVMBuildAnd(builder, in lp_exec_mask_cond_push() 392 mask->cond_mask = LLVMBuildAnd(builder, in lp_exec_mask_cond_invert() 417 mask->cont_mask = LLVMBuildAnd(builder, in lp_exec_continue() 435 mask->break_mask = LLVMBuildAnd(builder, in lp_exec_break() 461 mask->switch_mask = LLVMBuildAnd(builder, in lp_exec_break()
|
D | lp_bld_format_s3tc.c | 372 rblo = LLVMBuildAnd(builder, rblo, rgblomask, ""); in color_expand2_565_to_8888() 376 g = LLVMBuildAnd(builder, colors, lp_build_const_int_vec(gallivm, type16, 0x07e0), ""); in color_expand2_565_to_8888() 443 g = LLVMBuildAnd(builder, colors, g6mask, ""); in color_expand_565_to_8888() 446 rgba = LLVMBuildAnd(builder, rgba, rbhimask, ""); in color_expand_565_to_8888() 450 rgblo = LLVMBuildAnd(builder, rgblo, rgblomask, ""); in color_expand_565_to_8888() 548 x_lo = LLVMBuildAnd(builder, x_lo, lp_build_const_int_vec(gallivm, i16_type, 0xff), ""); in lp_build_lerp23() 549 x_hi = LLVMBuildAnd(builder, x_hi, lp_build_const_int_vec(gallivm, i16_type, 0xff), ""); in lp_build_lerp23() 607 col0 = LLVMBuildAnd(builder, colors, lp_build_const_int_vec(gallivm, type, 0x0000ffff), ""); in s3tc_dxt1_full_to_rgba_aos() 718 sel_lo = LLVMBuildAnd(builder, indices, bld32.one, ""); in s3tc_dxt1_full_to_rgba_aos() 722 sel_hi = LLVMBuildAnd(builder, indices, const2, ""); in s3tc_dxt1_full_to_rgba_aos() [all …]
|
D | lp_bld_sample_aos.c | 99 coord = LLVMBuildAnd(builder, coord, length_minus_one, ""); in lp_build_sample_wrap_nearest_int() 175 *weight_i = LLVMBuildAnd(bld->gallivm->builder, *coord0_i, i32_c255, ""); in lp_build_coord_repeat_npot_linear_int() 249 coord0 = LLVMBuildAnd(builder, coord0, length_minus_one, ""); in lp_build_sample_wrap_linear_int() 250 coord1 = LLVMBuildAnd(builder, coord1, length_minus_one, ""); in lp_build_sample_wrap_linear_int() 265 coord1 = LLVMBuildAnd(builder, in lp_build_sample_wrap_linear_int() 305 coord0 = LLVMBuildAnd(builder, coord0, length_minus_one, ""); in lp_build_sample_wrap_linear_int() 323 *offset1 = LLVMBuildAnd(builder, in lp_build_sample_wrap_linear_int() 342 mask = LLVMBuildAnd(builder, lmask, umask, ""); in lp_build_sample_wrap_linear_int() 347 LLVMBuildAnd(builder, stride, mask, "")); in lp_build_sample_wrap_linear_int() 843 s_fpart = LLVMBuildAnd(builder, s, i32_c255, ""); in lp_build_sample_image_linear() [all …]
|
D | lp_bld_format_yuv.c | 127 *y = LLVMBuildAnd(builder, *y, mask, "y"); in uyvy_to_yuv_soa() 128 *u = LLVMBuildAnd(builder, *u, mask, "u"); in uyvy_to_yuv_soa() 129 *v = LLVMBuildAnd(builder, *v, mask, "v"); in uyvy_to_yuv_soa() 209 *y = LLVMBuildAnd(builder, *y, mask, "y"); in yuyv_to_yuv_soa() 210 *u = LLVMBuildAnd(builder, *u, mask, "u"); in yuyv_to_yuv_soa() 211 *v = LLVMBuildAnd(builder, *v, mask, "v"); in yuyv_to_yuv_soa()
|
D | lp_bld_format_soa.c | 156 input = LLVMBuildAnd(builder, input, in lp_build_extract_soa_chan() 385 input = LLVMBuildAnd(builder, input, mask, ""); in lp_build_rgba8_to_fi32_soa() 725 packed = LLVMBuildAnd(builder, packed, in lp_build_fetch_rgba_soa() 929 … chan = LLVMBuildAnd(builder, chan, lp_build_const_int_vec(gallivm, type, chan_mask), ""); in lp_build_insert_soa_chan() 942 chan = LLVMBuildAnd(builder, chan, lp_build_const_int_vec(gallivm, type, chan_mask), ""); in lp_build_insert_soa_chan() 1092 …LLVMValueRef should_store_mask = LLVMBuildAnd(gallivm->builder, exec_mask, LLVMBuildNot(gallivm->b… in lp_build_store_rgba_soa()
|
D | lp_bld_bitarit.c | 110 res = LLVMBuildAnd(builder, a, b, ""); in lp_build_and() 140 res = LLVMBuildAnd(builder, a, res, ""); in lp_build_andnot()
|
D | lp_bld_arit.c | 1422 res = LLVMBuildAnd(builder, res, low_bits, ""); in lp_build_lerp_simple() 1802 sign = LLVMBuildAnd(builder, sign, mask, ""); in lp_build_sgn() 1849 val = LLVMBuildAnd(builder, val, mask, ""); in lp_build_set_sign() 2395 sign = LLVMBuildAnd(builder, sign, mask, ""); in lp_build_iround() 2847 LLVMValueRef absi = LLVMBuildAnd(b, a_v4si, inv_sig_mask, "absi"); in lp_build_sin_or_cos() 2876 LLVMValueRef emm2_and = LLVMBuildAnd(b, emm2_add, inv_one, "emm2_and"); in lp_build_sin_or_cos() 2895 LLVMValueRef sign_bit = cos ? LLVMBuildShl(b, LLVMBuildAnd(b, const_4, in lp_build_sin_or_cos() 2898 LLVMBuildAnd(b, LLVMBuildXor(b, a_v4si, in lp_build_sin_or_cos() 2913 LLVMValueRef emm2_3 = LLVMBuildAnd(b, emm2_2, const_2, "emm2_3"); in lp_build_sin_or_cos() 3008 LLVMValueRef y2_and = LLVMBuildAnd(b, y2_i, poly_mask, "y2_and"); in lp_build_sin_or_cos() [all …]
|
D | lp_bld_swizzle.c | 201 a = LLVMBuildAnd(builder, a, in lp_build_swizzle_scalar_aos() 276 a = LLVMBuildAnd(builder, a, in lp_build_swizzle_scalar_aos() 543 masked = LLVMBuildAnd(builder, a, in lp_build_swizzle_aos()
|
D | lp_bld_logic.c | 276 a = LLVMBuildAnd(builder, a, mask, ""); in lp_build_select_bitwise() 283 b = LLVMBuildAnd(builder, b, LLVMBuildNot(builder, mask, ""), ""); in lp_build_select_bitwise()
|
D | lp_bld_format_aos.c | 326 masked = LLVMBuildAnd(builder, packed, LLVMConstVector(masks, 4), ""); in lp_build_unpack_arith_rgba_aos() 329 masked = LLVMBuildAnd(builder, shifted, LLVMConstVector(masks, 4), ""); in lp_build_unpack_arith_rgba_aos() 570 chans[j] = LLVMBuildAnd(builder, chans[j], in lp_build_fetch_rgba_aos()
|
D | lp_bld_nir_soa.c | 69 return LLVMBuildAnd(builder, lp_build_mask_value(bld->mask), in mask_vec() 1083 do_fetch = LLVMBuildAnd(builder, do_fetch, ssbo_oob_cmp, ""); in emit_load_mem() 1174 do_store = LLVMBuildAnd(builder, do_store, ssbo_oob_cmp, ""); in emit_store_mem() 1241 do_fetch = LLVMBuildAnd(builder, do_fetch, ssbo_oob_cmp, ""); in emit_atomic_mem() 1771 return LLVMBuildAnd(builder, current_mask_vec, max_mask, ""); in clamp_mask_to_max_output_vertices() 1820 mask = LLVMBuildAnd(builder, mask, emitted_mask, ""); in end_primitive_masked() 1918 res = LLVMBuildAnd(builder, res, tmp, ""); in emit_vote() 1922 res = LLVMBuildAnd(builder, res, tmp, ""); in emit_vote() 1926 res = LLVMBuildAnd(builder, res, value_ptr, ""); in emit_vote() 1940 src = LLVMBuildAnd(builder, src, exec_mask, ""); in emit_ballot() [all …]
|
D | lp_bld_tgsi_soa.c | 127 return LLVMBuildAnd(builder, lp_build_mask_value(bld->mask), in mask_vec() 189 mask->switch_mask = LLVMBuildAnd(builder, prevmask, defaultmask, "sw_mask"); in lp_exec_endswitch() 243 mask->switch_mask = LLVMBuildAnd(builder, casemask, prevmask, "sw_mask"); in lp_exec_case() 332 mask->switch_mask = LLVMBuildAnd(builder, prevmask, defaultmask, "sw_mask"); in lp_exec_default() 412 mask->ret_mask = LLVMBuildAnd(builder, in lp_exec_mask_ret() 2751 mask = LLVMBuildAnd(builder, mask, chan_mask, ""); in emit_kill_if() 3518 exec_mask = LLVMBuildAnd(builder, exec_mask, ssbo_oob_cmp, ""); in load_emit() 3639 exec_mask = LLVMBuildAnd(builder, exec_mask, ssbo_oob_cmp, ""); in store_emit() 3833 exec_mask = LLVMBuildAnd(builder, exec_mask, ssbo_oob_cmp, ""); in atomic_emit() 3953 return LLVMBuildAnd(builder, current_mask_vec, max_mask, ""); in clamp_mask_to_max_output_vertices() [all …]
|
D | lp_bld_flow.c | 197 value = LLVMBuildAnd(mask->skip.gallivm->builder, in lp_build_mask_update()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_llvm_resources.c | 41 index = LLVMBuildAnd(builder, index, c_max, ""); in si_llvm_bound_index() 148 tmp = LLVMBuildAnd(ctx->ac.builder, tmp, i32_C, ""); in force_dcc_off() 160 tmp = LLVMBuildAnd(ctx->ac.builder, tmp, i32_C, ""); in force_write_compress_off()
|
D | gfx10_shader_ngg.c | 169 prim.passthrough = LLVMBuildAnd(builder, prim.passthrough, edgeflags, ""); in gfx10_ngg_build_export_prim() 205 prim.edgeflags = LLVMBuildAnd(ctx->ac.builder, prim.edgeflags, edgeflags, ""); in gfx10_ngg_build_export_prim() 531 tmp = LLVMBuildAnd(builder, tmp, nggso->prim_enable[stream], ""); in build_streamout() 730 i8vec4 = LLVMBuildAnd(builder, i8vec4, in load_vertex_counts() 739 i8vec4 = LLVMBuildAnd(builder, i8vec4, in load_vertex_counts() 770 *tg_info = LLVMBuildAnd(builder, *tg_info, LLVMConstInt(ctx->ac.i32, tg_info_mask, 0), ""); in update_thread_counts() 783 *wave_info = LLVMBuildAnd(builder, *wave_info, LLVMConstInt(ctx->ac.i32, wave_info_mask, 0), ""); in update_thread_counts() 1580 LLVMValueRef swizzle = LLVMBuildAnd( in ngg_gs_vertex_ptr() 1672 tmp = LLVMBuildAnd(builder, curverts, ctx->ac.i32_1, ""); in gfx10_ngg_gs_emit_vertex() 1797 nggso.prim_enable[stream] = LLVMBuildAnd(builder, tmp, tmp2, ""); in gfx10_ngg_gs_emit_epilogue() [all …]
|
D | si_shader_llvm.c | 377 value = LLVMBuildAnd(ctx->ac.builder, value, LLVMConstInt(ctx->ac.i32, mask, 0), ""); in unpack_llvm_param() 693 count = LLVMBuildAnd(builder, count, LLVMConstInt(ctx->ac.i32, 0x7f, 0), ""); in si_build_wrapper_function() 772 count = LLVMBuildAnd(builder, count, LLVMConstInt(ctx->ac.i32, 0x7f, 0), ""); in si_build_wrapper_function()
|
/third_party/flutter/skia/src/sksl/ |
D | SkSLJIT.cpp | 579 BINARY(LLVMBuildAnd, LLVMBuildAnd, LLVMBuildAnd); in compileBinary() 595 COMPOUND(LLVMBuildAnd, LLVMBuildAnd, LLVMBuildAnd); in compileBinary() 1495 VECTOR_BINARY(LLVMBuildAnd, LLVMBuildAnd, LLVMBuildAnd); in compileVectorBinary()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm.c | 1067 stride = LLVMBuildAnd(builder, stride, index_valid, ""); in fetch_instanced() 1079 aos = LLVMBuildAnd(builder, aos, index_valid, ""); in fetch_instanced() 1119 offset = LLVMBuildAnd(builder, offset, valid_mask, ""); in fetch_vector() 1156 inputs[i] = LLVMBuildAnd(builder, inputs[i], valid_mask, ""); in fetch_vector() 1223 clipmask = LLVMBuildAnd(builder, mask, lp_build_const_int32(gallivm, 0x3fff), ""); in adjust_mask() 1226 pad = LLVMBuildAnd(builder, mask, lp_build_const_int32(gallivm, 0x8000), ""); in adjust_mask() 1229 edgeflag = LLVMBuildAnd(builder, mask, lp_build_const_int32(gallivm, 0x4000), ""); in adjust_mask() 1581 test = LLVMBuildAnd(builder, test, temp, ""); in generate_clipmask() 1588 test = LLVMBuildAnd(builder, test, temp, ""); in generate_clipmask() 1594 test = LLVMBuildAnd(builder, test, temp, ""); in generate_clipmask() [all …]
|