llvm-6502/lib/Transforms/IPO
Chris Lattner 884d6c4e10 Speed up the predicate used to decide when to inline by caching the size
of callees between executions.

On eon, in release mode, this changes the inliner from taking 11.5712s
to taking 2.2066s.  In debug mode, it went from taking 14.4148s to
taking 7.0745s.  In release mode, this is a 24.7% speedup of gccas, in
debug mode, it's a total speedup of 11.7%.

This also makes it slightly more aggressive.  This could be because we
are not judging the size of the functions quite as accurately as before.
When we start looking at the performance of the generated code, this can
be investigated further.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8893 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-06 15:52:43 +00:00
..
ConstantMerge.cpp Fix spell-o's 2003-09-10 05:29:43 +00:00
DeadArgumentElimination.cpp Spell `definitely' correctly. 2003-09-11 15:31:17 +00:00
DeadTypeElimination.cpp Remove using declarations 2003-05-22 22:00:07 +00:00
ExtractFunction.cpp Add new linkage types to support a real frontend 2003-04-16 20:28:45 +00:00
FunctionResolution.cpp Fix bug: FunctionResolve/2003-08-23-ArgumentWarning.ll 2003-08-23 20:03:05 +00:00
GlobalDCE.cpp Global variables with APPENDING linkage are very important to keep around! 2003-09-20 19:00:50 +00:00
Inliner.cpp Heavily refactor code: 2003-08-31 19:10:30 +00:00
Inliner.h Heavily refactor code: 2003-08-31 19:10:30 +00:00
InlineSimple.cpp Speed up the predicate used to decide when to inline by caching the size 2003-10-06 15:52:43 +00:00
Internalize.cpp DEBUG got moved to Support/Debug.h 2003-08-01 22:15:03 +00:00
LowerSetJmp.cpp Credits are now in top-level CREDITS.TXT 2003-09-22 21:57:15 +00:00
Makefile *** empty log message *** 2002-07-23 17:52:38 +00:00
MutateStructTypes.cpp Add support for the unwind instruction 2003-09-08 18:54:55 +00:00
Parallelize.cpp Final cleanup: remove dead code 2003-09-01 18:01:36 +00:00
PruneEH.cpp Fix bug: PruneEH/2003-09-14-ExternalCall.llx 2003-09-15 02:22:50 +00:00
RaiseAllocations.cpp Fix bug raising allocations whose call sites were invoke instructions. 2003-09-16 19:42:21 +00:00
SimpleStructMutation.cpp Move MutatStructTypes.h out of IPO 2002-11-19 20:49:40 +00:00