diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-03-04 12:02:57 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-03-04 12:02:57 +0000 |
commit | 71bd7d1e5408bc52fdb96a63efc23023233aeba3 (patch) | |
tree | d533c10f1a79629b8c2ca43dc542cdd605714777 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | ca99ad3f0dfd67d8c3f0873e90afc27ff11c8545 (diff) | |
download | bcm5719-llvm-71bd7d1e5408bc52fdb96a63efc23023233aeba3.tar.gz bcm5719-llvm-71bd7d1e5408bc52fdb96a63efc23023233aeba3.zip |
Replace the hashing functions on APInt and APFloat with overloads of the
new hash_value infrastructure, and replace their implementations using
hash_combine. This removes a complete copy of Jenkin's lookup3 hash
function (which is both significantly slower and lower quality than the
one implemented in hash_combine) along with a somewhat scary xor-only
hash function.
Now that APInt and APFloat can be passed directly to hash_combine,
simplify the rest of the LLVMContextImpl hashing to use the new
infrastructure.
llvm-svn: 152004
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions