llvm-6502/lib/Transforms
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
..
Hello Initial checkin of the "Hello World" Pass. 2002-08-08 20:10:38 +00:00
Instrumentation Use global *_iterator 2003-09-24 22:07:33 +00:00
IPO Speed up the predicate used to decide when to inline by caching the size 2003-10-06 15:52:43 +00:00
Scalar Change the interface to PromoteMemToReg to also take a DominatorTree 2003-10-05 21:20:13 +00:00
Utils Avoid doing pointless work. Amazingly, this makes us go faster. 2003-10-06 15:23:43 +00:00
ExprTypeConvert.cpp Spell `necessary' correctly. 2003-08-18 14:43:39 +00:00
LevelRaise.cpp Prototype for creator function got moved 2003-09-01 20:45:33 +00:00
Makefile Convert DIRS to PARALLEL_DIRS. They can be built independently. 2002-09-29 11:52:14 +00:00
TransformInternals.cpp avoid dividing by zero when dealing with zero sized types (like [0 x double]) 2003-06-23 17:36:49 +00:00
TransformInternals.h The word dependent' has no a'. 2003-08-21 22:14:26 +00:00