/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_swizzle.c | 185 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; in lp_build_swizzle_scalar_aos() local 189 shuffles[j + i] = LLVMConstInt(elem_type, j + channel, 0); in lp_build_swizzle_scalar_aos() 191 return LLVMBuildShuffleVector(builder, a, bld->undef, LLVMConstVector(shuffles, n), ""); in lp_build_swizzle_scalar_aos() 294 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; in lp_build_swizzle_aos() local 311 shuffles[j + i] = LLVMConstInt(i32t, shuffle, 0); in lp_build_swizzle_aos() 315 shuffles[j + i] = LLVMConstInt(i32t, shuffle, 0); in lp_build_swizzle_aos() 322 shuffles[j + i] = LLVMConstInt(i32t, shuffle, 0); in lp_build_swizzle_aos() 328 shuffles[j + i] = LLVMGetUndef(i32t); in lp_build_swizzle_aos() 342 LLVMConstVector(shuffles, n), ""); in lp_build_swizzle_aos() 570 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; in lp_build_pack_aos_scalars() local [all …]
|
D | lp_bld_sample.c | 1127 LLVMValueRef shuffles[4]; in lp_build_cube_lookup() local 1134 shuffles[0] = lp_build_const_int32(gallivm, 0); in lp_build_cube_lookup() 1135 shuffles[1] = lp_build_const_int32(gallivm, 1); in lp_build_cube_lookup() 1136 shuffles[2] = lp_build_const_int32(gallivm, 0); in lp_build_cube_lookup() 1137 shuffles[3] = lp_build_const_int32(gallivm, 1); in lp_build_cube_lookup() 1138 arxyxy = LLVMBuildShuffleVector(builder, arxyz, arxyz, LLVMConstVector(shuffles, 4), ""); in lp_build_cube_lookup() 1139 shuffles[0] = lp_build_const_int32(gallivm, 1); in lp_build_cube_lookup() 1140 shuffles[1] = lp_build_const_int32(gallivm, 0); in lp_build_cube_lookup() 1141 shuffles[2] = lp_build_const_int32(gallivm, 2); in lp_build_cube_lookup() 1142 shuffles[3] = lp_build_const_int32(gallivm, 2); in lp_build_cube_lookup() [all …]
|
D | lp_bld_arit.c | 428 LLVMValueRef shuffles[4]; in lp_build_horizontal_add4x4f() local 433 shuffles[0] = lp_build_const_int32(gallivm, 0); in lp_build_horizontal_add4x4f() 434 shuffles[1] = lp_build_const_int32(gallivm, 1); in lp_build_horizontal_add4x4f() 435 shuffles[2] = lp_build_const_int32(gallivm, 4); in lp_build_horizontal_add4x4f() 436 shuffles[3] = lp_build_const_int32(gallivm, 5); in lp_build_horizontal_add4x4f() 438 LLVMConstVector(shuffles, 4), ""); in lp_build_horizontal_add4x4f() 440 LLVMConstVector(shuffles, 4), ""); in lp_build_horizontal_add4x4f() 443 shuffles[0] = lp_build_const_int32(gallivm, 2); in lp_build_horizontal_add4x4f() 444 shuffles[1] = lp_build_const_int32(gallivm, 3); in lp_build_horizontal_add4x4f() 445 shuffles[2] = lp_build_const_int32(gallivm, 6); in lp_build_horizontal_add4x4f() [all …]
|
D | lp_bld_pack.c | 189 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; in lp_build_concat() local 191 assert(src_type.length * num_vectors <= Elements(shuffles)); in lp_build_concat() 203 shuffles[i] = lp_build_const_int32(gallivm, i); in lp_build_concat() 207 LLVMConstVector(shuffles, new_length), ""); in lp_build_concat()
|
D | lp_bld_logic.c | 595 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; in lp_build_select_aos() local 599 shuffles[j + i] = LLVMConstInt(elem_type, in lp_build_select_aos() 603 return LLVMBuildShuffleVector(builder, a, b, LLVMConstVector(shuffles, n), ""); in lp_build_select_aos()
|
D | lp_bld_tgsi_soa.c | 1234 LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH]; in emit_tex() local 1247 shuffles[4*quad + 0] = lp_build_const_int32(gallivm, s1); in emit_tex() 1248 shuffles[4*quad + 1] = lp_build_const_int32(gallivm, s2); in emit_tex() 1249 shuffles[4*quad + 2] = i32undef; in emit_tex() 1250 shuffles[4*quad + 3] = i32undef; in emit_tex() 1253 LLVMConstVector(shuffles, length), ""); in emit_tex() 1262 shuffles[4*quad + 0] = lp_build_const_int32(gallivm, s1); in emit_tex() 1263 shuffles[4*quad + 1] = lp_build_const_int32(gallivm, s1 + 1); in emit_tex() 1264 shuffles[4*quad + 2] = lp_build_const_int32(gallivm, s2); in emit_tex() 1265 shuffles[4*quad + 3] = lp_build_const_int32(gallivm, s2 + 1); in emit_tex() [all …]
|
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()
|
D | lp_bld_sample_aos.c | 1474 LLVMValueRef shuffles[8], shuffle; in lp_build_sample_mipmap() local 1475 assert(h16_bld.type.length <= Elements(shuffles)); in lp_build_sample_mipmap() 1477 shuffles[i] = lp_build_const_int32(bld->gallivm, 2 * (i & 1)); in lp_build_sample_mipmap() 1478 shuffle = LLVMConstVector(shuffles, h16_bld.type.length); in lp_build_sample_mipmap()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_setup.c | 252 LLVMValueRef shuffles[4]; in lp_do_offset_tri() local 260 shuffles[0] = twoi; in lp_do_offset_tri() 261 shuffles[1] = zeroi; in lp_do_offset_tri() 262 shuffles[2] = onei; in lp_do_offset_tri() 263 shuffles[3] = twoi; in lp_do_offset_tri() 264 dzxyz20 = LLVMBuildShuffleVector(b, dxyz20, dxyz20, LLVMConstVector(shuffles, 4), ""); in lp_do_offset_tri() 266 shuffles[0] = onei; in lp_do_offset_tri() 267 shuffles[1] = twoi; in lp_do_offset_tri() 268 shuffles[2] = twoi; in lp_do_offset_tri() 269 shuffles[3] = zeroi; in lp_do_offset_tri() [all …]
|
D | lp_bld_depth.c | 474 LLVMValueRef shuffles[16]; in lp_build_occlusion_count() local 480 shuffles[i] = lp_build_const_int32(gallivm, 4*i); in lp_build_occlusion_count() 483 shufflev = LLVMConstVector(shuffles, type.length); in lp_build_occlusion_count()
|
/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/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
|
D | splat-const.ll | 5 ; doesn't use redundant shuffles. (fixes PR22276)
|
D | sse1.ll | 11 ; This should not emit shuffles to populate the top 2 elements of the 4-element
|
D | avx-cast.ll | 59 ; vzeroupper before the return, so just check for the absence of shuffles.
|
/external/webp/src/dsp/ |
D | enc_neon.c | 858 uint8x8x4_t shuffles; in QuantizeBlock() local 865 INIT_VECTOR4(shuffles, in QuantizeBlock() 877 INIT_VECTOR4(shuffles, in QuantizeBlock() 884 vst1_u8((uint8_t*)(out + 0), shuffles.val[0]); in QuantizeBlock() 885 vst1_u8((uint8_t*)(out + 4), shuffles.val[1]); in QuantizeBlock() 886 vst1_u8((uint8_t*)(out + 8), shuffles.val[2]); in QuantizeBlock() 887 vst1_u8((uint8_t*)(out + 12), shuffles.val[3]); in QuantizeBlock()
|
/external/llvm/test/Transforms/InstCombine/ |
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-pshufb.ll | 3 ; Verify that instcombine is able to fold identity shuffles. 22 ; Verify that instcombine is able to fold byte shuffles with zero masks. 64 ; Each of the byte shuffles in the following tests is equivalent to a blend between 180 ; Vector permutations using byte shuffles.
|
/external/opencv3/modules/imgproc/src/ |
D | shapedescr.cpp | 97 int shuffles[4][4] = { {0, 1, 2, 3}, {0, 1, 3, 2}, {2, 3, 0, 1}, {2, 3, 1, 0} }; in findEnslosingCicle4pts_32f() local 151 if( findCircle( pts[shuffles[i][0]], pts[shuffles[i][1]], in findEnslosingCicle4pts_32f() 152 pts[shuffles[i][2]], ¢er, &radius ) ) in findEnslosingCicle4pts_32f() 158 if( pointInCircle( pts[shuffles[i][3]], center, radius ) >= 0 && in findEnslosingCicle4pts_32f() 174 idxs[i] = shuffles[mi][i]; in findEnslosingCicle4pts_32f()
|
/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/llvm/test/CodeGen/SystemZ/ |
D | vec-perm-13.ll | 1 ; Test vector shuffles on vectors with implicitly extended elements
|
/external/opencv/cv/src/ |
D | cvshapedescr.cpp | 177 int shuffles[4][4] = { {0, 1, 2, 3}, {0, 1, 3, 2}, {2, 3, 0, 1}, {2, 3, 1, 0} }; in icvFindEnslosingCicle4pts_32f() local 232 if( icvFindCircle( pts[shuffles[i][0]], pts[shuffles[i][1]], in icvFindEnslosingCicle4pts_32f() 233 pts[shuffles[i][2]], ¢er, &radius ) >= 0 ) in icvFindEnslosingCicle4pts_32f() 239 if( icvIsPtInCircle( pts[shuffles[i][3]], center, radius ) >= 0 && in icvFindEnslosingCicle4pts_32f() 255 idxs[i] = shuffles[mi][i]; in icvFindEnslosingCicle4pts_32f()
|
/external/llvm/test/Analysis/CostModel/X86/ |
D | alternate-shuffle-cost.ll | 8 ; Verify the cost model for alternate shuffles. 59 ; Test shuffles on packed vectors of two elements. 107 ; Test shuffles on packed vectors of four elements. 204 ; Test shuffles on packed vectors of eight elements. 277 ; Test shuffles on packed vectors of sixteen elements.
|
/external/llvm/test/Analysis/CostModel/ARM/ |
D | shuffle.ll | 9 ;; Reverse shuffles should be lowered to vrev and possibly a vext (for
|
/external/llvm/lib/Target/X86/ |
D | X86Schedule.td | 73 defm WriteFShuffle : X86SchedWritePair; // Floating point vector shuffles. 84 defm WriteShuffle : X86SchedWritePair; // Vector shuffles. 120 defm WriteFShuffle256 : X86SchedWritePair; // Fp 256-bit width vector shuffles. 121 defm WriteShuffle256 : X86SchedWritePair; // 256-bit width vector shuffles.
|