LLVM: llvm::dwarf_linker::parallel::TypePool Class Reference (original) (raw)
TypePool keeps type descriptors which contain partially cloned DIE correspinding to each type. More...
#include "[DWARFLinker/Parallel/TypePool.h](TypePool%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| TypePool () | |
| TypeEntry * | insert (StringRef Name) |
| TypeEntryBody * | getOrCreateTypeEntryBody (TypeEntry *Entry, TypeEntry *ParentEntry) |
| Create or return existing type entry body for the specified Entry. | |
| void | sortTypes () |
| Sort children for each kept type entry. | |
| TypeEntry * | getRoot () const |
| Return root for all type entries. | |
| BumpPtrAllocator & | getThreadLocalAllocator () |
| Return thread local allocator used by pool. |
TypePool keeps type descriptors which contain partially cloned DIE correspinding to each type.
Types are identified by names.
Definition at line 108 of file TypePool.h.
| llvm::dwarf_linker::parallel::TypePool::TypePool ( ) | inline |
|---|
◆ getOrCreateTypeEntryBody()
◆ getRoot()
| TypeEntry * llvm::dwarf_linker::parallel::TypePool::getRoot ( ) const | inline |
|---|
◆ getThreadLocalAllocator()
| BumpPtrAllocator & llvm::dwarf_linker::parallel::TypePool::getThreadLocalAllocator ( ) | inline |
|---|
◆ insert()
◆ sortTypes()
| void llvm::dwarf_linker::parallel::TypePool::sortTypes ( ) | inline |
|---|
◆ Root
| TypeEntry* llvm::dwarf_linker::parallel::TypePool::Root = nullptr | protected |
|---|
◆ TypesComparator
Initial value:
return LHS->getKey() < RHS->getKey();
}
StringMapEntry< std::atomic< TypeEntryBody * > > TypeEntry
Definition at line 167 of file TypePool.h.
Referenced by sortTypes().
The documentation for this class was generated from the following file:
- lib/DWARFLinker/Parallel/TypePool.h