llvm-6502/include/llvm/Transforms
Jakob Stoklund Olesen 9e5d87d568 Try to keep the cached inliner costs around for a bit longer for big functions.
The Caller cost info would be reset everytime a callee was inlined. If the
caller has lots of calls and there is some mutual recursion going on, the
caller cost info could be calculated many times.

This patch reduces inliner runtime from 240s to 0.5s for a function with 20000
small function calls.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98089 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-09 22:17:11 +00:00
..
IPO Try to keep the cached inliner costs around for a bit longer for big functions. 2010-03-09 22:17:11 +00:00
Utils Move SimplifyLibCalls's LibCall builders to a separate file so they 2010-03-05 22:25:30 +00:00
Instrumentation.h
IPO.h
RSProfiling.h
Scalar.h Revert r97245 which seems to be causing performance problems. 2010-02-28 05:34:05 +00:00