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};
This file defines DenseMapInfo traits for DenseMap.
An opaque object representing a hash code.
bool operator<(const UniqueID &Other) const
bool operator!=(const UniqueID &Other) const
uint64_t getDevice() const
UniqueID(uint64_t Device, uint64_t File)
bool operator==(const UniqueID &Other) const
This is an optimization pass for GlobalISel generic memory operations.
hash_code hash_value(const FixedPointSemantics &Val)
static bool isEqual(const llvm::sys::fs::UniqueID &LHS, const llvm::sys::fs::UniqueID &RHS)
static llvm::sys::fs::UniqueID getEmptyKey()
static llvm::sys::fs::UniqueID getTombstoneKey()
static hash_code getHashValue(const llvm::sys::fs::UniqueID &Tag)
An information struct used to provide DenseMap with the various necessary components for a given valu...