Home
last modified time | relevance | path

Searched refs:getEmptyKey (Results 1 – 25 of 146) sorted by relevance

123456

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DDenseMapInfo.h73 static inline T* getEmptyKey() {
95 static inline char getEmptyKey() { return ~0; }
106 static inline unsigned char getEmptyKey() { return ~0; }
117 static inline unsigned short getEmptyKey() { return 0xFFFF; }
128 static inline unsigned getEmptyKey() { return ~0U; }
139 static inline unsigned long getEmptyKey() { return ~0UL; }
156 static inline unsigned long long getEmptyKey() { return ~0ULL; }
171 static inline short getEmptyKey() { return 0x7FFF; }
179 static inline int getEmptyKey() { return 0x7fffffff; }
190 static inline long getEmptyKey() {
[all …]
H A DCachedHashString.h51 static CachedHashStringRef getEmptyKey() {
52 return CachedHashStringRef(DenseMapInfo<StringRef>::getEmptyKey(), 0);
58 assert(!isEqual(S, getEmptyKey()) && "Cannot hash the empty key!");
79 static char *getEmptyKeyPtr() { return DenseMapInfo<char *>::getEmptyKey(); }
154 static CachedHashString getEmptyKey() {
163 assert(!isEqual(S, getEmptyKey()) && "Cannot hash the empty key!");
H A DDenseMapInfoVariant.h28 static inline Variant getEmptyKey() {
29 return Variant(std::in_place_index<0>, DenseMapInfo<FirstT>::getEmptyKey());
H A DPointerEmbeddedInt.h107 static inline T getEmptyKey() { return IntInfo::getEmptyKey(); }
H A DDenseMap.h142 const KeyT EmptyKey = getEmptyKey(); in clear()
426 const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey(); in destroyAll()
441 const KeyT EmptyKey = getEmptyKey(); in initEmpty()
461 const KeyT EmptyKey = getEmptyKey(); in moveFromOldBuckets()
499 const KeyT EmptyKey = getEmptyKey(); in copyFrom()
519 static const KeyT getEmptyKey() { in getEmptyKey() function
522 return KeyInfoT::getEmptyKey(); in getEmptyKey()
643 const KeyT EmptyKey = getEmptyKey(); in InsertIntoBucketImpl()
656 const KeyT EmptyKey = getEmptyKey(); in doFind()
694 const KeyT EmptyKey = getEmptyKey(); in LookupBucketFor()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_dense_map_info.h83 static constexpr T *getEmptyKey() {
107 static constexpr char getEmptyKey() { return ~0; }
119 static constexpr unsigned char getEmptyKey() { return ~0; }
134 static constexpr unsigned short getEmptyKey() { return 0xFFFF; }
149 static constexpr unsigned getEmptyKey() { return ~0U; }
163 static constexpr unsigned long getEmptyKey() { return ~0UL; }
179 static constexpr unsigned long long getEmptyKey() { return ~0ULL; }
195 static constexpr short getEmptyKey() { return 0x7FFF; }
206 static constexpr int getEmptyKey() { return 0x7fffffff; }
220 static constexpr long getEmptyKey() {
[all …]
H A Dsanitizer_dense_map.h50 const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey(); in clear()
217 const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey(); in forEach()
241 const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey(); in destroyAll()
255 const KeyT EmptyKey = getEmptyKey(); in initEmpty()
275 const KeyT EmptyKey = getEmptyKey(); in moveFromOldBuckets()
314 if (!KeyInfoT::isEqual(getBuckets()[i].getFirst(), getEmptyKey()) && in copyFrom()
330 static const KeyT getEmptyKey() { return KeyInfoT::getEmptyKey(); } in getEmptyKey() function
428 const KeyT EmptyKey = getEmptyKey(); in InsertIntoBucketImpl()
442 const KeyT EmptyKey = getEmptyKey(); in doFind()
481 const KeyT EmptyKey = getEmptyKey(); in LookupBucketFor()
/freebsd/contrib/llvm-project/llvm/include/llvm/DWP/
H A DDWPStringPool.h13 static inline const char *getEmptyKey() { in getEmptyKey() function
20 assert(Val != getEmptyKey() && "Cannot hash the empty key!"); in getHashValue()
25 if (RHS == getEmptyKey()) in isEqual()
26 return LHS == getEmptyKey(); in isEqual()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DWasmTraits.h23 static wasm::WasmSignature getEmptyKey() {
49 static wasm::WasmGlobalType getEmptyKey() {
66 static wasm::WasmLimits getEmptyKey() {
88 static wasm::WasmTableType getEmptyKey() {
90 wasm::ValType(0), DenseMapInfo<wasm::WasmLimits, void>::getEmptyKey()};
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTBAA.h231 static clang::CodeGen::TBAAAccessInfo getEmptyKey() {
232 unsigned UnsignedKey = DenseMapInfo<unsigned>::getEmptyKey();
235 DenseMapInfo<MDNode *>::getEmptyKey(),
236 DenseMapInfo<MDNode *>::getEmptyKey(),
237 DenseMapInfo<uint64_t>::getEmptyKey(),
238 DenseMapInfo<uint64_t>::getEmptyKey());
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DBaseSubobject.h58 static clang::BaseSubobject getEmptyKey() {
60 DenseMapInfo<const clang::CXXRecordDecl *>::getEmptyKey(),
61 clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getEmptyKey()));
H A DDeclID.h248 static GlobalDeclID getEmptyKey() {
249 return GlobalDeclID(DenseMapInfo<DeclID>::getEmptyKey());
269 static LocalDeclID getEmptyKey() {
270 return LocalDeclID(DenseMapInfo<DeclID>::getEmptyKey());
H A DTypeOrdering.h39 static inline clang::QualType getEmptyKey() { return clang::QualType(); }
57 static inline clang::CanQualType getEmptyKey() {
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86OptimizeLEAs.cpp121 static inline MemOpKey getEmptyKey() { in getEmptyKey() function
122 return MemOpKey(PtrInfo::getEmptyKey(), PtrInfo::getEmptyKey(), in getEmptyKey()
123 PtrInfo::getEmptyKey(), PtrInfo::getEmptyKey(), in getEmptyKey()
124 PtrInfo::getEmptyKey()); in getEmptyKey()
136 assert(Val.Disp != PtrInfo::getEmptyKey() && "Cannot hash the empty key"); in getHashValue()
179 if (RHS.Disp == PtrInfo::getEmptyKey()) in isEqual()
180 return LHS.Disp == PtrInfo::getEmptyKey(); in isEqual()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DUniqueBBID.h29 static inline UniqueBBID getEmptyKey() {
30 unsigned EmptyKey = DenseMapInfo<unsigned>::getEmptyKey();
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/PBQP/
H A DCostAllocator.h50 static inline PoolEntry *getEmptyKey() { return nullptr; } in getEmptyKey() function
76 if (P == getEmptyKey() || P == getTombstoneKey()) in isEqual()
82 if (P1 == getEmptyKey() || P1 == getTombstoneKey()) in isEqual()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DWeak.h39 static inline WeakInfo getEmptyKey() { in getEmptyKey() function
40 return WeakInfo(DenseMapInfo::getEmptyKey(), SourceLocation()); in getEmptyKey()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
H A DFileEntry.h48 static inline gsym::FileEntry getEmptyKey() {
49 uint32_t key = DenseMapInfo<uint32_t>::getEmptyKey();
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DItaniumCXXABI.cpp80 V, llvm::DenseMapInfo<T>::getEmptyKey()); in isDenseMapKeyEmpty()
105 static DecompositionDeclName getEmptyKey() { in getEmptyKey() function
106 return {ArrayInfo::getEmptyKey()}; in getEmptyKey()
112 assert(!isEqual(Key, getEmptyKey()) && !isEqual(Key, getTombstoneKey())); in getHashValue()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/FileSystem/
H A DUniqueID.h56 static inline llvm::sys::fs::UniqueID getEmptyKey() {
57 auto EmptyKey = DenseMapInfo<std::pair<uint64_t, uint64_t>>::getEmptyKey();
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DValueHandle.h104 V != DenseMapInfo<Value *>::getEmptyKey() && in isValid()
181 static inline WeakVH getEmptyKey() {
182 return WeakVH(DenseMapInfo<Value *>::getEmptyKey());
528 static inline PoisoningVH<T> getEmptyKey() {
530 Res.setRawValPtr(DenseMapInfo<Value *>::getEmptyKey());
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryLocation.h331 static inline LocationSize getEmptyKey() { return LocationSize::mapEmpty(); }
344 static inline MemoryLocation getEmptyKey() {
345 return MemoryLocation(DenseMapInfo<const Value *>::getEmptyKey(),
346 DenseMapInfo<LocationSize>::getEmptyKey());
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesFormat.h363 static inline clang::api_notes::StoredObjCSelector getEmptyKey() {
364 return clang::api_notes::StoredObjCSelector{UnsignedInfo::getEmptyKey(),
391 static inline clang::api_notes::ContextTableKey getEmptyKey() {
413 static inline clang::api_notes::SingleDeclTableKey getEmptyKey() {
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCRegister.h104 static inline MCRegister getEmptyKey() {
105 return DenseMapInfo<unsigned>::getEmptyKey();
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCanonicalizeFreezeInLoops.cpp108 static inline FrozenIndPHIInfo getEmptyKey() { in getEmptyKey() function
109 return FrozenIndPHIInfo(DenseMapInfo<PHINode *>::getEmptyKey(), in getEmptyKey()
110 DenseMapInfo<BinaryOperator *>::getEmptyKey()); in getEmptyKey()

123456