|
LLVM
5.0.0
|
Private implementation so that we don't leak our DenseMap instantiations to users. More...
Public Member Functions | |
| TypeHasher (BumpPtrAllocator &RecordStorage) | |
| void | reset () |
| TypeIndex | getOrCreateRecord (ArrayRef< uint8_t > &Record, TypeIndex TI) |
| Takes the bytes of type record, inserts them into the hash table, saves them, and returns a pointer to an identical stable type record along with its type index in the destination stream. More... | |
Private implementation so that we don't leak our DenseMap instantiations to users.
Definition at line 79 of file TypeSerializer.cpp.
|
inline |
Definition at line 97 of file TypeSerializer.cpp.
Takes the bytes of type record, inserts them into the hash table, saves them, and returns a pointer to an identical stable type record along with its type index in the destination stream.
Definition at line 107 of file TypeSerializer.cpp.
References llvm::AMDGPU::CodeObject::Kernel::Arg::Key::Align, llvm::BumpPtrAllocatorImpl< AllocatorT, SlabSize, SizeThreshold >::Allocate(), assert(), llvm::ArrayRef< T >::data(), llvm::MutableArrayRef< T >::data(), llvm::codeview::EC, llvm::codeview::TypeIndex::fromArrayIndex(), llvm::hash_value(), llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::insert(), Kind, N, llvm::cl::Prefix, llvm::codeview::RecordPrefix::RecordKind, llvm::codeview::RecordPrefix::RecordLen, llvm::ArrayRef< T >::size(), and llvm::Error::success().
|
inline |
Definition at line 99 of file TypeSerializer.cpp.
References llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::clear().
1.8.6