/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | gfx10_shader_ngg.c | 317 tmp = LLVMBuildICmp(builder, LLVMIntEQ, get_wave_id_in_tg(ctx), ctx->ac.i32_0, ""); in build_streamout() 327 tmp = LLVMBuildICmp(builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), i32_4, ""); in build_streamout() 401 tmp2 = LLVMBuildICmp(builder, LLVMIntULT, bufsize_dw, offset_dw, ""); in build_streamout() 431 tmp = LLVMBuildICmp(builder, LLVMIntULT, emit, generated, ""); in build_streamout() 448 tmp = LLVMBuildICmp(builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), i32_4, ""); in build_streamout() 519 tmp = LLVMBuildICmp(builder, LLVMIntULT, primemit_scan[stream].result_exclusive, in build_streamout() 528 tmp = LLVMBuildICmp(builder, LLVMIntULT, LLVMConstInt(ctx->ac.i32, i, false), in build_streamout() 670 ac_build_ifcc(&ctx->ac, LLVMBuildICmp(builder, LLVMIntEQ, tid, ctx->ac.i32_0, ""), 17771); in load_bitmasks_2x64() 802 LLVMBuildICmp(builder, LLVMIntULT, get_thread_id_in_tg(ctx), in gfx10_emit_ngg_culling_epilogue() 941 LLVMBuildICmp(builder, LLVMIntNE, es_accepted_flag, ctx->ac.i8_0, ""); in gfx10_emit_ngg_culling_epilogue() [all …]
|
D | si_compute_prim_discard.c | 281 ac_build_ifcc(&ctx->ac, LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, thread_id, ctx->ac.i32_0, ""), in si_enter_thread0_section() 513 LLVMValueRef not_reset = LLVMBuildICmp(builder, LLVMIntNE, index[i], in si_build_prim_discard_compute_shader() 569 is_first_wave = LLVMBuildICmp(builder, LLVMIntEQ, prim_id, ctx->ac.i32_0, ""); in si_build_prim_discard_compute_shader() 573 LLVMBuildICmp(builder, LLVMIntNE, last_strip_start, ctx->ac.i32_0, ""); in si_build_prim_discard_compute_shader() 620 LLVMBuildICmp(builder, LLVMIntEQ, strip_start, ctx->ac.i32_0, ""); in si_build_prim_discard_compute_shader() 718 LLVMBuildICmp(builder, LLVMIntEQ, global_thread_id, vertex_counter, ""); in si_build_prim_discard_compute_shader() 758 LLVMBuildICmp(builder, LLVMIntEQ, global_thread_id, in si_build_prim_discard_compute_shader()
|
D | si_shader_llvm_vs.c | 49 LLVMBuildICmp(ctx->ac.builder, LLVMIntULE, vertex_id, ctx->ac.i32_1, ""); in load_input_vs() 53 LLVMValueRef sel_y1 = LLVMBuildICmp(ctx->ac.builder, LLVMIntNE, vertex_id, ctx->ac.i32_1, ""); in load_input_vs() 309 LLVMValueRef can_emit = LLVMBuildICmp(builder, LLVMIntULT, tid, so_vtx_count, ""); in si_llvm_emit_streamout() 831 LLVMBuildICmp(ctx->ac.builder, LLVMIntNE, in si_llvm_build_vs_prolog() 881 LLVMValueRef flatshade_first = LLVMBuildICmp( in si_llvm_build_vs_prolog()
|
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() 270 LLVMBuildICmp(ctx->ac.builder, LLVMIntULT, gs_next_vertex, in si_llvm_emit_vertex()
|
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 | 699 LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, invocation_id, ctx->ac.i32_0, ""), 6503); in si_write_tess_factors() 780 LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, rel_patch_id, ctx->ac.i32_0, ""), 6504); in si_write_tess_factors()
|
D | si_shader_llvm.c | 624 ena = LLVMBuildICmp(builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), count, ""); in si_build_wrapper_function()
|
/external/mesa3d/src/amd/llvm/ |
D | ac_llvm_build.c | 493 return LLVMBuildICmp(ctx->builder, LLVMIntEQ, vote_set, active_set, ""); in ac_build_vote_all() 499 return LLVMBuildICmp(ctx->builder, LLVMIntNE, vote_set, LLVMConstInt(ctx->iN_wavemask, 0, 0), in ac_build_vote_any() 508 LLVMValueRef all = LLVMBuildICmp(ctx->builder, LLVMIntEQ, vote_set, active_set, ""); in ac_build_vote_eq() 510 LLVMBuildICmp(ctx->builder, LLVMIntEQ, vote_set, LLVMConstInt(ctx->iN_wavemask, 0, 0), ""); in ac_build_vote_eq() 1392 tmp = LLVMBuildICmp(ctx->builder, LLVMIntUGE, src, in ac_ufN_to_float() 1396 tmp = LLVMBuildICmp(ctx->builder, LLVMIntUGE, src, LLVMConstInt(ctx->i32, 1 << mant_bits, false), in ac_ufN_to_float() 1400 tmp = LLVMBuildICmp(ctx->builder, LLVMIntNE, src, ctx->i32_0, ""); in ac_ufN_to_float() 1846 LLVMBuildOr(ctx->builder, LLVMBuildICmp(ctx->builder, LLVMIntEQ, arg, ctx->i32_0, ""), in ac_build_imsb() 1847 LLVMBuildICmp(ctx->builder, LLVMIntEQ, arg, all_ones, ""), ""); in ac_build_imsb() 1909 return LLVMBuildSelect(ctx->builder, LLVMBuildICmp(ctx->builder, LLVMIntEQ, arg, zero, ""), in ac_build_umsb() [all …]
|
D | ac_nir_to_llvm.c | 149 return LLVMBuildICmp(ctx->builder, pred, src0, src1, ""); in emit_int_cmp() 325 return LLVMBuildICmp(ctx->builder, LLVMIntNE, src0, zero, ""); in emit_i2b() 502 LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, value, scalar_value, "uniform_active"); in enter_waterfall() 543 LLVMBuildICmp(ctx->ac.builder, LLVMIntNE, cc, ctx->ac.i32_0, "uniform_active2"); in exit_waterfall() 1277 wa_8888 = LLVMBuildICmp(ctx->builder, LLVMIntEQ, data_format, in lower_gather4_integer() 1314 unnorm = LLVMBuildICmp(ctx->builder, LLVMIntEQ, sampler0, ctx->i32_1, ""); in lower_gather4_integer() 1762 LLVMValueRef cond = LLVMBuildICmp(ctx->ac.builder, LLVMIntULT, offset, size, ""); in emit_ssbo_comp_swap_64() 2366 ctx->ac.builder, LLVMBuildICmp(ctx->ac.builder, LLVMIntUGT, elem_count, stride, ""), in get_image_buffer_descriptor() 3796 LLVMValueRef cond = LLVMBuildICmp(ctx->ac.builder, LLVMIntULT, offset, size, ""); in visit_intrinsic() 4134 is_msaa = LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, is_msaa, in visit_tex() [all …]
|
/external/skqp/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 …]
|
/external/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_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_nir_soa.c | 796 LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, exec_mask, uint_bld->zero, ""); in emit_load_global() 860 LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, exec_mask, uint_bld->zero, ""); in emit_store_global() 896 cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, exec_mask, uint_bld->zero, ""); in emit_atomic_global() 1055 cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, exec_mask, uint_bld->zero, ""); in emit_load_mem() 1138 cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, exec_mask, uint_bld->zero, ""); in emit_store_mem() 1199 cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, exec_mask, uint_bld->zero, ""); in emit_atomic_mem() 1780 …LLVMValueRef outer_cond = LLVMBuildICmp(builder, LLVMIntNE, exec_mask, bld_base->uint_bld.zero, ""… in emit_vote() 1814 LLVMValueRef tmp = LLVMBuildICmp(builder, LLVMIntEQ, init_val, value_ptr, ""); in emit_vote() 1896 cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, exec_mask, uint_bld->zero, ""); in emit_load_scratch() 1965 cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, exec_mask, uint_bld->zero, ""); in emit_store_scratch()
|
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() 1083 …should_store_mask = LLVMBuildICmp(gallivm->builder, LLVMIntNE, should_store_mask, lp_build_const_i… in lp_build_store_rgba_soa()
|
D | lp_bld_sample.c | 1030 clamp_min = LLVMBuildICmp(builder, LLVMIntSLT, in lp_build_linear_mip_levels() 1044 clamp_max = LLVMBuildICmp(builder, LLVMIntSGE, in lp_build_linear_mip_levels()
|
D | lp_bld_sample_aos.c | 1019 need_lerp = LLVMBuildICmp(builder, LLVMIntSGT, in lp_build_sample_mipmap()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_nir_to_llvm.c | 1307 LLVMValueRef sel = LLVMBuildICmp(ctx->ac.builder, LLVMIntSLT, in prepare_interp_optimize() 1629 LLVMValueRef can_emit = LLVMBuildICmp(ctx->ac.builder, LLVMIntULT, in radv_emit_streamout() 2381 cond = LLVMBuildICmp(builder, LLVMIntEQ, get_wave_id_in_tg(ctx), ctx->ac.i32_0, ""); in build_streamout() 2391 cond = LLVMBuildICmp(builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), i32_4, ""); in build_streamout() 2480 cond = LLVMBuildICmp(builder, LLVMIntULT, in build_streamout() 2521 cond = LLVMBuildICmp(builder, LLVMIntULT, emit, generated, ""); in build_streamout() 2540 cond = LLVMBuildICmp(builder, LLVMIntULT, ac_get_thread_id(&ctx->ac), i32_4, ""); in build_streamout() 2613 cond = LLVMBuildICmp(builder, LLVMIntULT, in build_streamout() 2624 cond = LLVMBuildICmp(builder, LLVMIntULT, in build_streamout() 2712 LLVMValueRef is_gs_thread = LLVMBuildICmp(builder, LLVMIntULT, in handle_ngg_outputs_post_2() [all …]
|
/external/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 | 1033 buffer_overflowed = LLVMBuildICmp(builder, LLVMIntUGE, in fetch_instanced() 1804 …LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, mask_vec, lp_build_const_int_vec(ga… in draw_gs_llvm_emit_vertex() 1816 …LLVMValueRef cnd = LLVMBuildICmp(builder, LLVMIntULT, stream_idx, lp_build_const_int32(gallivm, va… in draw_gs_llvm_emit_vertex() 1844 …LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, mask_vec, lp_build_const_int_vec(ga… in draw_gs_llvm_end_primitive() 2053 have_elts = LLVMBuildICmp(builder, LLVMIntNE, in draw_llvm_generate() 3249 …LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, mask_vec, lp_build_const_int_vec(ga… in draw_tcs_llvm_emit_store_output() 3266 …LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntNE, mask_vec, lp_build_const_int_vec(ga… in draw_tcs_llvm_emit_store_output() 3414 LLVMValueRef cmp = LLVMBuildICmp(builder, LLVMIntEQ, loop_state[1].counter, in draw_tcs_llvm_generate()
|
/external/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() 286 …LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntULT, indices[2], lp_build_const_int32(g… in LP_LLVM_SAMPLER_MEMBER()
|
D | lp_state_cs.c | 245 LLVMValueRef cmp = LLVMBuildICmp(gallivm->builder, LLVMIntEQ, loop_state[3].counter, in generate_compute() 322 …LLVMValueRef has_partials = LLVMBuildICmp(gallivm->builder, LLVMIntNE, partials, lp_build_const_in… in generate_compute() 355 …LLVMValueRef last_x_loop = LLVMBuildICmp(gallivm->builder, LLVMIntEQ, x_size_arg, LLVMBuildSub(gal… in generate_compute()
|
D | lp_bld_depth.c | 1009 front_facing = LLVMBuildICmp(builder, LLVMIntNE, face, zero, ""); in lp_build_depth_stencil_test()
|
/external/llvm/tools/llvm-c-test/ |
D | echo.cpp | 590 Dst = LLVMBuildICmp(Builder, Pred, LHS, RHS, Name); in CloneInstruction()
|