Searched refs:Storage (Results 1 - 25 of 80) sorted by relevance

1234

/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
H A DTemplateName.cpp63 Storage = StorageType::getFromOpaqueValue(Ptr);
66 TemplateName::TemplateName(TemplateDecl *Template) : Storage(Template) {}
67 TemplateName::TemplateName(OverloadedTemplateStorage *Storage) argument
68 : Storage(Storage) {}
69 TemplateName::TemplateName(AssumedTemplateStorage *Storage) argument
70 : Storage(Storage) {}
71 TemplateName::TemplateName(SubstTemplateTemplateParmStorage *Storage) argument
72 : Storage(Storag
73 TemplateName(SubstTemplateTemplateParmPackStorage *Storage) argument
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
H A DMetadataImpl.h28 template <class T> T *MDNode::storeImpl(T *N, StorageType Storage) { argument
29 switch (Storage) {
42 T *MDNode::storeImpl(T *N, StorageType Storage, StoreT &Store) { argument
43 switch (Storage) {
H A DUser.cpp123 uint8_t *Storage = static_cast<uint8_t *>(
125 Use *Start = reinterpret_cast<Use *>(Storage + DescBytesToAllocate);
134 auto *DescInfo = reinterpret_cast<DescriptorInfo *>(Storage + DescBytes);
151 void *Storage = ::operator new(Size + sizeof(Use *));
152 Use **HungOffOperandList = static_cast<Use **>(Storage);
184 uint8_t *Storage = reinterpret_cast<uint8_t *>(DI) - DI->SizeInBytes;
185 ::operator delete(Storage);
187 Use *Storage = static_cast<Use *>(Usr) - Obj->NumUserOperands;
188 Use::zap(Storage, Storage
[all...]
H A DDebugInfoMetadata.cpp29 DILocation::DILocation(LLVMContext &C, StorageType Storage, unsigned Line, argument
32 : MDNode(C, DILocationKind, Storage, MDs) {
54 StorageType Storage, bool ShouldCreate) {
58 if (Storage == Uniqued) {
73 return storeImpl(new (Ops.size()) DILocation(Context, Storage, Line, Column,
75 Storage, Context.pImpl->DILocations);
265 StorageType Storage, bool ShouldCreate) {
267 if (Storage == Uniqued) {
282 Context, Storage, Hash, Tag, PreOps, DwarfOps),
283 Storage, Contex
262 getImpl(LLVMContext &Context, unsigned Tag, MDString *Header, ArrayRef<Metadata *> DwarfOps, StorageType Storage, bool ShouldCreate) argument
320 getImpl(LLVMContext &Context, int64_t Count, int64_t Lo, StorageType Storage, bool ShouldCreate) argument
327 getImpl(LLVMContext &Context, Metadata *CountNode, int64_t Lo, StorageType Storage, bool ShouldCreate) argument
335 getImpl(LLVMContext &Context, int64_t Value, bool IsUnsigned, MDString *Name, StorageType Storage, bool ShouldCreate) argument
344 getImpl(LLVMContext &Context, unsigned Tag, MDString *Name, uint64_t SizeInBits, uint32_t AlignInBits, unsigned Encoding, DIFlags Flags, StorageType Storage, bool ShouldCreate) argument
370 getImpl( LLVMContext &Context, unsigned Tag, MDString *Name, Metadata *File, unsigned Line, Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits, Optional<unsigned> DWARFAddressSpace, DIFlags Flags, Metadata *ExtraData, StorageType Storage, bool ShouldCreate) argument
387 getImpl( LLVMContext &Context, unsigned Tag, MDString *Name, Metadata *File, unsigned Line, Metadata *Scope, Metadata *BaseType, uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits, DIFlags Flags, Metadata *Elements, unsigned RuntimeLang, Metadata *VTableHolder, Metadata *TemplateParams, MDString *Identifier, Metadata *Discriminator, StorageType Storage, bool ShouldCreate) argument
470 getImpl(LLVMContext &Context, DIFlags Flags, uint8_t CC, Metadata *TypeArray, StorageType Storage, bool ShouldCreate) argument
501 getImpl(LLVMContext &Context, MDString *Filename, MDString *Directory, Optional<DIFile::ChecksumInfo<MDString *>> CS, Optional<MDString *> Source, StorageType Storage, bool ShouldCreate) argument
516 getImpl( LLVMContext &Context, unsigned SourceLanguage, Metadata *File, MDString *Producer, bool IsOptimized, MDString *Flags, unsigned RuntimeVersion, MDString *SplitDebugFilename, unsigned EmissionKind, Metadata *EnumTypes, Metadata *RetainedTypes, Metadata *GlobalVariables, Metadata *ImportedEntities, Metadata *Macros, uint64_t DWOId, bool SplitDebugInlining, bool DebugInfoForProfiling, unsigned NameTableKind, bool RangesBaseAddress, StorageType Storage, bool ShouldCreate) argument
630 getImpl( LLVMContext &Context, Metadata *Scope, MDString *Name, MDString *LinkageName, Metadata *File, unsigned Line, Metadata *Type, unsigned ScopeLine, Metadata *ContainingType, unsigned VirtualIndex, int ThisAdjustment, DIFlags Flags, DISPFlags SPFlags, Metadata *Unit, Metadata *TemplateParams, Metadata *Declaration, Metadata *RetainedNodes, Metadata *ThrownTypes, StorageType Storage, bool ShouldCreate) argument
671 getImpl(LLVMContext &Context, Metadata *Scope, Metadata *File, unsigned Line, unsigned Column, StorageType Storage, bool ShouldCreate) argument
684 getImpl(LLVMContext &Context, Metadata *Scope, Metadata *File, unsigned Discriminator, StorageType Storage, bool ShouldCreate) argument
695 getImpl(LLVMContext &Context, Metadata *Scope, MDString *Name, bool ExportSymbols, StorageType Storage, bool ShouldCreate) argument
705 getImpl(LLVMContext &Context, Metadata *Scope, Metadata *Decl, MDString *Name, Metadata *File, unsigned LineNo, StorageType Storage, bool ShouldCreate) argument
716 getImpl(LLVMContext &Context, Metadata *Scope, MDString *Name, MDString *ConfigurationMacros, MDString *IncludePath, MDString *SysRoot, StorageType Storage, bool ShouldCreate) argument
727 getImpl(LLVMContext &Context, MDString *Name, Metadata *Type, StorageType Storage, bool ShouldCreate) argument
738 getImpl( LLVMContext &Context, unsigned Tag, MDString *Name, Metadata *Type, Metadata *Value, StorageType Storage, bool ShouldCreate) argument
748 getImpl(LLVMContext &Context, Metadata *Scope, MDString *Name, MDString *LinkageName, Metadata *File, unsigned Line, Metadata *Type, bool IsLocalToUnit, bool IsDefinition, Metadata *StaticDataMemberDeclaration, Metadata *TemplateParams, uint32_t AlignInBits, StorageType Storage, bool ShouldCreate) argument
772 getImpl(LLVMContext &Context, Metadata *Scope, MDString *Name, Metadata *File, unsigned Line, Metadata *Type, unsigned Arg, DIFlags Flags, uint32_t AlignInBits, StorageType Storage, bool ShouldCreate) argument
814 getImpl(LLVMContext &Context, Metadata *Scope, MDString *Name, Metadata *File, unsigned Line, StorageType Storage, bool ShouldCreate) argument
826 getImpl(LLVMContext &Context, ArrayRef<uint64_t> Elements, StorageType Storage, bool ShouldCreate) argument
1214 getImpl(LLVMContext &Context, Metadata *Variable, Metadata *Expression, StorageType Storage, bool ShouldCreate) argument
1222 getImpl( LLVMContext &Context, MDString *Name, Metadata *File, unsigned Line, MDString *GetterName, MDString *SetterName, unsigned Attributes, Metadata *Type, StorageType Storage, bool ShouldCreate) argument
1235 getImpl(LLVMContext &Context, unsigned Tag, Metadata *Scope, Metadata *Entity, Metadata *File, unsigned Line, MDString *Name, StorageType Storage, bool ShouldCreate) argument
1247 getImpl(LLVMContext &Context, unsigned MIType, unsigned Line, MDString *Name, MDString *Value, StorageType Storage, bool ShouldCreate) argument
1256 getImpl(LLVMContext &Context, unsigned MIType, unsigned Line, Metadata *File, Metadata *Elements, StorageType Storage, bool ShouldCreate) argument
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/
H A DDJB.cpp37 static StringRef toUTF8(UTF32 C, MutableArrayRef<UTF8> Storage) { argument
39 UTF8 *Begin8 = Storage.begin();
44 Storage.end(), strictConversion);
47 return StringRef(reinterpret_cast<char *>(Storage.begin()),
48 Begin8 - Storage.begin());
75 std::array<UTF8, UNI_MAX_UTF8_BYTES_PER_CODE_POINT> Storage;
78 StringRef Folded = toUTF8(C, Storage);
H A DChrono.cpp26 struct tm Storage; local
30 struct tm *LT = ::localtime_r(&OurTime, &Storage);
35 int Error = ::localtime_s(&Storage, &OurTime);
40 return Storage;
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DModuleLoader.h52 llvm::PointerIntPair<Module *, 2, LoadResultKind> Storage; member in class:clang::ModuleLoadResult
55 ModuleLoadResult(Module *M) : Storage(M, Normal) {}
56 ModuleLoadResult(LoadResultKind Kind) : Storage(nullptr, Kind) {}
58 operator Module *() const { return Storage.getPointer(); }
62 bool isNormal() const { return Storage.getInt() == Normal; }
68 bool isMissingExpected() const { return Storage.getInt() == MissingExpected; }
72 bool isConfigMismatch() const { return Storage.getInt() == ConfigMismatch; }
H A DModuleMap.h140 // Adjust the number of bits for KnownHeader::Storage.
156 llvm::PointerIntPair<Module *, 2, ModuleHeaderRole> Storage; member in class:clang::ModuleMap::KnownHeader
159 KnownHeader() : Storage(nullptr, NormalHeader) {}
160 KnownHeader(Module *M, ModuleHeaderRole Role) : Storage(M, Role) {}
163 return A.Storage == B.Storage;
166 return A.Storage != B.Storage;
170 Module *getModule() const { return Storage.getPointer(); }
173 ModuleHeaderRole getRole() const { return Storage
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAny.h57 : Storage(Other.Storage ? Other.Storage->clone() : nullptr) {}
81 Storage = std::make_unique<StorageImpl<U>>(std::forward<T>(Value));
84 Any(Any &&Other) : Storage(std::move(Other.Storage)) {}
87 std::swap(Storage, Other.Storage);
92 Storage = std::move(Other.Storage);
108 std::unique_ptr<StorageBase> Storage; member in class:llvm::Any
[all...]
H A DOptional.h34 /// Storage for any type.
216 optional_detail::OptionalStorage<T> Storage; member in class:llvm::Optional
224 Optional(const T &y) : Storage(optional_detail::in_place_t{}, y) {}
227 Optional(T &&y) : Storage(optional_detail::in_place_t{}, std::move(y)) {}
231 Storage = std::move(y);
238 Storage.emplace(std::forward<ArgTypes>(Args)...);
246 Storage = y;
251 void reset() { Storage.reset(); }
253 const T *getPointer() const { return &Storage.getValue(); }
254 T *getPointer() { return &Storage
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DLookupResult.cpp26 llvm::SmallString<64> Storage; local
27 llvm::sys::path::append(Storage, Locations[Index].Dir,
29 Fullpath.assign(Storage.begin(), Storage.end());
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExplodedGraph.cpp215 GroupStorage &Storage = reinterpret_cast<GroupStorage&>(P); local
216 assert(Storage.is<ExplodedNode *>());
217 Storage = node;
218 assert(Storage.is<ExplodedNode *>());
224 GroupStorage &Storage = reinterpret_cast<GroupStorage&>(P); local
225 if (Storage.isNull()) {
226 Storage = N;
227 assert(Storage.is<ExplodedNode *>());
231 ExplodedNodeVector *V = Storage.dyn_cast<ExplodedNodeVector *>();
235 ExplodedNode *Old = Storage
254 const GroupStorage &Storage = reinterpret_cast<const GroupStorage &>(P); local
266 const GroupStorage &Storage = reinterpret_cast<const GroupStorage &>(P); local
278 const GroupStorage &Storage = reinterpret_cast<const GroupStorage &>(P); local
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DSymbolSerializer.h29 BumpPtrAllocator &Storage; member in class:llvm::codeview::SymbolSerializer
49 SymbolSerializer(BumpPtrAllocator &Storage, CodeViewContainer Container);
52 static CVSymbol writeOneSymbol(SymType &Sym, BumpPtrAllocator &Storage, argument
56 SymbolSerializer Serializer(Storage, Container);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
H A Dyaml2obj.cpp57 yaml2ObjectFile(SmallVectorImpl<char> &Storage, StringRef Yaml, argument
59 Storage.clear();
60 raw_svector_ostream OS(Storage);
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
H A DASTTypeTraits.h252 return BaseConverter<T>::get(NodeKind, Storage.buffer);
260 return BaseConverter<T>::getUnchecked(NodeKind, Storage.buffer);
272 ? *reinterpret_cast<void *const *>(Storage.buffer)
394 static const T *get(ASTNodeKind NodeKind, const char Storage[]) { argument
396 return &getUnchecked(NodeKind, Storage);
399 static const T &getUnchecked(ASTNodeKind NodeKind, const char Storage[]) { argument
402 *reinterpret_cast<const void *const *>(Storage)));
407 new (Result.Storage.buffer) const void *(&Node);
414 static const T *get(ASTNodeKind NodeKind, const char Storage[]) { argument
416 return &getUnchecked(NodeKind, Storage);
419 getUnchecked(ASTNodeKind NodeKind, const char Storage[]) argument
434 get(ASTNodeKind NodeKind, const char Storage[]) argument
439 getUnchecked(ASTNodeKind NodeKind, const char Storage[]) argument
463 TypeLoc> Storage; member in class:clang::ast_type_traits::DynTypedNode
520 get(ASTNodeKind NodeKind, const char Storage[]) argument
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Object/
H A DMinidump.h110 MemoryInfoIterator(ArrayRef<uint8_t> Storage, size_t Stride) argument
111 : Storage(Storage), Stride(Stride) {
112 assert(Storage.size() % Stride == 0);
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
130 ArrayRef<uint8_t> Storage; member in class:llvm::object::MinidumpFile::MemoryInfoIterator
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DPartialDiagnostic.h40 // here so that the nested Storage class below can access them.
44 struct Storage { struct in class:clang::PartialDiagnostic
79 Storage() = default;
82 /// An allocator for Storage objects, which uses a small cache to
86 Storage Cached[NumCached];
87 Storage *FreeList[NumCached];
95 Storage *Allocate() {
97 return new Storage;
99 Storage *Result = FreeList[--NumFreeListEntries];
107 void Deallocate(Storage *
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h123 DINode(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag, argument
125 : MDNode(C, ID, Storage, Ops1, Ops2) {
218 GenericDINode(LLVMContext &C, StorageType Storage, unsigned Hash,
221 : DINode(C, GenericDINodeKind, Storage, Tag, Ops1, Ops2) {
231 StorageType Storage, bool ShouldCreate = true) {
233 DwarfOps, Storage, ShouldCreate);
238 StorageType Storage, bool ShouldCreate = true);
292 DISubrange(LLVMContext &C, StorageType Storage, Metadata *Node, argument
294 : DINode(C, DISubrangeKind, Storage, dwarf::DW_TAG_subrange_type, Ops),
300 int64_t LowerBound, StorageType Storage,
352 DIEnumerator(LLVMContext &C, StorageType Storage, int64_t Value, bool IsUnsigned, ArrayRef<Metadata *> Ops) argument
360 getImpl(LLVMContext &Context, int64_t Value, bool IsUnsigned, StringRef Name, StorageType Storage, bool ShouldCreate = true) argument
401 DIScope(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag, ArrayRef<Metadata *> Ops) argument
492 DIFile(LLVMContext &C, StorageType Storage, Optional<ChecksumInfo<MDString *>> CS, Optional<MDString *> Src, ArrayRef<Metadata *> Ops) argument
499 getImpl(LLVMContext &Context, StringRef Filename, StringRef Directory, Optional<ChecksumInfo<StringRef>> CS, Optional<StringRef> Source, StorageType Storage, bool ShouldCreate = true) argument
591 DIType(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag, unsigned Line, uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits, DIFlags Flags, ArrayRef<Metadata *> Ops) argument
695 DIBasicType(LLVMContext &C, StorageType Storage, unsigned Tag, uint64_t SizeInBits, uint32_t AlignInBits, unsigned Encoding, DIFlags Flags, ArrayRef<Metadata *> Ops) argument
703 getImpl(LLVMContext &Context, unsigned Tag, StringRef Name, uint64_t SizeInBits, uint32_t AlignInBits, unsigned Encoding, DIFlags Flags, StorageType Storage, bool ShouldCreate = true) argument
764 DIDerivedType(LLVMContext &C, StorageType Storage, unsigned Tag, unsigned Line, uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits, Optional<unsigned> DWARFAddressSpace, DIFlags Flags, ArrayRef<Metadata *> Ops) argument
774 getImpl(LLVMContext &Context, unsigned Tag, StringRef Name, DIFile *File, unsigned Line, DIScope *Scope, DIType *BaseType, uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits, Optional<unsigned> DWARFAddressSpace, DIFlags Flags, Metadata *ExtraData, StorageType Storage, bool ShouldCreate = true) argument
896 DICompositeType(LLVMContext &C, StorageType Storage, unsigned Tag, unsigned Line, unsigned RuntimeLang, uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits, DIFlags Flags, ArrayRef<Metadata *> Ops) argument
916 getImpl(LLVMContext &Context, unsigned Tag, StringRef Name, Metadata *File, unsigned Line, DIScope *Scope, DIType *BaseType, uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits, DIFlags Flags, DINodeArray Elements, unsigned RuntimeLang, DIType *VTableHolder, DITemplateParameterArray TemplateParams, StringRef Identifier, DIDerivedType *Discriminator, StorageType Storage, bool ShouldCreate = true) argument
1069 DISubroutineType(LLVMContext &C, StorageType Storage, DIFlags Flags, uint8_t CC, ArrayRef<Metadata *> Ops) argument
1076 getImpl(LLVMContext &Context, DIFlags Flags, uint8_t CC, DITypeRefArray TypeArray, StorageType Storage, bool ShouldCreate = true) argument
1151 DICompileUnit(LLVMContext &C, StorageType Storage, unsigned SourceLanguage, bool IsOptimized, unsigned RuntimeVersion, unsigned EmissionKind, uint64_t DWOId, bool SplitDebugInlining, bool DebugInfoForProfiling, unsigned NameTableKind, bool RangesBaseAddress, ArrayRef<Metadata *> Ops) argument
1167 getImpl(LLVMContext &Context, unsigned SourceLanguage, DIFile *File, StringRef Producer, bool IsOptimized, StringRef Flags, unsigned RuntimeVersion, StringRef SplitDebugFilename, unsigned EmissionKind, DICompositeTypeArray EnumTypes, DIScopeArray RetainedTypes, DIGlobalVariableExpressionArray GlobalVariables, DIImportedEntityArray ImportedEntities, DIMacroNodeArray Macros, uint64_t DWOId, bool SplitDebugInlining, bool DebugInfoForProfiling, unsigned NameTableKind, bool RangesBaseAddress, StorageType Storage, bool ShouldCreate = true) argument
1327 DILocalScope(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag, ArrayRef<Metadata *> Ops) argument
1367 getImpl(LLVMContext &Context, unsigned Line, unsigned Column, DILocalScope *Scope, DILocation *InlinedAt, bool ImplicitCode, StorageType Storage, bool ShouldCreate = true) argument
1649 DISubprogram(LLVMContext &C, StorageType Storage, unsigned Line, unsigned ScopeLine, unsigned VirtualIndex, int ThisAdjustment, DIFlags Flags, DISPFlags SPFlags, ArrayRef<Metadata *> Ops) argument
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DSymbolSerializer.cpp23 : Storage(Allocator), Stream(RecordBuffer, support::little), Writer(Stream),
53 uint8_t *StableStorage = Storage.Allocate<uint8_t>(RecordEnd);
H A DAppendingTypeTableBuilder.cpp34 AppendingTypeTableBuilder::AppendingTypeTableBuilder(BumpPtrAllocator &Storage) argument
35 : RecordStorage(Storage) {}
H A DGlobalTypeTableBuilder.cpp34 GlobalTypeTableBuilder::GlobalTypeTableBuilder(BumpPtrAllocator &Storage) argument
35 : RecordStorage(Storage) {
H A DTypeStreamMerger.cpp136 MutableArrayRef<uint8_t> Storage);
360 [this, Type](MutableArrayRef<uint8_t> Storage) -> ArrayRef<uint8_t> {
361 return remapIndices(Type, Storage);
390 MutableArrayRef<uint8_t> Storage) {
393 assert(Storage.size() == AlignedSize &&
402 ::memcpy(Storage.data(), OriginalType.RecordData.data(),
405 uint8_t *DestContent = Storage.data() + sizeof(RecordPrefix);
422 reinterpret_cast<RecordPrefix *>(Storage.data());
425 DestContent = Storage.data() + OriginalType.RecordData.size();
429 return Storage;
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/MC/
H A DMCSymbol.cpp42 void *Storage = Ctx.allocate(Size, alignof(NameEntryStorageTy)); local
43 NameEntryStorageTy *Start = static_cast<NameEntryStorageTy*>(Storage);
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DDescriptor.h31 using BlockCtorFn = void (*)(Block *Storage, char *FieldPtr, bool IsConst,
37 using BlockDtorFn = void (*)(Block *Storage, char *FieldPtr,
44 using BlockMoveFn = void (*)(Block *Storage, char *SrcFieldPtr,
82 /// Storage management methods.
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/Windows/
H A DThreading.inc94 SmallString<64> Storage;
95 StringRef NameStr = Name.toNullTerminatedStringRef(Storage);

Completed in 389 milliseconds

1234