Go to the documentation of this file.
9 #ifndef LLVM_DEBUGINFO_CODEVIEW_LAZYRANDOMTYPECOLLECTION_H
10 #define LLVM_DEBUGINFO_CODEVIEW_LAZYRANDOMTYPECOLLECTION_H
103 std::vector<CacheEntry> Records;
115 #endif // LLVM_DEBUGINFO_CODEVIEW_LAZYRANDOMTYPECOLLECTION_H
This is an optimization pass for GlobalISel generic memory operations.
bool contains(TypeIndex Index) override
The instances of the Type class are immutable: once they are created, they are never changed.
uint32_t capacity() override
StringRef getTypeName(TypeIndex Index) override
uint32_t getOffsetOfType(TypeIndex Index)
Provides amortized O(1) random access to a CodeView type stream.
Provides read only access to a subclass of BinaryStream.
bool replaceType(TypeIndex &Index, CVType Data, bool Stabilize) override
LazyRandomTypeCollection(uint32_t RecordCountHint)
Allocate memory in an ever growing pool, as if by bump-pointer.
void reset(ArrayRef< uint8_t > Data, uint32_t RecordCountHint)
Saves strings in the provided stable storage and returns a StringRef with a stable character pointer.
StringRef - Represent a constant reference to a string, i.e.
Optional< TypeIndex > getNext(TypeIndex Prev) override
Lightweight error class with error context and mandatory checking.
Optional< CVType > tryGetType(TypeIndex Index)
Optional< TypeIndex > getFirst() override
CVType getType(TypeIndex Index) override