/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | gfx10_shader_ngg.c | 331 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 …]
|
D | si_shader_llvm_vs.c | 50 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()
|
D | si_shader_llvm_gs.c | 35 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()
|
D | si_shader_llvm_tess.c | 309 LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, invocation_id, ctx->ac.i32_0, ""), 6503); in si_write_tess_factors() 393 … LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, rel_patch_id, ctx->ac.i32_0, ""), 6504); in si_write_tess_factors()
|
D | si_shader_llvm_resources.c | 49 cc = LLVMBuildICmp(builder, LLVMIntULE, index, c_max, ""); in si_llvm_bound_index()
|
D | si_shader_llvm.c | 598 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/ |
D | ac_llvm_build.c | 536 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 …]
|
D | ac_nir_to_llvm.c | 155 return LLVMBuildICmp(ctx->builder, pred, src0, src1, ""); in emit_int_cmp() 331 return LLVMBuildICmp(ctx->builder, LLVMIntNE, src0, zero, ""); in emit_i2b() 512 … LLVMBuildICmp(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/ |
D | SkSLJIT.cpp | 601 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/ |
D | lp_bld_flow.c | 144 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()
|
D | lp_bld_nir_soa.c | 854 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 …]
|
D | lp_bld_logic.c | 158 cond = LLVMBuildICmp(builder, op, a, b, ""); in lp_build_compare_ext() 518 return LLVMBuildICmp(builder, LLVMIntNE, in lp_build_any_true_range()
|
D | lp_bld_ir_common.c | 317 i1cond = LLVMBuildICmp( in lp_exec_endloop() 324 i2cond = LLVMBuildICmp( in lp_exec_endloop()
|
D | lp_bld_coro.c | 211 …LLVMValueRef not_alloced = LLVMBuildICmp(gallivm->builder, LLVMIntEQ, alloced_ptr, LLVMConstNull(m… in lp_build_coro_alloc_mem_array()
|
D | lp_bld_bitarit.c | 279 return LLVMBuildSelect(builder, LLVMBuildICmp(builder, LLVMIntEQ, a, bld->zero, ""), in lp_build_cttz()
|
D | lp_bld_format_soa.c | 901 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()
|
D | lp_bld_sample_soa.c | 2315 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/ |
D | draw_llvm_sample.c | 126 …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()
|
D | draw_llvm.c | 1039 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/ |
D | lp_tex_sample.c | 136 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()
|
D | lp_state_cs.c | 257 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()
|
D | lp_state_fs_linear_llvm.c | 467 lp_build_if(&ifstate, gallivm, LLVMBuildICmp(builder, LLVMIntNE, excess, in llvmpipe_fs_variant_linear_llvm()
|
D | lp_state_setup.c | 183 LLVMValueRef front_facing = LLVMBuildICmp(b, LLVMIntEQ, facing, in lp_twoside()
|
D | lp_bld_depth.c | 1014 front_facing = LLVMBuildICmp(builder, LLVMIntNE, face, zero, ""); in lp_build_depth_stencil_test()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_nir_to_llvm.c | 541 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()
|