LLVM 20.0.0git
|
This file defines CachedHashString and CachedHashStringRef. More...
Go to the source code of this file.
Classes | |
class | llvm::CachedHashStringRef |
A container which contains a StringRef plus a precomputed hash. More... | |
struct | llvm::DenseMapInfo< CachedHashStringRef > |
class | llvm::CachedHashString |
A container which contains a string, which it owns, plus a precomputed hash. More... | |
struct | llvm::DenseMapInfo< CachedHashString > |
Namespaces | |
namespace | llvm |
This is an optimization pass for GlobalISel generic memory operations. | |
This file defines CachedHashString and CachedHashStringRef.
These are owning and not-owning string types that store their hash in addition to their string data.
Unlike std::string, CachedHashString can be used in DenseSet/DenseMap (because, unlike std::string, CachedHashString lets us have empty and tombstone values).
Definition in file CachedHashString.h.