| /llvm-project-15.0.7/mlir/test/Dialect/Quant/ |
| H A D | parse-any-invalid.mlir | 4 // Unrecognized token: missing storage type maximum 19 // Unrecognized storage type: illegal prefix 24 // Unrecognized storage type: no width 29 // Unrecognized storage type: storage size > 32 34 // Unrecognized storage type: storage size < 0 39 // Unrecognized storage type: storage size 44 // Illegal storage min/max: max - min < 0 45 // expected-error@+1 {{illegal storage min and storage max: (2:1)}} 49 // Illegal storage min/max: max - min == 0 50 // expected-error@+1 {{illegal storage min and storage max: (1:1)}} [all …]
|
| H A D | parse-uniform-invalid.mlir | 39 // Unrecognized storage type: illegal prefix 44 // Unrecognized storage type: no width 49 // Unrecognized storage type: storage size > 32 54 // Unrecognized storage type: storage size < 0 59 // Unrecognized storage type: storage size 64 // Illegal storage min/max: max - min < 0 65 // expected-error@+1 {{illegal storage min and storage max: (2:1)}} 69 // Illegal storage min/max: max - min == 0 70 // expected-error@+1 {{illegal storage min and storage max: (1:1)}} 74 // Illegal storage min/max: max > defaultMax [all …]
|
| /llvm-project-15.0.7/mlir/lib/Support/ |
| H A D | StorageUniquer.cpp | 44 : hashValue(hashValue), storage(storage) {} in HashedStorage() 46 BaseStorage *storage; member 67 return lhs.storage == rhs.storage; in isEqual() 73 return lhs.isEqual(rhs.storage); in isEqual() 100 BaseStorage *&storage = existing.first->storage; in getOrCreateUnsafe() local 102 storage = ctorFn(shard.allocator); in getOrCreateUnsafe() 103 return storage; in getOrCreateUnsafe() 111 destructorFn(instance.storage); in destroyShardInstances() 158 return localInst = it->storage; in getOrCreate() 171 Shard &shard = getShardFor(storage); in mutate() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | IRSymtab.cpp | 93 std::vector<storage::Comdat> Comdats; 94 std::vector<storage::Module> Mods; 95 std::vector<storage::Symbol> Syms; 96 std::vector<storage::Uncommon> Uncommons; 150 storage::Module Mod; in addModule() 174 storage::Str Specifier; in addModule() 209 storage::Comdat Comdat; in getComdatIndex() 222 storage::Symbol &Sym = Syms.back(); in addSymbol() 225 storage::Uncommon *Unc = nullptr; in addSymbol() 335 storage::Header Hdr; in build() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Object/ |
| H A D | IRSymtab.h | 46 namespace storage { 192 using S = storage::Symbol; 239 ArrayRef<storage::Module> Modules; 240 ArrayRef<storage::Comdat> Comdats; 241 ArrayRef<storage::Symbol> Symbols; 242 ArrayRef<storage::Uncommon> Uncommons; 251 const storage::Header &header() const { in header() 314 const storage::Symbol *SymI, *SymE; 315 const storage::Uncommon *UncI; 338 SymbolRef(const storage::Symbol *SymI, const storage::Symbol *SymE, in SymbolRef() [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/Trace/intel-pt/ |
| H A D | TraceIntelPT.cpp | 133 Storage &storage = GetUpdatedStorage(); in Decode() local 134 if (storage.multicpu_decoder) in Decode() 144 Storage &storage = GetUpdatedStorage(); in FindBeginningOfTimeNanos() local 149 if (!storage.tsc_conversion) in FindBeginningOfTimeNanos() 154 if (storage.multicpu_decoder) { in FindBeginningOfTimeNanos() 173 storage.beginning_of_time_nanos = in FindBeginningOfTimeNanos() 176 return storage.beginning_of_time_nanos; in FindBeginningOfTimeNanos() 274 if (storage.multicpu_decoder) { in DumpTraceInfo() 368 if (storage.multicpu_decoder) { in DumpTraceInfoAsJson() 398 if (storage.multicpu_decoder) { in DumpTraceInfoAsJson() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.members/ |
| H A D | allocate_hint.pass.cpp | 35 return &storage; in allocate() 38 value_type storage; member 50 return &storage; in allocate() 53 value_type storage; member 61 assert(std::allocator_traits<A<int> >::allocate(a, 10, nullptr) == &a.storage); in test() 66 assert(std::allocator_traits<Alloc>::allocate(a, 10, nullptr) == &a.storage); in test() 71 assert(std::allocator_traits<B<int> >::allocate(b, 11, nullptr) == &b.storage); in test() 76 assert(std::allocator_traits<Alloc>::allocate(b, 11, nullptr) == &b.storage); in test()
|
| H A D | allocate.pass.cpp | 35 return &storage; in allocate() 38 value_type storage; member 45 assert(std::allocator_traits<A<int> >::allocate(a, 10) == &a.storage); in test() 50 assert(std::allocator_traits<Alloc>::allocate(a, 10) == &a.storage); in test()
|
| H A D | deallocate.pass.cpp | 34 assert(p == &storage); in deallocate() 41 value_type storage; member 49 std::allocator_traits<A<int> >::deallocate(a, &a.storage, 10); in test() 56 std::allocator_traits<Alloc>::deallocate(a, &a.storage, 10); in test()
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/ |
| H A D | SPIRVTypes.h | 58 Optional<StorageClass> storage = llvm::None); 70 Optional<StorageClass> storage = llvm::None); 91 Optional<StorageClass> storage = llvm::None); 93 Optional<StorageClass> storage = llvm::None); 119 Optional<StorageClass> storage = llvm::None); 121 Optional<StorageClass> storage = llvm::None); 147 Optional<StorageClass> storage = llvm::None); 149 Optional<StorageClass> storage = llvm::None); 190 Optional<StorageClass> storage = llvm::None); 208 Optional<StorageClass> storage = llvm::None); [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | BuiltinTypes.h | 245 if (storage.empty()) in dropDim() 247 storage.erase(storage.begin() + pos); in dropDim() 248 shape = {storage.data(), storage.size()}; in dropDim() 255 if (storage.empty()) in insertDim() 257 storage.insert(storage.begin() + pos, val); in insertDim() 258 shape = {storage.data(), storage.size()}; in insertDim() 269 SmallVector<int64_t> storage; variable 310 if (storage.empty()) in dropDim() 312 storage.erase(storage.begin() + pos); in dropDim() 313 shape = {storage.data(), storage.size()}; in dropDim() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/ |
| H A D | SPIRVTypes.cpp | 73 Optional<StorageClass> storage) { in getCapabilities() argument 148 Optional<StorageClass> storage) { in getExtensions() argument 155 extensions, storage); in getExtensions() 162 Optional<StorageClass> storage) { in getCapabilities() argument 175 capabilities, storage); in getCapabilities() 242 Optional<StorageClass> storage) { in getExtensions() argument 251 Optional<StorageClass> storage) { in getCapabilities() argument 520 if (!storage) in getExtensions() 523 switch (*storage) { in getExtensions() 575 if (storage) { in getCapabilities() [all …]
|
| /llvm-project-15.0.7/lldb/source/Target/ |
| H A D | Trace.cpp | 187 Storage &storage = GetUpdatedStorage(); in GetLiveThreadBinaryDataSize() local 193 Storage &storage = GetUpdatedStorage(); in GetLiveCpuBinaryDataSize() local 198 Storage &storage = GetUpdatedStorage(); in GetLiveProcessBinaryDataSize() local 372 Storage &storage = GetUpdatedStorage(); in GetPostMortemThreadDataFile() local 385 Storage &storage = GetUpdatedStorage(); in GetPostMortemCpuDataFile() local 398 Storage &storage = GetUpdatedStorage(); in SetPostMortemThreadDataFile() local 404 Storage &storage = GetUpdatedStorage(); in SetPostMortemCpuDataFile() local 481 if (!storage.cpus) in OnAllCpusBinaryDataRead() 486 if (cpu_id == storage.cpus->end()) in OnAllCpusBinaryDataRead() 511 if (storage.cpus) in GetTracedCpus() [all …]
|
| /llvm-project-15.0.7/clang/test/Analysis/inlining/ |
| H A D | containers.cpp | 88 int *storage; member in MySet 91 MySet() : storage(0), size(0) { in MySet() 98 MySet(unsigned n) : storage(new int[n]), size(n) { in MySet() 105 ~MySet() { delete[] storage; } in ~MySet() 126 return iterator(storage); in begin() 134 return iterator(storage+size); in end() 144 return storage; in raw_begin() 151 return storage + size; in raw_end()
|
| /llvm-project-15.0.7/clang/test/SemaOpenCLCXX/ |
| H A D | restricted.clcpp | 31 // Test storage class qualifiers. 33 // expected-error@-1 {{C++ for OpenCL version 1.0 does not support the '_Thread_local' storage clas… 35 // expected-error@-3 {{thread-local storage is not supported for the current target}} 37 // expected-error@-1 {{C++ for OpenCL version 1.0 does not support the '__thread' storage class spe… 38 // expected-error@-2 {{thread-local storage is not supported for the current target}} 41 …// expected-error@-1 {{C++ for OpenCL version 1.0 does not support the 'register' storage class sp… 43 …// expected-error@-1 {{C++ for OpenCL version 1.0 does not support the 'thread_local' storage clas… 44 // expected-error@-2 {{thread-local storage is not supported for the current target}}
|
| /llvm-project-15.0.7/mlir/include/mlir/Support/ |
| H A D | StorageUniquer.h | 154 registerParametricStorageTypeImpl(id, [](BaseStorage *storage) { in registerParametricStorageType() 155 static_cast<Storage *>(storage)->~Storage(); in registerParametricStorageType() 172 auto *storage = new (allocator.allocate<Storage>()) Storage(); in registerSingletonStorageType() local 174 initFn(storage); in registerSingletonStorageType() 175 return storage; in registerSingletonStorageType() 210 auto *storage = Storage::construct(allocator, derivedKey); in get() local 212 initFn(storage); in get() 213 return storage; in get() 254 return static_cast<Storage &>(*storage).mutate( in mutate() 257 return mutateImpl(id, storage, mutationFn); in mutate() [all …]
|
| H A D | TypeID.h | 116 return storage == other.storage; 130 return static_cast<const void *>(storage); in getAsOpaquePointer() 140 TypeID(const Storage *storage) : storage(storage) {} in TypeID() argument 143 const Storage *storage; variable 150 return DenseMapInfo<const TypeID::Storage *>::getHashValue(id.storage); in hash_value()
|
| /llvm-project-15.0.7/mlir/include/mlir/CAPI/ |
| H A D | Wrap.h | 41 llvm::SmallVectorImpl<CppTy> &storage) { in unwrapList() argument 49 assert(storage.empty() && "expected to populate storage"); in unwrapList() 50 storage.reserve(size); in unwrapList() 52 storage.push_back(unwrap(*(first + i))); in unwrapList() 53 return storage; in unwrapList()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_ring_buffer.h | 96 void Init(void *storage, uptr size) { in Init() argument 103 uptr st = (uptr)storage; in Init() 114 CompactRingBuffer(void *storage, uptr size) { in CompactRingBuffer() argument 115 Init(storage, size); in CompactRingBuffer() 119 CompactRingBuffer(const CompactRingBuffer &other, void *storage) { in CompactRingBuffer() argument 121 internal_memcpy(storage, other.StartOfStorage(), size); in CompactRingBuffer() 122 Init(storage, size); in CompactRingBuffer() 124 SetNext((const T *)storage + Idx); in CompactRingBuffer()
|
| /llvm-project-15.0.7/llvm/test/Analysis/ScalarEvolution/ |
| H A D | sdiv.ll | 10 ; CHECK-NEXT: %storage = alloca [2 x i32], align 4 11 ; CHECK-NEXT: --> %storage U: [0,-3) S: [-9223372036854775808,9223372036854775805) 12 ; CHECK-NEXT: %0 = bitcast [2 x i32]* %storage to i8* 13 ; CHECK-NEXT: --> %storage U: [0,-3) S: [-9223372036854775808,9223372036854775805) 20 ; CHECK-NEXT: %arrayidx = getelementptr inbounds [2 x i32], [2 x i32]* %storage, i64 0, i64 %idx… 21 …w><nsw> + %storage) U: [0,-3) S: [-9223372036854775808,9223372036854775805) Exits: ((4 * ((zext i3… 40 %storage = alloca [2 x i32], align 4 41 %0 = bitcast [2 x i32]* %storage to i8* 58 %arrayidx = getelementptr inbounds [2 x i32], [2 x i32]* %storage, i64 0, i64 %idxprom
|
| H A D | srem.ll | 10 ; CHECK-NEXT: %storage = alloca [2 x i32], align 4 11 ; CHECK-NEXT: --> %storage U: [0,-3) S: [-9223372036854775808,9223372036854775805) 12 ; CHECK-NEXT: %0 = bitcast [2 x i32]* %storage to i8* 13 ; CHECK-NEXT: --> %storage U: [0,-3) S: [-9223372036854775808,9223372036854775805) 20 ; CHECK-NEXT: %arrayidx = getelementptr inbounds [2 x i32], [2 x i32]* %storage, i64 0, i64 %idx… 21 …w> + %storage) U: [0,-3) S: [-9223372036854775808,9223372036854775805) Exits: ((4 * (zext i1 (trun… 40 %storage = alloca [2 x i32], align 4 41 %0 = bitcast [2 x i32]* %storage to i8* 58 %arrayidx = getelementptr inbounds [2 x i32], [2 x i32]* %storage, i64 0, i64 %idxprom
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | opencl-storage-class.cl | 5 …static int a; // expected-error {{OpenCL C version 1.0 does not support the 'static' storage cla… 6 …register int b; // expected-error {{OpenCL C version 1.0 does not support the 'register' storage c… 7 …extern int c; // expected-error {{OpenCL C version 1.0 does not support the 'extern' storage cla… 8 …auto int d; // expected-error {{OpenCL C version 1.0 does not support the 'auto' storage class…
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/SparseTensor/IR/ |
| H A D | SparseTensorAttrDefs.td | 61 // Unlike dense storage, most sparse storage schemes do not provide 63 // dimensions that should be support by the sparse storage scheme 65 // requests 2-d column-wise storage). 68 // The required bit width for pointer storage. A narrow width reduces 69 // the memory footprint of overhead storage, as long as the width 74 // The required bit width for index storage. A narrow width reduces 75 // the memory footprint of overhead storage, as long as the width
|
| /llvm-project-15.0.7/llvm/utils/ |
| H A D | lldbDataFormatters.py | 123 storage = valobj.GetChildMemberWithName('Storage') 124 if not storage: 125 storage = valobj 128 hasVal = storage.GetChildMemberWithName('hasVal').GetValueAsUnsigned(failure) 135 underlying_type = storage.GetType().GetTemplateArgumentType(0) 136 storage = storage.GetChildMemberWithName('value') 137 return storage.Cast(underlying_type)
|
| /llvm-project-15.0.7/third-party/benchmark/src/ |
| H A D | timers.cc | 208 char storage[128]; in LocalDateTimeString() local 250 std::strftime(storage, sizeof(storage), "%Y-%m-%dT%H:%M:%S", timeinfo_p); in LocalDateTimeString() 255 std::strncat(storage, tz_offset, sizeof(storage) - timestamp_len - 1); in LocalDateTimeString() 256 return std::string(storage); in LocalDateTimeString()
|