| /src/contrib/llvm-project/clang/lib/AST/ ! |
| H A D | TemplateName.cpp | 103 Storage = StorageType::getFromOpaqueValue(Ptr); in TemplateName() 106 TemplateName::TemplateName(TemplateDecl *Template) : Storage(Template) {} in TemplateName() 107 TemplateName::TemplateName(OverloadedTemplateStorage *Storage) in TemplateName() argument 108 : Storage(Storage) {} in TemplateName() 109 TemplateName::TemplateName(AssumedTemplateStorage *Storage) in TemplateName() argument 110 : Storage(Storage) {} in TemplateName() 111 TemplateName::TemplateName(SubstTemplateTemplateParmStorage *Storage) in TemplateName() argument 112 : Storage(Storage) {} in TemplateName() 113 TemplateName::TemplateName(SubstTemplateTemplateParmPackStorage *Storage) in TemplateName() argument 114 : Storage(Storage) {} in TemplateName() [all …]
|
| /src/contrib/llvm-project/llvm/include/llvm/ADT/ ! |
| H A D | Any.h | 66 : Storage(Other.Storage ? Other.Storage->clone() : nullptr) {} in Any() 89 Storage = in Any() 93 Any(Any &&Other) : Storage(std::move(Other.Storage)) {} in Any() 96 std::swap(Storage, Other.Storage); in swap() 101 Storage = std::move(Other.Storage); 105 bool has_value() const { return !!Storage; } in has_value() 107 void reset() { Storage.reset(); } in reset() 112 if (!Storage) in isa() 114 return Storage->id() == &Any::TypeId<remove_cvref_t<T>>::Id; in isa() 124 std::unique_ptr<StorageBase> Storage; variable [all …]
|
| H A D | LazyAtomicPointer.h | 67 if (Storage.compare_exchange_weak(RawExistingValue, makeRaw(NewValue))) in compare_exchange_weak() 83 if (Storage.compare_exchange_strong(RawExistingValue, makeRaw(NewValue))) in compare_exchange_strong() 90 if (Storage.compare_exchange_weak(RawExistingValue, makeRaw(NewValue))) in compare_exchange_strong() 101 uintptr_t RawValue = Storage.load(); in load() 111 uintptr_t Raw = Storage.load(); in loadOrGenerate() 117 Storage.compare_exchange_strong(Raw, getBusy()))) { in loadOrGenerate() 120 Storage.store(Raw); in loadOrGenerate() 126 Raw = Storage.load(); in loadOrGenerate() 141 LazyAtomicPointer() : Storage(0) {} in LazyAtomicPointer() 142 LazyAtomicPointer(std::nullptr_t) : Storage(0) {} in LazyAtomicPointer() [all …]
|
| /src/contrib/llvm-project/llvm/include/llvm/IR/ ! |
| H A D | InlineAsm.h | 304 uint32_t Storage; variable 314 unsigned getMatchedOperandNo() const { return Bitfield::get<MatchedOperandNo>(Storage); } in getMatchedOperandNo() 315 unsigned getRegClass() const { return Bitfield::get<RegClass>(Storage); } in getRegClass() 316 bool isMatched() const { return Bitfield::get<IsMatched>(Storage); } in isMatched() 319 Flag() : Storage(0) {} in Flag() 320 explicit Flag(uint32_t F) : Storage(F) {} in Flag() 321 Flag(enum Kind K, unsigned NumOps) : Storage(0) { in Flag() 322 Bitfield::set<KindField>(Storage, K); in Flag() 323 Bitfield::set<NumOperands>(Storage, NumOps); in Flag() 325 operator uint32_t() { return Storage; } in uint32_t() [all …]
|
| H A D | DebugInfoMetadata.h | 140 DINode(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag, 142 : MDNode(C, ID, Storage, Ops1, Ops2) { in MDNode() argument 240 GenericDINode(LLVMContext &C, StorageType Storage, unsigned Hash, in GenericDINode() argument 243 : DINode(C, GenericDINodeKind, Storage, Tag, Ops1, Ops2) { in GenericDINode() 253 StorageType Storage, bool ShouldCreate = true) { 255 DwarfOps, Storage, ShouldCreate); 260 StorageType Storage, bool ShouldCreate = true); 313 DIAssignID(LLVMContext &C, StorageType Storage) in DIAssignID() argument 314 : MDNode(C, DIAssignIDKind, Storage, std::nullopt) {} in DIAssignID() 318 static DIAssignID *getImpl(LLVMContext &Context, StorageType Storage, [all …]
|
| /src/contrib/llvm-project/clang/include/clang/Lex/ ! |
| H A D | ModuleLoader.h | 49 llvm::PointerIntPair<Module *, 2, LoadResultKind> Storage; variable 52 ModuleLoadResult(Module *M) : Storage(M, Normal) {} in ModuleLoadResult() 53 ModuleLoadResult(LoadResultKind Kind) : Storage(nullptr, Kind) {} in ModuleLoadResult() 54 ModuleLoadResult(Module *M, LoadResultKind Kind) : Storage(M, Kind) {} in ModuleLoadResult() 57 return Storage.getInt() == Normal && Storage.getPointer(); 60 operator Module *() const { return Storage.getPointer(); } 64 bool isNormal() const { return Storage.getInt() == Normal; } in isNormal() 70 bool isMissingExpected() const { return Storage.getInt() == MissingExpected; } in isMissingExpected() 74 bool isConfigMismatch() const { return Storage.getInt() == ConfigMismatch; } in isConfigMismatch()
|
| H A D | ModuleMap.h | 160 llvm::PointerIntPair<Module *, 3, ModuleHeaderRole> Storage; variable 163 KnownHeader() : Storage(nullptr, NormalHeader) {} in KnownHeader() 164 KnownHeader(Module *M, ModuleHeaderRole Role) : Storage(M, Role) {} in KnownHeader() 167 return A.Storage == B.Storage; 170 return A.Storage != B.Storage; 174 Module *getModule() const { return Storage.getPointer(); } in getModule() 177 ModuleHeaderRole getRole() const { return Storage.getInt(); } in getRole() 193 return Storage.getPointer() != nullptr;
|
| /src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ ! |
| H A D | ExplodedGraph.cpp | 213 GroupStorage &Storage = reinterpret_cast<GroupStorage&>(P); in replaceNode() local 214 assert(Storage.is<ExplodedNode *>()); in replaceNode() 215 Storage = node; in replaceNode() 216 assert(Storage.is<ExplodedNode *>()); in replaceNode() 222 GroupStorage &Storage = reinterpret_cast<GroupStorage&>(P); in addNode() local 223 if (Storage.isNull()) { in addNode() 224 Storage = N; in addNode() 225 assert(Storage.is<ExplodedNode *>()); in addNode() 229 ExplodedNodeVector *V = Storage.dyn_cast<ExplodedNodeVector *>(); in addNode() 233 ExplodedNode *Old = Storage.get<ExplodedNode *>(); in addNode() [all …]
|
| /src/contrib/llvm-project/clang/include/clang/Basic/ ! |
| H A D | CustomizableOptional.h | 29 optional_detail::OptionalStorage<T> Storage; variable 37 constexpr CustomizableOptional(const T &y) : Storage(std::in_place, y) {} in CustomizableOptional() 41 : Storage(std::in_place, std::move(y)) {} in CustomizableOptional() 46 : Storage(std::in_place, std::forward<ArgTypes>(Args)...) {} in CustomizableOptional() 55 Storage = std::move(y); 62 Storage.emplace(std::forward<ArgTypes>(Args)...); in emplace() 66 Storage = y; 71 void reset() { Storage.reset(); } in reset() 74 constexpr const T *getPointer() const { return &Storage.value(); } in getPointer() 76 T *getPointer() { return &Storage.value(); } in getPointer() [all …]
|
| /src/contrib/llvm-project/clang/include/clang/AST/ ! |
| H A D | ASTTypeTraits.h | 278 return BaseConverter<T>::get(NodeKind, &Storage); 286 return BaseConverter<T>::getUnchecked(NodeKind, &Storage); 298 ? *reinterpret_cast<void *const *>(&Storage) 420 static const T *get(ASTNodeKind NodeKind, const void *Storage) { 422 return &getUnchecked(NodeKind, Storage); 425 static const T &getUnchecked(ASTNodeKind NodeKind, const void *Storage) { 428 *reinterpret_cast<const void *const *>(Storage))); 433 new (&Result.Storage) const void *(&Node); 440 static const T *get(ASTNodeKind NodeKind, const void *Storage) { 442 return &getUnchecked(NodeKind, Storage); [all …]
|
| /src/contrib/llvm-project/llvm/lib/IR/ ! |
| H A D | DebugInfoMetadata.cpp | 58 DILocation::DILocation(LLVMContext &C, StorageType Storage, unsigned Line, in DILocation() argument 61 : MDNode(C, DILocationKind, Storage, MDs) { in DILocation() 83 StorageType Storage, bool ShouldCreate) { in getImpl() argument 87 if (Storage == Uniqued) { in getImpl() 102 return storeImpl(new (Ops.size(), Storage) DILocation( in getImpl() 103 Context, Storage, Line, Column, Ops, ImplicitCode), in getImpl() 104 Storage, Context.pImpl->DILocations); in getImpl() 395 StorageType Storage, bool ShouldCreate) { in getImpl() argument 397 if (Storage == Uniqued) { in getImpl() 411 return storeImpl(new (DwarfOps.size() + 1, Storage) GenericDINode( in getImpl() [all …]
|
| H A D | User.cpp | 134 uint8_t *Storage = static_cast<uint8_t *>( in allocateFixedOperandUser() local 136 Use *Start = reinterpret_cast<Use *>(Storage + DescBytesToAllocate); in allocateFixedOperandUser() 146 auto *DescInfo = reinterpret_cast<DescriptorInfo *>(Storage + DescBytes); in allocateFixedOperandUser() 163 void *Storage = ::operator new(Size + sizeof(Use *)); in operator new() local 164 Use **HungOffOperandList = static_cast<Use **>(Storage); in operator new() 196 uint8_t *Storage = reinterpret_cast<uint8_t *>(DI) - DI->SizeInBytes; in operator delete() local 197 ::operator delete(Storage); in operator delete() 199 Use *Storage = static_cast<Use *>(Usr) - Obj->NumUserOperands; in operator delete() local 200 Use::zap(Storage, Storage + Obj->NumUserOperands, in operator delete() 202 ::operator delete(Storage); in operator delete()
|
| H A D | MetadataImpl.h | 28 template <class T> T *MDNode::storeImpl(T *N, StorageType Storage) { in storeImpl() argument 29 switch (Storage) { in storeImpl() 42 T *MDNode::storeImpl(T *N, StorageType Storage, StoreT &Store) { in storeImpl() argument 43 switch (Storage) { in storeImpl()
|
| /src/contrib/llvm-project/llvm/include/llvm/Object/ ! |
| H A D | Minidump.h | 111 MemoryInfoIterator(ArrayRef<uint8_t> Storage, size_t Stride) in MemoryInfoIterator() argument 112 : Storage(Storage), Stride(Stride) { in MemoryInfoIterator() 113 assert(Storage.size() % Stride == 0); in MemoryInfoIterator() 117 return Storage.size() == R.Storage.size(); 121 assert(Storage.size() >= sizeof(minidump::MemoryInfo)); 122 return *reinterpret_cast<const minidump::MemoryInfo *>(Storage.data()); 126 Storage = Storage.drop_front(Stride); 131 ArrayRef<uint8_t> Storage;
|
| /src/contrib/llvm-project/llvm/lib/Support/ ! |
| H A D | DJB.cpp | 37 static StringRef toUTF8(UTF32 C, MutableArrayRef<UTF8> Storage) { in toUTF8() argument 39 UTF8 *Begin8 = Storage.begin(); in toUTF8() 44 Storage.end(), strictConversion); in toUTF8() 47 return StringRef(reinterpret_cast<char *>(Storage.begin()), in toUTF8() 48 Begin8 - Storage.begin()); in toUTF8() 76 std::array<UTF8, UNI_MAX_UTF8_BYTES_PER_CODE_POINT> Storage; in caseFoldingDjbHash() local 79 StringRef Folded = toUTF8(C, Storage); in caseFoldingDjbHash()
|
| H A D | Chrono.cpp | 26 struct tm Storage; in getStructTM() local 30 struct tm *LT = ::localtime_r(&OurTime, &Storage); in getStructTM() 35 int Error = ::localtime_s(&Storage, &OurTime); in getStructTM() 40 return Storage; in getStructTM() 44 struct tm Storage; in getStructTMUtc() local 48 struct tm *LT = ::gmtime_r(&OurTime, &Storage); in getStructTMUtc() 53 int Error = ::gmtime_s(&Storage, &OurTime); in getStructTMUtc() 58 return Storage; in getStructTMUtc()
|
| H A D | YAMLParser.cpp | 2032 StringRef ScalarNode::getValue(SmallVectorImpl<char> &Storage) const { in getValue() 2034 return getDoubleQuotedValue(Value, Storage); in getValue() 2036 return getSingleQuotedValue(Value, Storage); in getValue() 2037 return getPlainValue(Value, Storage); in getValue() 2055 parseScalarValue(StringRef UnquotedValue, SmallVectorImpl<char> &Storage, in parseScalarValue() argument 2063 Storage.clear(); in parseScalarValue() 2064 Storage.reserve(UnquotedValue.size()); in parseScalarValue() 2068 llvm::append_range(Storage, UnquotedValue.take_front(I)); in parseScalarValue() 2069 UnquotedValue = UnescapeCallback(UnquotedValue.drop_front(I), Storage); in parseScalarValue() 2075 llvm::append_range(Storage, UnquotedValue.take_front(LastNonSWhite + 1)); in parseScalarValue() [all …]
|
| H A D | StringSaver.cpp | 24 SmallString<128> Storage; in save() local 25 return save(S.toStringRef(Storage)); in save() 36 SmallString<128> Storage; in save() local 37 return save(S.toStringRef(Storage)); in save()
|
| /src/contrib/llvm-project/llvm/tools/llvm-diff/lib/ ! |
| H A D | DifferenceEngine.cpp | 39 llvm::SmallVector<T, InlineCapacity> Storage; member in __anon14d914b60111::PriorityQueue 45 bool empty() const { return Storage.empty(); } in empty() 49 unsigned Index = Storage.size(); in insert() 50 Storage.push_back(V); in insert() 53 T *data = Storage.data(); in insert() 66 T tmp = Storage[0]; in remove_min() 68 unsigned NewSize = Storage.size() - 1; in remove_min() 72 Storage[0] = Storage[NewSize]; in remove_min() 74 std::swap(Storage[0], Storage[NewSize]); in remove_min() 89 if (Precedes(Storage[L], Storage[Index])) in remove_min() [all …]
|
| /src/contrib/llvm-project/clang/lib/Frontend/ ! |
| H A D | PrecompiledPreamble.cpp | 428 std::unique_ptr<PCHStorage> Storage; in Build() local 430 Storage = PCHStorage::inMemory(Buffer); in Build() 438 Storage = PCHStorage::file(std::move(PreamblePCHFile)); in Build() 451 StoreInMemory ? getInMemoryPreamblePath() : Storage->filePath()); in Build() 515 /*WritePCHFile=*/Storage->getKind() == PCHStorage::Kind::TempFile, in Build() 575 Storage->shrink(); in Build() 577 std::move(Storage), std::move(PreambleBytes), PreambleEndsAtStartOfLine, in Build() 586 switch (Storage->getKind()) { in getSize() 588 return Storage->memoryContents().size(); in getSize() 591 if (llvm::sys::fs::file_size(Storage->filePath(), Result)) in getSize() [all …]
|
| /src/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ ! |
| H A D | SymbolSerializer.h | 29 BumpPtrAllocator &Storage; variable 49 SymbolSerializer(BumpPtrAllocator &Storage, CodeViewContainer Container); 52 static CVSymbol writeOneSymbol(SymType &Sym, BumpPtrAllocator &Storage, in writeOneSymbol() argument 56 SymbolSerializer Serializer(Storage, Container); in writeOneSymbol()
|
| /src/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/ ! |
| H A D | LookupResult.cpp | 27 llvm::SmallString<64> Storage; in getSourceFile() local 28 llvm::sys::path::append(Storage, Locations[Index].Dir, in getSourceFile() 30 Fullpath.assign(Storage.begin(), Storage.end()); in getSourceFile()
|
| /src/contrib/llvm-project/llvm/lib/Target/SPIRV/ ! |
| H A D | SPIRVDuplicatesTracker.h | 144 StorageTy Storage; 151 Storage[V][MF] = R; in add() 158 Storage[V].setIsFunc(true); in add() 162 Storage[V].setIsGV(true); in add() 166 auto iter = Storage.find(V); in find() 167 if (iter != Storage.end()) { in find() 176 const StorageTy &getAllUses() const { return Storage; } in getAllUses() 179 StorageTy &getAllUses() { return Storage; } in getAllUses()
|
| /src/contrib/llvm-project/lldb/source/Target/ ! |
| H A D | Trace.cpp | 189 Storage &storage = GetUpdatedStorage(); in GetLiveThreadBinaryDataSize() 195 Storage &storage = GetUpdatedStorage(); in GetLiveCpuBinaryDataSize() 201 Storage &storage = GetUpdatedStorage(); in GetLiveProcessBinaryDataSize() 278 Trace::Storage &Trace::GetUpdatedStorage() { in GetUpdatedStorage() 295 m_storage = Trace::Storage(); in RefreshLiveProcessState() 376 Storage &storage = GetUpdatedStorage(); in GetPostMortemThreadDataFile() 389 Storage &storage = GetUpdatedStorage(); in GetPostMortemCpuDataFile() 402 Storage &storage = GetUpdatedStorage(); in SetPostMortemThreadDataFile() 408 Storage &storage = GetUpdatedStorage(); in SetPostMortemCpuDataFile() 424 Storage &storage = GetUpdatedStorage(); in OnLiveCpuBinaryDataRead() [all …]
|
| /src/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ ! |
| H A D | TypeStreamMerger.cpp | 137 MutableArrayRef<uint8_t> Storage); 359 [this, Type](MutableArrayRef<uint8_t> Storage) -> ArrayRef<uint8_t> { in remapType() argument 360 return remapIndices(Type, Storage); in remapType() 389 MutableArrayRef<uint8_t> Storage) { in remapIndices() argument 391 assert(Storage.size() == alignTo(OriginalType.RecordData.size(), 4) && in remapIndices() 400 ::memcpy(Storage.data(), OriginalType.RecordData.data(), in remapIndices() 403 uint8_t *DestContent = Storage.data() + sizeof(RecordPrefix); in remapIndices() 420 reinterpret_cast<RecordPrefix *>(Storage.data()); in remapIndices() 423 DestContent = Storage.data() + OriginalType.RecordData.size(); in remapIndices() 427 return Storage; in remapIndices()
|