diff options
author | Dan Gohman <gohman@apple.com> | 2010-08-16 15:30:39 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-08-16 15:30:39 +0000 |
commit | 3063410e52a760584501b825dc6ffb4c52f4d93b (patch) | |
tree | a90dea0acc8739c3fd88c6c7ae116646c29b572e /lib/Analysis/ScalarEvolution.cpp | |
parent | 0ba422ba6ebfb3fbcbac4f786ebc44136d5df3b2 (diff) |
Add hooks to FoldingSetTrait to allow specializations to provide
implementations of equality comparison and hash computation. This
can be used to optimize node lookup by avoiding creating lots of
temporary ID values just for hashing and comparison purposes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111130 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ScalarEvolution.cpp')
0 files changed, 0 insertions, 0 deletions