Home
last modified time | relevance | path

Searched refs:LLVMBuildInsertElement (Results 1 – 25 of 26) sorted by relevance

12

/third_party/flutter/skia/src/sksl/
DSkSLJIT.cpp414 result = LLVMBuildInsertElement(builder, result, element, in getLValue()
438 result = LLVMBuildInsertElement(builder, result, element, in getLValue()
445 result = LLVMBuildInsertElement(builder, result, value, in getLValue()
487 result = LLVMBuildInsertElement(builder, in vectorize()
937 vec = LLVMBuildInsertElement(builder, vec, value, in compileConstructor()
953 vec = LLVMBuildInsertElement(builder, vec, column, in compileConstructor()
958 vec = LLVMBuildInsertElement(builder, vec, value, in compileConstructor()
984 result = LLVMBuildInsertElement(builder, result, element, in compileSwizzle()
1301 vec = LLVMBuildInsertElement(builder, vec, in compileStageFunctionLoop()
1315 LLVMBuildInsertElement(builder, LLVMBuildLoad(builder, rVec, "rVec"), in compileStageFunctionLoop()
[all …]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_gs.c376 ring = LLVMBuildInsertElement(builder, ring, tmp, ctx->ac.i32_0, ""); in si_preload_gs_rings()
382 ring = LLVMBuildInsertElement(builder, ring, tmp, ctx->ac.i32_1, ""); in si_preload_gs_rings()
383 ring = LLVMBuildInsertElement(builder, ring, LLVMConstInt(ctx->ac.i32, num_records, 0), in si_preload_gs_rings()
401 ring = LLVMBuildInsertElement(builder, ring, LLVMConstInt(ctx->ac.i32, rsrc3, false), in si_preload_gs_rings()
Dsi_shader_llvm_resources.c149 return LLVMBuildInsertElement(ctx->ac.builder, rsrc, tmp, i32_6, ""); in force_dcc_off()
161 return LLVMBuildInsertElement(ctx->ac.builder, rsrc, tmp, i32_6, ""); in force_write_compress_off()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir_soa.c178 pixel_offsets = LLVMBuildInsertElement(gallivm->builder, pixel_offsets, in get_soa_array_offsets()
253 res = LLVMBuildInsertElement(builder, res, scalar, di, ""); in build_gather()
809 temp_res = LLVMBuildInsertElement(builder, temp_res, value_ptr, loop_state.counter, ""); in emit_load_global()
954 temp_res = LLVMBuildInsertElement(builder, temp_res, scalar, loop_state.counter, ""); in emit_atomic_global()
972 temp_res = LLVMBuildInsertElement(builder, temp_res, zero_val, loop_state.counter, ""); in emit_atomic_global()
1100 temp_res = LLVMBuildInsertElement(builder, temp_res, scalar, loop_state.counter, ""); in emit_load_mem()
1113 temp_res = LLVMBuildInsertElement(builder, temp_res, zero, loop_state.counter, ""); in emit_load_mem()
1321 temp_res = LLVMBuildInsertElement(builder, temp_res, scalar, loop_state.counter, ""); in emit_atomic_mem()
1326 temp_res = LLVMBuildInsertElement(builder, temp_res, zero, loop_state.counter, ""); in emit_atomic_mem()
1485 result[i] = LLVMBuildInsertElement(gallivm->builder, result[i], texel[i], idx, ""); in emit_tex()
[all …]
Dlp_bld_gather.c550 res = LLVMBuildInsertElement(gallivm->builder, res, elems[i], index, ""); in lp_build_gather()
598 vec = LLVMBuildInsertElement(builder, vec, values[i], index, ""); in lp_build_gather_values()
Dlp_bld_format_aos.c252 packed = LLVMBuildInsertElement(builder, LLVMGetUndef(vec32_type), packed, in lp_build_unpack_arith_rgba_aos()
886 res = LLVMBuildInsertElement(builder, res, tmp, index, ""); in lp_build_fetch_rgba_aos()
Dlp_bld_intr.c413 res = LLVMBuildInsertElement(builder, res, res_elem, index, ""); in lp_build_intrinsic_map()
Dlp_bld_pack.c1002 tmp[j] = LLVMBuildInsertElement(builder, tmp[j], val, dstindex, ""); in lp_build_resize()
1041 … return LLVMBuildInsertElement(gallivm->builder, undef, src, lp_build_const_int32(gallivm, 0), ""); in lp_build_pad_vector()
Dlp_bld_tgsi_soa.c604 res = LLVMBuildInsertElement(builder, res, scalar, di, ""); in build_gather()
793 pixel_offsets = LLVMBuildInsertElement(gallivm->builder, pixel_offsets, in get_soa_array_offsets()
890 res = LLVMBuildInsertElement(builder, res, scalar, shuffles[0], ""); in emit_fetch_constant()
891 res = LLVMBuildInsertElement(builder, res, scalar2, shuffles[1], ""); in emit_fetch_constant()
3538 temp_res = LLVMBuildInsertElement(builder, temp_res, scalar, loop_state.counter, ""); in load_emit()
3542 …temp_res = LLVMBuildInsertElement(builder, temp_res, lp_build_const_int32(gallivm, 0), loop_state.… in load_emit()
3874 temp_res = LLVMBuildInsertElement(builder, temp_res, scalar, loop_state.counter, ""); in atomic_emit()
3878 …temp_res = LLVMBuildInsertElement(builder, temp_res, lp_build_const_int32(gallivm, 0), loop_state.… in atomic_emit()
Dlp_bld_sample.c1210 offsets = LLVMBuildInsertElement(builder, offsets, offset1, indexo, ""); in lp_build_get_mip_offsets()
1225 offsets = LLVMBuildInsertElement(builder, offsets, offset1, indexi, ""); in lp_build_get_mip_offsets()
1328 stride = LLVMBuildInsertElement(builder, stride, stride1, indexo, ""); in lp_build_get_level_stride_vec()
1344 stride = LLVMBuildInsertElement(builder, stride, stride1, indexi, ""); in lp_build_get_level_stride_vec()
Dlp_bld_sample_soa.c3555 bld.int_size = LLVMBuildInsertElement(builder, bld.int_size_in_bld.undef, in lp_build_sample_soa_code()
3562 bld.int_size = LLVMBuildInsertElement(builder, bld.int_size, in lp_build_sample_soa_code()
3569 bld.int_size = LLVMBuildInsertElement(builder, bld.int_size, in lp_build_sample_soa_code()
4412 size = LLVMBuildInsertElement(gallivm->builder, size, in lp_build_size_query_soa()
4418 size = LLVMBuildInsertElement(gallivm->builder, size, in lp_build_size_query_soa()
4425 size = LLVMBuildInsertElement(gallivm->builder, size, in lp_build_size_query_soa()
4445 size = LLVMBuildInsertElement(gallivm->builder, size, layers, in lp_build_size_query_soa()
4571 temp_res = LLVMBuildInsertElement(gallivm->builder, temp_res, data, loop_state.counter, ""); in lp_build_do_atomic_soa()
Dlp_bld_swizzle.c68 res = LLVMBuildInsertElement(builder, undef, scalar, LLVMConstNull(i32_type), ""); in lp_build_broadcast()
Dlp_bld_conv.c234 ref_result = LLVMBuildInsertElement(builder, ref_result, f16, index, ""); in lp_build_float_to_half()
Dlp_bld_tgsi_aos.c143 res = LLVMBuildInsertElement(builder, res, scalar, swizzle, ""); in emit_fetch_constant()
Dlp_bld_format_s3tc.c2132 color = LLVMBuildInsertElement(builder, color, colorx, in compressed_fetch_cached()
Dlp_bld_arit.c1933 arg = LLVMBuildInsertElement(builder, undef, a, index0, ""); in lp_build_iround_nearest_sse2()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c1792 res = LLVMBuildInsertElement(builder, res, value, idx, ""); in draw_gs_llvm_fetch_input()
2079 ind_vec = LLVMBuildInsertElement(builder, ind_vec, index, index, ""); in draw_llvm_generate()
2746 mask_val = LLVMBuildInsertElement(builder, mask_val, idx, idx, ""); in generate_mask_value()
3165 res = LLVMBuildInsertElement(builder, res, channel_vec, idx, ""); in draw_tcs_llvm_emit_fetch_input()
3228 res = LLVMBuildInsertElement(builder, res, channel_vec, idx, ""); in draw_tcs_llvm_emit_fetch_output()
3336 …mask_val = LLVMBuildInsertElement(builder, mask_val, LLVMBuildAdd(builder, loop_counter, idx, ""),… in generate_tcs_mask_value()
3519 invocvec = LLVMBuildInsertElement(builder, invocvec, idx, idx, ""); in draw_tcs_llvm_generate()
3788 …mask_val = LLVMBuildInsertElement(builder, mask_val, LLVMBuildAdd(builder, loop_counter, idx, ""),… in generate_tes_mask_value()
3845 res = LLVMBuildInsertElement(builder, res, channel_vec, idx, ""); in draw_tes_llvm_fetch_vertex_input()
3895 res = LLVMBuildInsertElement(builder, res, channel_vec, idx, ""); in draw_tes_llvm_fetch_patch_input()
[all …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_cs.c364 …system_values.block_id = LLVMBuildInsertElement(builder, system_values.block_id, gtids[i], lp_buil… in generate_compute()
369 …system_values.grid_size = LLVMBuildInsertElement(builder, system_values.grid_size, gstids[i], lp_b… in generate_compute()
380 …system_values.block_size = LLVMBuildInsertElement(builder, system_values.block_size, bsize[i], lp_… in generate_compute()
393 …tmask_val = LLVMBuildInsertElement(gallivm->builder, tmask_val, lp_build_const_int32(gallivm, 0), … in generate_compute()
Dlp_bld_interp.c151 *pixoffx = LLVMBuildInsertElement(builder, *pixoffx, pixxf, nr, ""); in calc_offsets()
152 *pixoffy = LLVMBuildInsertElement(builder, *pixoffy, pixyf, nr, ""); in calc_offsets()
Dlp_state_fs_linear_llvm.c491 buf = LLVMBuildInsertElement(builder, buf, elem, loop_read.counter, ""); in llvmpipe_fs_variant_linear_llvm()
Dlp_state_setup.c626 coeffs[0] = LLVMBuildInsertElement(b, coeffs[0], polygon_offset, in init_args()
/third_party/mesa3d/src/amd/llvm/
Dac_llvm_build.c459 vgpr = LLVMBuildInsertElement(builder, vgpr, vgpr0, ctx->i32_0, ""); in ac_build_optimization_barrier()
565 vec = LLVMBuildInsertElement(ctx->builder, vec, value, index, ""); in ac_build_varying_gather_values()
593 vec = LLVMBuildInsertElement(builder, vec, value, index, ""); in ac_build_gather_values_extended()
3417 LLVMBuildInsertElement(ctx->builder, ret, ret_comp, LLVMConstInt(ctx->i32, i, 0), ""); in ac_build_readlane_common()
3559 LLVMBuildInsertElement(ctx->builder, ret, ret_comp, LLVMConstInt(ctx->i32, i, 0), ""); in ac_build_dpp()
3607 LLVMBuildInsertElement(ctx->builder, ret, ret_comp, LLVMConstInt(ctx->i32, i, 0), ""); in ac_build_permlane16()
3651 LLVMBuildInsertElement(ctx->builder, ret, ret_comp, LLVMConstInt(ctx->i32, i, 0), ""); in ac_build_ds_swizzle()
Dac_nir_to_llvm.c196 ret = LLVMBuildInsertElement( in emit_intrin_1f_param_scalar()
1410 LLVMBuildInsertElement(ctx->builder, args->resource, formats, ctx->i32_1, ""); in lower_gather4_integer()
1500 LLVMBuildInsertElement(ctx->builder, result, tmp, LLVMConstInt(ctx->i32, c, false), ""); in lower_gather4_integer()
2355 output = LLVMBuildInsertElement(ctx->ac.builder, output, value, index, ""); in visit_store_output()
2900 res = LLVMBuildInsertElement(ctx->ac.builder, res, layers, ctx->ac.i32_1, ""); in visit_image_size()
4466 return LLVMBuildInsertElement(builder, samp, samp0, LLVMConstInt(ctx->ac.i32, 0, 0), ""); in sici_fix_sampler_aniso()
4847 … args.sampler = LLVMBuildInsertElement(ctx->ac.builder, args.sampler, dword0, ctx->ac.i32_0, ""); in visit_tex()
4872 result = LLVMBuildInsertElement(ctx->ac.builder, result, layers, ctx->ac.i32_1, ""); in visit_tex()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c2304 ring = LLVMBuildInsertElement(ctx->ac.builder, ring, tmp, ctx->ac.i32_0, ""); in ac_setup_rings()
2313 ring = LLVMBuildInsertElement(ctx->ac.builder, ring, tmp, ctx->ac.i32_1, ""); in ac_setup_rings()
2315 ring = LLVMBuildInsertElement(ctx->ac.builder, ring, in ac_setup_rings()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h3900 LLVMValueRef LLVMBuildInsertElement(LLVMBuilderRef, LLVMValueRef VecVal,

12