LLVM
8.0.1
|
A container which contains a StringRef plus a precomputed hash. More...
#include "llvm/ADT/CachedHashString.h"
Public Member Functions | |
CachedHashStringRef (StringRef S) | |
CachedHashStringRef (StringRef S, uint32_t Hash) | |
StringRef | val () const |
const char * | data () const |
uint32_t | size () const |
uint32_t | hash () const |
A container which contains a StringRef plus a precomputed hash.
Definition at line 30 of file CachedHashString.h.
|
inlineexplicit |
Definition at line 37 of file CachedHashString.h.
Referenced by llvm::DenseMapInfo< CachedHashStringRef >::getEmptyKey(), llvm::DenseMapInfo< CachedHashStringRef >::getTombstoneKey(), and llvm::CachedHashString::operator CachedHashStringRef().
Definition at line 40 of file CachedHashString.h.
References assert(), llvm::max(), and llvm::StringRef::size().
Definition at line 46 of file CachedHashString.h.
|
inline |
Definition at line 48 of file CachedHashString.h.
Referenced by llvm::DenseMapInfo< CachedHashStringRef >::getHashValue(), and llvm::DenseMapInfo< CachedHashStringRef >::isEqual().
|
inline |
Definition at line 47 of file CachedHashString.h.
Referenced by llvm::StringTableBuilder::add().
|
inline |
Definition at line 45 of file CachedHashString.h.
Referenced by llvm::DenseMapInfo< CachedHashStringRef >::isEqual(), llvm::CachedHashString::operator CachedHashStringRef(), and llvm::CachedHashString::operator StringRef().