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 40 of file IndexedValuesMap.h.
|
inline |
Definition at line 32 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 37 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 >::try_emplace(), 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 30 of file IndexedValuesMap.h.
References llvm::dwarf_linker::IndexedValuesMap< T >::Values.
Referenced by llvm::dwarf_linker::classic::DWARFLinker::link().
|
protected |
|
protected |
Definition at line 41 of file IndexedValuesMap.h.
Referenced by llvm::dwarf_linker::IndexedValuesMap< T >::clear(), and llvm::dwarf_linker::IndexedValuesMap< T >::getValueIndex().