Home
last modified time | relevance | path

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

12

/minix3/external/bsd/libc++/dist/libcxx/test/language.support/support.rtti/type.info/
H A Dtype_info_hash.pass.cpp21 assert(t1.hash_code() == t2.hash_code()); in main()
22 assert(t1.hash_code() != t3.hash_code()); in main()
/minix3/external/bsd/libc++/dist/libcxx/test/std/language.support/support.rtti/type.info/
H A Dtype_info_hash.pass.cpp21 assert(t1.hash_code() == t2.hash_code()); in main()
22 assert(t1.hash_code() != t3.hash_code()); in main()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/ADT/
H A DHashing.h78 class hash_code {
84 hash_code() {} in hash_code() function
87 hash_code(size_t value) : value(value) {} in hash_code() function
92 friend bool operator==(const hash_code &lhs, const hash_code &rhs) {
95 friend bool operator!=(const hash_code &lhs, const hash_code &rhs) {
100 friend size_t hash_value(const hash_code &code) { return code.value; } in hash_value()
111 typename std::enable_if<is_integral_or_enum<T>::value, hash_code>::type
117 template <typename T> hash_code hash_value(const T *ptr);
121 hash_code hash_value(const std::pair<T, U> &arg);
125 hash_code hash_value(const std::basic_string<T> &arg);
[all …]
H A DAPFloat.h465 friend hash_code hash_value(const APFloat &Arg);
649 hash_code hash_value(const APFloat &Arg);
H A DStringRef.h24 class hash_code; variable
561 hash_code hash_value(StringRef S);
H A DAPInt.h32 class hash_code; variable
564 friend hash_code hash_value(const APInt &Arg);
1899 hash_code hash_value(const APInt &Arg);
/minix3/external/bsd/llvm/dist/llvm/unittests/ADT/
H A 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 …]
H A DStringRefTest.cpp355 hash_code H = hash_value(S); in TEST()
/minix3/external/bsd/libc++/dist/libcxx/test/utilities/type.index/type.index.members/
H A Dhash_code.pass.cpp23 assert(t1.hash_code() == ti.hash_code()); in main()
/minix3/external/bsd/libc++/dist/libcxx/test/std/utilities/type.index/type.index.members/
H A Dhash_code.pass.cpp23 assert(t1.hash_code() == ti.hash_code()); in main()
/minix3/external/bsd/libc++/dist/libcxx/include/
H A Dtypeindex33 size_t hash_code() const noexcept;
85 size_t hash_code() const _NOEXCEPT {return __t_->hash_code();}
98 {return __index.hash_code();}
H A Dtypeinfo29 size_t hash_code() const noexcept;
114 size_t hash_code() const _NOEXCEPT
/minix3/external/bsd/libc++/dist/libcxx/test/utilities/type.index/type.index.hash/
H A Dhash.pass.cpp27 assert(std::hash<std::type_index>()(t1) == t1.hash_code()); in main()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/PBQP/
H A DMath.h25 friend hash_code hash_value(const Vector &);
142 inline hash_code hash_value(const Vector &V) { in hash_value()
165 friend hash_code hash_value(const Matrix &);
380 inline hash_code hash_value(const Matrix &M) { in hash_value()
407 inline hash_code hash_value(const MDVector<Metadata> &V) { in hash_value()
422 inline hash_code hash_value(const MDMatrix<Metadata> &M) { in hash_value()
/minix3/external/bsd/libc++/dist/libcxx/test/std/utilities/type.index/type.index.hash/
H A Dhash.pass.cpp31 assert(std::hash<std::type_index>()(t1) == t1.hash_code()); in main()
/minix3/external/bsd/llvm/dist/clang/test/PCH/
H A Dcxx-typeid.h17 unsigned long hash_code() const;
/minix3/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/
H A DMachineOperand.h32 class hash_code; variable
545 friend hash_code hash_value(const MachineOperand &MO);
737 hash_code hash_value(const MachineOperand &MO);
H A DRegAllocPBQP.h78 friend hash_code hash_value(const AllowedRegVector &);
127 inline hash_code hash_value(const AllowedRegVector &OptRegs) { in hash_value()
/minix3/external/bsd/llvm/dist/llvm/lib/Support/
H A DStringRef.cpp483 hash_code llvm::hash_value(StringRef S) { in hash_value()
H A DAPInt.cpp668 hash_code llvm::hash_value(const APInt &Arg) { in hash_value()
/minix3/external/bsd/llvm/dist/clang/lib/Lex/
H A DHeaderSearch.cpp147 llvm::hash_code Hash = in getModuleFileName()
/minix3/external/bsd/llvm/dist/clang/lib/Frontend/
H A DCompilerInvocation.cpp1939 using llvm::hash_code; in getModuleHash()
1946 hash_code code = hash_value(getClangFullRepositoryVersion()); in getModuleHash()
/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/
H A DMachineInstr.cpp234 hash_code llvm::hash_value(const MachineOperand &MO) { in hash_value()
/minix3/external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/
H A Dpr15031.ll261 %"class.llvm::hash_code" = type { i64 }
/minix3/external/bsd/llvm/dist/llvm/lib/TableGen/
H A DRecord.cpp50 friend hash_code hash_value(const TableGenStringKey &Value) { in hash_value()

12