Home
last modified time | relevance | path

Searched refs:PtrLikeInt (Results 1 – 1 of 1) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DReverseIterationTest.cpp59 struct PtrLikeInt { int value; }; struct
63 template<> struct DenseMapInfo<PtrLikeInt *> {
64 static PtrLikeInt *getEmptyKey() { in getEmptyKey()
65 static PtrLikeInt EmptyKey; in getEmptyKey()
69 static PtrLikeInt *getTombstoneKey() { in getTombstoneKey()
70 static PtrLikeInt TombstoneKey; in getTombstoneKey()
74 static int getHashValue(const PtrLikeInt *P) { in getHashValue()
78 static bool isEqual(const PtrLikeInt *LHS, const PtrLikeInt *RHS) { in isEqual()
86 static_assert(detail::IsPointerLike<PtrLikeInt *>::value, in TEST()
89 PtrLikeInt a = {4}, b = {8}, c = {12}, d = {16}; in TEST()
[all …]