Home
last modified time | relevance | path

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

123456

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DDenseMapInfo.h70 static inline T* getEmptyKey() {
92 static inline char getEmptyKey() { return ~0; }
125 static inline unsigned getEmptyKey() { return ~0U; }
165 static inline short getEmptyKey() { return 0x7FFF; }
173 static inline int getEmptyKey() { return 0x7fffffff; }
184 static inline long getEmptyKey() {
221 static inline Pair getEmptyKey() {
222 return std::make_pair(FirstInfo::getEmptyKey(),
223 SecondInfo::getEmptyKey());
254 static inline Tuple 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.h121 const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey(); in clear()
406 const KeyT EmptyKey = getEmptyKey(); in initEmpty()
426 const KeyT EmptyKey = getEmptyKey(); in moveFromOldBuckets()
480 static const KeyT getEmptyKey() { in getEmptyKey() function
483 return KeyInfoT::getEmptyKey(); in getEmptyKey()
623 const KeyT EmptyKey = getEmptyKey(); in InsertIntoBucketImpl()
647 const KeyT EmptyKey = getEmptyKey(); in LookupBucketFor()
970 const KeyT EmptyKey = this->getEmptyKey(); in swap()
1082 const KeyT EmptyKey = this->getEmptyKey(); in grow()
1310 const KeyT Empty = KeyInfoT::getEmptyKey(); in AdvancePastEmptyBuckets()
[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; }
195 static constexpr short getEmptyKey() { return 0x7FFF; }
206 static constexpr int getEmptyKey() { return 0x7fffffff; }
220 static constexpr long getEmptyKey() {
259 static constexpr Pair getEmptyKey() {
[all …]
H A Dsanitizer_dense_map.h50 const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey(); in clear()
234 const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey(); in forEach()
258 const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey(); in destroyAll()
272 const KeyT EmptyKey = getEmptyKey(); in initEmpty()
292 const KeyT EmptyKey = getEmptyKey(); in moveFromOldBuckets()
331 if (!KeyInfoT::isEqual(getBuckets()[i].getFirst(), getEmptyKey()) && in copyFrom()
347 static const KeyT getEmptyKey() { return KeyInfoT::getEmptyKey(); } in getEmptyKey() function
445 const KeyT EmptyKey = getEmptyKey(); in InsertIntoBucketImpl()
469 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.h219 static clang::CodeGen::TBAAAccessInfo getEmptyKey() {
220 unsigned UnsignedKey = DenseMapInfo<unsigned>::getEmptyKey();
223 DenseMapInfo<MDNode *>::getEmptyKey(),
224 DenseMapInfo<MDNode *>::getEmptyKey(),
225 DenseMapInfo<uint64_t>::getEmptyKey(),
226 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 DTypeOrdering.h39 static inline clang::QualType getEmptyKey() { return clang::QualType(); }
57 static inline clang::CanQualType getEmptyKey() {
H A DNestedNameSpecifier.h537 static clang::NestedNameSpecifierLoc getEmptyKey() {
538 return clang::NestedNameSpecifierLoc(FirstInfo::getEmptyKey(),
539 SecondInfo::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/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/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/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.cpp81 V, llvm::DenseMapInfo<T>::getEmptyKey()); in isDenseMapKeyEmpty()
106 static DecompositionDeclName getEmptyKey() { in getEmptyKey() function
107 return {ArrayInfo::getEmptyKey()}; in getEmptyKey()
113 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/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/llvm/include/llvm/MC/
H A DMCRegister.h110 static inline unsigned getEmptyKey() {
111 return DenseMapInfo<unsigned>::getEmptyKey();
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DValueHandle.h103 V != DenseMapInfo<Value *>::getEmptyKey() && in isValid()
180 static inline WeakVH getEmptyKey() {
181 return WeakVH(DenseMapInfo<Value *>::getEmptyKey());
527 static inline PoisoningVH<T> getEmptyKey() {
529 Res.setRawValPtr(DenseMapInfo<Value *>::getEmptyKey());
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesFormat.h293 static inline clang::api_notes::StoredObjCSelector getEmptyKey() {
294 return clang::api_notes::StoredObjCSelector{UnsignedInfo::getEmptyKey(),
321 static inline clang::api_notes::ContextTableKey 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()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRegister.h151 static inline unsigned getEmptyKey() {
152 return DenseMapInfo<unsigned>::getEmptyKey();

123456