Home
last modified time | relevance | path

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

123456

/external/eigen/unsupported/test/
Dcxx11_tensor_shuffling.cpp22 array<ptrdiff_t, 4> shuffles; in test_simple_shuffling() local
23 shuffles[0] = 0; in test_simple_shuffling()
24 shuffles[1] = 1; in test_simple_shuffling()
25 shuffles[2] = 2; in test_simple_shuffling()
26 shuffles[3] = 3; in test_simple_shuffling()
29 no_shuffle = tensor.shuffle(shuffles); in test_simple_shuffling()
46 shuffles[0] = 2; in test_simple_shuffling()
47 shuffles[1] = 3; in test_simple_shuffling()
48 shuffles[2] = 1; in test_simple_shuffling()
49 shuffles[3] = 0; in test_simple_shuffling()
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_swizzle.c179 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; in lp_build_swizzle_scalar_aos() local
183 shuffles[j + i] = LLVMConstInt(elem_type, j + channel, 0); in lp_build_swizzle_scalar_aos()
185 return LLVMBuildShuffleVector(builder, a, bld->undef, LLVMConstVector(shuffles, n), ""); in lp_build_swizzle_scalar_aos()
335 LLVMValueRef shuffles[LP_MAX_VECTOR_WIDTH]; in lp_build_swizzle_aos_n() local
344 shuffles[i] = LLVMGetUndef(LLVMInt32TypeInContext(gallivm->context)); in lp_build_swizzle_aos_n()
346 shuffles[i] = lp_build_const_int32(gallivm, swizzle); in lp_build_swizzle_aos_n()
350 …ShuffleVector(builder, src, LLVMGetUndef(LLVMTypeOf(src)), LLVMConstVector(shuffles, dst_len), ""); in lp_build_swizzle_aos_n()
399 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; in lp_build_swizzle_aos() local
416 shuffles[j + i] = LLVMConstInt(i32t, shuffle, 0); in lp_build_swizzle_aos()
420 shuffles[j + i] = LLVMConstInt(i32t, shuffle, 0); in lp_build_swizzle_aos()
[all …]
Dlp_bld_format_soa.c493 LLVMValueRef packed[4], dst[4], output[4], shuffles[LP_MAX_VECTOR_WIDTH/32]; in lp_build_fetch_rgba_soa() local
527 shuffles[j] = lp_build_const_int32(gallivm, idx); in lp_build_fetch_rgba_soa()
529 shuf_vec = LLVMConstVector(shuffles, gather_type.length); in lp_build_fetch_rgba_soa()
537 shuffles[j] = lp_build_const_int32(gallivm, idx); in lp_build_fetch_rgba_soa()
539 shuf_vec = LLVMConstVector(shuffles, gather_type.length); in lp_build_fetch_rgba_soa()
628 shuffles[j] = lp_build_const_int32(gallivm, idx); in lp_build_fetch_rgba_soa()
631 LLVMConstVector(shuffles, type.length), ""); in lp_build_fetch_rgba_soa()
Dlp_bld_arit.c700 LLVMValueRef shuffles[4]; in lp_build_horizontal_add4x4f() local
705 shuffles[0] = lp_build_const_int32(gallivm, 0); in lp_build_horizontal_add4x4f()
706 shuffles[1] = lp_build_const_int32(gallivm, 1); in lp_build_horizontal_add4x4f()
707 shuffles[2] = lp_build_const_int32(gallivm, 4); in lp_build_horizontal_add4x4f()
708 shuffles[3] = lp_build_const_int32(gallivm, 5); in lp_build_horizontal_add4x4f()
710 LLVMConstVector(shuffles, 4), ""); in lp_build_horizontal_add4x4f()
712 LLVMConstVector(shuffles, 4), ""); in lp_build_horizontal_add4x4f()
715 shuffles[0] = lp_build_const_int32(gallivm, 2); in lp_build_horizontal_add4x4f()
716 shuffles[1] = lp_build_const_int32(gallivm, 3); in lp_build_horizontal_add4x4f()
717 shuffles[2] = lp_build_const_int32(gallivm, 6); in lp_build_horizontal_add4x4f()
[all …]
Dlp_bld_logic.c464 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; in lp_build_select_aos() local
468 shuffles[j + i] = LLVMConstInt(elem_type, in lp_build_select_aos()
472 return LLVMBuildShuffleVector(builder, a, b, LLVMConstVector(shuffles, n), ""); in lp_build_select_aos()
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()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_setup.c221 LLVMValueRef shuffles[4]; in lp_do_offset_tri() local
229 shuffles[0] = twoi; in lp_do_offset_tri()
230 shuffles[1] = zeroi; in lp_do_offset_tri()
231 shuffles[2] = onei; in lp_do_offset_tri()
232 shuffles[3] = twoi; in lp_do_offset_tri()
233 dzxyz20 = LLVMBuildShuffleVector(b, dxyz20, dxyz20, LLVMConstVector(shuffles, 4), ""); in lp_do_offset_tri()
235 shuffles[0] = onei; in lp_do_offset_tri()
236 shuffles[1] = twoi; in lp_do_offset_tri()
237 shuffles[2] = twoi; in lp_do_offset_tri()
238 shuffles[3] = zeroi; in lp_do_offset_tri()
[all …]
Dlp_bld_depth.c466 LLVMValueRef shuffles[16]; in lp_build_occlusion_count() local
472 shuffles[i] = lp_build_const_int32(gallivm, 4*i); in lp_build_occlusion_count()
475 shufflev = LLVMConstVector(shuffles, type.length); in lp_build_occlusion_count()
539 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH / 4]; in lp_build_depth_stencil_load_swizzled() local
565 shuffles[i] = lp_build_const_int32(gallivm, i); in lp_build_depth_stencil_load_swizzled()
579 shuffles[i] = lp_build_const_int32(gallivm, (i&1) + (i&2) * 2 + (i&4) / 2); in lp_build_depth_stencil_load_swizzled()
599 LLVMConstVector(shuffles, zs_type.length), ""); in lp_build_depth_stencil_load_swizzled()
675 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH / 4]; in lp_build_depth_stencil_write_swizzled() local
720 shuffles[i] = lp_build_const_int32(gallivm, (i&1) + (i&2) * 2 + (i&4) / 2); in lp_build_depth_stencil_write_swizzled()
758 LLVMConstVector(&shuffles[0], in lp_build_depth_stencil_write_swizzled()
[all …]
/external/llvm/utils/
Dshuffle_fuzz.py114 for i, shuffles in enumerate(shuffle_tree):
116 for j, s in enumerate(shuffles):
125 for shuffles in shuffle_tree:
129 for i, s in enumerate(shuffles)]
160 for i, shuffles in enumerate(shuffle_tree):
161 for j, s in enumerate(shuffles):
/external/swiftshader/third_party/llvm-7.0/llvm/utils/
Dshuffle_fuzz.py114 for i, shuffles in enumerate(shuffle_tree):
116 for j, s in enumerate(shuffles):
125 for shuffles in shuffle_tree:
129 for i, s in enumerate(shuffles)]
160 for i, shuffles in enumerate(shuffle_tree):
161 for j, s in enumerate(shuffles):
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86Schedule.td256 defm WriteFShuffle : X86SchedWritePair; // Floating point vector shuffles.
257 defm WriteFShuffleY : X86SchedWritePair; // Floating point vector shuffles (YMM).
258 defm WriteFShuffleZ : X86SchedWritePair; // Floating point vector shuffles (ZMM).
259 defm WriteFVarShuffle : X86SchedWritePair; // Floating point vector variable shuffles.
260 defm WriteFVarShuffleY : X86SchedWritePair; // Floating point vector variable shuffles (YMM).
261 defm WriteFVarShuffleZ : X86SchedWritePair; // Floating point vector variable shuffles (ZMM).
328 defm WriteShuffle : X86SchedWritePair; // Vector shuffles.
329 defm WriteShuffleX : X86SchedWritePair; // Vector shuffles (XMM).
330 defm WriteShuffleY : X86SchedWritePair; // Vector shuffles (YMM).
331 defm WriteShuffleZ : X86SchedWritePair; // Vector shuffles (ZMM).
[all …]
DX86SchedBroadwell.td280 defm : BWWriteResPair<WriteFShuffle, [BWPort5], 1, [1], 1, 5>; // Floating point vector shuffles.
281 defm : BWWriteResPair<WriteFShuffleY, [BWPort5], 1, [1], 1, 6>; // Floating point vector shuffles (…
283 …iteResPair<WriteFVarShuffle, [BWPort5], 1, [1], 1, 5>; // Floating point vector variable shuffles.
284 …iteResPair<WriteFVarShuffleY, [BWPort5], 1, [1], 1, 6>; // Floating point vector variable shuffles.
337 defm : BWWriteResPair<WriteShuffle, [BWPort5], 1, [1], 1, 5>; // Vector shuffles.
338 defm : BWWriteResPair<WriteShuffleX, [BWPort5], 1, [1], 1, 5>; // Vector shuffles.
339 defm : BWWriteResPair<WriteShuffleY, [BWPort5], 1, [1], 1, 6>; // Vector shuffles (YMM/ZMM).
341 defm : BWWriteResPair<WriteVarShuffle, [BWPort5], 1, [1], 1, 5>; // Vector variable shuffles.
342 defm : BWWriteResPair<WriteVarShuffleX,[BWPort5], 1, [1], 1, 5>; // Vector variable shuffles.
343 defm : BWWriteResPair<WriteVarShuffleY,[BWPort5], 1, [1], 1, 6>; // Vector variable shuffles (YMM/Z…
[all …]
/external/llvm/test/CodeGen/X86/
Dshuffle-combine-crash.ll4 ; safe to fold the shuffles in function @sample_test according to rule
7 ; The DAGCombiner avoids folding shuffles if
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dshuffle-combine-crash.ll4 ; safe to fold the shuffles in function @sample_test according to rule
7 ; The DAGCombiner avoids folding shuffles if
/external/llvm/test/Transforms/InstCombine/
Dx86-avx2.ll5 ; Verify that instcombine is able to fold identity shuffles.
44 ; Verify that instcombine is able to fold constant shuffles.
64 ; Verify that instcombine is able to fold constant shuffles with undef mask elements.
Dvec_shuffle.ll77 ; Test fold of two shuffles where the first shuffle vectors inputs are a
89 ; mask values of 2*N, where N is the mask length. These shuffles should not
101 ; Test fold of two shuffles where the first shuffle vectors inputs are a
122 ; Test fold of two shuffles where the two shufflevector inputs's op1 are
134 ; Test fold of two shuffles where the first shufflevector's inputs are
145 ; Test fold of two shuffles where the first shufflevector's inputs are
249 ; If composition of two shuffles is identity, shuffles can be removed.
367 ; Do not reorder shuffle and binop if LHS of shuffles are of different size
Dx86-avx.ll5 ; Verify that instcombine is able to fold identity shuffles.
78 ; Verify that instcombine is able to fold constant shuffles.
116 ; Verify that instcombine is able to fold constant shuffles with undef mask elements.
/external/webp/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()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/X86/
Dx86-avx2.ll5 ; Verify that instcombine is able to fold identity shuffles.
44 ; Verify that instcombine is able to fold constant shuffles.
64 ; Verify that instcombine is able to fold constant shuffles with undef mask elements.
/external/swiftshader/third_party/LLVM/test/CodeGen/CellSPU/useful-harnesses/
DREADME.txt4 vecoperations.c: Various vector operation sanity checks, e.g., shuffles,
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
Dvec_shuffle-28.ll7 ; Pack various elements via shuffles.
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/
Dvector-DAGCombine.ll145 ; Test that we are generating vrev and vext for reverse shuffles of v8i16
146 ; shuffles.
158 ; Test that we are generating vrev and vext for reverse shuffles of v16i8
159 ; shuffles.
/external/llvm/test/CodeGen/ARM/
Dvector-DAGCombine.ll145 ; Test that we are generating vrev and vext for reverse shuffles of v8i16
146 ; shuffles.
158 ; Test that we are generating vrev and vext for reverse shuffles of v16i8
159 ; shuffles.
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_RandomShuffle.pbtxt30 summary: "Randomly shuffles a tensor along its first dimension."
/external/tensorflow/tensorflow/python/keras/preprocessing/
Dsequence_test.py210 shuffles = (False, True, True, False, False, False, False)
213 batch_sizes, shuffles):

123456