/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | gfx10_shader_ngg.c | 321 tmp = LLVMBuildICmp(builder, LLVMIntEQ, get_wave_id_in_tg(ctx), ctx->ac.i32_0, ""); in build_streamout() 331 tmp = LLVMBuildICmp(builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), i32_4, ""); in build_streamout() 405 tmp2 = LLVMBuildICmp(builder, LLVMIntULT, bufsize_dw, offset_dw, ""); in build_streamout() 435 tmp = LLVMBuildICmp(builder, LLVMIntULT, emit, generated, ""); in build_streamout() 452 tmp = LLVMBuildICmp(builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), i32_4, ""); in build_streamout() 529 tmp = LLVMBuildICmp(builder, LLVMIntULT, primemit_scan[stream].result_exclusive, in build_streamout() 538 tmp = LLVMBuildICmp(builder, LLVMIntULT, LLVMConstInt(ctx->ac.i32, i, false), in build_streamout() 681 ac_build_ifcc(&ctx->ac, LLVMBuildICmp(builder, LLVMIntULT, tid, in load_vertex_counts() 1031 accepted = LLVMBuildICmp(builder, LLVMIntNE, accepted, ctx->ac.i8_0, ""); in gfx10_emit_ngg_culling_epilogue() 1041 ac_build_ifcc(&ctx->ac, LLVMBuildICmp(builder, LLVMIntEQ, tid, ctx->ac.i32_0, ""), 16008); in gfx10_emit_ngg_culling_epilogue() [all …]
|
D | si_shader_llvm_gs.c | 33 return LLVMBuildICmp(ctx->ac.builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), in si_is_es_thread() 40 return LLVMBuildICmp(ctx->ac.builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), in si_is_gs_thread() 256 LLVMBuildICmp(ctx->ac.builder, LLVMIntULT, gs_next_vertex, in si_llvm_emit_vertex()
|
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() 336 LLVMValueRef can_emit = LLVMBuildICmp(builder, LLVMIntULT, tid, so_vtx_count, ""); in si_llvm_emit_streamout() 870 LLVMBuildICmp(ctx->ac.builder, LLVMIntNE, in si_llvm_build_vs_prolog()
|
D | si_shader_llvm_resources.c | 49 cc = LLVMBuildICmp(builder, LLVMIntULE, index, c_max, ""); in si_llvm_bound_index()
|
D | si_shader_llvm_tess.c | 692 LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, invocation_id, ctx->ac.i32_0, ""), 6503); in si_write_tess_factors() 776 … LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, rel_patch_id, ctx->ac.i32_0, ""), 6504); in si_write_tess_factors()
|
D | si_shader_llvm.c | 694 ena = LLVMBuildICmp(builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), count, ""); in si_build_wrapper_function() 773 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 | 528 return LLVMBuildICmp(ctx->builder, LLVMIntEQ, vote_set, active_set, ""); in ac_build_vote_all() 534 return LLVMBuildICmp(ctx->builder, LLVMIntNE, vote_set, LLVMConstInt(ctx->iN_wavemask, 0, 0), in ac_build_vote_any() 543 LLVMValueRef all = LLVMBuildICmp(ctx->builder, LLVMIntEQ, vote_set, active_set, ""); in ac_build_vote_eq() 545 LLVMBuildICmp(ctx->builder, LLVMIntEQ, vote_set, LLVMConstInt(ctx->iN_wavemask, 0, 0), ""); in ac_build_vote_eq() 1436 tmp = LLVMBuildICmp(ctx->builder, LLVMIntUGE, src, in ac_ufN_to_float() 1440 tmp = LLVMBuildICmp(ctx->builder, LLVMIntUGE, src, in ac_ufN_to_float() 1444 tmp = LLVMBuildICmp(ctx->builder, LLVMIntNE, src, ctx->i32_0, ""); in ac_ufN_to_float() 1852 LLVMBuildOr(ctx->builder, LLVMBuildICmp(ctx->builder, LLVMIntEQ, arg, ctx->i32_0, ""), in ac_build_imsb() 1853 LLVMBuildICmp(ctx->builder, LLVMIntEQ, arg, all_ones, ""), ""); in ac_build_imsb() 1915 return LLVMBuildSelect(ctx->builder, LLVMBuildICmp(ctx->builder, LLVMIntEQ, arg, zero, ""), in ac_build_umsb() [all …]
|
D | ac_nir_to_llvm.c | 152 return LLVMBuildICmp(ctx->builder, pred, src0, src1, ""); in emit_int_cmp() 328 return LLVMBuildICmp(ctx->builder, LLVMIntNE, src0, zero, ""); in emit_i2b() 509 … LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, comp, scalar_value[i], ""), ""); in enter_waterfall() 551 LLVMBuildICmp(ctx->ac.builder, LLVMIntNE, cc, ctx->ac.i32_0, "uniform_active2"); in exit_waterfall() 1397 wa_8888 = LLVMBuildICmp(ctx->builder, LLVMIntEQ, data_format, in lower_gather4_integer() 1434 unnorm = LLVMBuildICmp(ctx->builder, LLVMIntEQ, sampler0, ctx->i32_1, ""); in lower_gather4_integer() 1888 LLVMValueRef cond = LLVMBuildICmp(ctx->ac.builder, LLVMIntULT, offset, size, ""); in emit_ssbo_comp_swap_64() 2853 is_null_descriptor = LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, dword1, in visit_image_samples() 3515 cond = LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, x_rate, ctx->ac.i32_1, ""); in emit_load_frag_shading_rate() 3520 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() 267 cond = LLVMBuildICmp(builder, llvm_cond, next, end, ""); in lp_build_loop_end_cond() 363 cond = LLVMBuildICmp(builder, state->cond, state->counter, state->end, ""); in lp_build_for_loop_end()
|
D | lp_bld_nir_soa.c | 797 LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, exec_mask, uint_bld->zero, ""); in emit_load_global() 861 LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, exec_mask, uint_bld->zero, ""); in emit_store_global() 898 cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, exec_mask, uint_bld->zero, ""); in emit_atomic_global() 1058 LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, exec_mask, uint_bld->zero, ""); in emit_load_mem() 1089 …fetch_cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, do_fetch, lp_build_const_int32(gallivm, 0)… in emit_load_mem() 1147 LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, exec_mask, uint_bld->zero, ""); in emit_store_mem() 1183 …store_cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, do_store, lp_build_const_int32(gallivm, 0)… in emit_store_mem() 1219 LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, exec_mask, uint_bld->zero, ""); in emit_atomic_mem() 1259 …inner_cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, do_fetch, lp_build_const_int32(gallivm, 0)… in emit_atomic_mem() 1876 …LLVMValueRef outer_cond = LLVMBuildICmp(builder, LLVMIntNE, exec_mask, bld_base->uint_bld.zero, ""… in emit_vote() [all …]
|
D | lp_bld_logic.c | 158 cond = LLVMBuildICmp(builder, op, a, b, ""); in lp_build_compare_ext() 514 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 | 206 …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() 1093 …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 | 2310 LLVMValueRef v_mask = LLVMBuildICmp(builder, in lp_build_sample_aniso() 2342 LLVMValueRef u_mask = LLVMBuildICmp(builder, in lp_build_sample_aniso() 2356 LLVMValueRef q_mask = LLVMBuildICmp(builder, in lp_build_sample_aniso() 2433 u_mask = LLVMBuildICmp(builder, in lp_build_sample_aniso() 2454 v_mask = LLVMBuildICmp(builder, in lp_build_sample_aniso() 4545 …cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, should_store_mask, lp_build_const_int_vec(galliv… in lp_build_do_atomic_soa()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_nir_to_llvm.c | 849 LLVMBuildICmp(ctx->ac.builder, LLVMIntSLT, ac_get_arg(&ctx->ac, ctx->args->ac.prim_mask), in prepare_interp_optimize() 1122 LLVMValueRef can_emit = LLVMBuildICmp(ctx->ac.builder, LLVMIntULT, tid, so_vtx_count, ""); in radv_emit_streamout() 1576 LLVMBuildICmp(builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), prims_in_wave, ""); in handle_ngg_outputs_post_2() 1578 LLVMBuildICmp(builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), vtx_in_wave, ""); in handle_ngg_outputs_post_2() 1709 cond = LLVMBuildICmp(builder, LLVMIntULT, tid, LLVMConstInt(ctx->ac.i32, 4, false), ""); in gfx10_ngg_gs_emit_prologue() 1748 tmp = LLVMBuildICmp(builder, LLVMIntUGE, vertexidx, in gfx10_ngg_gs_emit_epilogue_1() 1774 tmp = LLVMBuildICmp(builder, LLVMIntEQ, ac_get_thread_id(&ctx->ac), ctx->ac.i32_0, ""); in gfx10_ngg_gs_emit_epilogue_1() 1803 tmp = LLVMBuildICmp(builder, LLVMIntULT, tid, LLVMConstInt(ctx->ac.i32, 4, false), ""); in gfx10_ngg_gs_emit_epilogue_2() 1828 tmp = LLVMBuildICmp(builder, LLVMIntULT, tid, num_emit_threads, ""); in gfx10_ngg_gs_emit_epilogue_2() 1836 tmp = LLVMBuildICmp(builder, LLVMIntULT, primidx, num_emit_threads, ""); in gfx10_ngg_gs_emit_epilogue_2() [all …]
|
/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 | 1056 buffer_overflowed = LLVMBuildICmp(builder, LLVMIntUGE, in fetch_instanced() 1827 …LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, mask_vec, lp_build_const_int_vec(ga… in draw_gs_llvm_emit_vertex() 1839 …LLVMValueRef cnd = LLVMBuildICmp(builder, LLVMIntULT, stream_idx, lp_build_const_int32(gallivm, va… in draw_gs_llvm_emit_vertex() 1871 …LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, mask_vec, lp_build_const_int_vec(ga… in draw_gs_llvm_end_primitive() 2082 have_elts = LLVMBuildICmp(builder, LLVMIntNE, in draw_llvm_generate() 3295 …LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, mask_vec, lp_build_const_int_vec(ga… in draw_tcs_llvm_emit_store_output() 3312 …LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, mask_vec, lp_build_const_int_vec(ga… in draw_tcs_llvm_emit_store_output() 3465 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 | 134 …LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntULT, indices[2], lp_build_const_int32(g… in lp_llvm_texture_member() 287 …LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntULT, indices[2], lp_build_const_int32(g… in LP_LLVM_SAMPLER_MEMBER()
|
D | lp_state_fs_linear_llvm.c | 473 …lp_build_if(&ifstate, gallivm, LLVMBuildICmp(builder, LLVMIntNE, excess, LLVMConstInt(int32t, 0, 0… in llvmpipe_fs_variant_linear_llvm()
|
D | lp_state_cs.c | 256 LLVMValueRef cmp = LLVMBuildICmp(gallivm->builder, LLVMIntEQ, loop_state[3].counter, in generate_compute() 345 …LLVMValueRef has_partials = LLVMBuildICmp(gallivm->builder, LLVMIntNE, partials, lp_build_const_in… in generate_compute() 382 …LLVMValueRef last_x_loop = LLVMBuildICmp(gallivm->builder, LLVMIntEQ, x_size_arg, LLVMBuildSub(gal… in generate_compute()
|
D | lp_state_setup.c | 186 LLVMValueRef front_facing = LLVMBuildICmp(b, LLVMIntEQ, facing, in lp_twoside()
|
D | lp_bld_depth.c | 1010 front_facing = LLVMBuildICmp(builder, LLVMIntNE, face, zero, ""); in lp_build_depth_stencil_test()
|