/external/eigen/unsupported/test/ |
cxx11_tensor_shuffling.cpp | 22 array<ptrdiff_t, 4> shuffles; local 23 shuffles[0] = 0; 24 shuffles[1] = 1; 25 shuffles[2] = 2; 26 shuffles[3] = 3; 29 no_shuffle = tensor.shuffle(shuffles); 46 shuffles[0] = 2; 47 shuffles[1] = 3; 48 shuffles[2] = 1; 49 shuffles[3] = 0 76 array<ptrdiff_t, 4> shuffles; local 138 array<ptrdiff_t, 4> shuffles; local 187 array<ptrdiff_t, 4> shuffles; local [all...] |
cxx11_tensor_thread_pool.cpp | 333 array<ptrdiff_t, 4> shuffles = {{2,1,3,0}}; local 334 shuffle.device(device) = tensor.shuffle(shuffles);
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_swizzle.c | 171 * using shuffles here actually causes worst results. More investigation is 179 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; local 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 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 416 shuffles[j + i] = LLVMConstInt(i32t, shuffle, 0) 741 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; local 776 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; local [all...] |
lp_bld_format_soa.c | 493 LLVMValueRef packed[4], dst[4], output[4], shuffles[LP_MAX_VECTOR_WIDTH/32]; local 511 * (as we shuffle after trunc). The shuffles for that work out 528 shuffles[j] = lp_build_const_int32(gallivm, idx); 530 shuf_vec = LLVMConstVector(shuffles, gather_type.length); 538 shuffles[j] = lp_build_const_int32(gallivm, idx); 540 shuf_vec = LLVMConstVector(shuffles, gather_type.length); 557 * and instead use 3 int shuffles instead, the code looks atrocious. 561 * which usually don't even exist for shuffles anyway. 587 * due to shuffles being float ones afterwards (albeit for 629 shuffles[j] = lp_build_const_int32(gallivm, idx) [all...] |
lp_bld_logic.c | 464 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; local 468 shuffles[j + i] = LLVMConstInt(elem_type, 472 return LLVMBuildShuffleVector(builder, a, b, LLVMConstVector(shuffles, n), "");
|
lp_bld_arit.c | 700 LLVMValueRef shuffles[4]; local 705 shuffles[0] = lp_build_const_int32(gallivm, 0); 706 shuffles[1] = lp_build_const_int32(gallivm, 1); 707 shuffles[2] = lp_build_const_int32(gallivm, 4); 708 shuffles[3] = lp_build_const_int32(gallivm, 5); 710 LLVMConstVector(shuffles, 4), ""); 712 LLVMConstVector(shuffles, 4), ""); 715 shuffles[0] = lp_build_const_int32(gallivm, 2); 716 shuffles[1] = lp_build_const_int32(gallivm, 3); 717 shuffles[2] = lp_build_const_int32(gallivm, 6) [all...] |
lp_bld_tgsi_aos.c | 153 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; local 157 shuffles[chan] = lp_build_const_int32(bld->bld_base.base.gallivm, chan); 161 shuffles[i] = shuffles[i % 4]; 166 LLVMConstVector(shuffles, type.length),
|
lp_bld_pack.c | 194 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; local 196 assert(src_type.length * num_vectors <= ARRAY_SIZE(shuffles)); 208 shuffles[i] = lp_build_const_int32(gallivm, i); 212 LLVMConstVector(shuffles, new_length), ""); 306 * So use some different shuffles instead (the exact shuffles don't seem to [all...] |
lp_bld_sample.c | 369 LLVMValueRef ddx_ddys, ddx_ddyt, floatdim, shuffles[LP_MAX_VECTOR_LENGTH / 4]; local 372 shuffles[i*4+0] = shuffles[i*4+1] = index0; 373 shuffles[i*4+2] = shuffles[i*4+3] = index1; 376 LLVMConstVector(shuffles, length), ""); [all...] |
lp_bld_tgsi_soa.c | 1335 LLVMValueRef shuffles[16]; local 1825 LLVMValueRef shuffles[8]; local [all...] |
lp_bld_sample_aos.c | 849 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; local [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_state_setup.c | 221 LLVMValueRef shuffles[4]; local 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[3] = zeroi 642 LLVMValueRef shuffles[4], shuf10; local [all...] |
lp_bld_depth.c | 466 LLVMValueRef shuffles[16]; local 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 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 720 shuffles[i] = lp_build_const_int32(gallivm, (i&1) + (i&2) * 2 + (i&4) / 2); 758 LLVMConstVector(&shuffles[0] 774 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH \/ 2]; local [all...] |
lp_state_fs.c | 1292 LLVMValueRef shuffles[8]; local 1454 LLVMValueRef tmpaos, shuffles[8]; local 1651 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; local [all...] |
/external/llvm/utils/ |
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/webp/src/dsp/ |
enc_neon.c | 854 uint8x8x4_t shuffles; local [all...] |
/external/opencv/cv/src/ |
cvshapedescr.cpp | 177 int shuffles[4][4] = { {0, 1, 2, 3}, {0, 1, 3, 2}, {2, 3, 0, 1}, {2, 3, 1, 0} }; local 232 if( icvFindCircle( pts[shuffles[i][0]], pts[shuffles[i][1]], 233 pts[shuffles[i][2]], ¢er, &radius ) >= 0 ) 239 if( icvIsPtInCircle( pts[shuffles[i][3]], center, radius ) >= 0 && 255 idxs[i] = shuffles[mi][i]; [all...] |
/prebuilts/go/darwin-x86/src/net/ |
dnsclient.go | 211 // shuffleByWeight shuffles SRV records by weight using the algorithm
|
/prebuilts/go/linux-x86/src/net/ |
dnsclient.go | 211 // shuffleByWeight shuffles SRV records by weight using the algorithm
|
/external/libvpx/libvpx/third_party/x86inc/ |
x86inc.asm | [all...] |