Home
last modified time | relevance | path

Searched defs:TestDenseSetInfo (Results 1 – 2 of 2) sorted by relevance

/external/llvm/unittests/ADT/
DDenseSetTest.cpp30 struct TestDenseSetInfo { struct
31 static inline unsigned getEmptyKey() { return ~0; } in getEmptyKey()
32 static inline unsigned getTombstoneKey() { return ~0U - 1; } in getTombstoneKey()
33 static unsigned getHashValue(const unsigned& Val) { return Val * 37U; } in getHashValue()
34 static unsigned getHashValue(const char* Val) { in getHashValue()
37 static bool isEqual(const unsigned& LHS, const unsigned& RHS) { in isEqual()
40 static bool isEqual(const char* LHS, const unsigned& RHS) { in isEqual()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DDenseSetTest.cpp27 struct TestDenseSetInfo { struct
28 static inline unsigned getEmptyKey() { return ~0; } in getEmptyKey()
29 static inline unsigned getTombstoneKey() { return ~0U - 1; } in getTombstoneKey()
30 static unsigned getHashValue(const unsigned& Val) { return Val * 37U; } in getHashValue()
31 static unsigned getHashValue(const char* Val) { in getHashValue()
34 static bool isEqual(const unsigned& LHS, const unsigned& RHS) { in isEqual()
37 static bool isEqual(const char* LHS, const unsigned& RHS) { in isEqual()