llvm-6502/lib/Support
Stuart Hastings d52ec65b6d Fix a hashing bug in APInt. A certain pathological testcase (too
large for the testsuite) took over six minutes to compile on my Mac.
The patched LLVM-GCC compiles that testcase in three seconds (GCC
takes less than one second).  This hash function is more complex
(about 35 instructions on x86) than what Chris wanted, but I expect it
will be well-behaved with arbitrary inputs.

Thank you to everyone who responded to my previous request for advice.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66962 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-13 21:51:13 +00:00
..
Allocator.cpp
Annotation.cpp
APFloat.cpp just initialize the first element, we don't need to set the rest to zeros. 2009-03-13 00:24:01 +00:00
APInt.cpp Fix a hashing bug in APInt. A certain pathological testcase (too 2009-03-13 21:51:13 +00:00
APSInt.cpp
CMakeLists.txt Add missing file. 2009-03-05 09:19:13 +00:00
CommandLine.cpp
ConstantRange.cpp
Debug.cpp
Dwarf.cpp The debugger sometimes lookup dynamically in the runtime to find ivar info of any Objective-C classes. It would be very helpful to debugger if the compiler encodes runtime version number in DWARF. 2009-02-17 22:43:44 +00:00
FileUtilities.cpp
FoldingSet.cpp
GraphWriter.cpp
IsInf.cpp
IsNAN.cpp
Makefile
ManagedStatic.cpp
MemoryBuffer.cpp Switch from new[] + delete[] to malloc + free since llvm does not catch C++ exceptions. 2009-02-13 08:24:55 +00:00
PluginLoader.cpp
PrettyStackTrace.cpp Use c_str() to force the string to be nul-terminated. 2009-03-06 18:13:15 +00:00
raw_ostream.cpp PR3478: raw_ostream should not buffer stderr 2009-03-10 16:21:55 +00:00
SlowOperationInformer.cpp
SmallPtrSet.cpp
Statistic.cpp
Streams.cpp
StringExtras.cpp
StringMap.cpp
StringPool.cpp
SystemUtils.cpp
Timer.cpp