|
LLVM
4.0.0
|
A container which contains a StringRef plus a precomputed hash. More...
#include <CachedHashString.h>
Public Member Functions | |
| CachedHashStringRef (StringRef S) | |
| CachedHashStringRef (StringRef S, uint32_t Hash) | |
| StringRef | val () 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.
Definition at line 40 of file CachedHashString.h.
References assert(), and llvm::StringRef::size().
|
inline |
Definition at line 47 of file CachedHashString.h.
Referenced by llvm::DenseMapInfo< CachedHashStringRef >::getHashValue(), and llvm::DenseMapInfo< CachedHashStringRef >::isEqual().
|
inline |
Definition at line 46 of file CachedHashString.h.
Referenced by llvm::StringTableBuilder::add().
|
inline |
Definition at line 45 of file CachedHashString.h.
Referenced by llvm::DenseMapInfo< CachedHashStringRef >::isEqual().
1.8.6