/external/llvm-project/llvm/unittests/ADT/ |
D | PointerUnionTest.cpp | 117 template<int I> struct alignas(8) Aligned {}; struct 119 typedef PointerUnion<Aligned<0> *, Aligned<1> *, Aligned<2> *, Aligned<3> *, 120 Aligned<4> *, Aligned<5> *, Aligned<6> *, Aligned<7> *> 124 Aligned<0> a0; in TEST_F() 125 Aligned<7> a7; in TEST_F() 128 EXPECT_TRUE(a.is<Aligned<0>*>()); in TEST_F() 129 EXPECT_FALSE(a.is<Aligned<1>*>()); in TEST_F() 130 EXPECT_FALSE(a.is<Aligned<2>*>()); in TEST_F() 131 EXPECT_FALSE(a.is<Aligned<3>*>()); in TEST_F() 132 EXPECT_FALSE(a.is<Aligned<4>*>()); in TEST_F() [all …]
|
/external/eigen/bench/tensors/ |
D | tensor_benchmarks.h | 56 const TensorMap<Tensor<int, 2, 0, TensorIndex>, Eigen::Aligned> A((int*)a_, sizes); in typeCasting() 57 TensorMap<Tensor<T, 2, 0, TensorIndex>, Eigen::Aligned> B(b_, sizes); in typeCasting() 72 TensorMap<Tensor<T, 2>, Eigen::Aligned> C(c_, sizes); in random() 87 const TensorMap<Tensor<T, 2>, Eigen::Aligned> A(a_, sizes); in slicing() 88 const TensorMap<Tensor<T, 2>, Eigen::Aligned> B(b_, sizes); in slicing() 89 TensorMap<Tensor<T, 2>, Eigen::Aligned> C(c_, sizes); in slicing() 117 const TensorMap<Tensor<T, 2, 0, TensorIndex>, Eigen::Aligned> B(b_, input_size); in rowChip() 120 TensorMap<Tensor<T, 1, 0, TensorIndex>, Eigen::Aligned> C(c_, output_size); in rowChip() 134 const TensorMap<Tensor<T, 2, 0, TensorIndex>, Eigen::Aligned> B(b_, input_size); in colChip() 137 TensorMap<Tensor<T, 1, 0, TensorIndex>, Eigen::Aligned> C(c_, output_size); in colChip() [all …]
|
/external/skia/bench/ |
D | GrMemoryPoolBench.cpp | 18 struct alignas(GrMemoryPool::kAlignment) Aligned { struct 21 static_assert(sizeof(Aligned) == 32); 22 static_assert(sizeof(Aligned) % GrMemoryPool::kAlignment == 0); 33 static_assert(GrAlignTo(sizeof(Unaligned), GrMemoryPool::kAlignment) == sizeof(Aligned)); 193 DEF_BENCH( return new GrMemoryPoolBench("stack_aligned_lg", run_stack<Aligned>, kLargePool… 194 DEF_BENCH( return new GrMemoryPoolBench("stack_aligned_sm", run_stack<Aligned>, kSmallPool… 195 DEF_BENCH( return new GrMemoryPoolBench("stack_aligned_ref", run_stack<Aligned>, 0); ) 200 DEF_BENCH( return new GrMemoryPoolBench("queue_aligned_lg", run_queue<Aligned>, kLargePool… 201 DEF_BENCH( return new GrMemoryPoolBench("queue_aligned_sm", run_queue<Aligned>, kSmallPool… 202 DEF_BENCH( return new GrMemoryPoolBench("queue_aligned_ref", run_queue<Aligned>, 0); ) [all …]
|
/external/oboe/samples/RhythmGame/third_party/glm/detail/ |
D | func_matrix.inl | 10 template <template <typename, precision> class matType, typename T, precision P, bool Aligned> 22 template <template <class, precision> class matType, typename T, precision P, bool Aligned> 25 template <typename T, precision P, bool Aligned> 26 struct compute_transpose<tmat2x2, T, P, Aligned> 39 template <typename T, precision P, bool Aligned> 40 struct compute_transpose<tmat2x3, T, P, Aligned> 55 template <typename T, precision P, bool Aligned> 56 struct compute_transpose<tmat2x4, T, P, Aligned> 73 template <typename T, precision P, bool Aligned> 74 struct compute_transpose<tmat3x2, T, P, Aligned> [all …]
|
/external/tensorflow/tensorflow/core/framework/ |
D | tensor_types.h | 28 Eigen::Aligned> 31 Eigen::Tensor<const T, NDIMS, Eigen::RowMajor, IndexType>, Eigen::Aligned> 42 Eigen::Aligned> 48 Eigen::Aligned> 52 Eigen::Aligned> 65 Eigen::Aligned> 68 Eigen::Tensor<const T, 1, Eigen::RowMajor, IndexType>, Eigen::Aligned> 71 Eigen::Aligned> 74 Eigen::Tensor<const T, 1, Eigen::RowMajor, IndexType>, Eigen::Aligned> 91 Eigen::Aligned> [all …]
|
/external/eigen/Eigen/src/Core/products/ |
D | GeneralMatrixVector.h | 219 _EIGEN_ACCUMULATE_PACKETS(Aligned,Aligned,Aligned); 223 _EIGEN_ACCUMULATE_PACKETS(Aligned,Unaligned,Aligned); 233 A01 = lhs1.template load<LhsPacket, Aligned>(alignedStart-1); 234 A02 = lhs2.template load<LhsPacket, Aligned>(alignedStart-2); 235 A03 = lhs3.template load<LhsPacket, Aligned>(alignedStart-3); 239 … A11 = lhs1.template load<LhsPacket, Aligned>(j-1+LhsPacketSize); palign<1>(A01,A11); 240 … A12 = lhs2.template load<LhsPacket, Aligned>(j-2+LhsPacketSize); palign<2>(A02,A12); 241 … A13 = lhs3.template load<LhsPacket, Aligned>(j-3+LhsPacketSize); palign<3>(A03,A13); 243 A00 = lhs0.template load<LhsPacket, Aligned>(j); 244 A10 = lhs0.template load<LhsPacket, Aligned>(j+LhsPacketSize); [all …]
|
/external/rust/crates/bstr/src/unicode/fsm/ |
D | whitespace_anchored_fwd.rs | 11 struct Aligned<B: ?Sized> { 16 static ALIGNED: &'static Aligned<[u8]> = &Aligned { 29 struct Aligned<B: ?Sized> { 34 static ALIGNED: &'static Aligned<[u8]> = &Aligned {
|
D | regional_indicator_rev.rs | 11 struct Aligned<B: ?Sized> { 16 static ALIGNED: &'static Aligned<[u8]> = &Aligned { 29 struct Aligned<B: ?Sized> { 34 static ALIGNED: &'static Aligned<[u8]> = &Aligned {
|
D | grapheme_break_fwd.rs | 11 struct Aligned<B: ?Sized> { 16 static ALIGNED: &'static Aligned<[u8]> = &Aligned { 29 struct Aligned<B: ?Sized> { 34 static ALIGNED: &'static Aligned<[u8]> = &Aligned {
|
D | simple_word_fwd.rs | 11 struct Aligned<B: ?Sized> { 16 static ALIGNED: &'static Aligned<[u8]> = &Aligned { 29 struct Aligned<B: ?Sized> { 34 static ALIGNED: &'static Aligned<[u8]> = &Aligned {
|
D | whitespace_anchored_rev.rs | 11 struct Aligned<B: ?Sized> { 16 static ALIGNED: &'static Aligned<[u8]> = &Aligned { 29 struct Aligned<B: ?Sized> { 34 static ALIGNED: &'static Aligned<[u8]> = &Aligned {
|
D | word_break_fwd.rs | 11 struct Aligned<B: ?Sized> { 16 static ALIGNED: &'static Aligned<[u8]> = &Aligned { 29 struct Aligned<B: ?Sized> { 34 static ALIGNED: &'static Aligned<[u8]> = &Aligned {
|
D | sentence_break_fwd.rs | 11 struct Aligned<B: ?Sized> { 16 static ALIGNED: &'static Aligned<[u8]> = &Aligned { 29 struct Aligned<B: ?Sized> { 34 static ALIGNED: &'static Aligned<[u8]> = &Aligned {
|
D | grapheme_break_rev.rs | 11 struct Aligned<B: ?Sized> { 16 static ALIGNED: &'static Aligned<[u8]> = &Aligned { 29 struct Aligned<B: ?Sized> { 34 static ALIGNED: &'static Aligned<[u8]> = &Aligned {
|
/external/deqp/external/vulkancts/data/vulkan/amber/spirv_assembly/instruction/spirv1p4/opcopymemory/ |
D | different_alignments.amber | 39 OpCopyMemory %dst_gep0 %src_gep0 Aligned 16 Aligned 4 42 OpCopyMemory %dst_gep1 %src_gep1 Aligned 16 Aligned 4 45 OpCopyMemory %dst_gep2 %src_gep2 Aligned 16 Aligned 4 48 OpCopyMemory %dst_gep3 %src_gep3 Aligned 16 Aligned 4
|
/external/eigen/test/ |
D | mapstride.cpp | 25 if(Alignment!=Aligned) in map_class_vector() 65 if(Alignment!=Aligned) in map_class_matrix() 70 if(Alignment!=Aligned) in map_class_matrix() 153 CALL_SUBTEST_1( map_class_vector<Aligned>(Matrix<float, 1, 1>()) ); in test_mapstride() 155 CALL_SUBTEST_2( map_class_vector<Aligned>(Vector4d()) ); in test_mapstride() 157 CALL_SUBTEST_3( map_class_vector<Aligned>(RowVector4f()) ); in test_mapstride() 159 CALL_SUBTEST_4( map_class_vector<Aligned>(VectorXcf(internal::random<int>(1,maxn))) ); in test_mapstride() 161 CALL_SUBTEST_5( map_class_vector<Aligned>(VectorXi(internal::random<int>(1,maxn))) ); in test_mapstride() 164 CALL_SUBTEST_1( map_class_matrix<Aligned>(Matrix<float, 1, 1>()) ); in test_mapstride() 166 CALL_SUBTEST_2( map_class_matrix<Aligned>(Matrix4d()) ); in test_mapstride() [all …]
|
/external/eigen/unsupported/test/ |
D | cxx11_tensor_of_float16_cuda.cu | 34 Eigen::TensorMap<Eigen::Tensor<float, 1>, Eigen::Aligned> gpu_float( in test_cuda_numext() 36 Eigen::TensorMap<Eigen::Tensor<bool, 1>, Eigen::Aligned> gpu_res_half( in test_cuda_numext() 38 Eigen::TensorMap<Eigen::Tensor<bool, 1>, Eigen::Aligned> gpu_res_float( in test_cuda_numext() 74 Eigen::TensorMap<Eigen::Tensor<float, 1>, Eigen::Aligned> gpu_float( in test_cuda_conversion() 76 Eigen::TensorMap<Eigen::Tensor<Eigen::half, 1>, Eigen::Aligned> gpu_half( in test_cuda_conversion() 78 Eigen::TensorMap<Eigen::Tensor<float, 1>, Eigen::Aligned> gpu_conv( in test_cuda_conversion() 109 Eigen::TensorMap<Eigen::Tensor<float, 1>, Eigen::Aligned> gpu_float( in test_cuda_unary() 111 Eigen::TensorMap<Eigen::Tensor<float, 1>, Eigen::Aligned> gpu_res_half( in test_cuda_unary() 113 Eigen::TensorMap<Eigen::Tensor<float, 1>, Eigen::Aligned> gpu_res_float( in test_cuda_unary() 147 Eigen::TensorMap<Eigen::Tensor<float, 1>, Eigen::Aligned> gpu_float1( in test_cuda_elementwise() [all …]
|
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/ |
D | spv.bufferhandle4.frag.out | 82 27: 7(ptr) Load 26 Aligned 8 84 30: 9(ptr) Load 29 Aligned 8 86 32: 7(ptr) Load 31 Aligned 8 88 34: 9(ptr) Load 33 Aligned 8 90 36: 7(ptr) Load 35 Aligned 8 92 39: 6(int) Load 38 Aligned 16 94 Store 40 39 Aligned 16 108 56: 7(ptr) Load 55 Aligned 8 110 58: 9(ptr) Load 57 Aligned 8
|
D | spv.bufferhandle1.frag.out | 79 25: 8(int) Load 24 Aligned 16 81 Store 26 25 Aligned 4 88 36: 8(int) Load 35 Aligned 8 90 Store 37 36 Aligned 4 94 42: 8(int) Load 41 Aligned 4 96 Store 43 42 Aligned 4 100 49: 8(int) Load 48 Aligned MakePointerVisibleKHR NonPrivatePointerKHR 4 50 102 Store 51 49 Aligned 4
|
D | spv.bufferhandle14.frag.out | 87 17: 7(int) Load 16 Aligned 4 89 Store 18 17 Aligned 4 93 26: 7(int) Load 25 Aligned 8 95 Store 27 26 Aligned 8 99 35: 7(int) Load 34 Aligned 8 101 Store 36 35 Aligned 16 105 44: 7(int) Load 43 Aligned 8 107 Store 45 44 Aligned 32
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | spv.bufferhandle4.frag.out | 82 27: 7(ptr) Load 26 Aligned 8 84 30: 9(ptr) Load 29 Aligned 8 86 32: 7(ptr) Load 31 Aligned 8 88 34: 9(ptr) Load 33 Aligned 8 90 36: 7(ptr) Load 35 Aligned 8 92 39: 6(int) Load 38 Aligned 16 94 Store 40 39 Aligned 16 108 56: 7(ptr) Load 55 Aligned 8 110 58: 9(ptr) Load 57 Aligned 8
|
D | spv.bufferhandle1.frag.out | 79 25: 8(int) Load 24 Aligned 16 81 Store 26 25 Aligned 4 88 36: 8(int) Load 35 Aligned 8 90 Store 37 36 Aligned 4 94 42: 8(int) Load 41 Aligned 4 96 Store 43 42 Aligned 4 100 49: 8(int) Load 48 Aligned MakePointerVisibleKHR NonPrivatePointerKHR 4 50 102 Store 51 49 Aligned 4
|
D | spv.bufferhandle14.frag.out | 87 17: 7(int) Load 16 Aligned 4 89 Store 18 17 Aligned 4 93 26: 7(int) Load 25 Aligned 8 95 Store 27 26 Aligned 8 99 35: 7(int) Load 34 Aligned 8 101 Store 36 35 Aligned 16 105 44: 7(int) Load 43 Aligned 8 107 Store 45 44 Aligned 32
|
/external/llvm-project/clang/test/CXX/expr/expr.unary/expr.new/ |
D | p14.cpp | 21 struct alignas(Align) Aligned { struct 24 auto *aa = new Aligned<__STDCPP_DEFAULT_NEW_ALIGNMENT__>; // expected-error {{no matching}} 25 auto *ab = new Aligned<__STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2>; // expected-error {{deleted}} 26 auto *aap = new (arg) Aligned<__STDCPP_DEFAULT_NEW_ALIGNMENT__, Arg>; // expected-error {{no matchi… 27 auto *abp = new (arg) Aligned<__STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2, Arg>; // expected-error {{delet…
|
/external/llvm-project/mlir/test/Dialect/SPIRV/Serialization/ |
D | memory-ops.mlir | 90 // CHECK: spv.CopyMemory "Function" %{{.*}}, "Function" %{{.*}} ["Aligned", 4] : f32 91 spv.CopyMemory "Function" %0, "Function" %1 ["Aligned", 4] : f32 99 … // CHECK: spv.CopyMemory "Function" %{{.*}}, "Function" %{{.*}} ["Aligned", 4], ["Volatile"] : f32 100 spv.CopyMemory "Function" %0, "Function" %1 ["Aligned", 4], ["Volatile"] : f32 102 … // CHECK: spv.CopyMemory "Function" %{{.*}}, "Function" %{{.*}} ["Volatile"], ["Aligned", 4] : f32 103 spv.CopyMemory "Function" %0, "Function" %1 ["Volatile"], ["Aligned", 4] : f32 105 …// CHECK: spv.CopyMemory "Function" %{{.*}}, "Function" %{{.*}} ["Aligned", 8], ["Aligned", 4] : f… 106 spv.CopyMemory "Function" %0, "Function" %1 ["Aligned", 8], ["Aligned", 4] : f32
|