Searched refs:hash_code (Results 1 - 15 of 15) sorted by relevance

/external/llvm/include/llvm/ADT/
H A DHashing.h17 // -- 'hash_code' class is an opaque type representing the hash code for some
21 // to assume much about the internals of a hash_code. In particular, each
23 // hash_code for a given input. Thus their values are not stable to save or
34 // a single hash_code for their object. They should only logically be used
74 /// In order to obtain the hash_code for an object 'x':
77 /// llvm::hash_code code = hash_value(x);
79 class hash_code { class in namespace:llvm
83 /// \brief Default construct a hash_code.
85 hash_code() {} function in class:llvm::hash_code
88 hash_code(size_ function in class:llvm::hash_code
[all...]
H A DStringRef.h26 class hash_code;
548 /// \brief Compute a hash_code for a StringRef.
549 hash_code hash_value(StringRef S);
H A DAPFloat.h342 friend hash_code hash_value(const APFloat &Arg);
H A DAPInt.h31 class hash_code;
520 /// \brief Overload to compute a hash_code for an APInt value.
521 friend hash_code hash_value(const APInt &Arg);
/external/llvm/unittests/ADT/
H A DHashingTest.cpp25 void PrintTo(const hash_code &code, std::ostream *os) {
37 friend hash_code hash_value(const NonPOD &obj) {
129 hash_code hash_value(HashableDummy dummy) { return dummy.value; }
134 hash_code dummy_hash = hash_combine_range(&dummy, &dummy);
135 EXPECT_NE(hash_code(0), dummy_hash);
138 hash_code arr1_hash = hash_combine_range(begin(arr1), end(arr1));
152 hash_code arr2_hash = hash_combine_range(begin(arr2), end(arr2));
157 hash_code arr3_hash = hash_combine_range(begin(arr3), end(arr3));
162 hash_code arr4_hash = hash_combine_range(begin(arr4), end(arr4));
168 hash_code arr5_has
[all...]
H A DStringRefTest.cpp327 hash_code H = hash_value(S);
/external/llvm/lib/VMCore/
H A DLLVMContextImpl.h55 friend hash_code hash_value(const KeyTy &Key) {
80 friend hash_code hash_value(const KeyTy &Key) {
/external/webp/src/enc/
H A Dbackward_references.c139 const uint64_t hash_code = GetPixPairHash64(argb); local
140 p->chain_[pos] = p->hash_to_first_index_[hash_code];
141 p->hash_to_first_index_[hash_code] = pos;
149 const uint64_t hash_code = GetPixPairHash64(&argb[index]); local
162 for (pos = p->hash_to_first_index_[hash_code];
/external/llvm/include/llvm/CodeGen/
H A DMachineOperand.h32 class hash_code;
521 friend hash_code hash_value(const MachineOperand &MO);
/external/llvm/lib/Support/
H A DStringRef.cpp466 hash_code llvm::hash_value(StringRef S) {
H A DAPFloat.cpp2731 hash_code llvm::hash_value(const APFloat &Arg) {
H A DAPInt.cpp663 hash_code llvm::hash_value(const APInt &Arg) {
/external/llvm/lib/CodeGen/
H A DMachineInstr.cpp213 hash_code llvm::hash_value(const MachineOperand &MO) {
/external/llvm/lib/TableGen/
H A DRecord.cpp50 friend hash_code hash_value(const TableGenStringKey &Value) {
/external/llvm/lib/Transforms/Scalar/
H A DGVN.cpp95 friend hash_code hash_value(const Expression &Value) {

Completed in 4374 milliseconds