/external/llvm/unittests/ADT/ |
HashingTest.cpp | 38 return hash_combine(obj.x, obj.y); 82 EXPECT_EQ(hash_combine(42, 43), hash_value(std::make_pair(42, 43))); 83 EXPECT_NE(hash_combine(43, 42), hash_value(std::make_pair(42, 43))); 84 EXPECT_NE(hash_combine(42, 43), hash_value(std::make_pair(42ull, 43ull))); 85 EXPECT_NE(hash_combine(42, 43), hash_value(std::make_pair(42, 43ull))); 86 EXPECT_NE(hash_combine(42, 43), hash_value(std::make_pair(42ull, 43))); 90 EXPECT_EQ(hash_combine(42, 43, 44), 97 EXPECT_EQ(hash_combine('0', hash_combine(1ull, '2')), 102 EXPECT_EQ(hash_combine(obj1, hash_combine(obj2, obj3)) [all...] |
/external/llvm/include/llvm/ADT/ |
Hashing.h | 32 // -- 'hash_combine' and 'hash_combine_range' are functions designed to aid 112 /// contrast to hash_combine which may produce different hash_codes for 488 /// 'hash_combine(a, b, c, ...)', but can run over arbitrary sized sequences 497 // Implementation details for hash_combine. 501 /// \brief Helper class to manage the recursive combining of hash_combine 505 /// recursive combining of arguments used in hash_combine. It is particularly 666 template <typename ...Ts> hash_code hash_combine(const Ts &...args) { function in namespace:llvm 679 hash_code hash_combine(const T1 &arg1, const T2 &arg2, const T3 &arg3, 686 hash_code hash_combine(const T1 &arg1, const T2 &arg2, const T3 &arg3, 693 hash_code hash_combine(const T1 &arg1, const T2 &arg2, const T3 &arg3 [all...] |
/external/llvm/lib/VMCore/ |
LLVMContextImpl.h | 56 return hash_combine(Key.type, Key.val); 81 return hash_combine(Key.val); 127 return hash_combine(hash_combine_range(Key.ETypes.begin(), 179 return hash_combine(Key.ReturnType,
|
DebugLoc.cpp | 176 return static_cast<unsigned>(hash_combine(Key.LineCol, Key.ScopeIdx));
|
ConstantsContext.h | 670 return hash_combine(Val.first, hash_combine_range(Val.second.begin(),
|
/external/llvm/lib/CodeGen/ |
MachineInstr.cpp | [all...] |
/external/llvm/lib/Support/ |
APFloat.cpp | [all...] |
APInt.cpp | 665 return hash_combine(Arg.VAL); [all...] |
/external/llvm/lib/MC/ |
MCDwarf.cpp | [all...] |
/external/llvm/lib/Transforms/Scalar/ |
GVN.cpp | 90 return hash_combine(Value.opcode, Value.type, [all...] |