LLVM 20.0.0git
Public Member Functions | Protected Types | Protected Attributes | List of all members
llvm::dwarf_linker::IndexedValuesMap< T > Class Template Reference

This class stores values sequentually and assigns index to the each value. More...

#include "llvm/DWARFLinker/IndexedValuesMap.h"

Inheritance diagram for llvm::dwarf_linker::IndexedValuesMap< T >:
Inheritance graph
[legend]

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< TValues
 

Detailed Description

template<typename T>
class llvm::dwarf_linker::IndexedValuesMap< T >

This class stores values sequentually and assigns index to the each value.

Definition at line 21 of file IndexedValuesMap.h.

Member Typedef Documentation

◆ ValueToIndexMapTy

template<typename T >
using llvm::dwarf_linker::IndexedValuesMap< T >::ValueToIndexMapTy = DenseMap<T, uint64_t>
protected

Definition at line 40 of file IndexedValuesMap.h.

Member Function Documentation

◆ clear()

template<typename T >
void llvm::dwarf_linker::IndexedValuesMap< T >::clear ( )
inline

◆ empty()

template<typename T >
bool llvm::dwarf_linker::IndexedValuesMap< T >::empty ( )
inline

◆ getValueIndex()

template<typename T >
uint64_t llvm::dwarf_linker::IndexedValuesMap< T >::getValueIndex ( T  Value)
inline

◆ getValues()

template<typename T >
const SmallVector< T > & llvm::dwarf_linker::IndexedValuesMap< T >::getValues ( ) const
inline

Member Data Documentation

◆ Values

template<typename T >
SmallVector<T> llvm::dwarf_linker::IndexedValuesMap< T >::Values
protected

◆ ValueToIndexMap

template<typename T >
ValueToIndexMapTy llvm::dwarf_linker::IndexedValuesMap< T >::ValueToIndexMap
protected

The documentation for this class was generated from the following file: