| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | TemplateName.cpp | 65 Storage = StorageType::getFromOpaqueValue(Ptr); in TemplateName() 68 TemplateName::TemplateName(TemplateDecl *Template) : Storage(Template) {} in TemplateName() 69 TemplateName::TemplateName(OverloadedTemplateStorage *Storage) in TemplateName() argument 70 : Storage(Storage) {} in TemplateName() 71 TemplateName::TemplateName(AssumedTemplateStorage *Storage) in TemplateName() argument 72 : Storage(Storage) {} in TemplateName() 73 TemplateName::TemplateName(SubstTemplateTemplateParmStorage *Storage) in TemplateName() argument 74 : Storage(Storage) {} in TemplateName() 75 TemplateName::TemplateName(SubstTemplateTemplateParmPackStorage *Storage) in TemplateName() argument 76 : Storage(Storage) {} in TemplateName() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/ |
| H A D | Any.h | 62 : Storage(Other.Storage ? Other.Storage->clone() : nullptr) {} in Any() 85 Storage = in Any() 89 Any(Any &&Other) : Storage(std::move(Other.Storage)) {} in Any() 92 std::swap(Storage, Other.Storage); in swap() 97 Storage = std::move(Other.Storage); 101 bool hasValue() const { return !!Storage; } in hasValue() 103 void reset() { Storage.reset(); } in reset() 113 std::unique_ptr<StorageBase> Storage; variable 120 if (!Value.Storage) in any_isa() 122 return Value.Storage->id() == &Any::TypeId<remove_cvref_t<T>>::Id; in any_isa() [all …]
|
| H A D | Optional.h | 239 optional_detail::OptionalStorage<T> Storage; variable 247 constexpr Optional(const T &y) : Storage(in_place, y) {} in Optional() 250 constexpr Optional(T &&y) : Storage(in_place, std::move(y)) {} in Optional() 255 : Storage(in_place, std::forward<ArgTypes>(Args)...) {} in Optional() 258 Storage = std::move(y); 265 Storage.emplace(std::forward<ArgTypes>(Args)...); in emplace() 273 Storage = y; 278 void reset() { Storage.reset(); } in reset() 280 constexpr const T *getPointer() const { return &Storage.getValue(); } in getPointer() 281 T *getPointer() { return &Storage.getValue(); } in getPointer() [all …]
|
| H A D | APFloat.h | 707 union Storage { union 712 explicit Storage(IEEEFloat F, const fltSemantics &S); 713 explicit Storage(DoubleAPFloat F, const fltSemantics &S) in Storage() function 719 Storage(const fltSemantics &Semantics, ArgTypes &&... Args) { in Storage() function 731 ~Storage() { in ~Storage() 743 Storage(const Storage &RHS) { in Storage() function 755 Storage(Storage &&RHS) { in Storage() function 767 Storage &operator=(const Storage &RHS) { 775 this->~Storage(); 776 new (this) Storage(RHS); [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExplodedGraph.cpp | 214 GroupStorage &Storage = reinterpret_cast<GroupStorage&>(P); in replaceNode() local 215 assert(Storage.is<ExplodedNode *>()); in replaceNode() 216 Storage = node; in replaceNode() 217 assert(Storage.is<ExplodedNode *>()); in replaceNode() 223 GroupStorage &Storage = reinterpret_cast<GroupStorage&>(P); in addNode() local 224 if (Storage.isNull()) { in addNode() 225 Storage = N; in addNode() 226 assert(Storage.is<ExplodedNode *>()); in addNode() 230 ExplodedNodeVector *V = Storage.dyn_cast<ExplodedNodeVector *>(); in addNode() 234 ExplodedNode *Old = Storage.get<ExplodedNode *>(); in addNode() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| H A D | DebugInfoMetadata.h | 132 DINode(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag, 134 : MDNode(C, ID, Storage, Ops1, Ops2) { in MDNode() argument 229 GenericDINode(LLVMContext &C, StorageType Storage, unsigned Hash, in GenericDINode() argument 232 : DINode(C, GenericDINodeKind, Storage, Tag, Ops1, Ops2) { in GenericDINode() 242 StorageType Storage, bool ShouldCreate = true) { 244 DwarfOps, Storage, ShouldCreate); 249 StorageType Storage, bool ShouldCreate = true); 300 DISubrange(LLVMContext &C, StorageType Storage, ArrayRef<Metadata *> Ops) in DISubrange() argument 301 : DINode(C, DISubrangeKind, Storage, dwarf::DW_TAG_subrange_type, Ops) {} in DISubrange() 306 int64_t LowerBound, StorageType Storage, [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | User.cpp | 128 uint8_t *Storage = static_cast<uint8_t *>( in allocateFixedOperandUser() local 130 Use *Start = reinterpret_cast<Use *>(Storage + DescBytesToAllocate); in allocateFixedOperandUser() 140 auto *DescInfo = reinterpret_cast<DescriptorInfo *>(Storage + DescBytes); in allocateFixedOperandUser() 157 void *Storage = ::operator new(Size + sizeof(Use *)); in operator new() local 158 Use **HungOffOperandList = static_cast<Use **>(Storage); in operator new() 190 uint8_t *Storage = reinterpret_cast<uint8_t *>(DI) - DI->SizeInBytes; in operator delete() local 191 ::operator delete(Storage); in operator delete() 193 Use *Storage = static_cast<Use *>(Usr) - Obj->NumUserOperands; in operator delete() local 194 Use::zap(Storage, Storage + Obj->NumUserOperands, in operator delete() 196 ::operator delete(Storage); in operator delete()
|
| H A D | DebugInfoMetadata.cpp | 36 DILocation::DILocation(LLVMContext &C, StorageType Storage, unsigned Line, in DILocation() argument 39 : MDNode(C, DILocationKind, Storage, MDs) { in DILocation() 61 StorageType Storage, bool ShouldCreate) { in getImpl() argument 65 if (Storage == Uniqued) { in getImpl() 80 return storeImpl(new (Ops.size()) DILocation(Context, Storage, Line, Column, in getImpl() 82 Storage, Context.pImpl->DILocations); in getImpl() 287 StorageType Storage, bool ShouldCreate) { in getImpl() argument 289 if (Storage == Uniqued) { in getImpl() 304 Context, Storage, Hash, Tag, PreOps, DwarfOps), in getImpl() 305 Storage, Context.pImpl->GenericDINodes); in getImpl() [all …]
|
| 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()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| H A D | ASTTypeTraits.h | 254 return BaseConverter<T>::get(NodeKind, &Storage); 262 return BaseConverter<T>::getUnchecked(NodeKind, &Storage); 274 ? *reinterpret_cast<void *const *>(&Storage) 396 static const T *get(ASTNodeKind NodeKind, const void *Storage) { 398 return &getUnchecked(NodeKind, Storage); 401 static const T &getUnchecked(ASTNodeKind NodeKind, const void *Storage) { 404 *reinterpret_cast<const void *const *>(Storage))); 409 new (&Result.Storage) const void *(&Node); 416 static const T *get(ASTNodeKind NodeKind, const void *Storage) { 418 return &getUnchecked(NodeKind, Storage); [all …]
|
| H A D | ParentMapContext.h | 93 llvm::AlignedCharArrayUnion<DynTypedNode, ArrayRef<DynTypedNode>> Storage; variable 98 new (&Storage) DynTypedNode(N); in DynTypedNodeList() 102 new (&Storage) ArrayRef<DynTypedNode>(A); in DynTypedNodeList() 107 return reinterpret_cast<const ArrayRef<DynTypedNode> *>(&Storage) in begin() 109 return reinterpret_cast<const DynTypedNode *>(&Storage); in begin() 114 return reinterpret_cast<const ArrayRef<DynTypedNode> *>(&Storage)->end(); in end() 115 return reinterpret_cast<const DynTypedNode *>(&Storage) + 1; in end()
|
| H A D | TemplateName.h | 197 StorageType Storage; variable 234 explicit TemplateName(OverloadedTemplateStorage *Storage); 235 explicit TemplateName(AssumedTemplateStorage *Storage); 236 explicit TemplateName(SubstTemplateTemplateParmStorage *Storage); 237 explicit TemplateName(SubstTemplateTemplateParmPackStorage *Storage); 331 ID.AddPointer(Storage.getOpaqueValue()); in Profile() 335 void *getAsVoidPointer() const { return Storage.getOpaqueValue(); } in getAsVoidPointer()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Object/ |
| H A D | Minidump.h | 110 MemoryInfoIterator(ArrayRef<uint8_t> Storage, size_t Stride) in MemoryInfoIterator() argument 111 : Storage(Storage), Stride(Stride) { in MemoryInfoIterator() 112 assert(Storage.size() % Stride == 0); in MemoryInfoIterator() 116 return Storage.size() == R.Storage.size(); 120 assert(Storage.size() >= sizeof(minidump::MemoryInfo)); 121 return *reinterpret_cast<const minidump::MemoryInfo *>(Storage.data()); 125 Storage = Storage.drop_front(Stride); 130 ArrayRef<uint8_t> Storage;
|
| /netbsd-src/external/apache2/llvm/dist/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() 75 std::array<UTF8, UNI_MAX_UTF8_BYTES_PER_CODE_POINT> Storage; in caseFoldingDjbHash() local 78 StringRef Folded = toUTF8(C, Storage); in caseFoldingDjbHash()
|
| H A D | YAMLParser.cpp | 1959 StringRef ScalarNode::getValue(SmallVectorImpl<char> &Storage) const { in getValue() 1967 return unescapeDoubleQuoted(UnquotedValue, i, Storage); in getValue() 1975 Storage.clear(); in getValue() 1976 Storage.reserve(UnquotedValue.size()); in getValue() 1979 llvm::append_range(Storage, Valid); in getValue() 1980 Storage.push_back('\''); in getValue() 1983 llvm::append_range(Storage, UnquotedValue); in getValue() 1984 return StringRef(Storage.begin(), Storage.size()); in getValue() 1994 , SmallVectorImpl<char> &Storage) in unescapeDoubleQuoted() 1997 Storage.clear(); in unescapeDoubleQuoted() [all …]
|
| 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()
|
| /netbsd-src/external/apache2/llvm/dist/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() 55 operator Module *() const { return Storage.getPointer(); } 59 bool isNormal() const { return Storage.getInt() == Normal; } in isNormal() 65 bool isMissingExpected() const { return Storage.getInt() == MissingExpected; } in isMissingExpected() 69 bool isConfigMismatch() const { return Storage.getInt() == ConfigMismatch; } in isConfigMismatch()
|
| H A D | ModuleMap.h | 156 llvm::PointerIntPair<Module *, 2, ModuleHeaderRole> Storage; variable 159 KnownHeader() : Storage(nullptr, NormalHeader) {} in KnownHeader() 160 KnownHeader(Module *M, ModuleHeaderRole Role) : Storage(M, Role) {} in KnownHeader() 163 return A.Storage == B.Storage; 166 return A.Storage != B.Storage; 170 Module *getModule() const { return Storage.getPointer(); } in getModule() 173 ModuleHeaderRole getRole() const { return Storage.getInt(); } in getRole() 189 return Storage.getPointer() != nullptr;
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-diff/ |
| H A D | DifferenceEngine.cpp | 38 llvm::SmallVector<T, InlineCapacity> Storage; member in __anon0b0ced060111::PriorityQueue 44 bool empty() const { return Storage.empty(); } in empty() 48 unsigned Index = Storage.size(); in insert() 49 Storage.push_back(V); in insert() 52 T *data = Storage.data(); in insert() 65 T tmp = Storage[0]; in remove_min() 67 unsigned NewSize = Storage.size() - 1; in remove_min() 71 Storage[0] = Storage[NewSize]; in remove_min() 73 std::swap(Storage[0], Storage[NewSize]); in remove_min() 88 if (Precedes(Storage[L], Storage[Index])) in remove_min() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/ |
| H A D | PrecompiledPreamble.cpp | 336 PCHStorage Storage = StoreInMemory ? PCHStorage(InMemoryPreamble()) in Build() local 350 : Storage.asFile().getFilePath()); in Build() 414 StoreInMemory ? &Storage.asMemory().Data : nullptr, Callbacks)); in Build() 466 std::move(Storage), std::move(PreambleBytes), PreambleEndsAtStartOfLine, in Build() 475 switch (Storage.getKind()) { in getSize() 481 return Storage.asMemory().Data.size(); in getSize() 484 if (llvm::sys::fs::file_size(Storage.asFile().getFilePath(), Result)) in getSize() 621 PCHStorage Storage, std::vector<char> PreambleBytes, in PrecompiledPreamble() argument 625 : Storage(std::move(Storage)), FilesInPreamble(std::move(FilesInPreamble)), in PrecompiledPreamble() 629 assert(this->Storage.getKind() != PCHStorage::Kind::Empty); in PrecompiledPreamble() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | SymbolSerializer.h | 28 BumpPtrAllocator &Storage; variable 48 SymbolSerializer(BumpPtrAllocator &Storage, CodeViewContainer Container); 51 static CVSymbol writeOneSymbol(SymType &Sym, BumpPtrAllocator &Storage, in writeOneSymbol() argument 55 SymbolSerializer Serializer(Storage, Container); in writeOneSymbol()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/ |
| H A D | TypeStreamMerger.cpp | 136 MutableArrayRef<uint8_t> Storage); 360 [this, Type](MutableArrayRef<uint8_t> Storage) -> ArrayRef<uint8_t> { in remapType() argument 361 return remapIndices(Type, Storage); in remapType() 390 MutableArrayRef<uint8_t> Storage) { in remapIndices() argument 392 assert(Storage.size() == alignTo(OriginalType.RecordData.size(), 4) && in remapIndices() 401 ::memcpy(Storage.data(), OriginalType.RecordData.data(), in remapIndices() 404 uint8_t *DestContent = Storage.data() + sizeof(RecordPrefix); in remapIndices() 421 reinterpret_cast<RecordPrefix *>(Storage.data()); in remapIndices() 424 DestContent = Storage.data() + OriginalType.RecordData.size(); in remapIndices() 428 return Storage; in remapIndices()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/GSYM/ |
| H A D | LookupResult.cpp | 26 llvm::SmallString<64> Storage; in getSourceFile() local 27 llvm::sys::path::append(Storage, Locations[Index].Dir, in getSourceFile() 29 Fullpath.assign(Storage.begin(), Storage.end()); in getSourceFile()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| H A D | CommandLine.h | 1558 std::vector<DataType> Storage; 1563 iterator begin() { return Storage.begin(); } 1564 iterator end() { return Storage.end(); } 1568 const_iterator begin() const { return Storage.begin(); } 1569 const_iterator end() const { return Storage.end(); } 1573 size_type size() const { return Storage.size(); } 1575 bool empty() const { return Storage.empty(); } 1577 void push_back(const DataType &value) { Storage.push_back(value); } 1578 void push_back(DataType &&value) { Storage.push_back(value); } 1583 reference operator[](size_type pos) { return Storage[pos]; } [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/ |
| H A D | yaml2obj.cpp | 59 yaml2ObjectFile(SmallVectorImpl<char> &Storage, StringRef Yaml, in yaml2ObjectFile() argument 61 Storage.clear(); in yaml2ObjectFile() 62 raw_svector_ostream OS(Storage); in yaml2ObjectFile()
|