/third_party/mesa3d/src/amd/llvm/ |
D | ac_llvm_build.c | 807 sgn_ma = LLVMBuildSelect(builder, is_ma_positive, LLVMConstReal(f32, 1.0), in build_cube_select() 818 tmp = LLVMBuildSelect(builder, is_ma_x, coords[2], coords[0], ""); in build_cube_select() 819 sgn = LLVMBuildSelect( in build_cube_select() 821 LLVMBuildSelect(builder, is_ma_z, sgn_ma, LLVMBuildFNeg(builder, sgn_ma, ""), ""), ""); in build_cube_select() 825 tmp = LLVMBuildSelect(builder, is_ma_y, coords[2], coords[1], ""); in build_cube_select() 826 sgn = LLVMBuildSelect(builder, is_ma_y, sgn_ma, LLVMConstReal(f32, -1.0), ""); in build_cube_select() 830 tmp = LLVMBuildSelect(builder, is_ma_z, coords[2], in build_cube_select() 831 LLVMBuildSelect(builder, is_ma_y, coords[1], coords[0], ""), ""); in build_cube_select() 870 tmp = LLVMBuildSelect(builder, ge0, tmp, ctx->f32_0, ""); in ac_prepare_cube_coords() 1438 result = LLVMBuildSelect(ctx->builder, tmp, naninf, normal, ""); in ac_ufN_to_float() [all …]
|
D | ac_nir_to_llvm.c | 251 return LLVMBuildSelect(ctx->builder, src0, ac_to_integer_or_pointer(ctx, src1), in emit_bcsel() 285 LLVMBuildSelect(ctx->builder, ac_llvm_extract_elem(ctx, src0, 0), in emit_b2f() 287 LLVMBuildSelect(ctx->builder, ac_llvm_extract_elem(ctx, src0, 1), in emit_b2f() 292 return LLVMBuildSelect(ctx->builder, src0, ctx->f16_1, ctx->f16_0, ""); in emit_b2f() 294 return LLVMBuildSelect(ctx->builder, src0, ctx->f32_1, ctx->f32_0, ""); in emit_b2f() 296 return LLVMBuildSelect(ctx->builder, src0, ctx->f64_1, ctx->f64_0, ""); in emit_b2f() 313 return LLVMBuildSelect(ctx->builder, src0, ctx->i8_1, ctx->i8_0, ""); in emit_b2i() 315 return LLVMBuildSelect(ctx->builder, src0, ctx->i16_1, ctx->i16_0, ""); in emit_b2i() 317 return LLVMBuildSelect(ctx->builder, src0, ctx->i32_1, ctx->i32_0, ""); in emit_b2i() 319 return LLVMBuildSelect(ctx->builder, src0, ctx->i64_1, ctx->i64_0, ""); in emit_b2i() [all …]
|
D | ac_llvm_cull.c | 100 det = LLVMBuildSelect(builder, w->w_reflection, LLVMBuildFNeg(builder, det, ""), det, ""); in ac_cull_face()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_llvm_vs.c | 67 LLVMValueRef x = LLVMBuildSelect(ctx->ac.builder, sel_x1, x1, x2, ""); in load_input_vs() 68 LLVMValueRef y = LLVMBuildSelect(ctx->ac.builder, sel_y1, y1, y2, ""); in load_input_vs() 91 out[0] = LLVMBuildSelect(ctx->ac.builder, sel_x1, x1, x2, ""); in load_input_vs() 92 out[1] = LLVMBuildSelect(ctx->ac.builder, sel_y1, y1, y2, ""); in load_input_vs() 244 tmp = LLVMBuildSelect(ctx->ac.builder, clamp, neg_one, tmp, ""); in load_input_vs() 681 rates = LLVMBuildSelect(ctx->ac.builder, in si_llvm_build_vs_exports() 874 input_vgprs[i + 1] = LLVMBuildSelect(ctx->ac.builder, has_hs_threads, in si_llvm_build_vs_prolog() 985 return LLVMBuildSelect(ctx->ac.builder, indexed, ac_get_arg(&ctx->ac, ctx->args.base_vertex), in get_base_vertex()
|
D | si_shader_llvm_ps.c | 191 result[chan] = LLVMBuildSelect(ctx->ac.builder, is_face_positive, front, back, ""); in interp_fs_color() 695 tmp = LLVMBuildSelect(ctx->ac.builder, bc_optimize, center[i], centroid[i], ""); in si_llvm_build_ps_prolog() 708 tmp = LLVMBuildSelect(ctx->ac.builder, bc_optimize, center[i], centroid[i], ""); in si_llvm_build_ps_prolog()
|
D | si_shader_llvm_resources.c | 50 index = LLVMBuildSelect(builder, cc, index, c_max, ""); in si_llvm_bound_index()
|
D | gfx10_shader_ngg.c | 406 max_emit[buffer] = LLVMBuildSelect(builder, tmp2, ctx->ac.i32_0, tmp, ""); in build_streamout() 1121 num_primitives = LLVMBuildSelect(builder, in gfx10_emit_ngg_culling_epilogue() 1640 tmp = LLVMBuildSelect(builder, can_emit, tmp, vertexidx, ""); in gfx10_ngg_gs_emit_vertex() 1890 num_emit_threads = LLVMBuildSelect(builder, have_exports, num_emit_threads, ctx->ac.i32_0, ""); in gfx10_ngg_gs_emit_epilogue()
|
D | si_shader_llvm_gs.c | 630 vtx_out[i] = LLVMBuildSelect(builder, rotate, rotated, base, ""); in si_llvm_build_gs_prolog()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_setup.c | 198 attribv[0] = LLVMBuildSelect(b, front_facing, a0_back, attribv[0], ""); in lp_twoside() 199 attribv[1] = LLVMBuildSelect(b, front_facing, a1_back, attribv[1], ""); in lp_twoside() 200 attribv[2] = LLVMBuildSelect(b, front_facing, a2_back, attribv[2], ""); in lp_twoside() 260 max_value = LLVMBuildSelect(b, max, dzdx, dzdy, "max"); in lp_do_offset_tri()
|
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() 288 …indices[2] = LLVMBuildSelect(gallivm->builder, cond, indices[2], lp_build_const_int32(gallivm, ima… in LP_LLVM_SAMPLER_MEMBER()
|
D | lp_state_fs.c | 2172 chans[j] = LLVMBuildSelect(builder, mask, mask_val, chans[j], ""); in convert_from_blend_type()
|
/third_party/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 | 1134 *level0_out = LLVMBuildSelect(builder, clamp_min, in lp_build_linear_mip_levels() 1137 *level1_out = LLVMBuildSelect(builder, clamp_min, in lp_build_linear_mip_levels() 1140 *lod_fpart_inout = LLVMBuildSelect(builder, clamp_min, in lp_build_linear_mip_levels() 1148 *level0_out = LLVMBuildSelect(builder, clamp_max, in lp_build_linear_mip_levels() 1151 *level1_out = LLVMBuildSelect(builder, clamp_max, in lp_build_linear_mip_levels() 1154 *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 | 566 result = LLVMBuildSelect(builder, cond, bld_base->base.zero, result, ""); in do_quantize_to_f16()
|
D | lp_bld_nir_soa.c | 304 real_val = LLVMBuildSelect(builder, scalar_pred, val, dst_val, ""); in emit_mask_scatter()
|
/third_party/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 | 1834 … indices[i] = LLVMBuildSelect(builder, LLVMBuildExtractElement(builder, cond, ind, ""), indices[i], in draw_gs_llvm_emit_vertex() 2158 buffer_size_adj[j] = LLVMBuildSelect(builder, ofbit, bld.zero, in draw_llvm_generate()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_nir_to_llvm.c | 638 alpha = LLVMBuildSelect(ctx->ac.builder, clamp, neg_one, alpha, ""); in adjust_vertex_fetch_alpha() 852 LLVMBuildSelect(ctx->ac.builder, sel, ac_get_arg(&ctx->ac, ctx->args->ac.persp_center), in prepare_interp_optimize() 855 LLVMBuildSelect(ctx->ac.builder, sel, ac_get_arg(&ctx->ac, ctx->args->ac.linear_center), in prepare_interp_optimize() 1001 values[i] = LLVMBuildSelect(ctx->ac.builder, isnan, ctx->ac.f32_0, values[i], ""); in si_llvm_init_export_args() 1321 v = LLVMBuildSelect(ctx->ac.builder, cond, rates, ctx->ac.i32_0, ""); in radv_llvm_export_vs() 1873 num_emit_threads = LLVMBuildSelect(builder, have_exports, num_emit_threads, ctx->ac.i32_0, ""); in gfx10_ngg_gs_emit_epilogue_2() 2339 LLVMBuildSelect(ctx->ac.builder, hs_empty, ac_get_arg(&ctx->ac, ctx->args->ac.vertex_id), in ac_nir_fixup_ls_hs_input_vgprs() 2342 LLVMBuildSelect(ctx->ac.builder, hs_empty, ac_get_arg(&ctx->ac, ctx->args->ac.tcs_rel_ids), in ac_nir_fixup_ls_hs_input_vgprs() 2345 LLVMBuildSelect(ctx->ac.builder, hs_empty, ac_get_arg(&ctx->ac, ctx->args->ac.tcs_patch_id), in ac_nir_fixup_ls_hs_input_vgprs()
|
/third_party/ltp/tools/sparse/sparse-src/ |
D | sparse-llvm.c | 764 target = LLVMBuildSelect(fn->builder, src1, src2, src3, name); in output_op_sel()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/ |
D | Core.h | 3893 LLVMValueRef LLVMBuildSelect(LLVMBuilderRef, LLVMValueRef If,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Core.cpp | 3858 LLVMValueRef LLVMBuildSelect(LLVMBuilderRef B, LLVMValueRef If, in LLVMBuildSelect() function
|