Home
last modified time | relevance | path

Searched refs:lp_build_cmp (Results 1 – 18 of 18) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_arit.c195 cond = lp_build_cmp(bld, PIPE_FUNC_LESS, a, b); in lp_build_min_simple()
204 cond = lp_build_cmp(bld, PIPE_FUNC_LESS, b, a); in lp_build_min_simple()
207 cond = lp_build_cmp(bld, PIPE_FUNC_LESS, a, b); in lp_build_min_simple()
212 cond = lp_build_cmp(bld, PIPE_FUNC_LESS, a, b); in lp_build_min_simple()
216 cond = lp_build_cmp(bld, PIPE_FUNC_LESS, a, b); in lp_build_min_simple()
343 cond = lp_build_cmp(bld, PIPE_FUNC_GREATER, a, b); in lp_build_max_simple()
352 cond = lp_build_cmp(bld, PIPE_FUNC_GREATER, b, a); in lp_build_max_simple()
355 cond = lp_build_cmp(bld, PIPE_FUNC_GREATER, a, b); in lp_build_max_simple()
360 cond = lp_build_cmp(bld, PIPE_FUNC_GREATER, a, b); in lp_build_max_simple()
364 cond = lp_build_cmp(bld, PIPE_FUNC_GREATER, a, b); in lp_build_max_simple()
[all …]
Dlp_bld_tgsi_action.c972 LLVMValueRef div_mask = lp_build_cmp(&bld_base->uint64_bld, in u64mod_emit_cpu()
996 LLVMValueRef div_mask = lp_build_cmp(&bld_base->uint64_bld, in i64mod_emit_cpu()
1021 LLVMValueRef div_mask = lp_build_cmp(&bld_base->uint64_bld, in u64div_emit_cpu()
1046 LLVMValueRef div_mask = lp_build_cmp(&bld_base->int64_bld, in i64div_emit_cpu()
1320 LLVMValueRef cond = lp_build_cmp(&bld_base->base, PIPE_FUNC_LESS, in cmp_emit_cpu()
1337 LLVMValueRef cond = lp_build_cmp(uint_bld, PIPE_FUNC_NOTEQUAL, in ucmp_emit_cpu()
1404 cond = lp_build_cmp(&bld_base->base, pipe_func, in fset_emit_cpu()
1495 LLVMValueRef div_mask = lp_build_cmp(&bld_base->uint_bld, in idiv_emit_cpu()
1534 LLVMValueRef cond = lp_build_cmp(&bld_base->int_bld, pipe_func, in iset_emit_cpu()
1693 LLVMValueRef div_mask = lp_build_cmp(&bld_base->uint_bld, in mod_emit_cpu()
[all …]
Dlp_bld_sample_soa.c104 b1 = lp_build_cmp(int_coord_bld, PIPE_FUNC_LESS, x, int_coord_bld->zero); in lp_build_sample_texel_soa()
105 b2 = lp_build_cmp(int_coord_bld, PIPE_FUNC_GEQUAL, x, width); in lp_build_sample_texel_soa()
114 b1 = lp_build_cmp(int_coord_bld, PIPE_FUNC_LESS, y, int_coord_bld->zero); in lp_build_sample_texel_soa()
115 b2 = lp_build_cmp(int_coord_bld, PIPE_FUNC_GEQUAL, y, height); in lp_build_sample_texel_soa()
130 b1 = lp_build_cmp(int_coord_bld, PIPE_FUNC_LESS, z, int_coord_bld->zero); in lp_build_sample_texel_soa()
131 b2 = lp_build_cmp(int_coord_bld, PIPE_FUNC_GEQUAL, z, depth); in lp_build_sample_texel_soa()
519 isNeg = lp_build_cmp(int_coord_bld, PIPE_FUNC_LESS, in lp_build_sample_wrap_linear()
522 isNeg = lp_build_cmp(int_coord_bld, PIPE_FUNC_LESS, in lp_build_sample_wrap_linear()
616 isNeg = lp_build_cmp(int_coord_bld, PIPE_FUNC_LESS, coord0, in lp_build_sample_wrap_linear()
621 isNeg = lp_build_cmp(int_coord_bld, PIPE_FUNC_LESS, coord1, in lp_build_sample_wrap_linear()
[all …]
Dlp_bld_tgsi_aos.c528 tmp0 = lp_build_cmp(&bld->bld_base.base, PIPE_FUNC_LESS, src0, src1); in lp_emit_instruction_aos()
536 tmp0 = lp_build_cmp(&bld->bld_base.base, PIPE_FUNC_GEQUAL, src0, src1); in lp_emit_instruction_aos()
630 tmp0 = lp_build_cmp(&bld->bld_base.base, PIPE_FUNC_EQUAL, src0, src1); in lp_emit_instruction_aos()
637 tmp0 = lp_build_cmp(&bld->bld_base.base, PIPE_FUNC_GREATER, src0, src1); in lp_emit_instruction_aos()
650 tmp0 = lp_build_cmp(&bld->bld_base.base, PIPE_FUNC_LEQUAL, src0, src1); in lp_emit_instruction_aos()
657 tmp0 = lp_build_cmp(&bld->bld_base.base, PIPE_FUNC_NOTEQUAL, src0, src1); in lp_emit_instruction_aos()
719 tmp0 = lp_build_cmp(&bld->bld_base.base, PIPE_FUNC_LESS, src0, bld->bld_base.base.zero); in lp_emit_instruction_aos()
Dlp_bld_sample.c932 *out_lod_positive = lp_build_cmp(lodf_bld, PIPE_FUNC_GREATER, in lp_build_lod_selector()
947 *out_lod_positive = lp_build_cmp(lodf_bld, PIPE_FUNC_GREATER, in lp_build_lod_selector()
1014 *out_lod_positive = lp_build_cmp(lodf_bld, PIPE_FUNC_GREATER, in lp_build_lod_selector()
1070 out = lp_build_cmp(leveli_bld, PIPE_FUNC_LESS, level, first_level); in lp_build_nearest_mip_level()
1071 out1 = lp_build_cmp(leveli_bld, PIPE_FUNC_GREATER, level, last_level); in lp_build_nearest_mip_level()
1640 sel = lp_build_cmp(ivec_bld, PIPE_FUNC_EQUAL, face, c5); in lp_build_cube_new_coords()
1642 sel_f2345 = lp_build_cmp(ivec_bld, PIPE_FUNC_GREATER, face, ivec_bld->one); in lp_build_cube_new_coords()
1649 sel_f23 = lp_build_cmp(ivec_bld, PIPE_FUNC_GREATER, tmp, ivec_bld->one); in lp_build_cube_new_coords()
1666 sel_f2 = lp_build_cmp(ivec_bld, PIPE_FUNC_EQUAL, face, c2); in lp_build_cube_new_coords()
1676 sel_fand1 = lp_build_cmp(ivec_bld, PIPE_FUNC_EQUAL, faceand1, ivec_bld->one); in lp_build_cube_new_coords()
[all …]
Dlp_bld_logic.h64 lp_build_cmp(struct lp_build_context *bld,
Dlp_bld_format_float.c358 isdenorm = lp_build_cmp(&i32_bld, PIPE_FUNC_LESS, srcabs, exp_one); in lp_build_smallfloat_to_float()
361 wasinfnan = lp_build_cmp(&i32_bld, PIPE_FUNC_GEQUAL, srcabs, smallexpmask); in lp_build_smallfloat_to_float()
Dlp_bld_nir.c274 lp_build_cmp(flt_bld, PIPE_FUNC_NOTEQUAL, val, flt_bld->zero); in flt_to_bool32()
296 result = lp_build_cmp(flt_bld, compare, src[0], src[1]); in fcmp32()
315 LLVMValueRef result = lp_build_cmp(i_bld, compare, src[0], src[1]); in icmp32()
580 LLVMValueRef div_mask2 = lp_build_cmp(mask_bld, PIPE_FUNC_EQUAL, src, in get_signed_divisor()
583 LLVMValueRef div_mask3 = lp_build_cmp(mask_bld, PIPE_FUNC_EQUAL, divisor, in get_signed_divisor()
603 LLVMValueRef div_mask = lp_build_cmp(mask_bld, PIPE_FUNC_EQUAL, src2, in do_int_divide()
632 LLVMValueRef div_mask = lp_build_cmp(mask_bld, PIPE_FUNC_EQUAL, src2, in do_int_mod()
Dlp_bld_tgsi_soa.c239 casemask = lp_build_cmp(mask->bld, PIPE_FUNC_EQUAL, caseval, ctx->switch_val); in lp_exec_case()
2754 …chan_mask = lp_build_cmp(&bld->bld_base.base, PIPE_FUNC_GEQUAL, terms[chan_index], bld->bld_base.b… in emit_kill_if()
3524 … LLVMValueRef ssbo_oob_cmp = lp_build_cmp(uint_bld, PIPE_FUNC_LESS, loop_index, ssbo_limit); in load_emit()
3645 … LLVMValueRef ssbo_oob_cmp = lp_build_cmp(uint_bld, PIPE_FUNC_LESS, loop_index, ssbo_limit); in store_emit()
3839 LLVMValueRef ssbo_oob_cmp = lp_build_cmp(uint_bld, PIPE_FUNC_LESS, index, ssbo_limit); in atomic_emit()
3956 LLVMValueRef max_mask = lp_build_cmp(int_bld, PIPE_FUNC_LESS, in clamp_mask_to_max_output_vertices()
4019 LLVMValueRef emitted_mask = lp_build_cmp(uint_bld, PIPE_FUNC_NOTEQUAL, in end_primitive_masked()
4131 tmp = lp_build_cmp(&bld_base->base, PIPE_FUNC_NOTEQUAL, in if_emit()
4146 tmp = lp_build_cmp(uint_bld, PIPE_FUNC_NOTEQUAL, in uif_emit()
Dlp_bld_logic.c239 lp_build_cmp(struct lp_build_context *bld, in lp_build_cmp() function
Dlp_bld_format_aos.c169 result = lp_build_cmp(&bld, PIPE_FUNC_EQUAL, src, in scale_bits_up()
Dlp_bld_nir_soa.c1866 …*dst = lp_build_cmp(uint_bld, PIPE_FUNC_NOTEQUAL, mask_vec(bld_base), lp_build_const_int_vec(galli… in emit_helper_invocation()
1972 LLVMValueRef max_mask = lp_build_cmp(int_bld, PIPE_FUNC_LESS, in clamp_mask_to_max_output_vertices()
2021 LLVMValueRef emitted_mask = lp_build_cmp(uint_bld, in end_primitive_masked()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_alpha.c87 test = lp_build_cmp(&bld, func, alpha, ref); in lp_build_alpha_test()
Dlp_bld_blend.c334 test = lp_build_cmp(&bld, PIPE_FUNC_GREATER, alpha, alpha_ref_value); in lp_build_alpha_to_coverage()
Dlp_bld_depth.c121 res = lp_build_cmp(bld, stencil->func, stencilRef, stencilVals); in lp_build_stencil_test_single()
1077 z_pass = lp_build_cmp(&z_bld, depth->func, z_src, z_dst); in lp_build_depth_stencil_test()
Dlp_state_fs_linear_llvm.c207 mask = lp_build_cmp(bld, variant->key.alpha.func, output, in llvm_fragment_body()
Dlp_state_fs.c417 LLVMValueRef test = lp_build_cmp(&bld, PIPE_FUNC_GREATER, alpha, alpha_ref_value); in lp_build_sample_alpha_to_coverage()
1115 output_smask = lp_build_cmp(&smask_bld, PIPE_FUNC_NOTEQUAL, output_smask, smask_bld.zero); in generate_fs_loop()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c2192 … LLVMValueRef exec_mask = lp_build_cmp(&blduivec, PIPE_FUNC_LEQUAL, true_index_array, fetch_max); in draw_llvm_generate()