Home
last modified time | relevance | path

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

12

/external/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()
743 offset = LLVMBuildExtractElement(builder, offset, lp_build_const_int32(gallivm, 0), ""); in emit_load_kernel_arg()
797 cond = LLVMBuildExtractElement(gallivm->builder, cond, loop_state.counter, ""); in emit_load_global()
800 LLVMValueRef addr_ptr = LLVMBuildExtractElement(gallivm->builder, addr, in emit_load_global()
836 LLVMValueRef value_ptr = LLVMBuildExtractElement(gallivm->builder, val, in emit_store_global()
839 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()
1093 …LLVMValueRef cond = LLVMBuildExtractElement(gallivm->builder, should_store_mask, loop_state.counte… in lp_build_store_rgba_soa()
1096 … LLVMValueRef data = LLVMBuildExtractElement(gallivm->builder, packed[i], loop_state.counter, ""); in lp_build_store_rgba_soa()
1097 …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.c348 return LLVMBuildExtractElement(builder, tmp, elems[0], ""); in lp_build_intrinsic_binary_anylength()
407 arg_elems[j] = LLVMBuildExtractElement(builder, args[j], index, ""); in lp_build_intrinsic_map()
Dlp_bld_printf.c133 param = LLVMBuildExtractElement(builder, value, lp_build_const_int32(gallivm, i), ""); in lp_build_print_value()
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_sample.c534 rho_vec = LLVMBuildExtractElement(builder, rho_vec, index0, ""); in lp_build_rho()
545 rho_s = LLVMBuildExtractElement(builder, rho_vec, index0, ""); in lp_build_rho()
546 rho_t = LLVMBuildExtractElement(builder, rho_vec, index1, ""); in lp_build_rho()
551 rho_r = LLVMBuildExtractElement(builder, rho_vec, index2, ""); in lp_build_rho()
1107 indexes[1] = LLVMBuildExtractElement(builder, level, indexi, ""); in lp_build_get_mip_offsets()
1122 indexes[1] = LLVMBuildExtractElement(builder, level, indexi, ""); in lp_build_get_mip_offsets()
1225 indexes[1] = LLVMBuildExtractElement(builder, level, indexi, ""); in lp_build_get_level_stride_vec()
1241 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.c143 res = LLVMBuildExtractElement(gallivm->builder, vector, index, ""); in lp_build_extract_broadcast()
784 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_sample_soa.c3938 lod = LLVMBuildExtractElement(gallivm->builder, params->explicit_lod, in lp_build_size_query_soa()
4084 cond = LLVMBuildExtractElement(gallivm->builder, cond, loop_state.counter, ""); in lp_build_do_atomic_soa()
4087 LLVMValueRef data = LLVMBuildExtractElement(gallivm->builder, packed, loop_state.counter, ""); in lp_build_do_atomic_soa()
4088 …LLVMValueRef cast_base_ptr = LLVMBuildExtractElement(gallivm->builder, offset, loop_state.counter,… in lp_build_do_atomic_soa()
4093 …LLVMValueRef cas_src_ptr = LLVMBuildExtractElement(gallivm->builder, packed2, loop_state.counter, … in lp_build_do_atomic_soa()
Dlp_bld_conv.c212 LLVMValueRef f32 = LLVMBuildExtractElement(builder, src, index, ""); in lp_build_float_to_half()
Dlp_bld_sample_aos.c1171 lod_positive = LLVMBuildExtractElement(builder, lod_positive, in lp_build_sample_aos()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_setup.c256 dzdx = LLVMBuildExtractElement(b, dzdxdzdy, zeroi, ""); in lp_do_offset_tri()
257 dzdy = LLVMBuildExtractElement(b, dzdxdzdy, onei, ""); in lp_do_offset_tri()
284 LLVMBuildExtractElement(b, attribv[0], twoi, ""), in lp_do_offset_tri()
285 LLVMBuildExtractElement(b, attribv[1], twoi, "")); in lp_do_offset_tri()
288 LLVMBuildExtractElement(b, attribv[2], twoi, ""), in lp_do_offset_tri()
347 z0_new = LLVMBuildExtractElement(b, z0z1z2, zeroi, ""); in lp_do_offset_tri()
348 z1_new = LLVMBuildExtractElement(b, z0z1z2, onei, ""); in lp_do_offset_tri()
349 z2_new = LLVMBuildExtractElement(b, z0z1z2, twoi, ""); in lp_do_offset_tri()
675 e = LLVMBuildExtractElement(b, ef, zeroi, ""); in init_args()
676 f = LLVMBuildExtractElement(b, ef, onei, ""); in init_args()
/external/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c121 value = LLVMBuildExtractElement(ctx->ac.builder, value, masks[0], ""); in get_alu_src()
422 comp[0] = LLVMBuildExtractElement(ctx->builder, src0, ctx->i32_0, ""); in emit_pack_2x16()
423 comp[1] = LLVMBuildExtractElement(ctx->builder, src0, ctx->i32_1, ""); in emit_pack_2x16()
945 result = LLVMBuildExtractElement(ctx->ac.builder, result, ctx->ac.i32_0, ""); in visit_alu()
1057 result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_0, ""); in visit_alu()
1063 result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_1, ""); in visit_alu()
1092 result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_0, ""); in visit_alu()
1098 result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_1, ""); in visit_alu()
1131 result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_0, ""); in visit_alu()
1136 result = LLVMBuildExtractElement(ctx->ac.builder, tmp, ctx->ac.i32_1, ""); in visit_alu()
[all …]
Dac_llvm_build.c151 return LLVMBuildExtractElement(ac->builder, value, LLVMConstInt(ac->i32, index, false), ""); in ac_llvm_extract_elem()
416 vgpr0 = LLVMBuildExtractElement(builder, vgpr, ctx->i32_0, ""); in ac_build_optimization_barrier()
1117 v[i] = LLVMBuildExtractElement(ctx->builder, vdata, LLVMConstInt(ctx->i32, i, 0), ""); in ac_build_buffer_store_dword()
1499 loads[i] = LLVMBuildExtractElement(ctx->builder, loaded, tmp, ""); in ac_build_opencoded_load_format()
2282 samples = LLVMBuildExtractElement(ctx->builder, rsrc, LLVMConstInt(ctx->i32, 3, 0), ""); in ac_build_image_get_sample_count()
3227 return LLVMBuildExtractElement(ctx->builder, value, masks[0], ""); in ac_trim_vector()
3277 fmask_value = LLVMBuildExtractElement(ac->builder, fmask_value, ac->i32_0, ""); in ac_apply_fmask_to_sample()
3293 tmp = LLVMBuildExtractElement(ac->builder, tmp, ac->i32_1, ""); in ac_apply_fmask_to_sample()
3337 src = LLVMBuildExtractElement(ctx->builder, src_vector, LLVMConstInt(ctx->i32, i, 0), ""); in ac_build_readlane_common()
3390 LLVMValueRef mask_lo = LLVMBuildExtractElement(ctx->builder, mask_vec, ctx->i32_0, ""); in ac_build_mbcnt()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c1271 val = LLVMBuildExtractElement(builder, cliptmp, linear_inds[i], ""); in store_aos_array()
1753 vert_chan_index = LLVMBuildExtractElement(builder, in draw_gs_llvm_fetch_input()
1757 attr_chan_index = LLVMBuildExtractElement(builder, in draw_gs_llvm_fetch_input()
1767 value = LLVMBuildExtractElement(builder, channel_vec, idx, ""); in draw_gs_llvm_fetch_input()
1808 LLVMBuildExtractElement(builder, emitted_vertices_vec, ind, ""); in draw_gs_llvm_emit_vertex()
1811 … indices[i] = LLVMBuildSelect(builder, LLVMBuildExtractElement(builder, cond, ind, ""), indices[i], in draw_gs_llvm_emit_vertex()
1815 …LLVMValueRef stream_idx = LLVMBuildExtractElement(builder, stream_id, lp_build_const_int32(gallivm… in draw_gs_llvm_emit_vertex()
1819 …io = lp_build_pointer_get(builder, io, LLVMBuildExtractElement(builder, stream_id, lp_build_const_… in draw_gs_llvm_emit_vertex()
1848 LLVMBuildExtractElement(builder, emitted_prims_vec, ind, ""); in draw_gs_llvm_end_primitive()
1851 LLVMBuildExtractElement(builder, verts_per_prim_vec, ind, ""); in draw_gs_llvm_end_primitive()
[all …]
/external/skqp/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 …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_resources.c147 tmp = LLVMBuildExtractElement(ctx->ac.builder, rsrc, i32_6, ""); in force_dcc_off()
Dsi_shader_llvm_gs.c386 tmp = LLVMBuildExtractElement(builder, ring, ctx->ac.i32_0, ""); in si_preload_gs_rings()
392 tmp = LLVMBuildExtractElement(builder, ring, ctx->ac.i32_1, ""); in si_preload_gs_rings()
Dsi_shader_llvm_vs.c131 LLVMBuildExtractElement(ctx->ac.builder, tmp, LLVMConstInt(ctx->ac.i32, i, false), ""); in load_input_vs()
168 fetches[i] = LLVMBuildExtractElement(ctx->ac.builder, fetch, tmp, ""); in load_input_vs()
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.c599 LLVMBuildExtractElement(builder, param, LLVMConstInt(ctx->ac.i32, j, 0), ""); in si_build_wrapper_function()
/external/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c1260 output[chan] = LLVMBuildExtractElement(ctx->ac.builder, input, llvm_chan, ""); in handle_vs_input_decl()
2465 LLVMBuildExtractElement(builder, so_buffer[buffer], i32_2, ""), in build_streamout()
2775 LLVMBuildExtractElement(builder, indices, provoking_vtx_in_prim, ""); in handle_ngg_outputs_post_2()
3704 tmp = LLVMBuildExtractElement(ctx->ac.builder, in ac_setup_rings()
3717 tmp = LLVMBuildExtractElement(ctx->ac.builder, ring, in ac_setup_rings()

12