Go to the documentation of this file.
14 #ifndef LLVM_SUPPORT_FILESYSTEM_UNIQUEID_H
15 #define LLVM_SUPPORT_FILESYSTEM_UNIQUEID_H
35 return Device ==
Other.Device && File ==
Other.File;
40 if (Device <
Other.Device)
42 if (
Other.Device < Device)
44 return File <
Other.File;
58 return {EmptyKey.first, EmptyKey.second};
64 return {TombstoneKey.first, TombstoneKey.second};
79 #endif // LLVM_SUPPORT_FILESYSTEM_UNIQUEID_H
This is an optimization pass for GlobalISel generic memory operations.
UniqueID(uint64_t Device, uint64_t File)
static bool isEqual(const llvm::sys::fs::UniqueID &LHS, const llvm::sys::fs::UniqueID &RHS)
An information struct used to provide DenseMap with the various necessary components for a given valu...
bool operator<(const UniqueID &Other) const
static llvm::sys::fs::UniqueID getTombstoneKey()
hash_code hash_value(const FixedPointSemantics &Val)
static hash_code getHashValue(const llvm::sys::fs::UniqueID &Tag)
std::optional< std::vector< StOtherPiece > > Other
static llvm::sys::fs::UniqueID getEmptyKey()
bool operator==(const UniqueID &Other) const
uint64_t getDevice() const
bool operator!=(const UniqueID &Other) const
An opaque object representing a hash code.