commit | 208ecfcf0b445d376ed06be4208c98bed9463a40 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Thu Mar 18 16:16:38 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Thu Mar 18 16:16:38 2010 +0000 |
tree | b0a5d281ffed3074c035b42af991edbb096ff38c | |
parent | be6dc822bc6b4cd903ba2bc01eec997242bd94c1 [diff] |
Add the ability to "intern" FoldingSetNodeID data into a BumpPtrAllocator-allocated region to allow it to be stored in a more compact form and to avoid the need for a non-trivial destructor call. Use this new mechanism in ScalarEvolution instead of FastFoldingSetNode to avoid leaking memory in the case where a FoldingSetNodeID uses heap storage, and to reduce overall memory usage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98829 91177308-0d34-0410-b5e6-96231b3b80d8