| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| nir_opt_intrinsics.c | 34 nir_intrinsic_instr *shuffle = nir_src_as_intrinsic(src); local 35 if (shuffle == NULL || shuffle->intrinsic != nir_intrinsic_shuffle) 42 if (!list_is_empty(&shuffle->dest.ssa.if_uses) || 43 !list_is_singular(&shuffle->dest.ssa.uses)) 46 assert(shuffle->src[0].is_ssa); 47 assert(shuffle->src[1].is_ssa); 49 *data = shuffle->src[0].ssa; 50 *index = shuffle->src[1].ssa; 62 * could try to do something fancy where we check if the shuffle is on ou 88 nir_ssa_def *shuffle = nir_shuffle(b, data1, index); local [all...] |
| nir_lower_subgroups.c | 286 nir_intrinsic_instr *shuffle = local 288 shuffle->num_components = intrin->num_components; 289 nir_src_copy(&shuffle->src[0], &intrin->src[0]); 290 shuffle->src[1] = nir_src_for_ssa(index); 291 nir_ssa_dest_init(&shuffle->instr, &shuffle->dest, 296 if (options->lower_to_scalar && shuffle->num_components > 1) { 297 return lower_subgroup_op_to_scalar(b, shuffle, lower_to_32bit); 298 } else if (lower_to_32bit && shuffle->src[0].ssa->bit_size == 64) { 299 return lower_subgroup_op_to_32bit(b, shuffle); [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/ |
| nir_lower_subgroups.c | 270 nir_intrinsic_instr *shuffle = local 272 shuffle->num_components = intrin->num_components; 273 nir_src_copy(&shuffle->src[0], &intrin->src[0], shuffle); 274 shuffle->src[1] = nir_src_for_ssa(index); 275 nir_ssa_dest_init(&shuffle->instr, &shuffle->dest, 279 if (lower_to_scalar && shuffle->num_components > 1) { 280 return lower_subgroup_op_to_scalar(b, shuffle, lower_to_32bit); 281 } else if (lower_to_32bit && shuffle->src[0].ssa->bit_size == 64) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/ |
| lp_bld_swizzle.c | 62 /* The shuffle vector is always made of int32 elements */ 90 * Combined extract and broadcast (mere shuffle in most cases) 129 * shuffle - result can be of different length. 132 LLVMValueRef shuffle; local 133 shuffle = lp_build_broadcast(gallivm, 138 shuffle, ""); 177 * Shuffle. 396 * Shuffle. 407 unsigned shuffle; local 418 shuffle = j + swizzles[i] [all...] |
| lp_bld_pack.c | 84 * Build shuffle vectors that match PUNPCKLxx and PUNPCKHxx instructions. 157 * Build shuffle vectors that match PACKxx (SSE) instructions or 297 LLVMValueRef shuffle, elems[LP_MAX_VECTOR_LENGTH]; local 304 shuffle = LLVMConstVector(elems, num_elems / 2); 306 return LLVMBuildShuffleVector(gallivm->builder, a, a, shuffle, ""); 323 LLVMValueRef shuffle; local 329 * a natural match when using 2x128bit vectors) the "normal" unpack shuffle 347 shuffle = lp_build_const_unpack_shuffle(gallivm, type.length, lo_hi); 349 return LLVMBuildShuffleVector(gallivm->builder, a, b, shuffle, ""); 388 LLVMValueRef shuffle = lp_build_const_unpack_shuffle_half(gallivm, type.length, lo_hi) local 391 LLVMValueRef shuffle = lp_build_const_unpack_shuffle_16wide(gallivm, lo_hi); local 578 LLVMValueRef shuffle; local [all...] |
| lp_bld_sample_aos.c | 575 LLVMValueRef shuffle; local 617 shuffle = LLVMConstVector(shuffles, u8n.type.length); 620 shuffle, ""); 623 shuffle, ""); 627 shuffle, ""); 1073 LLVMValueRef shuffle[LP_MAX_VECTOR_LENGTH]; local 1080 shuffle[i] = lp_build_const_int32(bld->gallivm, i / num_chans_per_lod); 1083 LLVMConstVector(shuffle, u8n_bld.type.length), "");
|
| lp_bld_format_s3tc.c | 81 LLVMValueRef shuffle, elems[LP_MAX_VECTOR_LENGTH]; local 100 shuffle = LLVMConstVector(elems, type.length); 102 return LLVMBuildShuffleVector(gallivm->builder, a, b, shuffle, ""); 108 * Build shuffle for extending vectors. 301 /* no-op shuffle */ 1376 /* shuffle in color 3 as elem 2 zero, color 2 elem 1 */ 1410 /* shuffle as r0r1r2r3g0g1... */ 1476 * This would be easily fixable by using different shuffle, bitlo/hi 2401 /* no-op shuffle */
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/ |
| lp_bld_swizzle.c | 61 /* The shuffle vector is always made of int32 elements */ 89 * Combined extract and broadcast (mere shuffle in most cases) 128 * shuffle - result can be of different length. 131 LLVMValueRef shuffle; local 132 shuffle = lp_build_broadcast(gallivm, 137 shuffle, ""); 176 * Shuffle. 395 * Shuffle. 406 unsigned shuffle; local 415 shuffle = j + swizzles[i] [all...] |
| lp_bld_pack.c | 84 * Build shuffle vectors that match PUNPCKLxx and PUNPCKHxx instructions. 157 * Build shuffle vectors that match PACKxx (SSE) instructions or 297 LLVMValueRef shuffle, elems[LP_MAX_VECTOR_LENGTH]; local 304 shuffle = LLVMConstVector(elems, num_elems / 2); 306 return LLVMBuildShuffleVector(gallivm->builder, a, a, shuffle, ""); 323 LLVMValueRef shuffle; local 329 * a natural match when using 2x128bit vectors) the "normal" unpack shuffle 347 shuffle = lp_build_const_unpack_shuffle(gallivm, type.length, lo_hi); 349 return LLVMBuildShuffleVector(gallivm->builder, a, b, shuffle, ""); 388 LLVMValueRef shuffle = lp_build_const_unpack_shuffle_half(gallivm, type.length, lo_hi) local 391 LLVMValueRef shuffle = lp_build_const_unpack_shuffle_16wide(gallivm, lo_hi); local 578 LLVMValueRef shuffle; local [all...] |
| lp_bld_sample_aos.c | 575 LLVMValueRef shuffle; local 617 shuffle = LLVMConstVector(shuffles, u8n.type.length); 620 shuffle, ""); 623 shuffle, ""); 627 shuffle, ""); 1082 LLVMValueRef shuffle[LP_MAX_VECTOR_LENGTH]; local 1089 shuffle[i] = lp_build_const_int32(bld->gallivm, i / num_chans_per_lod); 1092 LLVMConstVector(shuffle, u8n_bld.type.length), "");
|
| lp_bld_format_s3tc.c | 79 LLVMValueRef shuffle, elems[LP_MAX_VECTOR_LENGTH]; local 105 shuffle = LLVMConstVector(elems, type.length); 107 return LLVMBuildShuffleVector(gallivm->builder, a, b, shuffle, ""); 113 * Build shuffle for extending vectors. 306 /* no-op shuffle */ 1336 /* shuffle in color 3 as elem 2 zero, color 2 elem 1 */ 1370 /* shuffle as r0r1r2r3g0g1... */ 1436 * This would be easily fixable by using different shuffle, bitlo/hi 1643 /* XXX this shuffle broken with LLVM 2.8 */
|
| /xsrc/external/mit/MesaLib/dist/src/gtest/src/ |
| gtest-internal-inl.h | 93 const char kShuffleFlag[] = "shuffle"; 174 shuffle_ = GTEST_FLAG(shuffle); 196 GTEST_FLAG(shuffle) = shuffle_; 305 // Performs an in-place shuffle of a range of the vector's elements. 308 // shuffle to the end of the vector. 314 << "Invalid shuffle range start " << begin << ": must be in range [0, " 317 << "Invalid shuffle range finish " << end << ": must be in range [" 320 // Fisher-Yates shuffle, from 332 // Performs an in-place shuffle of the vector's elements. 334 inline void Shuffle(internal::Random* random, std::vector<E>* v) [all...] |
| gtest.cc | 146 using internal::Shuffle; 297 GTEST_DEFINE_bool_(shuffle, internal::BoolFromGTestEnv("shuffle", false), 2842 Shuffle(random, &test_indices_); 2845 // Restores the test order to before the first shuffle. 3163 if (GTEST_FLAG(shuffle)) { 3907 if (GTEST_FLAG(shuffle)) { 4283 if (GTEST_FLAG(shuffle)) { 5277 random_seed_ = GTEST_FLAG(shuffle) ? 5301 if (has_tests_to_run && GTEST_FLAG(shuffle)) { [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gtest/src/ |
| gtest-internal-inl.h | 99 const char kShuffleFlag[] = "shuffle"; 179 shuffle_ = GTEST_FLAG(shuffle); 200 GTEST_FLAG(shuffle) = shuffle_; 307 // Performs an in-place shuffle of a range of the vector's elements. 310 // shuffle to the end of the vector. 316 << "Invalid shuffle range start " << begin << ": must be in range [0, " 319 << "Invalid shuffle range finish " << end << ": must be in range [" 322 // Fisher-Yates shuffle, from 331 // Performs an in-place shuffle of the vector's elements. 333 inline void Shuffle(internal::Random* random, std::vector<E>* v) [all...] |
| gtest.cc | 154 using internal::Shuffle; 274 shuffle, 275 internal::BoolFromGTestEnv("shuffle", false), 2794 Shuffle(random, &test_indices_); 2797 // Restores the test order to before the first shuffle. 3078 if (GTEST_FLAG(shuffle)) { 3722 if (GTEST_FLAG(shuffle)) { 4602 random_seed_ = GTEST_FLAG(shuffle) ? 4626 if (has_tests_to_run && GTEST_FLAG(shuffle)) { 4673 // This is not enclosed in "if (GTEST_FLAG(shuffle)) { ... }", i [all...] |
| /xsrc/external/mit/MesaLib/dist/src/amd/compiler/ |
| aco_optimizer.cpp | 2177 int shuffle[3]; local 2178 shuffle[shuffle_str[0] - '0'] = 0; 2179 shuffle[shuffle_str[1] - '0'] = 1; 2180 shuffle[shuffle_str[2] - '0'] = 2; 2182 operands[shuffle[0]] = op1_instr->operands[!swap]; 2183 neg[shuffle[0]] = op1_vop3 ? op1_vop3->neg[!swap] : false; 2184 abs[shuffle[0]] = op1_vop3 ? op1_vop3->abs[!swap] : false; 2186 *opsel |= 1 << shuffle[0]; 2189 operands[shuffle[i + 1]] = op2_instr->operands[i]; 2190 neg[shuffle[i + 1]] = op2_vop3 ? op2_vop3->neg[i] : false [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/ |
| lp_bld_interp.c | 616 shuffle, "");
|
| /xsrc/external/mit/MesaLib.old/dist/src/gtest/include/gtest/ |
| gtest.h | 130 GTEST_DECLARE_bool_(shuffle); 927 // Restores the test order to before the first shuffle.
|
| /xsrc/external/mit/MesaLib/dist/src/gtest/include/gtest/ |
| gtest.h | 139 GTEST_DECLARE_bool_(shuffle); 998 // Restores the test order to before the first shuffle.
|