Home
last modified time | relevance | path

Searched defs:DenseMapInfo (Results 1 – 25 of 55) sorted by relevance

123

/external/llvm-project/llvm/unittests/Support/
DReverseIterationTest.cpp62 template<> struct DenseMapInfo<PtrLikeInt *> { struct
63 static PtrLikeInt *getEmptyKey() { in getEmptyKey()
68 static PtrLikeInt *getTombstoneKey() { in getTombstoneKey()
73 static int getHashValue(const PtrLikeInt *P) { in getHashValue()
77 static bool isEqual(const PtrLikeInt *LHS, const PtrLikeInt *RHS) { in isEqual()
/external/clang/include/clang/AST/
DASTTypeTraits.h97 struct DenseMapInfo { struct
99 static inline ASTNodeKind getEmptyKey() { return ASTNodeKind(); } in getEmptyKey()
102 static inline ASTNodeKind getTombstoneKey() { in getTombstoneKey()
105 static unsigned getHashValue(const ASTNodeKind &Val) { return Val.KindId; } in getHashValue()
106 static bool isEqual(const ASTNodeKind &LHS, const ASTNodeKind &RHS) { in isEqual()
/external/llvm-project/clang/include/clang/AST/
DASTTypeTraits.h104 struct DenseMapInfo { struct
106 static inline ASTNodeKind getEmptyKey() { return ASTNodeKind(); } in getEmptyKey()
109 static inline ASTNodeKind getTombstoneKey() { in getTombstoneKey()
112 static unsigned getHashValue(const ASTNodeKind &Val) { return Val.KindId; } in getHashValue()
113 static bool isEqual(const ASTNodeKind &LHS, const ASTNodeKind &RHS) { in isEqual()
/external/llvm-project/clang/lib/AST/
DItaniumCXXABI.cpp103 struct DenseMapInfo<DecompositionDeclName> { struct
104 using ArrayInfo = llvm::DenseMapInfo<ArrayRef<const BindingDecl*>>;
105 static DecompositionDeclName getEmptyKey() { in getEmptyKey()
108 static DecompositionDeclName getTombstoneKey() { in getTombstoneKey()
111 static unsigned getHashValue(DecompositionDeclName Key) { in getHashValue()
115 static bool isEqual(DecompositionDeclName LHS, DecompositionDeclName RHS) { in isEqual()
/external/llvm/lib/Transforms/Utils/
DBypassSlowDivision.cpp49 struct DenseMapInfo<DivOpInfo> { struct
50 static bool isEqual(const DivOpInfo &Val1, const DivOpInfo &Val2) { in isEqual()
56 static DivOpInfo getEmptyKey() { in getEmptyKey()
60 static DivOpInfo getTombstoneKey() { in getTombstoneKey()
64 static unsigned getHashValue(const DivOpInfo &Val) { in getHashValue()
/external/llvm/lib/Target/X86/
DX86OptimizeLEAs.cpp101 template <> struct DenseMapInfo<MemOpKey> { struct
102 typedef DenseMapInfo<const MachineOperand *> PtrInfo;
104 static inline MemOpKey getEmptyKey() { in getEmptyKey()
110 static inline MemOpKey getTombstoneKey() { in getTombstoneKey()
116 static unsigned getHashValue(const MemOpKey &Val) { in getHashValue()
159 static bool isEqual(const MemOpKey &LHS, const MemOpKey &RHS) { in isEqual()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64StackTaggingPreRA.cpp218 template <> struct DenseMapInfo<SlotWithTag> { struct
219 static inline SlotWithTag getEmptyKey() { return {-2, -2}; } in getEmptyKey()
220 static inline SlotWithTag getTombstoneKey() { return {-3, -3}; } in getTombstoneKey()
221 static unsigned getHashValue(const SlotWithTag &V) { in getHashValue()
225 static bool isEqual(const SlotWithTag &A, const SlotWithTag &B) { in isEqual()
/external/llvm-project/llvm/unittests/ADT/
DDenseSetTest.cpp181 template <> struct DenseMapInfo<CountCopyAndMove> { struct
182 static inline CountCopyAndMove getEmptyKey() { return CountCopyAndMove(-1); }; in getEmptyKey()
183 static inline CountCopyAndMove getTombstoneKey() { in getTombstoneKey()
186 static unsigned getHashValue(const CountCopyAndMove &Val) { in getHashValue()
189 static bool isEqual(const CountCopyAndMove &LHS, in isEqual()
/external/llvm-project/llvm/lib/Target/X86/
DX86OptimizeLEAs.cpp118 template <> struct DenseMapInfo<MemOpKey> { struct
119 using PtrInfo = DenseMapInfo<const MachineOperand *>;
121 static inline MemOpKey getEmptyKey() { in getEmptyKey()
127 static inline MemOpKey getTombstoneKey() { in getTombstoneKey()
133 static unsigned getHashValue(const MemOpKey &Val) { in getHashValue()
176 static bool isEqual(const MemOpKey &LHS, const MemOpKey &RHS) { in isEqual()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86OptimizeLEAs.cpp118 template <> struct DenseMapInfo<MemOpKey> { struct
119 using PtrInfo = DenseMapInfo<const MachineOperand *>;
121 static inline MemOpKey getEmptyKey() { in getEmptyKey()
127 static inline MemOpKey getTombstoneKey() { in getTombstoneKey()
133 static unsigned getHashValue(const MemOpKey &Val) { in getHashValue()
176 static bool isEqual(const MemOpKey &LHS, const MemOpKey &RHS) { in isEqual()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DDenseMapInfo.h29 struct DenseMapInfo { struct
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DDenseMapInfo.h26 struct DenseMapInfo { struct
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DRenamerClangTidyCheck.cpp28 struct DenseMapInfo<clang::tidy::RenamerClangTidyCheck::NamingCheckId> { struct
29 using NamingCheckId = clang::tidy::RenamerClangTidyCheck::NamingCheckId;
31 static inline NamingCheckId getEmptyKey() { in getEmptyKey()
36 static inline NamingCheckId getTombstoneKey() { in getTombstoneKey()
41 static unsigned getHashValue(NamingCheckId Val) { in getHashValue()
50 static bool isEqual(const NamingCheckId &LHS, const NamingCheckId &RHS) { in isEqual()
/external/llvm-project/llvm/lib/Analysis/
DCFLAndersAliasAnalysis.cpp275 template <> struct DenseMapInfo<OffsetValue> { struct
276 static OffsetValue getEmptyKey() { in getEmptyKey()
281 static OffsetValue getTombstoneKey() { in getTombstoneKey()
286 static unsigned getHashValue(const OffsetValue &OVal) { in getHashValue()
291 static bool isEqual(const OffsetValue &LHS, const OffsetValue &RHS) { in isEqual()
297 template <> struct DenseMapInfo<OffsetInstantiatedValue> { struct
298 static OffsetInstantiatedValue getEmptyKey() { in getEmptyKey()
304 static OffsetInstantiatedValue getTombstoneKey() { in getTombstoneKey()
310 static unsigned getHashValue(const OffsetInstantiatedValue &OVal) { in getHashValue()
315 static bool isEqual(const OffsetInstantiatedValue &LHS, in isEqual()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCFLAndersAliasAnalysis.cpp275 template <> struct DenseMapInfo<OffsetValue> { struct
276 static OffsetValue getEmptyKey() { in getEmptyKey()
281 static OffsetValue getTombstoneKey() { in getTombstoneKey()
286 static unsigned getHashValue(const OffsetValue &OVal) { in getHashValue()
291 static bool isEqual(const OffsetValue &LHS, const OffsetValue &RHS) { in isEqual()
297 template <> struct DenseMapInfo<OffsetInstantiatedValue> { struct
298 static OffsetInstantiatedValue getEmptyKey() { in getEmptyKey()
304 static OffsetInstantiatedValue getTombstoneKey() { in getTombstoneKey()
310 static unsigned getHashValue(const OffsetInstantiatedValue &OVal) { in getHashValue()
315 static bool isEqual(const OffsetInstantiatedValue &LHS, in isEqual()
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/
Dsame_shape_propagation.cc170 struct DenseMapInfo<ShapeValue> { struct
171 static ShapeValue getEmptyKey() { in getEmptyKey()
174 static ShapeValue getTombstoneKey() { in getTombstoneKey()
177 static unsigned getHashValue(ShapeValue shape) { return hash_value(shape); } in getHashValue()
178 static bool isEqual(ShapeValue LHS, ShapeValue RHS) { return LHS == RHS; } in isEqual()
/external/llvm-project/llvm/include/llvm/ADT/
DDenseMapInfo.h47 struct DenseMapInfo { struct
/external/llvm-project/lld/COFF/
DChunks.h547 struct DenseMapInfo { struct
548 static ChunkAndOffset getEmptyKey() { in getEmptyKey()
551 static ChunkAndOffset getTombstoneKey() { in getTombstoneKey()
554 static unsigned getHashValue(const ChunkAndOffset &co) { in getHashValue()
558 static bool isEqual(const ChunkAndOffset &lhs, const ChunkAndOffset &rhs) { in isEqual()
/external/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp80 template <> struct DenseMapInfo<SimpleValue> { struct
81 static inline SimpleValue getEmptyKey() { in getEmptyKey()
84 static inline SimpleValue getTombstoneKey() { in getTombstoneKey()
209 template <> struct DenseMapInfo<CallValue> { struct
210 static inline CallValue getEmptyKey() { in getEmptyKey()
213 static inline CallValue getTombstoneKey() { in getTombstoneKey()
/external/llvm/include/llvm/ADT/
DDenseMapInfo.h26 struct DenseMapInfo { struct
/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp666 struct DenseMapInfo<LoweredPHIRecord> { struct
667 static inline LoweredPHIRecord getEmptyKey() { in getEmptyKey()
670 static inline LoweredPHIRecord getTombstoneKey() { in getTombstoneKey()
673 static unsigned getHashValue(const LoweredPHIRecord &Val) { in getHashValue()
677 static bool isEqual(const LoweredPHIRecord &LHS, in isEqual()
/external/llvm/lib/Transforms/IPO/
DWholeProgramDevirt.cpp185 template <> struct DenseMapInfo<VTableSlot> { struct
186 static VTableSlot getEmptyKey() { in getEmptyKey()
190 static VTableSlot getTombstoneKey() { in getTombstoneKey()
194 static unsigned getHashValue(const VTableSlot &I) { in getHashValue()
198 static bool isEqual(const VTableSlot &LHS, in isEqual()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp125 template <> struct DenseMapInfo<SimpleValue> { struct
126 static inline SimpleValue getEmptyKey() { in getEmptyKey()
130 static inline SimpleValue getTombstoneKey() { in getTombstoneKey()
437 template <> struct DenseMapInfo<CallValue> { struct
438 static inline CallValue getEmptyKey() { in getEmptyKey()
442 static inline CallValue getTombstoneKey() { in getTombstoneKey()
/external/llvm/unittests/ADT/
DDenseMapTest.cpp508 template <> struct DenseMapInfo<CachedHashTest> { struct
509 static CachedHashTest getEmptyKey() { return ~0; } in getEmptyKey()
510 static CachedHashTest getTombstoneKey() { return ~0U - 1; } in getTombstoneKey()
511 static unsigned getHashValue(const CachedHashTest &X) { in getHashValue()
515 static bool isEqual(const CachedHashTest &LHS, const CachedHashTest &RHS) { in isEqual()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp1172 template <> struct DenseMapInfo<PrivateMethodKey> { struct
1173 using InterfaceInfo = DenseMapInfo<const ObjCInterfaceDecl *>;
1174 using SelectorInfo = DenseMapInfo<Selector>;
1176 static inline PrivateMethodKey getEmptyKey() { in getEmptyKey()
1180 static inline PrivateMethodKey getTombstoneKey() { in getTombstoneKey()
1185 static unsigned getHashValue(const PrivateMethodKey &Key) { in getHashValue()
1192 static bool isEqual(const PrivateMethodKey &LHS, in isEqual()

123