Searched refs:shuffles (Results 1 - 25 of 36) sorted by relevance

12

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_swizzle.c171 * using shuffles here actually causes worst results. More investigation is
179 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; local in function:lp_build_swizzle_scalar_aos
183 shuffles[j + i] = LLVMConstInt(elem_type, j + channel, 0);
185 return LLVMBuildShuffleVector(builder, a, bld->undef, LLVMConstVector(shuffles, n), "");
335 LLVMValueRef shuffles[LP_MAX_VECTOR_WIDTH]; local in function:lp_build_swizzle_aos_n
344 shuffles[i] = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context));
346 shuffles[i] = lp_build_const_int32(gallivm, swizzle);
350 return LLVMBuildShuffleVector(builder, src, LLVMGetUndef(LLVMTypeOf(src)), LLVMConstVector(shuffles, dst_len), "");
399 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; local in function:lp_build_swizzle_aos
416 shuffles[
741 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; local in function:lp_build_pack_aos_scalars
776 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; local in function:lp_build_unpack_broadcast_aos_scalars
[all...]
H A Dlp_bld_format_soa.c493 LLVMValueRef packed[4], dst[4], output[4], shuffles[LP_MAX_VECTOR_WIDTH/32]; local in function:lp_build_fetch_rgba_soa
510 * (as we shuffle after trunc). The shuffles for that work out
527 shuffles[j] = lp_build_const_int32(gallivm, idx);
529 shuf_vec = LLVMConstVector(shuffles, gather_type.length);
537 shuffles[j] = lp_build_const_int32(gallivm, idx);
539 shuf_vec = LLVMConstVector(shuffles, gather_type.length);
556 * and instead use 3 int shuffles instead, the code looks atrocious.
560 * which usually don't even exist for shuffles anyway.
586 * due to shuffles being float ones afterwards (albeit for
628 shuffles[
[all...]
H A Dlp_bld_logic.c464 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; local in function:lp_build_select_aos
468 shuffles[j + i] = LLVMConstInt(elem_type,
472 return LLVMBuildShuffleVector(builder, a, b, LLVMConstVector(shuffles, n), "");
H A Dlp_bld_arit.c727 LLVMValueRef shuffles[4]; local in function:lp_build_horizontal_add4x4f
732 shuffles[0] = lp_build_const_int32(gallivm, 0);
733 shuffles[1] = lp_build_const_int32(gallivm, 1);
734 shuffles[2] = lp_build_const_int32(gallivm, 4);
735 shuffles[3] = lp_build_const_int32(gallivm, 5);
737 LLVMConstVector(shuffles, 4), "");
739 LLVMConstVector(shuffles, 4), "");
742 shuffles[0] = lp_build_const_int32(gallivm, 2);
743 shuffles[1] = lp_build_const_int32(gallivm, 3);
744 shuffles[
[all...]
H A Dlp_bld_tgsi_aos.c153 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; local in function:emit_fetch_constant
157 shuffles[chan] = lp_build_const_int32(bld->bld_base.base.gallivm, chan);
161 shuffles[i] = shuffles[i % 4];
166 LLVMConstVector(shuffles, type.length),
H A Dlp_bld_gather.c258 LLVMValueRef shuffles[4] = { local in function:lp_build_gather_elem_vec
266 res = LLVMBuildShuffleVector(gallivm->builder, res, res, LLVMConstVector(shuffles, 4), "");
H A Dlp_bld_pack.c219 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; local in function:lp_build_concat
221 assert(src_type.length * num_vectors <= ARRAY_SIZE(shuffles));
233 shuffles[i] = lp_build_const_int32(gallivm, i);
237 LLVMConstVector(shuffles, new_length), "");
331 * So use some different shuffles instead (the exact shuffles don't seem to
H A Dlp_bld_tgsi_soa.c1267 LLVMValueRef shuffles[2]; local in function:emit_fetch_constant
1275 shuffles[0] = lp_build_const_int32(gallivm, 0);
1276 shuffles[1] = lp_build_const_int32(gallivm, 1);
1279 res = LLVMBuildInsertElement(builder, res, scalar, shuffles[0], "");
1280 res = LLVMBuildInsertElement(builder, res, scalar2, shuffles[1], "");
1329 LLVMValueRef shuffles[2 * (LP_MAX_VECTOR_WIDTH/32)]; local in function:emit_fetch_64bit
1334 shuffles[i] = lp_build_const_int32(gallivm, i / 2);
1335 shuffles[i + 1] = lp_build_const_int32(gallivm, i / 2 + bld_base->base.type.length);
1337 res = LLVMBuildShuffleVector(builder, input, input2, LLVMConstVector(shuffles, len), "");
1770 LLVMValueRef shuffles[LP_MAX_VECTOR_WIDT local in function:emit_store_64bit_chan
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_swizzle.c172 * using shuffles here actually causes worst results. More investigation is
180 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; local in function:lp_build_swizzle_scalar_aos
184 shuffles[j + i] = LLVMConstInt(elem_type, j + channel, 0);
186 return LLVMBuildShuffleVector(builder, a, bld->undef, LLVMConstVector(shuffles, n), "");
336 LLVMValueRef shuffles[LP_MAX_VECTOR_WIDTH]; local in function:lp_build_swizzle_aos_n
345 shuffles[i] = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context));
347 shuffles[i] = lp_build_const_int32(gallivm, swizzle);
351 return LLVMBuildShuffleVector(builder, src, LLVMGetUndef(LLVMTypeOf(src)), LLVMConstVector(shuffles, dst_len), "");
400 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; local in function:lp_build_swizzle_aos
419 shuffles[
772 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; local in function:lp_build_pack_aos_scalars
807 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; local in function:lp_build_unpack_broadcast_aos_scalars
[all...]
H A Dlp_bld_format_soa.c495 LLVMValueRef packed[4], dst[4], output[4], shuffles[LP_MAX_VECTOR_WIDTH/32]; local in function:lp_build_fetch_rgba_soa
512 * (as we shuffle after trunc). The shuffles for that work out
529 shuffles[j] = lp_build_const_int32(gallivm, idx);
531 shuf_vec = LLVMConstVector(shuffles, gather_type.length);
539 shuffles[j] = lp_build_const_int32(gallivm, idx);
541 shuf_vec = LLVMConstVector(shuffles, gather_type.length);
558 * and instead use 3 int shuffles instead, the code looks atrocious.
562 * which usually don't even exist for shuffles anyway.
588 * due to shuffles being float ones afterwards (albeit for
630 shuffles[
[all...]
H A Dlp_bld_logic.c470 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; local in function:lp_build_select_aos
474 shuffles[j + i] = LLVMConstInt(elem_type,
478 return LLVMBuildShuffleVector(builder, a, b, LLVMConstVector(shuffles, n), "");
H A Dlp_bld_arit.c601 LLVMValueRef shuffles[4]; local in function:lp_build_horizontal_add4x4f
606 shuffles[0] = lp_build_const_int32(gallivm, 0);
607 shuffles[1] = lp_build_const_int32(gallivm, 1);
608 shuffles[2] = lp_build_const_int32(gallivm, 4);
609 shuffles[3] = lp_build_const_int32(gallivm, 5);
611 LLVMConstVector(shuffles, 4), "");
613 LLVMConstVector(shuffles, 4), "");
616 shuffles[0] = lp_build_const_int32(gallivm, 2);
617 shuffles[1] = lp_build_const_int32(gallivm, 3);
618 shuffles[
[all...]
H A Dlp_bld_nir.c366 LLVMValueRef shuffles[LP_MAX_VECTOR_WIDTH/32]; local in function:split_64bit
371 shuffles[i] = lp_build_const_int32(gallivm, i * 2);
374 shuffles[i] = lp_build_const_int32(gallivm, (i * 2) + 1);
382 LLVMConstVector(hi ? shuffles2 : shuffles,
395 LLVMValueRef shuffles[2 * (LP_MAX_VECTOR_WIDTH/32)]; local in function:merge_64bit
401 shuffles[i] = lp_build_const_int32(gallivm, i / 2);
402 shuffles[i + 1] = lp_build_const_int32(gallivm, i / 2 + bld_base->base.type.length);
404 shuffles[i] = lp_build_const_int32(gallivm, i / 2 + bld_base->base.type.length);
405 shuffles[i + 1] = lp_build_const_int32(gallivm, i / 2);
408 return LLVMBuildShuffleVector(builder, input, input2, LLVMConstVector(shuffles, le
416 LLVMValueRef shuffles[LP_MAX_VECTOR_WIDTH/32]; local in function:split_16bit
444 LLVMValueRef shuffles[2 * (LP_MAX_VECTOR_WIDTH/32)]; local in function:merge_16bit
[all...]
H A Dlp_bld_tgsi_aos.c153 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; local in function:emit_fetch_constant
157 shuffles[chan] = lp_build_const_int32(bld->bld_base.base.gallivm, chan);
161 shuffles[i] = shuffles[i % 4];
166 LLVMConstVector(shuffles, type.length),
H A Dlp_bld_sample.c279 LLVMValueRef ddx_ddys, ddx_ddyt, floatdim, shuffles[LP_MAX_VECTOR_LENGTH / 4]; local in function:lp_build_pmin
282 shuffles[i*4+0] = shuffles[i*4+1] = index0;
283 shuffles[i*4+2] = shuffles[i*4+3] = index1;
286 LLVMConstVector(shuffles, length), "");
494 LLVMValueRef ddx_ddys, ddx_ddyt, floatdim, shuffles[LP_MAX_VECTOR_LENGTH / 4]; local in function:lp_build_rho
497 shuffles[i*4+0] = shuffles[i*4+1] = index0;
498 shuffles[
[all...]
H A Dlp_bld_gather.c258 LLVMValueRef shuffles[4] = { local in function:lp_build_gather_elem_vec
266 res = LLVMBuildShuffleVector(gallivm->builder, res, res, LLVMConstVector(shuffles, 4), "");
H A Dlp_bld_pack.c219 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; local in function:lp_build_concat
221 assert(src_type.length * num_vectors <= ARRAY_SIZE(shuffles));
233 shuffles[i] = lp_build_const_int32(gallivm, i);
237 LLVMConstVector(shuffles, new_length), "");
331 * So use some different shuffles instead (the exact shuffles don't seem to
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_state_setup.c221 LLVMValueRef shuffles[4]; local in function:lp_do_offset_tri
229 shuffles[0] = twoi;
230 shuffles[1] = zeroi;
231 shuffles[2] = onei;
232 shuffles[3] = twoi;
233 dzxyz20 = LLVMBuildShuffleVector(b, dxyz20, dxyz20, LLVMConstVector(shuffles, 4), "");
235 shuffles[0] = onei;
236 shuffles[1] = twoi;
237 shuffles[2] = twoi;
238 shuffles[
642 LLVMValueRef shuffles[4], shuf10; local in function:init_args
[all...]
H A Dlp_bld_depth.c466 LLVMValueRef shuffles[16]; local in function:lp_build_occlusion_count
472 shuffles[i] = lp_build_const_int32(gallivm, 4*i);
475 shufflev = LLVMConstVector(shuffles, type.length);
539 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH / 4]; local in function:lp_build_depth_stencil_load_swizzled
565 shuffles[i] = lp_build_const_int32(gallivm, i);
579 shuffles[i] = lp_build_const_int32(gallivm, (i&1) + (i&2) * 2 + (i&4) / 2);
599 LLVMConstVector(shuffles, zs_type.length), "");
675 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH / 4]; local in function:lp_build_depth_stencil_write_swizzled
720 shuffles[i] = lp_build_const_int32(gallivm, (i&1) + (i&2) * 2 + (i&4) / 2);
758 LLVMConstVector(&shuffles[
774 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH / 2]; local in function:lp_build_depth_stencil_write_swizzled
[all...]
H A Dlp_state_fs.c1313 LLVMValueRef shuffles[8]; local in function:convert_to_blend_type
1322 shuffles[j] = lp_build_const_int32(gallivm, j * 2);
1323 shuffles[j + 4] = lp_build_const_int32(gallivm, j * 2 + 1);
1326 LLVMConstVector(shuffles, 8), "");
1475 LLVMValueRef tmpaos, shuffles[8]; local in function:convert_from_blend_type
1482 shuffles[j * 2] = lp_build_const_int32(gallivm, j);
1483 shuffles[j * 2 + 1] = lp_build_const_int32(gallivm, j + 4);
1486 LLVMConstVector(shuffles, 8), "");
1672 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; local in function:convert_alpha
1674 /* Check if we need 2 src_alphas for our shuffles */
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_state_setup.c220 LLVMValueRef shuffles[4]; local in function:lp_do_offset_tri
228 shuffles[0] = twoi;
229 shuffles[1] = zeroi;
230 shuffles[2] = onei;
231 shuffles[3] = twoi;
232 dzxyz20 = LLVMBuildShuffleVector(b, dxyz20, dxyz20, LLVMConstVector(shuffles, 4), "");
234 shuffles[0] = onei;
235 shuffles[1] = twoi;
236 shuffles[2] = twoi;
237 shuffles[
555 LLVMValueRef shuffles[4], shuf10; local in function:init_args
[all...]
H A Dlp_bld_depth.c467 LLVMValueRef shuffles[16]; local in function:lp_build_occlusion_count
474 shuffles[i] = lp_build_const_int32(gallivm, 4*i);
476 shuffles[i] = lp_build_const_int32(gallivm, (4*i) + 3);
480 shufflev = LLVMConstVector(shuffles, type.length);
544 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH / 4]; local in function:lp_build_depth_stencil_load_swizzled
570 shuffles[i] = lp_build_const_int32(gallivm, i);
584 shuffles[i] = lp_build_const_int32(gallivm, (i&1) + (i&2) * 2 + (i&4) / 2);
604 LLVMConstVector(shuffles, zs_type.length), "");
686 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH / 4]; local in function:lp_build_depth_stencil_write_swizzled
730 shuffles[
783 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH / 2]; local in function:lp_build_depth_stencil_write_swizzled
[all...]
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D18.1.1.rst48 - radv: Only expose subgroup shuffles on VI+.
H A D20.1.10.rst72 - intel/fs: NoMask initialize the address register for shuffles
H A D20.2.1.rst100 - intel/fs: NoMask initialize the address register for shuffles

Completed in 51 milliseconds

12