Home
last modified time | relevance | path

Searched refs:LLVMBuildExtractElement (Results 1 – 25 of 33) sorted by relevance

12

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir_soa.c243 index = LLVMBuildExtractElement(builder, in build_gather()
246 index = LLVMBuildExtractElement(builder, in build_gather()
290 LLVMValueRef index = LLVMBuildExtractElement(builder, indexes, ii, ""); in emit_mask_scatter()
292 LLVMValueRef val = LLVMBuildExtractElement(builder, values, ii, "scatter_val"); in emit_mask_scatter()
294 LLVMBuildExtractElement(builder, pred, ii, "scatter_pred") : NULL; in emit_mask_scatter()
744 offset = LLVMBuildExtractElement(builder, offset, lp_build_const_int32(gallivm, 0), ""); in emit_load_kernel_arg()
798 cond = LLVMBuildExtractElement(gallivm->builder, cond, loop_state.counter, ""); in emit_load_global()
801 LLVMValueRef addr_ptr = LLVMBuildExtractElement(gallivm->builder, addr, in emit_load_global()
837 LLVMValueRef value_ptr = LLVMBuildExtractElement(gallivm->builder, val, in emit_store_global()
840 LLVMValueRef addr_ptr = LLVMBuildExtractElement(gallivm->builder, addr, in emit_store_global()
[all …]
Dlp_bld_format_soa.c550 offsetr = LLVMBuildExtractElement(builder, offsetr, zero, ""); in lp_build_fetch_rgba_soa()
847 …rgba_out[k] = LLVMBuildExtractElement(gallivm->builder, fetch, lp_build_const_int32(gallivm, k), "… in lp_build_fetch_rgba_soa()
864 offset_elem = LLVMBuildExtractElement(builder, offset, in lp_build_fetch_rgba_soa()
867 i_elem = LLVMBuildExtractElement(builder, i, index, ""); in lp_build_fetch_rgba_soa()
868 j_elem = LLVMBuildExtractElement(builder, j, index, ""); in lp_build_fetch_rgba_soa()
1103 …LLVMValueRef cond = LLVMBuildExtractElement(gallivm->builder, should_store_mask, loop_state.counte… in lp_build_store_rgba_soa()
1106 … LLVMValueRef data = LLVMBuildExtractElement(gallivm->builder, packed[i], loop_state.counter, ""); in lp_build_store_rgba_soa()
1107 …LLVMValueRef this_offset = LLVMBuildExtractElement(gallivm->builder, store_offset, loop_state.coun… in lp_build_store_rgba_soa()
Dlp_bld_format_aos.c438 LLVMValueRef component = LLVMBuildExtractElement(builder, shifted, in lp_build_pack_rgba_aos()
874 args[2] = LLVMBuildExtractElement(builder, i, index, ""); in lp_build_fetch_rgba_aos()
875 args[3] = LLVMBuildExtractElement(builder, j, index, ""); in lp_build_fetch_rgba_aos()
975 args[2] = LLVMBuildExtractElement(builder, i, index, ""); in lp_build_fetch_rgba_aos()
976 args[3] = LLVMBuildExtractElement(builder, j, index, ""); in lp_build_fetch_rgba_aos()
Dlp_bld_intr.c352 return LLVMBuildExtractElement(builder, tmp, elems[0], ""); in lp_build_intrinsic_binary_anylength()
411 arg_elems[j] = LLVMBuildExtractElement(builder, args[j], index, ""); in lp_build_intrinsic_map()
Dlp_bld_format_s3tc.c255 *alpha_lo = LLVMBuildExtractElement(builder, elem, in lp_build_gather_s3tc()
257 *alpha_hi = LLVMBuildExtractElement(builder, elem, in lp_build_gather_s3tc()
259 *colors = LLVMBuildExtractElement(builder, elem, in lp_build_gather_s3tc()
261 *codewords = LLVMBuildExtractElement(builder, elem, in lp_build_gather_s3tc()
267 *colors = LLVMBuildExtractElement(builder, elem, in lp_build_gather_s3tc()
269 *codewords = LLVMBuildExtractElement(builder, elem, in lp_build_gather_s3tc()
2109 offsetx = LLVMBuildExtractElement(builder, offset, index, ""); in compressed_fetch_cached()
2112 block_indexx = LLVMBuildExtractElement(builder, block_index, index, ""); in compressed_fetch_cached()
2358 *red_lo = LLVMBuildExtractElement(builder, elem, in lp_build_gather_rgtc()
2360 *red_hi = LLVMBuildExtractElement(builder, elem, in lp_build_gather_rgtc()
[all …]
Dlp_bld_printf.c134 param = LLVMBuildExtractElement(builder, value, lp_build_const_int32(gallivm, i), ""); in lp_build_print_value()
Dlp_bld_sample.c624 rho_vec = LLVMBuildExtractElement(builder, rho_vec, index0, ""); in lp_build_rho()
635 rho_s = LLVMBuildExtractElement(builder, rho_vec, index0, ""); in lp_build_rho()
636 rho_t = LLVMBuildExtractElement(builder, rho_vec, index1, ""); in lp_build_rho()
641 rho_r = LLVMBuildExtractElement(builder, rho_vec, index2, ""); in lp_build_rho()
1207 indexes[1] = LLVMBuildExtractElement(builder, level, indexi, ""); in lp_build_get_mip_offsets()
1222 indexes[1] = LLVMBuildExtractElement(builder, level, indexi, ""); in lp_build_get_mip_offsets()
1325 indexes[1] = LLVMBuildExtractElement(builder, level, indexi, ""); in lp_build_get_level_stride_vec()
1341 indexes[1] = LLVMBuildExtractElement(builder, level, indexi, ""); in lp_build_get_level_stride_vec()
Dlp_bld_tgsi_soa.c594 index = LLVMBuildExtractElement(builder, in build_gather()
597 index = LLVMBuildExtractElement(builder, in build_gather()
642 LLVMValueRef index = LLVMBuildExtractElement(builder, indexes, ii, ""); in emit_mask_scatter()
644 LLVMValueRef val = LLVMBuildExtractElement(builder, values, ii, "scatter_val"); in emit_mask_scatter()
646 LLVMBuildExtractElement(builder, pred, ii, "scatter_pred") : NULL; in emit_mask_scatter()
3528 loop_index = LLVMBuildExtractElement(gallivm->builder, loop_index, in load_emit()
3532 cond = LLVMBuildExtractElement(gallivm->builder, cond, loop_state.counter, ""); in load_emit()
3645 LLVMValueRef value_ptr = LLVMBuildExtractElement(gallivm->builder, value, in store_emit()
3652 loop_index = LLVMBuildExtractElement(gallivm->builder, loop_index, in store_emit()
3656 cond = LLVMBuildExtractElement(gallivm->builder, cond, loop_state.counter, ""); in store_emit()
[all …]
Dlp_bld_swizzle.c144 res = LLVMBuildExtractElement(gallivm->builder, vector, index, ""); in lp_build_extract_broadcast()
787 return LLVMBuildExtractElement(gallivm->builder, src, shuffles[0], ""); in lp_build_pack_aos_scalars()
Dlp_bld_pack.c198 return LLVMBuildExtractElement(gallivm->builder, src, elems[0], ""); in lp_build_extract_range()
995 LLVMValueRef val = LLVMBuildExtractElement(builder, src[0], srcindex, ""); in lp_build_resize()
Dlp_bld_gather.c65 offset = LLVMBuildExtractElement(gallivm->builder, offsets, index, ""); in lp_build_gather_elem_ptr()
Dlp_bld_conv.c223 LLVMValueRef f32 = LLVMBuildExtractElement(builder, src, index, ""); in lp_build_float_to_half()
Dlp_bld_sample_soa.c4400 lod = LLVMBuildExtractElement(gallivm->builder, params->explicit_lod, in lp_build_size_query_soa()
4546 cond = LLVMBuildExtractElement(gallivm->builder, cond, loop_state.counter, ""); in lp_build_do_atomic_soa()
4549 LLVMValueRef data = LLVMBuildExtractElement(gallivm->builder, packed, loop_state.counter, ""); in lp_build_do_atomic_soa()
4550 …LLVMValueRef cast_base_ptr = LLVMBuildExtractElement(gallivm->builder, offset, loop_state.counter,… in lp_build_do_atomic_soa()
4555 …LLVMValueRef cas_src_ptr = LLVMBuildExtractElement(gallivm->builder, packed2, loop_state.counter, … in lp_build_do_atomic_soa()
Dlp_bld_sample_aos.c1167 lod_positive = LLVMBuildExtractElement(builder, lod_positive, in lp_build_sample_aos()
/third_party/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c133 value = LLVMBuildExtractElement(ctx->ac.builder, value, masks[0], ""); in get_alu_src()
425 comp[0] = LLVMBuildExtractElement(ctx->builder, src0, ctx->i32_0, ""); in emit_pack_2x16()
426 comp[1] = LLVMBuildExtractElement(ctx->builder, src0, ctx->i32_1, ""); in emit_pack_2x16()
1005 result = LLVMBuildExtractElement(ctx->ac.builder, result, ctx->ac.i32_0, ""); in visit_alu()
1117 result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_0, ""); in visit_alu()
1123 result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_1, ""); in visit_alu()
1152 result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_0, ""); in visit_alu()
1158 result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_1, ""); in visit_alu()
1192 result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_0, ""); in visit_alu()
1197 result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_1, ""); in visit_alu()
[all …]
Dac_llvm_build.c152 return LLVMBuildExtractElement(ac->builder, value, LLVMConstInt(ac->i32, index, false), ""); in ac_llvm_extract_elem()
457 vgpr0 = LLVMBuildExtractElement(builder, vgpr, ctx->i32_0, ""); in ac_build_optimization_barrier()
1166 v[i] = LLVMBuildExtractElement(ctx->builder, vdata, LLVMConstInt(ctx->i32, i, 0), ""); in ac_build_buffer_store_dword()
1541 loads[i] = LLVMBuildExtractElement(ctx->builder, loaded, tmp, ""); in ac_build_opencoded_load_format()
2324 samples = LLVMBuildExtractElement(ctx->builder, rsrc, LLVMConstInt(ctx->i32, 3, 0), ""); in ac_build_image_get_sample_count()
3294 return LLVMBuildExtractElement(ctx->builder, value, masks[0], ""); in ac_trim_vector()
3349 fmask_value = LLVMBuildExtractElement(ac->builder, fmask_value, ac->i32_0, ""); in ac_apply_fmask_to_sample()
3356 tmp = LLVMBuildExtractElement(ac->builder, tmp, ac->i32_1, ""); in ac_apply_fmask_to_sample()
3412 src = LLVMBuildExtractElement(ctx->builder, src_vector, LLVMConstInt(ctx->i32, i, 0), ""); in ac_build_readlane_common()
3467 LLVMValueRef mask_lo = LLVMBuildExtractElement(ctx->builder, mask_vec, ctx->i32_0, ""); in ac_build_mbcnt_add()
[all …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_setup.c255 dzdx = LLVMBuildExtractElement(b, dzdxdzdy, zeroi, ""); in lp_do_offset_tri()
256 dzdy = LLVMBuildExtractElement(b, dzdxdzdy, onei, ""); in lp_do_offset_tri()
284 LLVMBuildExtractElement(b, attribv[0], twoi, "")), in lp_do_offset_tri()
286 LLVMBuildExtractElement(b, attribv[1], twoi, ""))); in lp_do_offset_tri()
290 LLVMBuildExtractElement(b, attribv[2], twoi, "")), in lp_do_offset_tri()
589 e = LLVMBuildExtractElement(b, ef, zeroi, ""); in init_args()
590 f = LLVMBuildExtractElement(b, ef, onei, ""); in init_args()
Dlp_state_fs_linear_llvm.c506 elem = LLVMBuildExtractElement(builder, result, loop_write.counter, ""); in llvmpipe_fs_variant_linear_llvm()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c1294 val = LLVMBuildExtractElement(builder, cliptmp, linear_inds[i], ""); in store_aos_array()
1776 vert_chan_index = LLVMBuildExtractElement(builder, in draw_gs_llvm_fetch_input()
1780 attr_chan_index = LLVMBuildExtractElement(builder, in draw_gs_llvm_fetch_input()
1790 value = LLVMBuildExtractElement(builder, channel_vec, idx, ""); in draw_gs_llvm_fetch_input()
1831 LLVMBuildExtractElement(builder, emitted_vertices_vec, ind, ""); in draw_gs_llvm_emit_vertex()
1834 … indices[i] = LLVMBuildSelect(builder, LLVMBuildExtractElement(builder, cond, ind, ""), indices[i], in draw_gs_llvm_emit_vertex()
1838 …LLVMValueRef stream_idx = LLVMBuildExtractElement(builder, stream_id, lp_build_const_int32(gallivm… in draw_gs_llvm_emit_vertex()
1842 …io = lp_build_pointer_get(builder, io, LLVMBuildExtractElement(builder, stream_id, lp_build_const_… in draw_gs_llvm_emit_vertex()
1875 LLVMBuildExtractElement(builder, emitted_prims_vec, ind, ""); in draw_gs_llvm_end_primitive()
1878 LLVMBuildExtractElement(builder, verts_per_prim_vec, ind, ""); in draw_gs_llvm_end_primitive()
[all …]
/third_party/flutter/skia/src/sksl/
DSkSLJIT.cpp407 LLVMValueRef element = LLVMBuildExtractElement( in getLValue()
421 return LLVMBuildExtractElement(builder, base, in getLValue()
432 LLVMValueRef element = LLVMBuildExtractElement(builder, value, in getLValue()
947 LLVMValueRef column = LLVMBuildExtractElement(builder, in compileConstructor()
977 LLVMValueRef element = LLVMBuildExtractElement( in compileSwizzle()
991 return LLVMBuildExtractElement(builder, base, in compileSwizzle()
1302 LLVMBuildExtractElement(builder, in compileStageFunctionLoop()
1316 LLVMBuildExtractElement(builder, colorLoad, in compileStageFunctionLoop()
1324 LLVMBuildExtractElement(builder, colorLoad, in compileStageFunctionLoop()
1332 LLVMBuildExtractElement(builder, colorLoad, in compileStageFunctionLoop()
[all …]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_resources.c147 tmp = LLVMBuildExtractElement(ctx->ac.builder, rsrc, i32_6, ""); in force_dcc_off()
159 tmp = LLVMBuildExtractElement(ctx->ac.builder, rsrc, i32_6, ""); in force_write_compress_off()
Dsi_shader_llvm_gs.c372 tmp = LLVMBuildExtractElement(builder, ring, ctx->ac.i32_0, ""); in si_preload_gs_rings()
378 tmp = LLVMBuildExtractElement(builder, ring, ctx->ac.i32_1, ""); in si_preload_gs_rings()
Dsi_shader_llvm_ps.c169 i = LLVMBuildExtractElement(ctx->ac.builder, interp_param, ctx->ac.i32_0, ""); in interp_fs_color()
170 j = LLVMBuildExtractElement(ctx->ac.builder, interp_param, ctx->ac.i32_1, ""); in interp_fs_color()
Dsi_shader_llvm_vs.c144 LLVMBuildExtractElement(ctx->ac.builder, tmp, LLVMConstInt(ctx->ac.i32, i, false), ""); in load_input_vs()
195 fetches[i] = LLVMBuildExtractElement(ctx->ac.builder, fetch, tmp, ""); in load_input_vs()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c797 out[chan] = LLVMBuildExtractElement(ctx->ac.builder, input, llvm_chan, ""); in load_vs_input()
1618 LLVMBuildExtractElement(builder, indices, provoking_vtx_in_prim, ""); in handle_ngg_outputs_post_2()
2302 tmp = LLVMBuildExtractElement(ctx->ac.builder, ring, ctx->ac.i32_0, ""); in ac_setup_rings()
2310 tmp = LLVMBuildExtractElement(ctx->ac.builder, ring, ctx->ac.i32_1, ""); in ac_setup_rings()

12