LLVM 20.0.0git
|
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 29 of file CachedHashString.h.
|
inlineexplicit |
Definition at line 36 of file CachedHashString.h.
Definition at line 39 of file CachedHashString.h.
References assert(), P, and llvm::StringRef::size().
Definition at line 45 of file CachedHashString.h.
References P.
|
inline |
Definition at line 47 of file CachedHashString.h.
Referenced by llvm::DenseMapInfo< CachedHashStringRef >::getHashValue(), and llvm::gsym::GsymCreator::insertString().
|
inline |
Definition at line 46 of file CachedHashString.h.
Referenced by llvm::StringTableBuilder::add().
|
inline |
Definition at line 44 of file CachedHashString.h.
References P.