Home
last modified time | relevance | path

Searched refs:Storage (Results 1 – 25 of 190) sorted by relevance

12345678

/freebsd-src/contrib/llvm-project/clang/lib/AST/
H A DTemplateName.cpp103 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(Storag in TemplateName()
113 TemplateName(SubstTemplateTemplateParmPackStorage * Storage) TemplateName() argument
[all...]
/freebsd-src/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAny.h66 : 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 DLazyAtomicPointer.h67 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( in LazyAtomicPointer()
[all...]
/freebsd-src/contrib/llvm-project/llvm/include/llvm/IR/
H A DInlineAsm.h304 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 DDebugInfoMetadata.h140 DINode(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag,
142 : MDNode(C, ID, Storage, Ops1, Ops2) { in MDNode()
240 GenericDINode(LLVMContext &C, StorageType Storage, unsigned Hash, in GenericDINode()
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()
314 : MDNode(C, DIAssignIDKind, Storage, std::nullopt) {}
318 static DIAssignID *getImpl(LLVMContext &Context, StorageType Storage,
141 MDNode(C,ID,Storage,Ops1,Ops2) MDNode() argument
239 GenericDINode(LLVMContext & C,StorageType Storage,unsigned Hash,unsigned Tag,ArrayRef<Metadata * > Ops1,ArrayRef<Metadata * > Ops2) GenericDINode() argument
312 DIAssignID(LLVMContext & C,StorageType Storage) DIAssignID() argument
465 DIEnumerator(LLVMContext & C,StorageType Storage,int64_t Value,bool IsUnsigned,ArrayRef<Metadata * > Ops) DIEnumerator() argument
520 DIScope(LLVMContext & C,unsigned ID,StorageType Storage,unsigned Tag,ArrayRef<Metadata * > Ops) DIScope() argument
716 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) DIType() argument
820 DIBasicType(LLVMContext & C,StorageType Storage,unsigned Tag,uint64_t SizeInBits,uint32_t AlignInBits,unsigned Encoding,DIFlags Flags,ArrayRef<Metadata * > Ops) DIBasicType() argument
888 DIStringType(LLVMContext & C,StorageType Storage,unsigned Tag,uint64_t SizeInBits,uint32_t AlignInBits,unsigned Encoding,ArrayRef<Metadata * > Ops) DIStringType() argument
982 DIDerivedType(LLVMContext & C,StorageType Storage,unsigned Tag,unsigned Line,uint64_t SizeInBits,uint32_t AlignInBits,uint64_t OffsetInBits,std::optional<unsigned> DWARFAddressSpace,DIFlags Flags,ArrayRef<Metadata * > Ops) DIDerivedType() argument
1100 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) DICompositeType() argument
1582 DILocalScope(LLVMContext & C,unsigned ID,StorageType Storage,unsigned Tag,ArrayRef<Metadata * > Ops) DILocalScope() argument
2187 DILexicalBlock(LLVMContext & C,StorageType Storage,unsigned Line,unsigned Column,ArrayRef<Metadata * > Ops) DILexicalBlock() argument
2238 DILexicalBlockFile(LLVMContext & C,StorageType Storage,unsigned Discriminator,ArrayRef<Metadata * > Ops) DILexicalBlockFile() argument
2484 DITemplateParameter(LLVMContext & Context,unsigned ID,StorageType Storage,unsigned Tag,bool IsDefault,ArrayRef<Metadata * > Ops) DITemplateParameter() argument
2548 DITemplateValueParameter(LLVMContext & Context,StorageType Storage,unsigned Tag,bool IsDefault,ArrayRef<Metadata * > Ops) DITemplateValueParameter() argument
2667 DIExpression(LLVMContext & C,StorageType Storage,ArrayRef<uint64_t> Elements) DIExpression() argument
[all...]
/freebsd-src/contrib/llvm-project/clang/include/clang/Lex/
H A DModuleLoader.h49 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 DModuleMap.h142 // Adjust the number of bits for KnownHeader::Storage.
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
[all...]
/freebsd-src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExplodedGraph.cpp213 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 …]
/freebsd-src/contrib/llvm-project/clang/include/clang/Basic/
H A DCustomizableOptional.h29 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
[all...]
/freebsd-src/contrib/llvm-project/clang/include/clang/AST/
H A DASTTypeTraits.h278 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 …]
/freebsd-src/contrib/llvm-project/llvm/lib/IR/
H A DUser.cpp134 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 DDebugInfoMetadata.cpp58 DILocation::DILocation(LLVMContext &C, StorageType Storage, unsigned Line, in DILocation()
61 : MDNode(C, DILocationKind, Storage, MDs) { in DILocation()
83 StorageType Storage, bool ShouldCreate) { in getImpl()
87 if (Storage == Uniqued) { in getImpl()
102 return storeImpl(new (Ops.size(), Storage) DILocation(
103 Context, Storage, Line, Column, Ops, ImplicitCode), in getMergedLocations()
104 Storage, Context.pImpl->DILocations); in getMergedLocations()
395 StorageType Storage, bool ShouldCreate) { in getImpl()
397 if (Storage == Uniqued) { in getImpl()
411 return storeImpl(new (DwarfOps.size() + 1, Storage) GenericDINod in getImpl()
54 DILocation(LLVMContext & C,StorageType Storage,unsigned Line,unsigned Column,ArrayRef<Metadata * > MDs,bool ImplicitCode) DILocation() argument
79 getImpl(LLVMContext & Context,unsigned Line,unsigned Column,Metadata * Scope,Metadata * InlinedAt,bool ImplicitCode,StorageType Storage,bool ShouldCreate) getImpl() argument
391 getImpl(LLVMContext & Context,unsigned Tag,MDString * Header,ArrayRef<Metadata * > DwarfOps,StorageType Storage,bool ShouldCreate) getImpl() argument
447 DISubrange(LLVMContext & C,StorageType Storage,ArrayRef<Metadata * > Ops) DISubrange() argument
451 getImpl(LLVMContext & Context,int64_t Count,int64_t Lo,StorageType Storage,bool ShouldCreate) getImpl() argument
461 getImpl(LLVMContext & Context,Metadata * CountNode,int64_t Lo,StorageType Storage,bool ShouldCreate) getImpl() argument
471 getImpl(LLVMContext & Context,Metadata * CountNode,Metadata * LB,Metadata * UB,Metadata * Stride,StorageType Storage,bool ShouldCreate) getImpl() argument
560 DIGenericSubrange(LLVMContext & C,StorageType Storage,ArrayRef<Metadata * > Ops) DIGenericSubrange() argument
568 getImpl(LLVMContext & Context,Metadata * CountNode,Metadata * LB,Metadata * UB,Metadata * Stride,StorageType Storage,bool ShouldCreate) getImpl() argument
643 DIEnumerator(LLVMContext & C,StorageType Storage,const APInt & Value,bool IsUnsigned,ArrayRef<Metadata * > Ops) DIEnumerator() argument
652 getImpl(LLVMContext & Context,const APInt & Value,bool IsUnsigned,MDString * Name,StorageType Storage,bool ShouldCreate) getImpl() argument
662 getImpl(LLVMContext & Context,unsigned Tag,MDString * Name,uint64_t SizeInBits,uint32_t AlignInBits,unsigned Encoding,DIFlags Flags,StorageType Storage,bool ShouldCreate) getImpl() argument
690 getImpl(LLVMContext & Context,unsigned Tag,MDString * Name,Metadata * StringLength,Metadata * StringLengthExp,Metadata * StringLocationExp,uint64_t SizeInBits,uint32_t AlignInBits,unsigned Encoding,StorageType Storage,bool ShouldCreate) getImpl() argument
741 getImpl(LLVMContext & Context,unsigned Tag,MDString * Name,Metadata * File,unsigned Line,Metadata * Scope,Metadata * BaseType,uint64_t SizeInBits,uint32_t AlignInBits,uint64_t OffsetInBits,std::optional<unsigned> DWARFAddressSpace,DIFlags Flags,Metadata * ExtraData,Metadata * Annotations,StorageType Storage,bool ShouldCreate) getImpl() argument
761 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,Metadata * DataLocation,Metadata * Associated,Metadata * Allocated,Metadata * Rank,Metadata * Annotations,StorageType Storage,bool ShouldCreate) getImpl() argument
856 DISubroutineType(LLVMContext & C,StorageType Storage,DIFlags Flags,uint8_t CC,ArrayRef<Metadata * > Ops) DISubroutineType() argument
865 getImpl(LLVMContext & Context,DIFlags Flags,uint8_t CC,Metadata * TypeArray,StorageType Storage,bool ShouldCreate) getImpl() argument
872 DIFile(LLVMContext & C,StorageType Storage,std::optional<ChecksumInfo<MDString * >> CS,MDString * Src,ArrayRef<Metadata * > Ops) DIFile() argument
906 getImpl(LLVMContext & Context,MDString * Filename,MDString * Directory,std::optional<DIFile::ChecksumInfo<MDString * >> CS,MDString * Source,StorageType Storage,bool ShouldCreate) getImpl() argument
917 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) DICompileUnit() argument
940 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,MDString * SysRoot,MDString * SDK,StorageType Storage,bool ShouldCreate) getImpl() argument
1012 DISubprogram(LLVMContext & C,StorageType Storage,unsigned Line,unsigned ScopeLine,unsigned VirtualIndex,int ThisAdjustment,DIFlags Flags,DISPFlags SPFlags,ArrayRef<Metadata * > Ops) DISubprogram() argument
1120 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,Metadata * Annotations,MDString * TargetFuncName,StorageType Storage,bool ShouldCreate) getImpl() argument
1160 DILexicalBlockBase(LLVMContext & C,unsigned ID,StorageType Storage,ArrayRef<Metadata * > Ops) DILexicalBlockBase() argument
1166 getImpl(LLVMContext & Context,Metadata * Scope,Metadata * File,unsigned Line,unsigned Column,StorageType Storage,bool ShouldCreate) getImpl() argument
1180 getImpl(LLVMContext & Context,Metadata * Scope,Metadata * File,unsigned Discriminator,StorageType Storage,bool ShouldCreate) getImpl() argument
1188 DINamespace(LLVMContext & Context,StorageType Storage,bool ExportSymbols,ArrayRef<Metadata * > Ops) DINamespace() argument
1195 getImpl(LLVMContext & Context,Metadata * Scope,MDString * Name,bool ExportSymbols,StorageType Storage,bool ShouldCreate) getImpl() argument
1203 DICommonBlock(LLVMContext & Context,StorageType Storage,unsigned LineNo,ArrayRef<Metadata * > Ops) DICommonBlock() argument
1212 getImpl(LLVMContext & Context,Metadata * Scope,Metadata * Decl,MDString * Name,Metadata * File,unsigned LineNo,StorageType Storage,bool ShouldCreate) getImpl() argument
1220 DIModule(LLVMContext & Context,StorageType Storage,unsigned LineNo,bool IsDecl,ArrayRef<Metadata * > Ops) DIModule() argument
1230 getImpl(LLVMContext & Context,Metadata * File,Metadata * Scope,MDString * Name,MDString * ConfigurationMacros,MDString * IncludePath,MDString * APINotesFile,unsigned LineNo,bool IsDecl,StorageType Storage,bool ShouldCreate) getImpl() argument
1240 DITemplateTypeParameter(LLVMContext & Context,StorageType Storage,bool IsDefault,ArrayRef<Metadata * > Ops) DITemplateTypeParameter() argument
1250 getImpl(LLVMContext & Context,MDString * Name,Metadata * Type,bool isDefault,StorageType Storage,bool ShouldCreate) getImpl() argument
1259 getImpl(LLVMContext & Context,unsigned Tag,MDString * Name,Metadata * Type,bool isDefault,Metadata * Value,StorageType Storage,bool ShouldCreate) getImpl() argument
1273 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,Metadata * Annotations,StorageType Storage,bool ShouldCreate) getImpl() argument
1298 getImpl(LLVMContext & Context,Metadata * Scope,MDString * Name,Metadata * File,unsigned Line,Metadata * Type,unsigned Arg,DIFlags Flags,uint32_t AlignInBits,Metadata * Annotations,StorageType Storage,bool ShouldCreate) getImpl() argument
1311 DIVariable(LLVMContext & C,unsigned ID,StorageType Storage,signed Line,ArrayRef<Metadata * > Ops,uint32_t AlignInBits) DIVariable() argument
1340 DILabel(LLVMContext & C,StorageType Storage,unsigned Line,ArrayRef<Metadata * > Ops) DILabel() argument
1346 getImpl(LLVMContext & Context,Metadata * Scope,MDString * Name,Metadata * File,unsigned Line,StorageType Storage,bool ShouldCreate) getImpl() argument
1357 getImpl(LLVMContext & Context,ArrayRef<uint64_t> Elements,StorageType Storage,bool ShouldCreate) getImpl() argument
1381 getImpl(LLVMContext & Context,StorageType Storage,bool ShouldCreate) getImpl() argument
2068 getImpl(LLVMContext & Context,Metadata * Variable,Metadata * Expression,StorageType Storage,bool ShouldCreate) getImpl() argument
2074 DIObjCProperty(LLVMContext & C,StorageType Storage,unsigned Line,unsigned Attributes,ArrayRef<Metadata * > Ops) DIObjCProperty() argument
2083 getImpl(LLVMContext & Context,MDString * Name,Metadata * File,unsigned Line,MDString * GetterName,MDString * SetterName,unsigned Attributes,Metadata * Type,StorageType Storage,bool ShouldCreate) getImpl() argument
2097 getImpl(LLVMContext & Context,unsigned Tag,Metadata * Scope,Metadata * Entity,Metadata * File,unsigned Line,MDString * Name,Metadata * Elements,StorageType Storage,bool ShouldCreate) getImpl() argument
2107 getImpl(LLVMContext & Context,unsigned MIType,unsigned Line,MDString * Name,MDString * Value,StorageType Storage,bool ShouldCreate) getImpl() argument
2117 getImpl(LLVMContext & Context,unsigned MIType,unsigned Line,Metadata * File,Metadata * Elements,StorageType Storage,bool ShouldCreate) getImpl() argument
[all...]
H A DMetadataImpl.h28 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()
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Object/
H A DMinidump.h111 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;
/freebsd-src/contrib/llvm-project/llvm/lib/Support/
H A DDJB.cpp37 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 DChrono.cpp26 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 DYAMLParser.cpp2032 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 DStringSaver.cpp24 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()
/freebsd-src/contrib/llvm-project/llvm/tools/llvm-diff/lib/
H A DDifferenceEngine.cpp39 llvm::SmallVector<T, InlineCapacity> Storage; member in __anonf90df1f30111::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[ in remove_min()
[all...]
/freebsd-src/contrib/llvm-project/clang/lib/Frontend/
H A DPrecompiledPreamble.cpp428 std::unique_ptr<PCHStorage> Storage; in Build()
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()
546 Act.reset(); // Frees the PCH buffer, unless Storage keeps it in memory. 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 in getSize()
427 std::unique_ptr<PCHStorage> Storage; Build() local
727 PrecompiledPreamble(std::unique_ptr<PCHStorage> Storage,std::vector<char> PreambleBytes,bool PreambleEndsAtStartOfLine,llvm::StringMap<PreambleFileHash> FilesInPreamble,llvm::StringSet<> MissingFiles) PrecompiledPreamble() argument
789 setupPreambleStorage(const PCHStorage & Storage,PreprocessorOptions & PreprocessorOpts,IntrusiveRefCntPtr<llvm::vfs::FileSystem> & VFS) setupPreambleStorage() argument
[all...]
/freebsd-src/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DSymbolSerializer.h29 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()
/freebsd-src/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DLookupResult.cpp27 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()
/freebsd-src/contrib/llvm-project/lldb/source/Target/
H A DTrace.cpp189 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 …]
/freebsd-src/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DTypeStreamMerger.cpp137 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()
/freebsd-src/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVDuplicatesTracker.h144 StorageTy Storage; in PipeTypeDescriptor()
151 Storage[V][MF] = R;
158 Storage[V].setIsFunc(true); in DeviceEventTypeDescriptor()
162 Storage[V].setIsGV(true); in classof()
166 auto iter = Storage.find(V);
167 if (iter != Storage.end()) {
176 const StorageTy &getAllUses() const { return Storage; }
179 StorageTy &getAllUses() { return Storage; } in classof()

12345678