llvm-6502/include/llvm/Support
Chris Lattner 998ef4a92d switch the second scalarrepl pass to use SSAUpdater. We run two scalarrepl passes: one
early in the cleanup code and one late interlaced with the inliner.  The second one is
important because inlining and other scalar optzns can unpin allocas, allowing them to 
be split up and promoted.  While important for performance, this is also relatively
rare, and we would previously force a (non-lazy) computation of DomFrontiers, which 
happened even if nothing became unpinned.

With this patch, the first pass of scalarrepl still promotes the vast bulk of allocas
in programs, but hte second pass has changed to use SSAUpdater, which is more "sparse"
and lazy.  This speeds up opt -O3 time on kimwitu++ (a c++ app) by about 1%.  The
numbers are interesting: the first pass promotes ~17500 allocas.  The second pass
promotes about 1600.  For non-C++ codes, the compile time win should be greater, 
because the second pass of scalarrepl does less.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123437 91177308-0d34-0410-b5e6-96231b3b80d8
2011-01-14 08:21:08 +00:00
..
AIXDataTypesFix.h Now to chant the magical incantation that will exorcise the System library 2010-11-29 19:44:50 +00:00
AlignOf.h Fix spelling. 2010-12-07 18:11:54 +00:00
Allocator.h Enhance ScopedHashTable to allow it to take an allocator argument. 2011-01-03 01:29:37 +00:00
Atomic.h Now to chant the magical incantation that will exorcise the System library 2010-11-29 19:44:50 +00:00
CallSite.h
Casting.h
CFG.h
circular_raw_ostream.h
COFF.h
CommandLine.h
Compiler.h Support/Path: Deprecate PathV1::isAbsolute. 2010-12-17 21:21:31 +00:00
ConstantFolder.h
ConstantRange.h improve switch formation to handle small range 2010-12-17 06:20:15 +00:00
CrashRecoveryContext.h
DataFlow.h
DataTypes.h.cmake
DataTypes.h.in I swear I did a make clean and make before committing all this... 2010-11-29 18:47:54 +00:00
Debug.h
DebugLoc.h
Disassembler.h
DOTGraphTraits.h
Dwarf.h
DynamicLibrary.h Now to chant the magical incantation that will exorcise the System library 2010-11-29 19:44:50 +00:00
ELF.h
Endian.h
Errno.h Now to chant the magical incantation that will exorcise the System library 2010-11-29 19:44:50 +00:00
ErrorHandling.h
FEnv.h Now to chant the magical incantation that will exorcise the System library 2010-11-29 19:44:50 +00:00
FileSystem.h Support/PathV2: Implement has_magic. 2010-12-28 01:49:01 +00:00
FileUtilities.h
Format.h
FormattedStream.h
GetElementPtrTypeIterator.h
GraphWriter.h
Host.h Now to chant the magical incantation that will exorcise the System library 2010-11-29 19:44:50 +00:00
IncludeFile.h Now to chant the magical incantation that will exorcise the System library 2010-11-29 19:44:50 +00:00
InstIterator.h
InstVisitor.h
IRBuilder.h add methods to IRBuilder to create memcpy/memset/memmove. 2010-12-26 22:49:25 +00:00
IRReader.h MemoryBuffer now return an error_code and returns a OwningPtr<MemoryBuffer> via an out parm. 2010-12-16 03:29:14 +00:00
LeakDetector.h
LICENSE.TXT
MachO.h
ManagedStatic.h
MathExtras.h Typo. 2010-12-15 22:33:06 +00:00
Memory.h Now to chant the magical incantation that will exorcise the System library 2010-11-29 19:44:50 +00:00
MemoryBuffer.h MemoryBuffer now return an error_code and returns a OwningPtr<MemoryBuffer> via an out parm. 2010-12-16 03:29:14 +00:00
MemoryObject.h
Mutex.h Now to chant the magical incantation that will exorcise the System library 2010-11-29 19:44:50 +00:00
MutexGuard.h
NoFolder.h
OutputBuffer.h
PassNameParser.h
Path.h Support: Rename Path.h to PathV1.h and add a new Path.h that includes both V1 and V2. 2010-12-17 17:22:36 +00:00
PathV1.h Support/Path: Deprecate PathV1::IsSymlink and replace all uses with PathV2::is_symlink. 2011-01-12 23:55:06 +00:00
PathV2.h Pass StringRefs by value, for consistency. 2010-12-17 18:19:06 +00:00
PatternMatch.h
PluginLoader.h
PointerLikeTypeTraits.h
PredIteratorCache.h
PrettyStackTrace.h
Process.h Now to chant the magical incantation that will exorcise the System library 2010-11-29 19:44:50 +00:00
Program.h Now to chant the magical incantation that will exorcise the System library 2010-11-29 19:44:50 +00:00
raw_os_ostream.h
raw_ostream.h
Recycler.h
RecyclingAllocator.h
Regex.h
Registry.h
RegistryParser.h
RWMutex.h
Signals.h Now to chant the magical incantation that will exorcise the System library 2010-11-29 19:44:50 +00:00
SMLoc.h
Solaris.h Now to chant the magical incantation that will exorcise the System library 2010-11-29 19:44:50 +00:00
SourceMgr.h
StandardPasses.h switch the second scalarrepl pass to use SSAUpdater. We run two scalarrepl passes: one 2011-01-14 08:21:08 +00:00
StringPool.h
SwapByteOrder.h
system_error.h Support/MemoryBuffer: Replace all uses of std::string *ErrMsg with error_code &ec. And fix clients. 2010-12-09 17:36:48 +00:00
SystemUtils.h
TargetFolder.h
Threading.h Now to chant the magical incantation that will exorcise the System library 2010-11-29 19:44:50 +00:00
ThreadLocal.h Now to chant the magical incantation that will exorcise the System library 2010-11-29 19:44:50 +00:00
Timer.h
TimeValue.h
ToolOutputFile.h
type_traits.h
TypeBuilder.h
Valgrind.h Now to chant the magical incantation that will exorcise the System library 2010-11-29 19:44:50 +00:00
ValueHandle.h Revert r122114 (CallbackVH observing use-list changes) because it caused severe slowdowns on the Linux self-host configuration. 2010-12-20 22:28:03 +00:00