aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/Unix/Unix.h
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2013-02-27 05:53:43 +0000
committerNadav Rotem <nrotem@apple.com>2013-02-27 05:53:43 +0000
commitf26b4f05b3fdd8618f75b8784388e8415a6eea0c (patch)
tree13ef85aef6048a51854d4601c594414a38e5c00d /lib/Support/Unix/Unix.h
parentbd2d1245e7db11b58b52c5b36fe76925683aaea5 (diff)
For each function that we optimize we initialize a new list of lib functions. For each function name we malloc memory. This patch changes the Libcall map to use BumpPtrAllocator. Now we malloc only once. This speeds up instcombine by a few % on a large c++ program.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176170 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Unix/Unix.h')
0 files changed, 0 insertions, 0 deletions