Home
last modified time | relevance | path

Searched refs:shuffles (Results 1 – 25 of 43) sorted by relevance

12

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_swizzle.c180 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; in lp_build_swizzle_scalar_aos() local
184 shuffles[j + i] = LLVMConstInt(elem_type, j + channel, 0); in lp_build_swizzle_scalar_aos()
186 return LLVMBuildShuffleVector(builder, a, bld->undef, LLVMConstVector(shuffles, n), ""); in lp_build_swizzle_scalar_aos()
336 LLVMValueRef shuffles[LP_MAX_VECTOR_WIDTH]; in lp_build_swizzle_aos_n() local
345 shuffles[i] = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context)); in lp_build_swizzle_aos_n()
347 shuffles[i] = lp_build_const_int32(gallivm, swizzle); in lp_build_swizzle_aos_n()
351 …ShuffleVector(builder, src, LLVMGetUndef(LLVMTypeOf(src)), LLVMConstVector(shuffles, dst_len), ""); in lp_build_swizzle_aos_n()
400 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; in lp_build_swizzle_aos() local
419 shuffles[j + i] = LLVMConstInt(i32t, shuffle, 0); in lp_build_swizzle_aos()
423 shuffles[j + i] = LLVMConstInt(i32t, shuffle, 0); in lp_build_swizzle_aos()
[all …]
Dlp_bld_format_soa.c495 LLVMValueRef packed[4], dst[4], output[4], shuffles[LP_MAX_VECTOR_WIDTH/32]; in lp_build_fetch_rgba_soa() local
529 shuffles[j] = lp_build_const_int32(gallivm, idx); in lp_build_fetch_rgba_soa()
531 shuf_vec = LLVMConstVector(shuffles, gather_type.length); in lp_build_fetch_rgba_soa()
539 shuffles[j] = lp_build_const_int32(gallivm, idx); in lp_build_fetch_rgba_soa()
541 shuf_vec = LLVMConstVector(shuffles, gather_type.length); in lp_build_fetch_rgba_soa()
630 shuffles[j] = lp_build_const_int32(gallivm, idx); in lp_build_fetch_rgba_soa()
633 LLVMConstVector(shuffles, type.length), ""); in lp_build_fetch_rgba_soa()
Dlp_bld_nir.c366 LLVMValueRef shuffles[LP_MAX_VECTOR_WIDTH/32]; in split_64bit() local
371 shuffles[i] = lp_build_const_int32(gallivm, i * 2); in split_64bit()
374 shuffles[i] = lp_build_const_int32(gallivm, (i * 2) + 1); in split_64bit()
382 LLVMConstVector(hi ? shuffles2 : shuffles, in split_64bit()
395 LLVMValueRef shuffles[2 * (LP_MAX_VECTOR_WIDTH/32)]; in merge_64bit() local
401 shuffles[i] = lp_build_const_int32(gallivm, i / 2); in merge_64bit()
402 shuffles[i + 1] = lp_build_const_int32(gallivm, i / 2 + bld_base->base.type.length); in merge_64bit()
404 shuffles[i] = lp_build_const_int32(gallivm, i / 2 + bld_base->base.type.length); in merge_64bit()
405 shuffles[i + 1] = lp_build_const_int32(gallivm, i / 2); in merge_64bit()
408 return LLVMBuildShuffleVector(builder, input, input2, LLVMConstVector(shuffles, len), ""); in merge_64bit()
[all …]
Dlp_bld_arit.c601 LLVMValueRef shuffles[4]; in lp_build_horizontal_add4x4f() local
606 shuffles[0] = lp_build_const_int32(gallivm, 0); in lp_build_horizontal_add4x4f()
607 shuffles[1] = lp_build_const_int32(gallivm, 1); in lp_build_horizontal_add4x4f()
608 shuffles[2] = lp_build_const_int32(gallivm, 4); in lp_build_horizontal_add4x4f()
609 shuffles[3] = lp_build_const_int32(gallivm, 5); in lp_build_horizontal_add4x4f()
611 LLVMConstVector(shuffles, 4), ""); in lp_build_horizontal_add4x4f()
613 LLVMConstVector(shuffles, 4), ""); in lp_build_horizontal_add4x4f()
616 shuffles[0] = lp_build_const_int32(gallivm, 2); in lp_build_horizontal_add4x4f()
617 shuffles[1] = lp_build_const_int32(gallivm, 3); in lp_build_horizontal_add4x4f()
618 shuffles[2] = lp_build_const_int32(gallivm, 6); in lp_build_horizontal_add4x4f()
[all …]
Dlp_bld_logic.c470 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; in lp_build_select_aos() local
474 shuffles[j + i] = LLVMConstInt(elem_type, in lp_build_select_aos()
478 return LLVMBuildShuffleVector(builder, a, b, LLVMConstVector(shuffles, n), ""); in lp_build_select_aos()
Dlp_bld_sample.c279 LLVMValueRef ddx_ddys, ddx_ddyt, floatdim, shuffles[LP_MAX_VECTOR_LENGTH / 4]; in lp_build_pmin() local
282 shuffles[i*4+0] = shuffles[i*4+1] = index0; in lp_build_pmin()
283 shuffles[i*4+2] = shuffles[i*4+3] = index1; in lp_build_pmin()
286 LLVMConstVector(shuffles, length), ""); in lp_build_pmin()
494 LLVMValueRef ddx_ddys, ddx_ddyt, floatdim, shuffles[LP_MAX_VECTOR_LENGTH / 4]; in lp_build_rho() local
497 shuffles[i*4+0] = shuffles[i*4+1] = index0; in lp_build_rho()
498 shuffles[i*4+2] = shuffles[i*4+3] = index1; in lp_build_rho()
501 LLVMConstVector(shuffles, length), ""); in lp_build_rho()
Dlp_bld_tgsi_aos.c153 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; in emit_fetch_constant() local
157 shuffles[chan] = lp_build_const_int32(bld->bld_base.base.gallivm, chan); in emit_fetch_constant()
161 shuffles[i] = shuffles[i % 4]; in emit_fetch_constant()
166 LLVMConstVector(shuffles, type.length), in emit_fetch_constant()
Dlp_bld_pack.c219 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; in lp_build_concat() local
221 assert(src_type.length * num_vectors <= ARRAY_SIZE(shuffles)); in lp_build_concat()
233 shuffles[i] = lp_build_const_int32(gallivm, i); in lp_build_concat()
237 LLVMConstVector(shuffles, new_length), ""); in lp_build_concat()
Dlp_bld_gather.c258 LLVMValueRef shuffles[4] = { in lp_build_gather_elem_vec() local
266 … res = LLVMBuildShuffleVector(gallivm->builder, res, res, LLVMConstVector(shuffles, 4), ""); in lp_build_gather_elem_vec()
Dlp_bld_nir_soa.c83 LLVMValueRef shuffles[2 * (LP_MAX_VECTOR_WIDTH/32)]; in emit_fetch_64bit() local
89 shuffles[i] = lp_build_const_int32(gallivm, i / 2); in emit_fetch_64bit()
90 shuffles[i + 1] = lp_build_const_int32(gallivm, i / 2 + bld_base->base.type.length); in emit_fetch_64bit()
92 shuffles[i] = lp_build_const_int32(gallivm, i / 2 + bld_base->base.type.length); in emit_fetch_64bit()
93 shuffles[i + 1] = lp_build_const_int32(gallivm, i / 2); in emit_fetch_64bit()
96 res = LLVMBuildShuffleVector(builder, input, input2, LLVMConstVector(shuffles, len), ""); in emit_fetch_64bit()
109 LLVMValueRef shuffles[LP_MAX_VECTOR_WIDTH/32]; in emit_store_64bit_split() local
116 shuffles[i] = lp_build_const_int32(gallivm, i * 2); in emit_store_64bit_split()
119 shuffles[i] = lp_build_const_int32(gallivm, i * 2 + 1); in emit_store_64bit_split()
126 LLVMConstVector(shuffles, in emit_store_64bit_split()
Dlp_bld_tgsi_soa.c878 LLVMValueRef shuffles[2]; in emit_fetch_constant() local
886 shuffles[0] = lp_build_const_int32(gallivm, 0); in emit_fetch_constant()
887 shuffles[1] = lp_build_const_int32(gallivm, 1); in emit_fetch_constant()
890 res = LLVMBuildInsertElement(builder, res, scalar, shuffles[0], ""); in emit_fetch_constant()
891 res = LLVMBuildInsertElement(builder, res, scalar2, shuffles[1], ""); in emit_fetch_constant()
940 LLVMValueRef shuffles[2 * (LP_MAX_VECTOR_WIDTH/32)]; in emit_fetch_64bit() local
945 shuffles[i] = lp_build_const_int32(gallivm, i / 2); in emit_fetch_64bit()
946 shuffles[i + 1] = lp_build_const_int32(gallivm, i / 2 + bld_base->base.type.length); in emit_fetch_64bit()
948 res = LLVMBuildShuffleVector(builder, input, input2, LLVMConstVector(shuffles, len), ""); in emit_fetch_64bit()
1647 LLVMValueRef shuffles[LP_MAX_VECTOR_WIDTH/32]; in emit_store_64bit_chan() local
[all …]
Dlp_bld_sample_aos.c574 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; in lp_build_sample_fetch_image_linear() local
614 shuffles[j + i] = index; in lp_build_sample_fetch_image_linear()
617 shuffle = LLVMConstVector(shuffles, u8n.type.length); in lp_build_sample_fetch_image_linear()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_setup.c220 LLVMValueRef shuffles[4]; in lp_do_offset_tri() local
228 shuffles[0] = twoi; in lp_do_offset_tri()
229 shuffles[1] = zeroi; in lp_do_offset_tri()
230 shuffles[2] = onei; in lp_do_offset_tri()
231 shuffles[3] = twoi; in lp_do_offset_tri()
232 dzxyz20 = LLVMBuildShuffleVector(b, dxyz20, dxyz20, LLVMConstVector(shuffles, 4), ""); in lp_do_offset_tri()
234 shuffles[0] = onei; in lp_do_offset_tri()
235 shuffles[1] = twoi; in lp_do_offset_tri()
236 shuffles[2] = twoi; in lp_do_offset_tri()
237 shuffles[3] = zeroi; in lp_do_offset_tri()
[all …]
Dlp_bld_depth.c467 LLVMValueRef shuffles[16]; in lp_build_occlusion_count() local
474 shuffles[i] = lp_build_const_int32(gallivm, 4*i); in lp_build_occlusion_count()
476 shuffles[i] = lp_build_const_int32(gallivm, (4*i) + 3); in lp_build_occlusion_count()
480 shufflev = LLVMConstVector(shuffles, type.length); in lp_build_occlusion_count()
544 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH / 4]; in lp_build_depth_stencil_load_swizzled() local
570 shuffles[i] = lp_build_const_int32(gallivm, i); in lp_build_depth_stencil_load_swizzled()
584 shuffles[i] = lp_build_const_int32(gallivm, (i&1) + (i&2) * 2 + (i&4) / 2); in lp_build_depth_stencil_load_swizzled()
604 LLVMConstVector(shuffles, zs_type.length), ""); in lp_build_depth_stencil_load_swizzled()
686 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH / 4]; in lp_build_depth_stencil_write_swizzled() local
730 shuffles[i] = lp_build_const_int32(gallivm, (i&1) + (i&2) * 2 + (i&4) / 2); in lp_build_depth_stencil_write_swizzled()
[all …]
Dlp_state_fs.c1892 LLVMValueRef shuffles[8]; in convert_to_blend_type() local
1901 shuffles[j] = lp_build_const_int32(gallivm, j * 2); in convert_to_blend_type()
1902 shuffles[j + 4] = lp_build_const_int32(gallivm, j * 2 + 1); in convert_to_blend_type()
1905 LLVMConstVector(shuffles, 8), ""); in convert_to_blend_type()
2054 LLVMValueRef tmpaos, shuffles[8]; in convert_from_blend_type() local
2061 shuffles[j * 2] = lp_build_const_int32(gallivm, j); in convert_from_blend_type()
2062 shuffles[j * 2 + 1] = lp_build_const_int32(gallivm, j + 4); in convert_from_blend_type()
2065 LLVMConstVector(shuffles, 8), ""); in convert_from_blend_type()
2256 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; in convert_alpha() local
2266 shuffles[j] = lp_build_const_int32(gallivm, j / channels); in convert_alpha()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86Schedule.td305 defm WriteFShuffle : X86SchedWritePair<ReadAfterVecXLd>; // Floating point vector shuffles.
306 defm WriteFShuffleY : X86SchedWritePair<ReadAfterVecYLd>; // Floating point vector shuffles (YMM).
307 defm WriteFShuffleZ : X86SchedWritePair<ReadAfterVecYLd>; // Floating point vector shuffles (ZMM).
308 …WriteFVarShuffle : X86SchedWritePair<ReadAfterVecXLd>; // Floating point vector variable shuffles.
309 …VarShuffleY : X86SchedWritePair<ReadAfterVecYLd>; // Floating point vector variable shuffles (YMM).
310 …VarShuffleZ : X86SchedWritePair<ReadAfterVecYLd>; // Floating point vector variable shuffles (ZMM).
377 defm WriteShuffle : X86SchedWritePair<ReadAfterVecLd>; // Vector shuffles.
378 defm WriteShuffleX : X86SchedWritePair<ReadAfterVecXLd>; // Vector shuffles (XMM).
379 defm WriteShuffleY : X86SchedWritePair<ReadAfterVecYLd>; // Vector shuffles (YMM).
380 defm WriteShuffleZ : X86SchedWritePair<ReadAfterVecYLd>; // Vector shuffles (ZMM).
[all …]
DX86SchedBroadwell.td325 defm : BWWriteResPair<WriteFShuffle, [BWPort5], 1, [1], 1, 5>; // Floating point vector shuffles.
326 defm : BWWriteResPair<WriteFShuffleY, [BWPort5], 1, [1], 1, 6>; // Floating point vector shuffles (…
328 …iteResPair<WriteFVarShuffle, [BWPort5], 1, [1], 1, 5>; // Floating point vector variable shuffles.
329 …iteResPair<WriteFVarShuffleY, [BWPort5], 1, [1], 1, 6>; // Floating point vector variable shuffles.
382 defm : BWWriteResPair<WriteShuffle, [BWPort5], 1, [1], 1, 5>; // Vector shuffles.
383 defm : BWWriteResPair<WriteShuffleX, [BWPort5], 1, [1], 1, 5>; // Vector shuffles.
384 defm : BWWriteResPair<WriteShuffleY, [BWPort5], 1, [1], 1, 6>; // Vector shuffles (YMM/ZMM).
386 defm : BWWriteResPair<WriteVarShuffle, [BWPort5], 1, [1], 1, 5>; // Vector variable shuffles.
387 defm : BWWriteResPair<WriteVarShuffleX,[BWPort5], 1, [1], 1, 5>; // Vector variable shuffles.
388 defm : BWWriteResPair<WriteVarShuffleY,[BWPort5], 1, [1], 1, 6>; // Vector variable shuffles (YMM/Z…
[all …]
DX86SchedSkylakeClient.td316 defm : SKLWriteResPair<WriteFShuffle, [SKLPort5], 1, [1], 1, 6>; // Floating point vector shuffles.
319 … : SKLWriteResPair<WriteFVarShuffle, [SKLPort5], 1, [1], 1, 6>; // Floating point vector shuffles.
371 defm : SKLWriteResPair<WriteShuffle, [SKLPort5], 1, [1], 1, 5>; // Vector shuffles.
375 defm : SKLWriteResPair<WriteVarShuffle, [SKLPort5], 1, [1], 1, 5>; // Vector shuffles.
579 …: SKLWriteResPair<WriteFShuffle256, [SKLPort5], 3, [1], 1, 7>; // Fp 256-bit width vector shuffles.
580 …sPair<WriteFVarShuffle256, [SKLPort5], 3, [1], 1, 7>; // Fp 256-bit width vector variable shuffles.
581 …fm : SKLWriteResPair<WriteShuffle256, [SKLPort5], 3, [1], 1, 7>; // 256-bit width vector shuffles.
582 …eResPair<WriteVarShuffle256, [SKLPort5], 3, [1], 1, 7>; // 256-bit width vector variable shuffles.
DX86SchedSkylakeServer.td316 defm : SKXWriteResPair<WriteFShuffle, [SKXPort5], 1, [1], 1, 6>; // Floating point vector shuffles.
319 …teResPair<WriteFVarShuffle, [SKXPort5], 1, [1], 1, 6>; // Floating point vector variable shuffles.
371 defm : SKXWriteResPair<WriteShuffle, [SKXPort5], 1, [1], 1, 5>; // Vector shuffles.
375 defm : SKXWriteResPair<WriteVarShuffle, [SKXPort5], 1, [1], 1, 5>; // Vector variable shuffles.
580 …: SKXWriteResPair<WriteFShuffle256, [SKXPort5], 3, [1], 1, 7>; // Fp 256-bit width vector shuffles.
581 …sPair<WriteFVarShuffle256, [SKXPort5], 3, [1], 1, 7>; // Fp 256-bit width vector variable shuffles.
582 …fm : SKXWriteResPair<WriteShuffle256, [SKXPort5], 3, [1], 1, 7>; // 256-bit width vector shuffles.
583 …eResPair<WriteVarShuffle256, [SKXPort5], 3, [1], 1, 7>; // 256-bit width vector variable shuffles.
/third_party/flutter/skia/third_party/externals/libwebp/src/dsp/
Denc_neon.c860 uint8x8x4_t shuffles; in QuantizeBlock_NEON() local
867 INIT_VECTOR4(shuffles, in QuantizeBlock_NEON()
879 INIT_VECTOR4(shuffles, in QuantizeBlock_NEON()
886 vst1_u8((uint8_t*)(out + 0), shuffles.val[0]); in QuantizeBlock_NEON()
887 vst1_u8((uint8_t*)(out + 4), shuffles.val[1]); in QuantizeBlock_NEON()
888 vst1_u8((uint8_t*)(out + 8), shuffles.val[2]); in QuantizeBlock_NEON()
889 vst1_u8((uint8_t*)(out + 12), shuffles.val[3]); in QuantizeBlock_NEON()
/third_party/skia/third_party/externals/libwebp/src/dsp/
Denc_neon.c860 uint8x8x4_t shuffles; in QuantizeBlock_NEON() local
867 INIT_VECTOR4(shuffles, in QuantizeBlock_NEON()
879 INIT_VECTOR4(shuffles, in QuantizeBlock_NEON()
886 vst1_u8((uint8_t*)(out + 0), shuffles.val[0]); in QuantizeBlock_NEON()
887 vst1_u8((uint8_t*)(out + 4), shuffles.val[1]); in QuantizeBlock_NEON()
888 vst1_u8((uint8_t*)(out + 8), shuffles.val[2]); in QuantizeBlock_NEON()
889 vst1_u8((uint8_t*)(out + 12), shuffles.val[3]); in QuantizeBlock_NEON()
/third_party/boost/libs/range/doc/reference/algorithm/
Drandom_shuffle.qbk26 …ons of `random_shuffle` that do specify a `Generator` use this instead. Returns the shuffles range.
/third_party/mesa3d/docs/relnotes/
D20.1.10.rst72 - intel/fs: NoMask initialize the address register for shuffles
D18.1.1.rst48 - radv: Only expose subgroup shuffles on VI+.
D20.2.1.rst100 - intel/fs: NoMask initialize the address register for shuffles

12