/external/eigen/unsupported/test/ |
D | cxx11_tensor_shuffling.cpp | 22 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/ |
D | lp_bld_swizzle.c | 179 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 …]
|
D | lp_bld_format_soa.c | 493 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()
|
D | lp_bld_arit.c | 700 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 …]
|
D | lp_bld_logic.c | 464 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()
|
D | lp_bld_tgsi_aos.c | 153 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/ |
D | lp_state_setup.c | 221 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 …]
|
D | lp_bld_depth.c | 466 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/ |
D | shuffle_fuzz.py | 114 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/ |
D | shuffle_fuzz.py | 114 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/ |
D | X86Schedule.td | 256 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 …]
|
D | X86SchedBroadwell.td | 280 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/ |
D | shuffle-combine-crash.ll | 4 ; 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/ |
D | shuffle-combine-crash.ll | 4 ; safe to fold the shuffles in function @sample_test according to rule 7 ; The DAGCombiner avoids folding shuffles if
|
/external/llvm/test/Transforms/InstCombine/ |
D | x86-avx2.ll | 5 ; 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.
|
D | vec_shuffle.ll | 77 ; 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
|
D | x86-avx.ll | 5 ; 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/ |
D | enc_neon.c | 860 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/ |
D | x86-avx2.ll | 5 ; 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/ |
D | README.txt | 4 vecoperations.c: Various vector operation sanity checks, e.g., shuffles,
|
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/ |
D | vec_shuffle-28.ll | 7 ; Pack various elements via shuffles.
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/ |
D | vector-DAGCombine.ll | 145 ; 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/ |
D | vector-DAGCombine.ll | 145 ; 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/ |
D | api_def_RandomShuffle.pbtxt | 30 summary: "Randomly shuffles a tensor along its first dimension."
|
/external/tensorflow/tensorflow/python/keras/preprocessing/ |
D | sequence_test.py | 210 shuffles = (False, True, True, False, False, False, False) 213 batch_sizes, shuffles):
|