diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2010-03-03 23:27:36 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2010-03-03 23:27:36 +0000 |
| commit | 920613ea2ca17d200ac23b882e11c58851e9c1bc (patch) | |
| tree | f6cbab230093c72fab8b2a5a6643ca34b92b7417 /include/llvm-c/LinkTimeOptimizer.h | |
| parent | 09bb7a31c262d4e75a101084336c987f0085344b (diff) | |
| download | external_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/LinkTimeOptimizer.h')
0 files changed, 0 insertions, 0 deletions
