diff options
author | Dan Gohman <gohman@apple.com> | 2008-07-07 23:02:41 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-07-07 23:02:41 +0000 |
commit | ed825d11548be9f8268490d26d0d0bab0347d6fd (patch) | |
tree | 9c2fec0441e942eb2e458c3306fd72704404bfaf /lib/CodeGen/ELFWriter.h | |
parent | 7db38737bcdd37612fd43f786e3d52bd080dfb9c (diff) | |
download | external_llvm-ed825d11548be9f8268490d26d0d0bab0347d6fd.tar.gz external_llvm-ed825d11548be9f8268490d26d0d0bab0347d6fd.tar.bz2 external_llvm-ed825d11548be9f8268490d26d0d0bab0347d6fd.zip |
Pool-allocation for SDNodes. The pool is allocated once for each function,
and reused across SelectionDAGs.
This drastically reduces the number of calls to malloc/free made during
instruction selection, and improves memory locality.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53211 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ELFWriter.h')
0 files changed, 0 insertions, 0 deletions