/external/llvm-project/clang/include/clang/Basic/ |
D | LangOptions.h | 390 using storage_type = uint16_t; 394 static constexpr unsigned StorageBitSize = 8 * sizeof(storage_type); 398 static constexpr storage_type FirstShift = 0, FirstWidth = 0; 400 static constexpr storage_type NAME##Shift = \ 402 static constexpr storage_type NAME##Width = WIDTH; \ 403 static constexpr storage_type NAME##Mask = ((1 << NAME##Width) - 1) \ 407 static constexpr storage_type TotalWidth = 0 414 storage_type Value; 475 storage_type getAsOpaqueInt() const { return Value; } in getAsOpaqueInt() 476 static FPOptions getFromOpaqueInt(storage_type Value) { in getFromOpaqueInt() [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/ |
D | tensor_test.cc | 90 absl::Status TensorTests(DataType data_type, TensorStorageType storage_type, in TensorTests() argument 93 BHWC(1, 6, 7, 3), {data_type, storage_type, Layout::HWC}, env)); in TensorTests() 95 BHWC(1, 1, 4, 12), {data_type, storage_type, Layout::HWC}, env)); in TensorTests() 97 BHWC(1, 6, 1, 7), {data_type, storage_type, Layout::HWC}, env)); in TensorTests() 101 BHWC(2, 6, 7, 3), {data_type, storage_type, Layout::BHWC}, env)); in TensorTests() 103 BHWC(4, 1, 4, 12), {data_type, storage_type, Layout::BHWC}, env)); in TensorTests() 105 BHWC(7, 6, 1, 7), {data_type, storage_type, Layout::BHWC}, env)); in TensorTests() 107 BHWC(13, 7, 3, 3), {data_type, storage_type, Layout::BHWC}, env)); in TensorTests() 111 BHWDC(1, 6, 7, 4, 3), {data_type, storage_type, Layout::HWDC}, env)); in TensorTests() 113 BHWDC(1, 1, 4, 3, 12), {data_type, storage_type, Layout::HWDC}, env)); in TensorTests() [all …]
|
D | environment.cc | 52 TensorStorageType storage_type) { in IsGpuSupportsStorageType() argument 53 switch (storage_type) { in IsGpuSupportsStorageType() 159 for (auto storage_type : in GetSupportedStorages() 163 if (IsSupported(storage_type)) { in GetSupportedStorages() 164 storage_types.push_back(storage_type); in GetSupportedStorages() 173 for (auto storage_type : in GetSupportedStoragesWithHWZeroClampSupport() 176 if (IsSupported(storage_type)) { in GetSupportedStoragesWithHWZeroClampSupport() 177 storage_types.push_back(storage_type); in GetSupportedStoragesWithHWZeroClampSupport() 183 bool Environment::IsSupported(TensorStorageType storage_type) const { in IsSupported() 184 return IsGpuSupportsStorageType(device_.GetInfo(), storage_type); in IsSupported()
|
D | tensor.cc | 41 switch (descriptor.storage_type) { in AllocateTensorMemory() 226 if (descriptor.storage_type == TensorStorageType::IMAGE_BUFFER) { in CreateTensor() 243 if (descriptor.storage_type == TensorStorageType::IMAGE_BUFFER) { in CreateTensorShared() 328 if (descriptor_.storage_type != TensorStorageType::BUFFER) { in GetGPUResources() 339 if (descriptor_.storage_type != TensorStorageType::TEXTURE_2D) { in GetGPUResources() 375 if (descriptor_.storage_type == TensorStorageType::BUFFER) { in GetGPUResources() 377 } else if (descriptor_.storage_type == TensorStorageType::TEXTURE_2D || in GetGPUResources() 378 descriptor_.storage_type == TensorStorageType::SINGLE_TEXTURE_2D) { in GetGPUResources() 380 } else if (descriptor_.storage_type == TensorStorageType::TEXTURE_ARRAY) { in GetGPUResources() 382 } else if (descriptor_.storage_type == TensorStorageType::TEXTURE_3D) { in GetGPUResources() [all …]
|
/external/libchrome/mojo/public/cpp/base/ |
D | big_buffer_unittest.cc | 30 EXPECT_EQ(BigBuffer::StorageType::kBytes, in.storage_type()); in TEST() 35 EXPECT_EQ(BigBuffer::StorageType::kBytes, out.storage_type()); in TEST() 41 EXPECT_EQ(BigBuffer::StorageType::kBytes, in.storage_type()); in TEST() 46 EXPECT_EQ(BigBuffer::StorageType::kBytes, out.storage_type()); in TEST() 56 EXPECT_EQ(BigBuffer::StorageType::kSharedMemory, in.storage_type()); in TEST() 61 EXPECT_EQ(BigBuffer::StorageType::kSharedMemory, out.storage_type()); in TEST()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/ |
D | metal_spatial_tensor_test.mm | 100 static absl::Status TensorTests(DataType data_type, TensorStorageType storage_type, 103 BHWC(1, 6, 7, 3), {data_type, storage_type, Layout::HWC}, device)); 105 BHWC(1, 1, 4, 12), {data_type, storage_type, Layout::HWC}, device)); 107 BHWC(1, 6, 1, 7), {data_type, storage_type, Layout::HWC}, device)); 111 BHWC(2, 6, 7, 3), {data_type, storage_type, Layout::BHWC}, device)); 113 BHWC(4, 1, 4, 12), {data_type, storage_type, Layout::BHWC}, device)); 115 BHWC(7, 6, 1, 7), {data_type, storage_type, Layout::BHWC}, device)); 117 BHWC(13, 7, 3, 3), {data_type, storage_type, Layout::BHWC}, device)); 121 BHWDC(1, 6, 7, 4, 3), {data_type, storage_type, Layout::HWDC}, device)); 123 BHWDC(1, 1, 4, 3, 12), {data_type, storage_type, Layout::HWDC}, device)); [all …]
|
D | metal_spatial_tensor.cc | 62 switch (descriptor.storage_type) { in AllocateTensorMemory() 78 if (descriptor.storage_type == TensorStorageType::IMAGE_BUFFER) { in AllocateTensorMemory() 233 if (descriptor_.storage_type != TensorStorageType::BUFFER) { in GetGPUResources() 244 if (descriptor_.storage_type != TensorStorageType::TEXTURE_2D) { in GetGPUResources() 280 if (descriptor_.storage_type == TensorStorageType::BUFFER) { in GetGPUResources() 282 } else if (descriptor_.storage_type == TensorStorageType::TEXTURE_2D) { in GetGPUResources() 284 } else if (descriptor_.storage_type == TensorStorageType::TEXTURE_3D) { in GetGPUResources() 286 } else if (descriptor_.storage_type == TensorStorageType::TEXTURE_ARRAY) { in GetGPUResources() 288 } else if (descriptor_.storage_type == TensorStorageType::IMAGE_BUFFER) { in GetGPUResources() 300 switch (descriptor_.storage_type) { in GetFullTensorRegion() [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/task/ |
D | tensor_desc.cc | 79 storage_type(desc.storage_type), in TensorDescriptor() 86 std::swap(storage_type, desc.storage_type); in operator =() 119 if (storage_type == TensorStorageType::BUFFER) { in GetGPUResources() 133 } else if (storage_type == TensorStorageType::SINGLE_TEXTURE_2D || in GetGPUResources() 134 storage_type == TensorStorageType::TEXTURE_2D) { in GetGPUResources() 139 } else if (storage_type == TensorStorageType::TEXTURE_ARRAY) { in GetGPUResources() 144 } else if (storage_type == TensorStorageType::TEXTURE_3D) { in GetGPUResources() 149 } else if (storage_type == TensorStorageType::IMAGE_BUFFER) { in GetGPUResources() 239 if (storage_type == TensorStorageType::BUFFER || in PerformReadSelector() 240 storage_type == TensorStorageType::IMAGE_BUFFER) { in PerformReadSelector() [all …]
|
D | tensor_linear_desc.cc | 32 if (storage_type == LinearStorageType::BUFFER) { in GetGPUResources() 58 if (storage_type != LinearStorageType::BUFFER) { in PerformSelector() 78 if (storage_type == LinearStorageType::BUFFER) { in PerformReadSelector()
|
D | tensor_desc.h | 48 : data_type(dt), storage_type(st), layout(l) {} in TensorDescriptor() 56 return data_type == d.data_type && storage_type == d.storage_type && 96 TensorStorageType storage_type = TensorStorageType::UNKNOWN; member
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | ErrorOr.h | 64 using storage_type = typename std::conditional<isRef, wrap, T>::type; 91 new (getStorage()) storage_type(std::forward<OtherT>(Val)); in HasError() 148 getStorage()->~storage_type(); in ~ErrorOr() 181 new (getStorage()) storage_type(*Other.getStorage()); in copyConstruct() 213 new (getStorage()) storage_type(std::move(*Other.getStorage())); in moveConstruct() 242 storage_type *getStorage() { in getStorage() 244 return reinterpret_cast<storage_type*>(TStorage.buffer); in getStorage() 247 const storage_type *getStorage() const { in getStorage() 249 return reinterpret_cast<const storage_type*>(TStorage.buffer); in getStorage() 262 AlignedCharArrayUnion<storage_type> TStorage;
|
/external/llvm-project/llvm/include/llvm/Support/ |
D | ErrorOr.h | 63 using storage_type = std::conditional_t<isRef, wrap, T>; 89 new (getStorage()) storage_type(std::forward<OtherT>(Val)); in HasError() 141 getStorage()->~storage_type(); in ~ErrorOr() 174 new (getStorage()) storage_type(*Other.getStorage()); in copyConstruct() 206 new (getStorage()) storage_type(std::move(*Other.getStorage())); in moveConstruct() 235 storage_type *getStorage() { in getStorage() 237 return reinterpret_cast<storage_type *>(&TStorage); in getStorage() 240 const storage_type *getStorage() const { in getStorage() 242 return reinterpret_cast<const storage_type *>(&TStorage); in getStorage() 255 std::aligned_union_t<1, storage_type> TStorage;
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | ErrorOr.h | 74 typedef typename std::conditional<isRef, wrap, T>::type storage_type; typedef 101 new (getStorage()) storage_type(std::forward<OtherT>(Val)); in HasError() 158 getStorage()->~storage_type(); in ~ErrorOr() 191 new (getStorage()) storage_type(*Other.getStorage()); in copyConstruct() 223 new (getStorage()) storage_type(std::move(*Other.getStorage())); in moveConstruct() 252 storage_type *getStorage() { in getStorage() 254 return reinterpret_cast<storage_type*>(TStorage.buffer); in getStorage() 257 const storage_type *getStorage() const { in getStorage() 259 return reinterpret_cast<const storage_type*>(TStorage.buffer); in getStorage() 272 AlignedCharArrayUnion<storage_type> TStorage;
|
/external/llvm/include/llvm/Support/ |
D | ErrorOr.h | 74 typedef typename std::conditional<isRef, wrap, T>::type storage_type; typedef 101 new (getStorage()) storage_type(std::forward<OtherT>(Val)); in HasError() 158 getStorage()->~storage_type(); in ~ErrorOr() 191 new (getStorage()) storage_type(*Other.getStorage()); in copyConstruct() 223 new (getStorage()) storage_type(std::move(*Other.getStorage())); in moveConstruct() 252 storage_type *getStorage() { in getStorage() 254 return reinterpret_cast<storage_type*>(TStorage.buffer); in getStorage() 257 const storage_type *getStorage() const { in getStorage() 259 return reinterpret_cast<const storage_type*>(TStorage.buffer); in getStorage() 272 AlignedCharArrayUnion<storage_type> TStorage;
|
D | Error.h | 608 typedef typename std::conditional<isRef, wrap, T>::type storage_type; typedef 642 new (getStorage()) storage_type(std::forward<OtherT>(Val)); in HasError() 677 getStorage()->~storage_type(); in ~Expected() 762 new (getStorage()) storage_type(std::move(*Other.getStorage())); in moveConstruct() 785 storage_type *getStorage() { in getStorage() 787 return reinterpret_cast<storage_type *>(TStorage.buffer); in getStorage() 790 const storage_type *getStorage() const { in getStorage() 792 return reinterpret_cast<const storage_type *>(TStorage.buffer); in getStorage() 817 AlignedCharArrayUnion<storage_type> TStorage;
|
/external/tensorflow/tensorflow/compiler/mlir/xla/ |
D | operator_writer_gen.cc | 44 StringRef storage_type = attr.getStorageType(); in GetDefaultAttrExport() local 46 if (!attr.isEnumAttr() && (storage_type.endswith("BoolAttr") || in GetDefaultAttrExport() 47 storage_type.endswith("FloatAttr") || in GetDefaultAttrExport() 48 storage_type.endswith("IntegerAttr") || in GetDefaultAttrExport() 49 storage_type.endswith("StringAttr"))) { in GetDefaultAttrExport()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/selectors/default/ |
D | dw_convolution_selector.cc | 53 const auto storage_type = op_def.src_tensors[0].storage_type; in SelectDWConvolutionMali() local 54 bool buffer_type = storage_type == TensorStorageType::BUFFER || in SelectDWConvolutionMali() 55 storage_type == TensorStorageType::IMAGE_BUFFER; in SelectDWConvolutionMali()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceClFlags.h | 63 using storage_type = std::vector<std::string>; 68 using storage_type = Ice::VerboseMask; 73 using storage_type = T; 78 using storage_type = T; 115 detail::cl_type_traits<Type, cl_detail::ClType>::storage_type; \
|
/external/clang/lib/Serialization/ |
D | MultiOnDiskHashTable.h | 36 typedef const unsigned char *storage_type; typedef 53 storage_type Buckets, storage_type Payload, storage_type Base, in OnDiskTable() 182 void add(file_type File, storage_type Data, Info InfoObj = Info()) { 184 storage_type Ptr = Data; 200 storage_type Buckets = Data + BucketOffset;
|
/external/llvm-project/clang/lib/Serialization/ |
D | MultiOnDiskHashTable.h | 46 using storage_type = const unsigned char *; variable 67 storage_type Buckets, storage_type Payload, storage_type Base, in OnDiskTable() 197 void add(file_type File, storage_type Data, Info InfoObj = Info()) { 200 storage_type Ptr = Data; 216 storage_type Buckets = Data + BucketOffset;
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/ |
D | prelu.cc | 37 desc.storage_type = in CreatePReLU() 51 TensorStorageType storage_type = SelectBestStorageType( in CreatePReLU() local 54 TensorDescriptor desc{definition.GetDataType(), storage_type, Layout::HWC}; in CreatePReLU()
|
/external/clang/test/CodeGenCXX/ |
D | ms-inline-asm-fields.cpp | 44 typedef typename make_storage_type<Signed>::type storage_type; typedef 46 storage_type p; in store()
|
/external/llvm-project/clang/test/CodeGenCXX/ |
D | ms-inline-asm-fields.cpp | 44 typedef typename make_storage_type<Signed>::type storage_type; typedef 46 storage_type p; in store()
|
/external/autotest/server/cros/storage/ |
D | storage_validate.py | 109 storage_type = self.get_type() 110 if storage_type == STORAGE_TYPE_SSD: 112 elif storage_type == STORAGE_TYPE_MMC: 114 elif storage_type == STORAGE_TYPE_NVME:
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/selectors/ |
D | simple_selectors.cc | 192 const auto src_storage = op_def.src_tensors[0].storage_type; in SelectWinograd4x4To36() 193 const auto dst_storage = op_def.src_tensors[0].storage_type; in SelectWinograd4x4To36() 210 const auto src_storage = op_def.src_tensors[0].storage_type; in SelectWinograd36To4x4() 211 const auto dst_storage = op_def.src_tensors[0].storage_type; in SelectWinograd36To4x4()
|