Home
last modified time | relevance | path

Searched refs:LLVMBuildSelect (Results 1 – 25 of 31) sorted by relevance

12

/external/mesa3d/src/amd/llvm/
Dac_llvm_build.c758 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 …]
Dac_nir_to_llvm.c248 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 …]
Dac_llvm_cull.c101 det = LLVMBuildSelect(builder, w->w_reflection, LLVMBuildFNeg(builder, det, ""), det, ""); in ac_cull_face()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_vs.c66 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()
Dsi_shader_llvm_resources.c50 index = LLVMBuildSelect(builder, cc, index, c_max, ""); in si_llvm_bound_index()
Dsi_shader_llvm_ps.c191 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()
Dsi_compute_prim_discard.c607 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()
Dsi_shader_llvm_gs.c653 vtx_out[i] = LLVMBuildSelect(builder, rotate, rotated, base, ""); in si_llvm_build_gs_prolog()
Dgfx10_shader_ngg.c402 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/
Dlp_bld_logic.c321 res = LLVMBuildSelect(builder, mask, a, b, ""); in lp_build_select()
349 res = LLVMBuildSelect(builder, mask, a, b, ""); in lp_build_select()
Dlp_bld_sample.c1034 *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()
Dlp_bld_bitarit.c279 return LLVMBuildSelect(builder, LLVMBuildICmp(builder, LLVMIntEQ, a, bld->zero, ""), in lp_build_cttz()
Dlp_bld_format_soa.c902 chan = LLVMBuildSelect(builder, mask, mask_val, chan, ""); in lp_build_insert_soa_chan()
Dlp_bld_tgsi_action.c817 emit_data->output[emit_data->chan] = LLVMBuildSelect(builder, in fmax_emit()
830 emit_data->output[emit_data->chan] = LLVMBuildSelect(builder, in fmin_emit()
Dlp_bld_nir.c518 result = LLVMBuildSelect(builder, cond, bld_base->base.zero, result, ""); in do_quantize_to_f16()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm_sample.c127 …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()
Ddraw_llvm.c1811 … 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/
Dlp_tex_sample.c135 …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()
Dlp_state_setup.c197 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/
Dradv_nir_to_llvm.c1070 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/
DCore.h3077 LLVMValueRef LLVMBuildSelect(LLVMBuilderRef, LLVMValueRef If,
/external/llvm-project/llvm/include/llvm-c/
DCore.h3930 LLVMValueRef LLVMBuildSelect(LLVMBuilderRef, LLVMValueRef If,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h3893 LLVMValueRef LLVMBuildSelect(LLVMBuilderRef, LLVMValueRef If,
/external/llvm-project/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c2396 return LLVMBuildSelect(Builder_val(B), If, Then, Else, String_val(Name)); in llvm_build_select()
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c2281 return LLVMBuildSelect(Builder_val(B), If, Then, Else, String_val(Name)); in llvm_build_select()

12