/external/mesa3d/src/amd/llvm/ |
D | ac_llvm_build.c | 758 sgn_ma = LLVMBuildSelect(builder, is_ma_positive, LLVMConstReal(f32, 1.0), in build_cube_select() 769 tmp = LLVMBuildSelect(builder, is_ma_x, coords[2], coords[0], ""); in build_cube_select() 770 sgn = LLVMBuildSelect( in build_cube_select() 772 LLVMBuildSelect(builder, is_ma_z, sgn_ma, LLVMBuildFNeg(builder, sgn_ma, ""), ""), ""); in build_cube_select() 776 tmp = LLVMBuildSelect(builder, is_ma_y, coords[2], coords[1], ""); in build_cube_select() 777 sgn = LLVMBuildSelect(builder, is_ma_y, sgn_ma, LLVMConstReal(f32, -1.0), ""); in build_cube_select() 781 tmp = LLVMBuildSelect(builder, is_ma_z, coords[2], in build_cube_select() 782 LLVMBuildSelect(builder, is_ma_y, coords[1], coords[0], ""), ""); in build_cube_select() 821 tmp = LLVMBuildSelect(builder, ge0, tmp, ctx->f32_0, ""); in ac_prepare_cube_coords() 1394 result = LLVMBuildSelect(ctx->builder, tmp, naninf, normal, ""); in ac_ufN_to_float() [all …]
|
D | ac_nir_to_llvm.c | 248 return LLVMBuildSelect(ctx->builder, src0, ac_to_integer_or_pointer(ctx, src1), in emit_bcsel() 282 LLVMBuildSelect(ctx->builder, ac_llvm_extract_elem(ctx, src0, 0), in emit_b2f() 284 LLVMBuildSelect(ctx->builder, ac_llvm_extract_elem(ctx, src0, 1), in emit_b2f() 289 return LLVMBuildSelect(ctx->builder, src0, ctx->f16_1, ctx->f16_0, ""); in emit_b2f() 291 return LLVMBuildSelect(ctx->builder, src0, ctx->f32_1, ctx->f32_0, ""); in emit_b2f() 293 return LLVMBuildSelect(ctx->builder, src0, ctx->f64_1, ctx->f64_0, ""); in emit_b2f() 310 return LLVMBuildSelect(ctx->builder, src0, ctx->i8_1, ctx->i8_0, ""); in emit_b2i() 312 return LLVMBuildSelect(ctx->builder, src0, ctx->i16_1, ctx->i16_0, ""); in emit_b2i() 314 return LLVMBuildSelect(ctx->builder, src0, ctx->i32_1, ctx->i32_0, ""); in emit_b2i() 316 return LLVMBuildSelect(ctx->builder, src0, ctx->i64_1, ctx->i64_0, ""); in emit_b2i() [all …]
|
D | ac_llvm_cull.c | 101 det = LLVMBuildSelect(builder, w->w_reflection, LLVMBuildFNeg(builder, det, ""), det, ""); in ac_cull_face()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_llvm_vs.c | 66 LLVMValueRef x = LLVMBuildSelect(ctx->ac.builder, sel_x1, x1, x2, ""); in load_input_vs() 67 LLVMValueRef y = LLVMBuildSelect(ctx->ac.builder, sel_y1, y1, y2, ""); in load_input_vs() 90 out[0] = LLVMBuildSelect(ctx->ac.builder, sel_x1, x1, x2, ""); in load_input_vs() 91 out[1] = LLVMBuildSelect(ctx->ac.builder, sel_y1, y1, y2, ""); in load_input_vs() 216 tmp = LLVMBuildSelect(ctx->ac.builder, clamp, neg_one, tmp, ""); in load_input_vs() 835 input_vgprs[i + 1] = LLVMBuildSelect(ctx->ac.builder, has_hs_threads, in si_llvm_build_vs_prolog() 1001 return LLVMBuildSelect(ctx->ac.builder, indexed, ac_get_arg(&ctx->ac, ctx->args.base_vertex), in get_base_vertex()
|
D | si_shader_llvm_resources.c | 50 index = LLVMBuildSelect(builder, cc, index, c_max, ""); in si_llvm_bound_index()
|
D | si_shader_llvm_ps.c | 191 result[chan] = LLVMBuildSelect(ctx->ac.builder, is_face_positive, front, back, ""); in interp_fs_color() 699 tmp = LLVMBuildSelect(ctx->ac.builder, bc_optimize, center[i], centroid[i], ""); in si_llvm_build_ps_prolog() 712 tmp = LLVMBuildSelect(ctx->ac.builder, bc_optimize, center[i], centroid[i], ""); in si_llvm_build_ps_prolog()
|
D | si_compute_prim_discard.c | 607 LLVMBuildSelect(builder, is_first_wave, ctx->ac.i32_0, prev_wave_state, ""); in si_build_prim_discard_compute_shader() 622 LLVMBuildSelect(builder, strip_start_is0, prev_wave_state, first_is_odd, ""); in si_build_prim_discard_compute_shader()
|
D | si_shader_llvm_gs.c | 653 vtx_out[i] = LLVMBuildSelect(builder, rotate, rotated, base, ""); in si_llvm_build_gs_prolog()
|
D | gfx10_shader_ngg.c | 402 max_emit[buffer] = LLVMBuildSelect(builder, tmp2, ctx->ac.i32_0, tmp, ""); in build_streamout() 1551 tmp = LLVMBuildSelect(builder, can_emit, tmp, vertexidx, ""); in gfx10_ngg_gs_emit_vertex() 1803 num_emit_threads = LLVMBuildSelect(builder, have_exports, num_emit_threads, ctx->ac.i32_0, ""); in gfx10_ngg_gs_emit_epilogue()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_logic.c | 321 res = LLVMBuildSelect(builder, mask, a, b, ""); in lp_build_select() 349 res = LLVMBuildSelect(builder, mask, a, b, ""); in lp_build_select()
|
D | lp_bld_sample.c | 1034 *level0_out = LLVMBuildSelect(builder, clamp_min, in lp_build_linear_mip_levels() 1037 *level1_out = LLVMBuildSelect(builder, clamp_min, in lp_build_linear_mip_levels() 1040 *lod_fpart_inout = LLVMBuildSelect(builder, clamp_min, in lp_build_linear_mip_levels() 1048 *level0_out = LLVMBuildSelect(builder, clamp_max, in lp_build_linear_mip_levels() 1051 *level1_out = LLVMBuildSelect(builder, clamp_max, in lp_build_linear_mip_levels() 1054 *lod_fpart_inout = LLVMBuildSelect(builder, clamp_max, in lp_build_linear_mip_levels()
|
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 | 902 chan = LLVMBuildSelect(builder, mask, mask_val, chan, ""); in lp_build_insert_soa_chan()
|
D | lp_bld_tgsi_action.c | 817 emit_data->output[emit_data->chan] = LLVMBuildSelect(builder, in fmax_emit() 830 emit_data->output[emit_data->chan] = LLVMBuildSelect(builder, in fmin_emit()
|
D | lp_bld_nir.c | 518 result = LLVMBuildSelect(builder, cond, bld_base->base.zero, result, ""); in do_quantize_to_f16()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm_sample.c | 127 …indices[2] = LLVMBuildSelect(gallivm->builder, cond, indices[2], lp_build_const_int32(gallivm, tex… in draw_llvm_texture_member() 224 …indices[2] = LLVMBuildSelect(gallivm->builder, cond, indices[2], lp_build_const_int32(gallivm, ima… in draw_llvm_image_member()
|
D | draw_llvm.c | 1811 … indices[i] = LLVMBuildSelect(builder, LLVMBuildExtractElement(builder, cond, ind, ""), indices[i], in draw_gs_llvm_emit_vertex() 2129 buffer_size_adj[j] = LLVMBuildSelect(builder, ofbit, bld.zero, in draw_llvm_generate()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_tex_sample.c | 135 …indices[2] = LLVMBuildSelect(gallivm->builder, cond, indices[2], lp_build_const_int32(gallivm, tex… in lp_llvm_texture_member() 287 …indices[2] = LLVMBuildSelect(gallivm->builder, cond, indices[2], lp_build_const_int32(gallivm, ima… in LP_LLVM_SAMPLER_MEMBER()
|
D | lp_state_setup.c | 197 attribv[0] = LLVMBuildSelect(b, front_facing, a0_back, attribv[0], ""); in lp_twoside() 198 attribv[1] = LLVMBuildSelect(b, front_facing, a1_back, attribv[1], ""); in lp_twoside() 199 attribv[2] = LLVMBuildSelect(b, front_facing, a2_back, attribv[2], ""); in lp_twoside() 261 max_value = LLVMBuildSelect(b, max, dzdx, dzdy, "max"); in lp_do_offset_tri()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_nir_to_llvm.c | 1070 alpha = LLVMBuildSelect(ctx->ac.builder, clamp, neg_one, alpha, ""); in adjust_vertex_fetch_alpha() 1311 LLVMBuildSelect(ctx->ac.builder, sel, in prepare_interp_optimize() 1315 LLVMBuildSelect(ctx->ac.builder, sel, in prepare_interp_optimize() 1493 values[i] = LLVMBuildSelect(ctx->ac.builder, isnan, in si_llvm_init_export_args() 2482 max_emit[buffer] = LLVMBuildSelect(builder, cond, in build_streamout() 3079 LLVMBuildSelect(builder, have_exports, num_emit_threads, ctx->ac.i32_0, ""); in gfx10_ngg_gs_emit_epilogue_2() 3139 prim.index[1] = LLVMBuildSelect(builder, is_odd, in gfx10_ngg_gs_emit_epilogue_2() 3141 prim.index[2] = LLVMBuildSelect(builder, is_odd, in gfx10_ngg_gs_emit_epilogue_2() 3760 ctx->abi.instance_id = LLVMBuildSelect(ctx->ac.builder, hs_empty, in ac_nir_fixup_ls_hs_input_vgprs() 3763 ctx->rel_auto_id = LLVMBuildSelect(ctx->ac.builder, hs_empty, in ac_nir_fixup_ls_hs_input_vgprs() [all …]
|
/external/llvm/include/llvm-c/ |
D | Core.h | 3077 LLVMValueRef LLVMBuildSelect(LLVMBuilderRef, LLVMValueRef If,
|
/external/llvm-project/llvm/include/llvm-c/ |
D | Core.h | 3930 LLVMValueRef LLVMBuildSelect(LLVMBuilderRef, LLVMValueRef If,
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/ |
D | Core.h | 3893 LLVMValueRef LLVMBuildSelect(LLVMBuilderRef, LLVMValueRef If,
|
/external/llvm-project/llvm/bindings/ocaml/llvm/ |
D | llvm_ocaml.c | 2396 return LLVMBuildSelect(Builder_val(B), If, Then, Else, String_val(Name)); in llvm_build_select()
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm_ocaml.c | 2281 return LLVMBuildSelect(Builder_val(B), If, Then, Else, String_val(Name)); in llvm_build_select()
|