summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/InitHeaderSearch.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-03-03 23:27:36 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-03-03 23:27:36 +0000
commit0abbb399c95aacc298a0447dc54224fe9a069d0f (patch)
tree8165e18f32edbf26c2eef4a7919d96a60df7abfd /clang/lib/Frontend/InitHeaderSearch.cpp
parent979302e14a4f154333c6677c64b3cb3e553133f3 (diff)
downloadbcm5719-llvm-0abbb399c95aacc298a0447dc54224fe9a069d0f.tar.gz
bcm5719-llvm-0abbb399c95aacc298a0447dc54224fe9a069d0f.zip
Re-apply r97667 but with a little bit of thought put into the patch. This implements a special DenseMapInfo trait for DenseMap<MachineInstr*> that compare the value of the MachineInstr rather than the pointer value. Since the hashing and equality test functions ignore defs it's useful for doing CSE kind optimization.
llvm-svn: 97678
Diffstat (limited to 'clang/lib/Frontend/InitHeaderSearch.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud