Home
last modified time | relevance | path

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

/external/llvm/include/llvm/ADT/
DHashing.h83 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 …]
DStringRef.h25 class hash_code; variable
520 hash_code hash_value(StringRef S);
DAPFloat.h341 friend hash_code hash_value(const APFloat &Arg);
DAPInt.h30 class hash_code; variable
507 friend hash_code hash_value(const APInt &Arg);
/external/llvm/unittests/ADT/
DHashingTest.cpp25 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 …]
DStringRefTest.cpp299 hash_code H = hash_value(S); in TEST()
/external/llvm/lib/VMCore/
DLLVMContextImpl.h55 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/
DStringRef.cpp432 hash_code llvm::hash_value(StringRef S) { in hash_value()
DAPInt.cpp663 hash_code llvm::hash_value(const APInt &Arg) { in hash_value()
DAPFloat.cpp2685 hash_code llvm::hash_value(const APFloat &Arg) { in hash_value()
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp89 friend hash_code hash_value(const Expression &Value) { in hash_value()
/external/llvm/lib/TableGen/
DRecord.cpp50 friend hash_code hash_value(const TableGenStringKey &Value) { in hash_value()