Home
last modified time | relevance | path

Searched refs:LLVMBuildMul (Results 1 – 23 of 23) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_yuv.c108 shift = LLVMBuildMul(builder, i, lp_build_const_int_vec(gallivm, type, 16), ""); in uyvy_to_yuv_soa()
111 shift = LLVMBuildMul(builder, i, lp_build_const_int_vec(gallivm, type, -16), ""); in uyvy_to_yuv_soa()
191 shift = LLVMBuildMul(builder, i, lp_build_const_int_vec(gallivm, type, 16), ""); in yuyv_to_yuv_soa()
193 shift = LLVMBuildMul(builder, i, lp_build_const_int_vec(gallivm, type, -16), ""); in yuyv_to_yuv_soa()
280 y = LLVMBuildMul(builder, y, cy, ""); in yuv_to_rgb_soa()
283 *r = LLVMBuildMul(builder, v, cvr, ""); in yuv_to_rgb_soa()
285 LLVMBuildMul(builder, u, cug, ""), in yuv_to_rgb_soa()
286 LLVMBuildMul(builder, v, cvg, ""), in yuv_to_rgb_soa()
288 *b = LLVMBuildMul(builder, u, cub, ""); in yuv_to_rgb_soa()
Dlp_bld_coro.c218 LLVMValueRef alloc_size = LLVMBuildMul(gallivm->builder, coro_num_hdls, coro_size, ""); in lp_build_coro_alloc_mem_array()
225 return LLVMBuildMul(gallivm->builder, coro_size, coro_idx, ""); in lp_build_coro_alloc_mem_array()
Dlp_bld_format_s3tc.c536 mul_lo = LLVMBuildMul(builder, x_lo, delta_lo, ""); in lp_build_lerp23()
537 mul_hi = LLVMBuildMul(builder, x_hi, delta_hi, ""); in lp_build_lerp23()
875 weight = LLVMBuildMul(builder, weight, code, ""); in lp_build_lerpdxta()
881 ainterp = LLVMBuildMul(builder, delta, weight, ""); in lp_build_lerpdxta()
1142 hash_index = LLVMBuildMul(builder, hash_index, lp_build_const_int32(gallivm, 16), ""); in s3tc_store_cached_block()
1249 mul = LLVMBuildMul(builder, x, delta, ""); in lp_build_lerp23_single()
1590 weight = LLVMBuildMul(builder, weight, code, ""); in lp_build_lerpdxta_block()
1596 ainterp = LLVMBuildMul(builder, delta, weight, ""); in lp_build_lerpdxta_block()
1815 tmp0 = LLVMBuildMul(builder, acode, mulclo, ""); in s3tc_decode_block_dxt5()
1816 tmp1 = LLVMBuildMul(builder, acode, mulchi, ""); in s3tc_decode_block_dxt5()
[all …]
Dlp_bld_arit.c913 ab = LLVMBuildMul(builder, a, b, ""); in lp_build_mul_norm()
983 res = LLVMBuildMul(builder, a, b, ""); in lp_build_mul()
1166 tmp = LLVMBuildMul(builder, a, b, ""); in lp_build_mul_32_lohi()
Dlp_bld_nir_soa.c1833 …LLVMValueRef idx = LLVMBuildMul(gallivm->builder, bld->system_values.sample_id, lp_build_const_int… in emit_sysval_intrin()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_interp.c171 …LLVMValueRef s_mask_idx = LLVMBuildMul(builder, bld->num_loop, lp_build_const_int32(gallivm, s), "… in calc_centroid_offsets()
338 …LLVMValueRef x_val_idx = LLVMBuildMul(gallivm->builder, sample_id, lp_build_const_int32(gallivm, 2… in attribs_update_simple()
348 …LLVMValueRef y_val_idx = LLVMBuildMul(gallivm->builder, sample_id, lp_build_const_int32(gallivm, 2… in attribs_update_simple()
371 …LLVMValueRef x_val_idx = LLVMBuildMul(gallivm->builder, sample_id, lp_build_const_int32(gallivm, 2… in attribs_update_simple()
454 …LLVMValueRef index = LLVMBuildMul(builder, indir_index, lp_build_const_int_vec(gallivm, coeff_bld-… in lp_build_interp_soa_indirect()
458 index = LLVMBuildMul(builder, index, lp_build_const_int_vec(gallivm, coeff_bld->type, 4), ""); in lp_build_interp_soa_indirect()
552 …LLVMValueRef x_val_idx = LLVMBuildMul(gallivm->builder, offsets[0], lp_build_const_int_vec(gallivm… in lp_build_interp_soa()
Dlp_state_cs.c194 LLVMValueRef coro_num_hdls = LLVMBuildMul(gallivm->builder, num_x_loop, block_y_size_arg, ""); in generate_compute()
195 coro_num_hdls = LLVMBuildMul(gallivm->builder, coro_num_hdls, block_z_size_arg, ""); in generate_compute()
241 LLVMValueRef coro_hdl_idx = LLVMBuildMul(gallivm->builder, loop_state[2].counter, in generate_compute()
242LLVMBuildMul(gallivm->builder, num_x_loop, block_y_size_arg, ""), ""); in generate_compute()
244 LLVMBuildMul(gallivm->builder, loop_state[1].counter, in generate_compute()
336 LLVMValueRef coro_num_hdls = LLVMBuildMul(gallivm->builder, num_x_loop, block_y_size_arg, ""); in generate_compute()
337 coro_num_hdls = LLVMBuildMul(gallivm->builder, coro_num_hdls, block_z_size_arg, ""); in generate_compute()
349 LLVMValueRef base_val = LLVMBuildMul(gallivm->builder, x_size_arg, vec_length, ""); in generate_compute()
385LLVMBuildMul(gallivm->builder, z_size_arg, LLVMBuildMul(gallivm->builder, block_x_size_arg, block_… in generate_compute()
389 …LLVMBuildUDiv(builder, LLVMBuildMul(gallivm->builder, y_size_arg, block_x_size_arg, ""), vec_lengt… in generate_compute()
[all …]
Dlp_bld_depth.c560 LLVMValueRef offset2 = LLVMBuildMul(builder, loopmsb, in lp_build_depth_stencil_load_swizzled()
562 depth_offset1 = LLVMBuildMul(builder, looplsb, in lp_build_depth_stencil_load_swizzled()
576 depth_offset1 = LLVMBuildMul(builder, loopx2, depth_stride, ""); in lp_build_depth_stencil_load_swizzled()
714 LLVMValueRef offset2 = LLVMBuildMul(builder, loopmsb, in lp_build_depth_stencil_write_swizzled()
716 depth_offset1 = LLVMBuildMul(builder, looplsb, in lp_build_depth_stencil_write_swizzled()
724 depth_offset1 = LLVMBuildMul(builder, loopx2, depth_stride, ""); in lp_build_depth_stencil_write_swizzled()
Dlp_state_fs.c419 … LLVMValueRef s_mask_idx = LLVMBuildMul(builder, lp_build_const_int32(gallivm, s), num_loop, ""); in lp_build_sample_alpha_to_coverage()
545 LLVMValueRef sample_offset = LLVMBuildMul(builder, sample_stride, fs_iface->sample_id, ""); in fs_fb_fetch()
562 y_offset = LLVMBuildMul(builder, counter, lp_build_const_int32(gallivm, 2), ""); in fs_fb_fetch()
581 …x_val = LLVMBuildMul(builder, x_val, lp_build_const_int32(gallivm, out_format_desc->block.bits / 8… in fs_fb_fetch()
589 y_val = LLVMBuildMul(builder, y_val, stride, ""); in fs_fb_fetch()
743 …color_store_size = LLVMBuildMul(builder, num_loop, lp_build_const_int32(gallivm, key->min_samples)… in generate_fs_loop()
785 … LLVMValueRef s_mask_idx = LLVMBuildMul(builder, num_loop, lp_build_const_int32(gallivm, s), ""); in generate_fs_loop()
857 LLVMValueRef s_mask_idx = LLVMBuildMul(builder, sample_loop_state.counter, num_loop, ""); in generate_fs_loop()
875 LLVMBuildMul(builder, sample_loop_state.counter, in generate_fs_loop()
986 LLVMValueRef s_mask_idx = LLVMBuildMul(builder, sample_loop_state.counter, num_loop, ""); in generate_fs_loop()
[all …]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_resources.c216 index = LLVMBuildMul(builder, index, LLVMConstInt(ctx->ac.i32, 2, 0), ""); in si_load_sampler_desc()
266 LLVMBuildMul(ctx->ac.builder, dynamic_index, LLVMConstInt(ctx->ac.i64, 2, 0), ""); in si_nir_load_sampler_desc()
281 LLVMBuildMul(ctx->ac.builder, dynamic_index, LLVMConstInt(ctx->ac.i64, 2, 0), ""); in si_nir_load_sampler_desc()
Dsi_shader_llvm_tess.c160 total_vertices = LLVMBuildMul(ctx->ac.builder, vertices_per_patch, num_patches, ""); in get_tcs_tes_buffer_address()
172 base_addr = LLVMBuildMul(ctx->ac.builder, base_addr, constant16, ""); in get_tcs_tes_buffer_address()
387 LLVMBuildMul(ctx->ac.builder, rel_patch_id, LLVMConstInt(ctx->ac.i32, 4 * stride, 0), ""); in si_write_tess_factors()
Dgfx10_shader_ngg.c46 tmp = LLVMBuildMul(builder, get_wave_id_in_tg(ctx), in gfx10_get_thread_id_in_tg()
239 tmp = LLVMBuildMul(builder, offset_vtx, LLVMConstInt(ctx->ac.i32, so->stride[buffer], false), in build_streamout_vertex()
322 prim_stride_dw[buffer] = LLVMBuildMul(builder, tmp, nggso->num_vertices, ""); in build_streamout()
370 tmp = LLVMBuildMul(builder, tmp, prim_stride_dw_vgpr, ""); in build_streamout()
514 tmp = LLVMBuildMul(builder, tmp, prim_stride_dw_vgpr, ""); in build_streamout()
627 LLVMBuildMul(builder, primemit_scan[stream].result_exclusive, nggso->num_vertices, ""); in build_streamout()
867 LLVMValueRef prev_threads = LLVMBuildMul(builder, get_wave_id_in_tg(ctx), in update_thread_counts()
1342 LLVMBuildMul(builder, get_wave_id_in_tg(ctx), in gfx10_ngg_culling_build_end()
1823 tmp = LLVMBuildMul(builder, tmp, gsthread, ""); in ngg_gs_emit_vertex_ptr()
Dsi_shader_llvm_gs.c219 voffset = LLVMBuildMul(ctx->ac.builder, voffset, LLVMConstInt(ctx->ac.i32, 4, 0), ""); in si_llvm_emit_vertex()
442 LLVMBuildMul(ctx.ac.builder, ctx.abi.vertex_id, LLVMConstInt(ctx.ac.i32, 4, 0), ""); in si_generate_gs_copy_shader()
Dsi_shader_llvm_ps.c43 LLVMBuildMul(ctx->ac.builder, sample_id, LLVMConstInt(ctx->ac.i32, 8, 0), ""); in load_sample_position()
553 offset = LLVMBuildMul(builder, address[1], LLVMConstInt(ctx->ac.i32, 4, 0), ""); in si_llvm_emit_polygon_stipple()
Dsi_shader_llvm_vs.c362 so_offset = LLVMBuildMul(builder, so_offset, LLVMConstInt(ctx->ac.i32, 4, 0), ""); in si_llvm_emit_streamout()
/third_party/flutter/skia/src/sksl/
DSkSLJIT.cpp573 BINARY(LLVMBuildMul, LLVMBuildMul, LLVMBuildFMul); in compileBinary()
591 COMPOUND(LLVMBuildMul, LLVMBuildMul, LLVMBuildFMul); in compileBinary()
1489 VECTOR_BINARY(LLVMBuildMul, LLVMBuildMul, LLVMBuildFMul); in compileVectorBinary()
/third_party/mesa3d/src/amd/llvm/
Dac_llvm_build.c725 num = LLVMBuildMul(builder, LLVMBuildZExt(builder, num, ctx->i64, ""), in ac_build_fast_udiv()
744 num = LLVMBuildMul(builder, LLVMBuildZExt(builder, num, ctx->i64, ""), in ac_build_fast_udiv_nuw()
758 num = LLVMBuildMul(builder, LLVMBuildZExt(builder, num, ctx->i64, ""), in ac_build_fast_udiv_u31_d_not_one()
2463 return LLVMBuildAdd(ctx->builder, LLVMBuildMul(ctx->builder, s0, s1, ""), s2, ""); in ac_build_imad()
3127 final_sample = LLVMBuildMul(ac->builder, addr[sample_chan], in ac_apply_fmask_to_sample()
3615 return LLVMBuildMul(ctx->builder, lhs, rhs, ""); in ac_build_alu_op()
4178 index = LLVMBuildMul(ctx->builder, index, LLVMConstInt(ctx->i32, 4, 0), ""); in ac_build_shuffle()
4443 tmp = LLVMBuildMul(ctx->builder, tmp, LLVMConstInt(ctx->i32, 0x80402u, 0), ""); in ac_pack_edgeflags_for_export()
Dac_nir_to_llvm.c381 dst64 = LLVMBuildMul(ctx->builder, src0, src1, ""); in emit_umul_high()
394 dst64 = LLVMBuildMul(ctx->builder, src0, src1, ""); in emit_imul_high()
685 result = LLVMBuildMul(ctx->ac.builder, src[0], src[1], ""); in visit_alu()
1944 offset = LLVMBuildMul(ctx->ac.builder, offset, LLVMConstInt(ctx->ac.i32, 8, false), ""); in emit_ssbo_comp_swap_64()
3044 LLVMValueRef threads_before = LLVMBuildMul(ctx->ac.builder, wave_id, wave_size, ""); in visit_load_local_invocation_index()
4374 index = LLVMBuildMul(ctx->ac.builder, index, LLVMConstInt(ctx->ac.i32, 8, 0), ""); in get_bindless_index_from_uniform()
4435 indirect = LLVMBuildMul(ctx->ac.builder, indirect, in get_sampler_desc_internal()
5194 LLVMBuildMul(ctx->ac.builder, index, LLVMConstInt(ctx->ac.i64, stride, 0), ""); in visit_deref()
5211 LLVMBuildMul(ctx->ac.builder, index, LLVMConstInt(ctx->ac.i64, stride, 0), ""); in visit_deref()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c261 voffset = LLVMBuildMul(ctx->ac.builder, voffset, LLVMConstInt(ctx->ac.i32, 4, false), ""); in visit_emit_vertex_with_counter()
845 LLVMBuildMul(ctx->ac.builder, so_offset, LLVMConstInt(ctx->ac.i32, 4, false), ""); in radv_emit_streamout()
1628 LLVMBuildMul(ctx->ac.builder, ac_get_arg(&ctx->ac, ctx->args->ac.vertex_id), in ac_gs_copy_shader_emit()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c1037 stride = LLVMBuildMul(builder, vb_stride, index, ""); in fetch_instanced()
1812 indices[i] = LLVMBuildMul(builder, ind, next_prim_offset, ""); in draw_gs_llvm_emit_vertex()
1864 …prims_emitted = LLVMBuildMul(gallivm->builder, prims_emitted, lp_build_const_int32(gallivm, varian… in draw_gs_llvm_end_primitive()
3507 … LLVMValueRef idx = LLVMBuildAdd(builder, LLVMBuildMul(builder, counter, step, ""), loop_iter, ""); in draw_tcs_llvm_generate()
3526 …mask_val = generate_tcs_mask_value(variant, tcs_type, count, LLVMBuildMul(builder, counter, step, … in draw_tcs_llvm_generate()
/third_party/ltp/tools/sparse/sparse-src/
Dsparse-llvm.c553 target = LLVMBuildMul(fn->builder, lhs, rhs, target_name); in output_op_binary()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h3705 LLVMValueRef LLVMBuildMul(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DCore.cpp3299 LLVMValueRef LLVMBuildMul(LLVMBuilderRef B, LLVMValueRef LHS, LLVMValueRef RHS, in LLVMBuildMul() function