llvm-6502/include/llvm/Support
Chris Lattner 4de2c76542 Fix m_Not and m_Neg to not match random ConstantInt's. Before
these would try hard to match constants by inverting the bits
and recursively matching.  There are two problems with this:
1) some patterns would match when we didn't want them to (theoretical)
2) this is insanely expensive to do, and most often pointless.

This was apparently useful in just 2 instcombine cases, which I
added code to handle explicitly.  This change speeds up 'opt'
time on 176.gcc by 1% and produces bitwise identical code.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123518 91177308-0d34-0410-b5e6-96231b3b80d8
2011-01-15 05:52:27 +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 Implement PR8644: forwarding a memcpy value to a byval, 2010-11-21 00:28:59 +00:00
Casting.h
CFG.h
circular_raw_ostream.h
COFF.h Merge System into Support. 2010-11-29 18:16:10 +00:00
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 Merge System into Support. 2010-11-29 18:16:10 +00:00
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 Merge System into Support. 2010-11-29 18:16:10 +00:00
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 Merge System into Support. 2010-11-29 18:16:10 +00:00
Endian.h Merge System into Support. 2010-11-29 18:16:10 +00:00
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 Merge System into Support. 2010-11-29 18:16:10 +00:00
Format.h
FormattedStream.h
GetElementPtrTypeIterator.h
GraphWriter.h Merge System into Support. 2010-11-29 18:16:10 +00:00
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 Merge System into Support. 2010-11-29 18:16:10 +00:00
MachO.h Merge System into Support. 2010-11-29 18:16:10 +00:00
ManagedStatic.h Merge System into Support. 2010-11-29 18:16:10 +00:00
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 Merge System into Support. 2010-11-29 18:16:10 +00:00
Mutex.h Now to chant the magical incantation that will exorcise the System library 2010-11-29 19:44:50 +00:00
MutexGuard.h Merge System into Support. 2010-11-29 18:16:10 +00:00
NoFolder.h patch from Frits van Bommel: 2010-11-18 02:15:42 +00:00
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 Fix m_Not and m_Neg to not match random ConstantInt's. Before 2011-01-15 05:52:27 +00:00
PluginLoader.h
PointerLikeTypeTraits.h Merge System into Support. 2010-11-29 18:16:10 +00:00
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 Merge System into Support. 2010-11-29 18:16:10 +00:00
Recycler.h
RecyclingAllocator.h
Regex.h
Registry.h
RegistryParser.h
RWMutex.h Merge System into Support. 2010-11-29 18:16:10 +00:00
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 Merge System into Support. 2010-11-29 18:16:10 +00:00
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 Merge System into Support. 2010-11-29 18:16:10 +00:00
TimeValue.h Merge System into Support. 2010-11-29 18:16:10 +00:00
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