LLVM 20.0.0git
|
This class stores values sequentually and assigns index to the each value. More...
#include "llvm/DWARFLinker/IndexedValuesMap.h"
Public Member Functions | |
uint64_t | getValueIndex (T Value) |
const SmallVector< T > & | getValues () const |
void | clear () |
bool | empty () |
Protected Types | |
using | ValueToIndexMapTy = DenseMap< T, uint64_t > |
Protected Attributes | |
ValueToIndexMapTy | ValueToIndexMap |
SmallVector< T > | Values |
This class stores values sequentually and assigns index to the each value.
Definition at line 21 of file IndexedValuesMap.h.
|
protected |
Definition at line 42 of file IndexedValuesMap.h.
|
inline |
Definition at line 34 of file IndexedValuesMap.h.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::clear(), llvm::dwarf_linker::IndexedValuesMap< T >::Values, and llvm::dwarf_linker::IndexedValuesMap< T >::ValueToIndexMap.
Referenced by llvm::dwarf_linker::parallel::CompileUnit::maybeResetToLoadedStage().
|
inline |
Definition at line 39 of file IndexedValuesMap.h.
References llvm::dwarf_linker::IndexedValuesMap< T >::Values.
|
inline |
Definition at line 23 of file IndexedValuesMap.h.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::insert(), llvm::dwarf_linker::IndexedValuesMap< T >::Values, and llvm::dwarf_linker::IndexedValuesMap< T >::ValueToIndexMap.
Referenced by llvm::dwarf_linker::parallel::CompileUnit::getDebugAddrIndex().
|
inline |
Definition at line 32 of file IndexedValuesMap.h.
References llvm::dwarf_linker::IndexedValuesMap< T >::Values.
Referenced by llvm::dwarf_linker::classic::DWARFLinker::link().
|
protected |
|
protected |
Definition at line 43 of file IndexedValuesMap.h.
Referenced by llvm::dwarf_linker::IndexedValuesMap< T >::clear(), and llvm::dwarf_linker::IndexedValuesMap< T >::getValueIndex().