/llvm-project/llvm/unittests/Support/ |
H A D | ReverseIterationTest.cpp | 63 template<> struct DenseMapInfo<PtrLikeInt *> { struct 64 static PtrLikeInt *getEmptyKey() { in getEmptyKey() 69 static PtrLikeInt *getTombstoneKey() { in getTombstoneKey() 74 static int getHashValue(const PtrLikeInt *P) { in getHashValue() 78 static bool isEqual(const PtrLikeInt *LHS, const PtrLikeInt *RHS) { in isEqual()
|
/llvm-project/clang/include/clang/AST/ |
H A D | ASTTypeTraits.h | 110 struct DenseMapInfo { struct 112 static inline ASTNodeKind getEmptyKey() { return ASTNodeKind(); } in getEmptyKey() 115 static inline ASTNodeKind getTombstoneKey() { in getTombstoneKey() 118 static unsigned getHashValue(const ASTNodeKind &Val) { return Val.KindId; } in getHashValue() 119 static bool isEqual(const ASTNodeKind &LHS, const ASTNodeKind &RHS) { in isEqual()
|
/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CanonicalizeFreezeInLoops.cpp | 107 template <> struct DenseMapInfo<FrozenIndPHIInfo> { struct 108 static inline FrozenIndPHIInfo getEmptyKey() { in getEmptyKey() 113 static inline FrozenIndPHIInfo getTombstoneKey() { in getTombstoneKey() 118 static unsigned getHashValue(const FrozenIndPHIInfo &Val) { in getHashValue() 122 static bool isEqual(const FrozenIndPHIInfo &LHS, in isEqual()
|
/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64StackTaggingPreRA.cpp | 216 return hash_combine(DenseMapInfo<int>::getHashValue(V.FI), in getEmptyKey() argument 217 DenseMapInfo<int>::getHashValue(V.Tag)); in getTombstoneKey() argument 215 template <> struct DenseMapInfo<SlotWithTag> { global() struct 218 getHashValuellvm::DenseMapInfo getHashValue() argument 222 isEqualllvm::DenseMapInfo isEqual() argument
|
/llvm-project/clang/lib/AST/ |
H A D | ItaniumCXXABI.cpp | 104 using ArrayInfo = llvm::DenseMapInfo<ArrayRef<const BindingDecl*>>; struct 105 ArrayInfollvm::DenseMapInfo global() argument 106 getEmptyKeyllvm::DenseMapInfo getEmptyKey() argument 109 getTombstoneKeyllvm::DenseMapInfo getTombstoneKey() argument 112 getHashValuellvm::DenseMapInfo getHashValue() argument 116 isEqualllvm::DenseMapInfo isEqual() argument
|
/llvm-project/llvm/unittests/ADT/ |
H A D | DenseSetTest.cpp | 183 template <> struct DenseMapInfo<CountCopyAndMove> { struct 184 static inline CountCopyAndMove getEmptyKey() { return CountCopyAndMove(-1); }; in getEmptyKey() 185 static inline CountCopyAndMove getTombstoneKey() { in getTombstoneKey() 188 static unsigned getHashValue(const CountCopyAndMove &Val) { in getHashValue() 191 static bool isEqual(const CountCopyAndMove &LHS, in isEqual()
|
H A D | DenseMapTest.cpp | 727 struct DenseMapInfo<T, std::enable_if_t<std::is_base_of_v<A, T>>> { struct 728 static inline T getEmptyKey() { return {static_cast<int>(~0)}; } in getEmptyKey() 729 static inline T getTombstoneKey() { return {static_cast<int>(~0U - 1)}; } in getTombstoneKey() 730 static unsigned getHashValue(const T &Val) { return Val.value; } in getHashValue() 731 static bool isEqual(const T &LHS, const T &RHS) { in isEqual() 736 template <> struct DenseMapInfo<AlwaysEqType> { struct 737 using T = AlwaysEqType; 738 static inline T getEmptyKey() { return {}; } in getEmptyKey() 739 static inline T getTombstoneKey() { return {}; } in getTombstoneKey() 740 static unsigned getHashValue(const T &Val) { return 0; } in getHashValue() [all …]
|
H A D | MapVectorTest.cpp | 35 template <> struct DenseMapInfo<A> { struct 36 static inline A getEmptyKey() { return 0x7fffffff; } in getEmptyKey() 37 static inline A getTombstoneKey() { return -0x7fffffff - 1; } in getTombstoneKey() 38 static unsigned getHashValue(const A &Val) { return (unsigned)(Val.v * 37U); } in getHashValue() 39 static bool isEqual(const A &LHS, const A &RHS) { return LHS.v == RHS.v; } in isEqual()
|
/llvm-project/clang-tools-extra/pseudo/lib/grammar/ |
H A D | LRGraph.cpp |
|
/llvm-project/llvm/lib/Target/X86/ |
H A D | X86OptimizeLEAs.cpp | 118 template <> struct DenseMapInfo<MemOpKey> { struct 119 using PtrInfo = DenseMapInfo<const MachineOperand *>; argument 121 getEmptyKeyllvm::DenseMapInfo getEmptyKey() argument 127 getTombstoneKeyllvm::DenseMapInfo getTombstoneKey() argument 133 getHashValuellvm::DenseMapInfo getHashValue() argument 176 isEqualllvm::DenseMapInfo isEqual() argument
|
/llvm-project/llvm/include/llvm/ADT/ |
H A D | DenseMapInfo.h | 52 struct DenseMapInfo { struct
|
/llvm-project/clang-tools-extra/clangd/ |
H A D | SystemIncludeExtractor.cpp | 218 template <> struct DenseMapInfo<DriverArgs> { struct 219 getEmptyKeyllvm::DenseMapInfo getEmptyKey() argument 224 getTombstoneKeyllvm::DenseMapInfo getTombstoneKey() argument 229 getHashValuellvm::DenseMapInfo getHashValue() argument 246 isEqualllvm::DenseMapInfo isEqual() argument
|
/llvm-project/clang-tools-extra/clang-tidy/utils/ |
H A D | RenamerClangTidyCheck.cpp | 30 struct DenseMapInfo<clang::tidy::RenamerClangTidyCheck::NamingCheckId> { struct 31 NamingCheckIdllvm::DenseMapInfo global() argument 33 getEmptyKeyllvm::DenseMapInfo getEmptyKey() argument 37 getTombstoneKeyllvm::DenseMapInfo getTombstoneKey() argument 42 getHashValuellvm::DenseMapInfo getHashValue() argument 50 isEqualllvm::DenseMapInfo isEqual() argument
|
/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_dense_map_info.h | 63 struct DenseMapInfo { struct
|
/llvm-project/lld/COFF/ |
H A D | Chunks.h | 655 struct DenseMapInfo { global() struct 656 getEmptyKeyChunkAndOffset::DenseMapInfo getEmptyKey() argument 659 getTombstoneKeyChunkAndOffset::DenseMapInfo getTombstoneKey() argument 662 getHashValueChunkAndOffset::DenseMapInfo getHashValue() argument 666 isEqualChunkAndOffset::DenseMapInfo isEqual() argument
|
/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | EarlyCSE.cpp | 159 template <> struct DenseMapInfo<SimpleValue> { struct 160 getEmptyKeyllvm::DenseMapInfo getEmptyKey() argument 164 getTombstoneKeyllvm::DenseMapInfo getTombstoneKey() argument 519 template <> struct DenseMapInfo<CallValue> { global() struct 520 getEmptyKeyllvm::DenseMapInfo getEmptyKey() argument 524 getTombstoneKeyllvm::DenseMapInfo getTombstoneKey() argument 590 template <> struct DenseMapInfo<GEPValue> { global() struct 591 getEmptyKeyllvm::DenseMapInfo getEmptyKey() argument 595 getTombstoneKeyllvm::DenseMapInfo getTombstoneKey() argument [all...] |
H A D | GVNSink.cpp | 341 template <typename ModelledPHI> struct DenseMapInfo { global() struct 342 getEmptyKey__anon3afcf1460111::DenseMapInfo getEmptyKey() argument 347 getTombstoneKey__anon3afcf1460111::DenseMapInfo getTombstoneKey() argument 352 getHashValue__anon3afcf1460111::DenseMapInfo getHashValue() argument 354 isEqual__anon3afcf1460111::DenseMapInfo isEqual() argument
|
/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | FunctionSpecialization.cpp | 599 template <> struct llvm::DenseMapInfo<SpecSig> { global() struct in llvm 600 getEmptyKeyllvm::DenseMapInfo getEmptyKey() argument 602 getTombstoneKeyllvm::DenseMapInfo getTombstoneKey() argument 604 getHashValuellvm::DenseMapInfo getHashValue() argument 608 isEqualllvm::DenseMapInfo isEqual() argument
|
H A D | WholeProgramDevirt.cpp | 363 template <> struct DenseMapInfo<VTableSlot> { in isEqual() argument 331 template <> struct DenseMapInfo<VTableSlot> { global() struct 332 getEmptyKeyllvm::DenseMapInfo getEmptyKey() argument 336 getTombstoneKeyllvm::DenseMapInfo getTombstoneKey() argument 340 getHashValuellvm::DenseMapInfo getHashValue() argument 344 isEqualllvm::DenseMapInfo isEqual() argument 350 template <> struct DenseMapInfo<VTableSlotSummary> { global() struct 351 getEmptyKeyllvm::DenseMapInfo getEmptyKey() argument 355 getTombstoneKeyllvm::DenseMapInfo getTombstoneKey() argument 359 getHashValuellvm::DenseMapInfo getHashValue() argument [all...] |
/llvm-project/clang/unittests/Basic/ |
H A D | FileEntryTest.cpp | 130 TEST(FileEntryTest, DenseMapInfo) { in TEST() argument 211 TEST(DirectoryEntryTest, DenseMapInfo) { in TEST() argument
|
/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | CallEvent.cpp | 1205 template <> struct DenseMapInfo<PrivateMethodKey> { global() struct 1206 InterfaceInfollvm::DenseMapInfo global() argument 1207 SelectorInfollvm::DenseMapInfo global() argument 1209 getEmptyKeyllvm::DenseMapInfo getEmptyKey() argument 1213 getTombstoneKeyllvm::DenseMapInfo getTombstoneKey() argument 1218 getHashValuellvm::DenseMapInfo getHashValue() argument 1225 isEqualllvm::DenseMapInfo isEqual() argument
|
/llvm-project/mlir/include/mlir/Support/ |
H A D | LLVM.h | 122 using DenseMapInfo = llvm::DenseMapInfo<T, Enable>; variable
|
/llvm-project/clang/tools/libclang/ |
H A D | Indexing.cpp | 97 struct DenseMapInfo<PPRegion> { in getEmptyKey() argument 96 struct DenseMapInfo<PPRegion> { global() struct 100 getTombstoneKeyllvm::DenseMapInfo getTombstoneKey() argument 104 getHashValuellvm::DenseMapInfo getHashValue() argument 114 isEqualllvm::DenseMapInfo isEqual() argument
|
H A D | CXCursor.cpp | 1556 template <> struct DenseMapInfo<CXCursor> { global() struct 1565 getHashValuellvm::DenseMapInfo getHashValue() argument 1568 isEqualllvm::DenseMapInfo isEqual() argument
|
/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombinePHI.cpp | 1069 struct DenseMapInfo<LoweredPHIRecord> { global() struct 1070 getEmptyKeyllvm::DenseMapInfo getEmptyKey() argument 1073 getTombstoneKeyllvm::DenseMapInfo getTombstoneKey() argument 1076 getHashValuellvm::DenseMapInfo getHashValue() argument 1080 isEqualllvm::DenseMapInfo isEqual() argument
|