aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm-c
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
commit920613ea2ca17d200ac23b882e11c58851e9c1bc (patch)
treef6cbab230093c72fab8b2a5a6643ca34b92b7417 /include/llvm-c
parent09bb7a31c262d4e75a101084336c987f0085344b (diff)
downloadexternal_llvm-920613ea2ca17d200ac23b882e11c58851e9c1bc.zip
external_llvm-920613ea2ca17d200ac23b882e11c58851e9c1bc.tar.gz
external_llvm-920613ea2ca17d200ac23b882e11c58851e9c1bc.tar.bz2
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97678 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
0 files changed, 0 insertions, 0 deletions