Searched refs:hash_code (Results 1 – 12 of 12) sorted by relevance
/external/llvm/include/llvm/ADT/ |
D | Hashing.h | 83 class hash_code { 89 hash_code() {} in hash_code() function 92 hash_code(size_t value) : value(value) {} in hash_code() function 97 friend bool operator==(const hash_code &lhs, const hash_code &rhs) { 100 friend bool operator!=(const hash_code &lhs, const hash_code &rhs) { 105 friend size_t hash_value(const hash_code &code) { return code.value; } in hash_value() 116 typename enable_if<is_integral_or_enum<T>, hash_code>::type hash_value(T value); 121 template <typename T> hash_code hash_value(const T *ptr); 125 hash_code hash_value(const std::pair<T, U> &arg); 129 hash_code hash_value(const std::basic_string<T> &arg); [all …]
|
D | StringRef.h | 25 class hash_code; variable 520 hash_code hash_value(StringRef S);
|
D | APFloat.h | 341 friend hash_code hash_value(const APFloat &Arg);
|
D | APInt.h | 30 class hash_code; variable 507 friend hash_code hash_value(const APInt &Arg);
|
/external/llvm/unittests/ADT/ |
D | HashingTest.cpp | 25 void PrintTo(const hash_code &code, std::ostream *os) { in PrintTo() 37 friend hash_code hash_value(const NonPOD &obj) { in hash_value() 129 hash_code hash_value(HashableDummy dummy) { return dummy.value; } in hash_value() 134 hash_code dummy_hash = hash_combine_range(&dummy, &dummy); in TEST() 135 EXPECT_NE(hash_code(0), dummy_hash); in TEST() 138 hash_code arr1_hash = hash_combine_range(begin(arr1), end(arr1)); in TEST() 152 hash_code arr2_hash = hash_combine_range(begin(arr2), end(arr2)); in TEST() 157 hash_code arr3_hash = hash_combine_range(begin(arr3), end(arr3)); in TEST() 162 hash_code arr4_hash = hash_combine_range(begin(arr4), end(arr4)); in TEST() 168 hash_code arr5_hash = hash_combine_range(begin(arr5), end(arr5)); in TEST() [all …]
|
D | StringRefTest.cpp | 299 hash_code H = hash_value(S); in TEST()
|
/external/llvm/lib/VMCore/ |
D | LLVMContextImpl.h | 55 friend hash_code hash_value(const KeyTy &Key) { in hash_value() 80 friend hash_code hash_value(const KeyTy &Key) { in hash_value()
|
/external/llvm/lib/Support/ |
D | StringRef.cpp | 432 hash_code llvm::hash_value(StringRef S) { in hash_value()
|
D | APInt.cpp | 663 hash_code llvm::hash_value(const APInt &Arg) { in hash_value()
|
D | APFloat.cpp | 2685 hash_code llvm::hash_value(const APFloat &Arg) { in hash_value()
|
/external/llvm/lib/Transforms/Scalar/ |
D | GVN.cpp | 89 friend hash_code hash_value(const Expression &Value) { in hash_value()
|
/external/llvm/lib/TableGen/ |
D | Record.cpp | 50 friend hash_code hash_value(const TableGenStringKey &Value) { in hash_value()
|