Home
last modified time | relevance | path

Searched refs:LLVMBuildICmp (Results 1 – 25 of 34) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_shader_ngg.c331 tmp = LLVMBuildICmp(builder, LLVMIntEQ, get_wave_id_in_tg(ctx), ctx->ac.i32_0, ""); in build_streamout()
341 tmp = LLVMBuildICmp(builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), i32_4, ""); in build_streamout()
476 tmp2 = LLVMBuildICmp(builder, LLVMIntULT, bufsize_dw, offset_dw, ""); in build_streamout()
506 tmp = LLVMBuildICmp(builder, LLVMIntULT, emit, generated, ""); in build_streamout()
525 ac_build_ifcc(&ctx->ac, LLVMBuildICmp(builder, LLVMIntEQ, tid, index, ""), 0); in build_streamout()
542 tmp = LLVMBuildICmp(builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), i32_4, ""); in build_streamout()
621 tmp = LLVMBuildICmp(builder, LLVMIntULT, primemit_scan[stream].result_exclusive, in build_streamout()
630 tmp = LLVMBuildICmp(builder, LLVMIntULT, LLVMConstInt(ctx->ac.i32, i, false), in build_streamout()
772 ac_build_ifcc(&ctx->ac, LLVMBuildICmp(builder, LLVMIntULT, tid, in load_vertex_counts()
1223 has_clipdist_mask ? LLVMBuildICmp(builder, LLVMIntEQ, clipdist_neg_mask, ctx->ac.i8_0, "") in gfx10_ngg_culling_build_end()
[all …]
Dsi_shader_llvm_vs.c50 LLVMBuildICmp(ctx->ac.builder, LLVMIntULE, vertex_id, ctx->ac.i32_1, ""); in load_input_vs()
54 LLVMValueRef sel_y1 = LLVMBuildICmp(ctx->ac.builder, LLVMIntNE, vertex_id, ctx->ac.i32_1, ""); in load_input_vs()
329 LLVMValueRef can_emit = LLVMBuildICmp(builder, LLVMIntULT, tid, so_vtx_count, ""); in si_llvm_emit_streamout()
749 LLVMBuildICmp(ctx->ac.builder, LLVMIntULT, in si_llvm_build_vs_exports()
921 LLVMBuildICmp(ctx->ac.builder, LLVMIntNE, in si_llvm_build_vs_prolog()
Dsi_shader_llvm_gs.c35 return LLVMBuildICmp(ctx->ac.builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), in si_is_es_thread()
42 return LLVMBuildICmp(ctx->ac.builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), in si_is_gs_thread()
196 LLVMBuildICmp(ctx->ac.builder, LLVMIntULT, gs_next_vertex, in si_llvm_emit_vertex()
Dsi_shader_llvm_tess.c309 LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, invocation_id, ctx->ac.i32_0, ""), 6503); in si_write_tess_factors()
393LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, rel_patch_id, ctx->ac.i32_0, ""), 6504); in si_write_tess_factors()
Dsi_shader_llvm_resources.c49 cc = LLVMBuildICmp(builder, LLVMIntULE, index, c_max, ""); in si_llvm_bound_index()
Dsi_shader_llvm.c598 ena = LLVMBuildICmp(builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), count, ""); in si_build_wrapper_function()
677 ena = LLVMBuildICmp(builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), count, ""); in si_build_wrapper_function()
/third_party/mesa3d/src/amd/llvm/
Dac_llvm_build.c536 return LLVMBuildICmp(ctx->builder, LLVMIntEQ, vote_set, active_set, ""); in ac_build_vote_all()
542 return LLVMBuildICmp(ctx->builder, LLVMIntNE, vote_set, LLVMConstInt(ctx->iN_wavemask, 0, 0), in ac_build_vote_any()
551 LLVMValueRef all = LLVMBuildICmp(ctx->builder, LLVMIntEQ, vote_set, active_set, ""); in ac_build_vote_eq()
553 LLVMBuildICmp(ctx->builder, LLVMIntEQ, vote_set, LLVMConstInt(ctx->iN_wavemask, 0, 0), ""); in ac_build_vote_eq()
1492 tmp = LLVMBuildICmp(ctx->builder, LLVMIntUGE, src, in ac_ufN_to_float()
1496 tmp = LLVMBuildICmp(ctx->builder, LLVMIntUGE, src, in ac_ufN_to_float()
1500 tmp = LLVMBuildICmp(ctx->builder, LLVMIntNE, src, ctx->i32_0, ""); in ac_ufN_to_float()
1856 LLVMBuildOr(ctx->builder, LLVMBuildICmp(ctx->builder, LLVMIntEQ, arg, ctx->i32_0, ""), in ac_build_imsb()
1857 LLVMBuildICmp(ctx->builder, LLVMIntEQ, arg, all_ones, ""), ""); in ac_build_imsb()
1919 return LLVMBuildSelect(ctx->builder, LLVMBuildICmp(ctx->builder, LLVMIntEQ, arg, zero, ""), in ac_build_umsb()
[all …]
Dac_nir_to_llvm.c155 return LLVMBuildICmp(ctx->builder, pred, src0, src1, ""); in emit_int_cmp()
331 return LLVMBuildICmp(ctx->builder, LLVMIntNE, src0, zero, ""); in emit_i2b()
512LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, comp, scalar_value[i], ""), ""); in enter_waterfall()
554 LLVMBuildICmp(ctx->ac.builder, LLVMIntNE, cc, ctx->ac.i32_0, "uniform_active2"); in exit_waterfall()
1465 wa_8888 = LLVMBuildICmp(ctx->builder, LLVMIntEQ, data_format, in lower_gather4_integer()
1502 unnorm = LLVMBuildICmp(ctx->builder, LLVMIntEQ, sampler0, ctx->i32_1, ""); in lower_gather4_integer()
1935 LLVMValueRef cond = LLVMBuildICmp(ctx->ac.builder, LLVMIntULT, offset, size, ""); in emit_ssbo_comp_swap_64()
2912 is_null_descriptor = LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, dword1, in visit_image_samples()
3561 cond = LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, x_rate, ctx->ac.i32_1, ""); in emit_load_frag_shading_rate()
3566 cond = LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, y_rate, ctx->ac.i32_1, ""); in emit_load_frag_shading_rate()
[all …]
/third_party/flutter/skia/src/sksl/
DSkSLJIT.cpp601 COMPARE(LLVMBuildICmp, LLVMIntEQ, in compileBinary()
602 LLVMBuildICmp, LLVMIntEQ, in compileBinary()
611 value = LLVMBuildICmp(builder, LLVMIntEQ, left, right, "binary"); in compileBinary()
614 value = LLVMBuildICmp(builder, LLVMIntEQ, left, right, "binary"); in compileBinary()
640 COMPARE(LLVMBuildICmp, LLVMIntNE, in compileBinary()
641 LLVMBuildICmp, LLVMIntNE, in compileBinary()
650 value = LLVMBuildICmp(builder, LLVMIntNE, left, right, "binary"); in compileBinary()
653 value = LLVMBuildICmp(builder, LLVMIntNE, left, right, "binary"); in compileBinary()
677 COMPARE(LLVMBuildICmp, LLVMIntSLT, in compileBinary()
678 LLVMBuildICmp, LLVMIntULT, in compileBinary()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_flow.c144 cond = LLVMBuildICmp(builder, in lp_build_mask_check()
269 cond = LLVMBuildICmp(builder, llvm_cond, next, end, ""); in lp_build_loop_end_cond()
366 cond = LLVMBuildICmp(builder, state->cond, state->counter, state->end, ""); in lp_build_for_loop_end()
Dlp_bld_nir_soa.c854 LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, exec_mask, uint_bld->zero, ""); in emit_load_global()
918 LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, exec_mask, uint_bld->zero, ""); in emit_store_global()
955 cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, exec_mask, uint_bld->zero, ""); in emit_atomic_global()
1049 …LLVMValueRef fetch_in_bounds = LLVMBuildICmp(gallivm->builder, LLVMIntUGE, limit, fetch_extent, ""… in lp_offset_in_range()
1050 …LLVMValueRef fetch_non_negative = LLVMBuildICmp(gallivm->builder, LLVMIntSGE, offset, lp_build_con… in lp_offset_in_range()
1254 LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, exec_mask, uint_bld->zero, ""); in emit_load_mem()
1278 …fetch_cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, do_fetch, lp_build_const_int32(gallivm, 0)… in emit_load_mem()
1357 LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, exec_mask, uint_bld->zero, ""); in emit_store_mem()
1388 …store_cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, do_store, lp_build_const_int32(gallivm, 0)… in emit_store_mem()
1419 LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, exec_mask, uint_bld->zero, ""); in emit_atomic_mem()
[all …]
Dlp_bld_logic.c158 cond = LLVMBuildICmp(builder, op, a, b, ""); in lp_build_compare_ext()
518 return LLVMBuildICmp(builder, LLVMIntNE, in lp_build_any_true_range()
Dlp_bld_ir_common.c317 i1cond = LLVMBuildICmp( in lp_exec_endloop()
324 i2cond = LLVMBuildICmp( in lp_exec_endloop()
Dlp_bld_coro.c211 …LLVMValueRef not_alloced = LLVMBuildICmp(gallivm->builder, LLVMIntEQ, alloced_ptr, LLVMConstNull(m… in lp_build_coro_alloc_mem_array()
Dlp_bld_bitarit.c279 return LLVMBuildSelect(builder, LLVMBuildICmp(builder, LLVMIntEQ, a, bld->zero, ""), in lp_build_cttz()
Dlp_bld_format_soa.c901 LLVMValueRef mask = LLVMBuildICmp(builder, LLVMIntUGT, chan, mask_val, ""); in lp_build_insert_soa_chan()
1097 …should_store_mask = LLVMBuildICmp(gallivm->builder, LLVMIntNE, should_store_mask, lp_build_const_i… in lp_build_store_rgba_soa()
Dlp_bld_sample_soa.c2315 LLVMValueRef v_mask = LLVMBuildICmp(builder, LLVMIntSLE, v_val, v1, ""); in lp_build_sample_aniso()
2347 LLVMValueRef u_mask = LLVMBuildICmp(builder, in lp_build_sample_aniso()
2363 LLVMValueRef q_mask = LLVMBuildICmp(builder, in lp_build_sample_aniso()
2441 u_mask = LLVMBuildICmp(builder, in lp_build_sample_aniso()
2462 v_mask = LLVMBuildICmp(builder, in lp_build_sample_aniso()
4599 cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, should_store_mask, in lp_build_do_atomic_soa()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm_sample.c126 …LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntULT, indices[2], lp_build_const_int32(g… in draw_llvm_texture_member()
223 …LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntULT, indices[2], lp_build_const_int32(g… in draw_llvm_image_member()
Ddraw_llvm.c1039 buffer_overflowed = LLVMBuildICmp(builder, LLVMIntUGE, in fetch_instanced()
1807 …LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, mask_vec, lp_build_const_int_vec(ga… in draw_gs_llvm_emit_vertex()
1819 …LLVMValueRef cnd = LLVMBuildICmp(builder, LLVMIntULT, stream_idx, lp_build_const_int32(gallivm, va… in draw_gs_llvm_emit_vertex()
1852 …LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, mask_vec, lp_build_const_int_vec(ga… in draw_gs_llvm_end_primitive()
2064 have_elts = LLVMBuildICmp(builder, LLVMIntNE, in draw_llvm_generate()
3279 …LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, mask_vec, lp_build_const_int_vec(ga… in draw_tcs_llvm_emit_store_output()
3296 …LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, mask_vec, lp_build_const_int_vec(ga… in draw_tcs_llvm_emit_store_output()
3451 LLVMValueRef cmp = LLVMBuildICmp(builder, LLVMIntEQ, loop_state[1].counter, in draw_tcs_llvm_generate()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_tex_sample.c136 LLVMBuildICmp(gallivm->builder, LLVMIntULT, in lp_llvm_texture_member()
286 …LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntULT, indices[2], lp_build_const_int32(g… in LP_LLVM_SAMPLER_MEMBER()
Dlp_state_cs.c257 LLVMValueRef cmp = LLVMBuildICmp(gallivm->builder, LLVMIntEQ, loop_state[3].counter, in generate_compute()
346 …LLVMValueRef has_partials = LLVMBuildICmp(gallivm->builder, LLVMIntNE, partials, lp_build_const_in… in generate_compute()
397 …LLVMValueRef subgroup_cmp = LLVMBuildICmp(gallivm->builder, LLVMIntEQ, num_subgroups, lp_build_con… in generate_compute()
405 …LLVMValueRef last_x_loop = LLVMBuildICmp(gallivm->builder, LLVMIntEQ, x_size_arg, LLVMBuildSub(gal… in generate_compute()
Dlp_state_fs_linear_llvm.c467 lp_build_if(&ifstate, gallivm, LLVMBuildICmp(builder, LLVMIntNE, excess, in llvmpipe_fs_variant_linear_llvm()
Dlp_state_setup.c183 LLVMValueRef front_facing = LLVMBuildICmp(b, LLVMIntEQ, facing, in lp_twoside()
Dlp_bld_depth.c1014 front_facing = LLVMBuildICmp(builder, LLVMIntNE, face, zero, ""); in lp_build_depth_stencil_test()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c541 LLVMBuildICmp(ctx->ac.builder, LLVMIntSLT, ac_get_arg(&ctx->ac, ctx->args->ac.prim_mask), in prepare_interp_optimize()
807 LLVMValueRef can_emit = LLVMBuildICmp(ctx->ac.builder, LLVMIntULT, tid, so_vtx_count, ""); in radv_emit_streamout()
1297 LLVMValueRef hs_empty = LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, count, ctx->ac.i32_0, ""); in ac_nir_fixup_ls_hs_input_vgprs()
1489 LLVMValueRef cond = LLVMBuildICmp(ctx.ac.builder, LLVMIntULT, thread_id, count, ""); in ac_translate_nir_to_llvm()

12