| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | DenseMapInfo.h | 69 static inline T* getEmptyKey() { 91 static inline char getEmptyKey() { return ~0; } 124 static inline unsigned getEmptyKey() { return ~0U; } 164 static inline short getEmptyKey() { return 0x7FFF; } 172 static inline int getEmptyKey() { return 0x7fffffff; } 183 static inline long getEmptyKey() { 220 static inline Pair getEmptyKey() { 221 return std::make_pair(FirstInfo::getEmptyKey(), 222 SecondInfo::getEmptyKey()); 245 static inline Tuple getEmptyKey() { [all …]
|
| H A D | CachedHashString.h | 51 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!");
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_dense_map_info.h | 83 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 D | sanitizer_dense_map.h | 50 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()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | SpecialMemberFunctionsCheck.h | 89 static inline ClassDefId getEmptyKey() { 90 return ClassDefId(DenseMapInfo<clang::SourceLocation>::getEmptyKey(), 100 assert(Val != getEmptyKey() && "Cannot hash the empty key!"); 108 if (RHS == getEmptyKey()) 109 return LHS == getEmptyKey();
|
| /llvm-project-15.0.7/mlir/lib/TableGen/ |
| H A D | Constraint.cpp | 116 Constraint DenseMapInfo<Constraint>::getEmptyKey() { in getEmptyKey() function in DenseMapInfo 117 return Constraint(RecordDenseMapInfo::getEmptyKey(), in getEmptyKey() 127 if (constraint == getEmptyKey()) in getHashValue() 128 return RecordDenseMapInfo::getHashValue(RecordDenseMapInfo::getEmptyKey()); in getHashValue() 139 if (lhs == getEmptyKey() || lhs == getTombstoneKey()) in isEqual() 141 if (rhs == getEmptyKey() || rhs == getTombstoneKey()) in isEqual()
|
| /llvm-project-15.0.7/llvm/include/llvm/DWP/ |
| H A D | DWPStringPool.h | 13 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()
|
| /llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/ |
| H A D | WasmTraits.h | 23 static wasm::WasmSignature getEmptyKey() { 49 static wasm::WasmGlobalType getEmptyKey() { 66 static wasm::WasmLimits getEmptyKey() { 88 static wasm::WasmTableType getEmptyKey() { 90 0, DenseMapInfo<wasm::WasmLimits, void>::getEmptyKey()};
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CodeGenTBAA.h | 219 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());
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | BaseSubobject.h | 58 static clang::BaseSubobject getEmptyKey() { 60 DenseMapInfo<const clang::CXXRecordDecl *>::getEmptyKey(), 61 clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getEmptyKey()));
|
| H A D | TypeOrdering.h | 39 static inline clang::QualType getEmptyKey() { return clang::QualType(); } 57 static inline clang::CanQualType getEmptyKey() {
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | Attributes.h | 261 static mlir::Attribute getEmptyKey() { 262 auto *pointer = llvm::DenseMapInfo<void *>::getEmptyKey(); 281 static T getEmptyKey() { 282 const void *pointer = llvm::DenseMapInfo<const void *>::getEmptyKey(); 306 static mlir::NamedAttribute getEmptyKey() { 307 auto emptyAttr = llvm::DenseMapInfo<mlir::Attribute>::getEmptyKey();
|
| H A D | Value.h | 468 static mlir::Value getEmptyKey() { 469 void *pointer = llvm::DenseMapInfo<void *>::getEmptyKey(); 483 static mlir::BlockArgument getEmptyKey() { 484 void *pointer = llvm::DenseMapInfo<void *>::getEmptyKey(); 494 static mlir::OpResult getEmptyKey() { 495 void *pointer = llvm::DenseMapInfo<void *>::getEmptyKey();
|
| H A D | Types.h | 283 static mlir::Type getEmptyKey() { 284 auto *pointer = llvm::DenseMapInfo<void *>::getEmptyKey(); 298 static T getEmptyKey() { 299 const void *pointer = llvm::DenseMapInfo<const void *>::getEmptyKey();
|
| H A D | BlockSupport.h | 180 static mlir::SuccessorRange getEmptyKey() { 181 auto *pointer = llvm::DenseMapInfo<mlir::BlockOperand *>::getEmptyKey(); 192 if (rhs.getBase() == getEmptyKey().getBase()) 193 return lhs.getBase() == getEmptyKey().getBase();
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86OptimizeLEAs.cpp | 121 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()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Weak.h | 39 static inline WeakInfo getEmptyKey() { in getEmptyKey() function 40 return WeakInfo(DenseMapInfo::getEmptyKey(), SourceLocation()); in getEmptyKey()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/PBQP/ |
| H A D | CostAllocator.h | 50 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()
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/GSYM/ |
| H A D | FileEntry.h | 48 static inline gsym::FileEntry getEmptyKey() { 49 uint32_t key = DenseMapInfo<uint32_t>::getEmptyKey();
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | MemoryLocation.h | 319 static inline LocationSize getEmptyKey() { 334 static inline MemoryLocation getEmptyKey() { 335 return MemoryLocation(DenseMapInfo<const Value *>::getEmptyKey(), 336 DenseMapInfo<LocationSize>::getEmptyKey());
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ItaniumCXXABI.cpp | 80 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()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/FileSystem/ |
| H A D | UniqueID.h | 56 static inline llvm::sys::fs::UniqueID getEmptyKey() { 57 auto EmptyKey = DenseMapInfo<std::pair<uint64_t, uint64_t>>::getEmptyKey();
|
| /llvm-project-15.0.7/llvm/include/llvm/MC/ |
| H A D | MCRegister.h | 97 static inline unsigned getEmptyKey() { 98 return DenseMapInfo<unsigned>::getEmptyKey();
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | ValueHandle.h | 103 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());
|
| /llvm-project-15.0.7/mlir/include/mlir/TableGen/ |
| H A D | Pattern.h | 518 static mlir::tblgen::DagNode getEmptyKey() { 520 llvm::DenseMapInfo<llvm::DagInit *>::getEmptyKey()); 536 static mlir::tblgen::DagLeaf getEmptyKey() { 538 llvm::DenseMapInfo<llvm::Init *>::getEmptyKey());
|