llvm-6502/include/llvm/Support
Jakob Stoklund Olesen adc6e06ff0 Avoid overflowing a signed integer which triggers undefined behaviour.
Overflowing an unsigned integer is fine and behaves as you would expect.
Also fix a pasto, allowing SignExtend64 to take a 64-bit argument.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100517 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-06 03:12:43 +00:00
..
AlignOf.h
Allocator.h Switch SSEDomainFix to SpecificBumpPtrAllocator. 2010-04-04 18:00:21 +00:00
CallSite.h Introduce ImmutableCallSite, useful for contexts where no mutation 2010-04-01 08:21:08 +00:00
Casting.h Switch isa_impl from a function template to a class template with a 2010-03-30 18:05:52 +00:00
CFG.h rename pred_const_iterator to const_pred_iterator for consistency's sake 2010-03-25 23:25:28 +00:00
circular_raw_ostream.h
CommandLine.h Refer to -help instead of --help since this is what tools themselves say. 2010-02-18 14:08:13 +00:00
Compiler.h don't use always_inline with gcc 3.4, it has some unimplemented features 2010-03-03 20:47:12 +00:00
ConstantFolder.h
ConstantRange.h
DataFlow.h
Debug.h
DebugLoc.h remove compatibility typedef. 2010-04-02 20:26:07 +00:00
DOTGraphTraits.h
Dwarf.h Start using DIFile. See updated SourceLevelDebugging.html for more information. 2010-03-09 00:44:10 +00:00
DynamicLinker.h
ELF.h
ErrorHandling.h
FileUtilities.h Fix llvm-ld to clean up its output files in case of an error. 2010-03-30 19:56:41 +00:00
Format.h
FormattedStream.h comment fix. 2010-02-15 18:55:04 +00:00
GetElementPtrTypeIterator.h
GraphWriter.h
InstIterator.h
InstVisitor.h
IRBuilder.h Reapply address space patch after fixing an issue in MemCopyOptimizer. 2010-04-04 03:10:48 +00:00
IRReader.h Give llvm::SourceMgr the ability to have a client-specified 2010-04-06 00:26:48 +00:00
LeakDetector.h
MachO.h
ManagedStatic.h
MathExtras.h Avoid overflowing a signed integer which triggers undefined behaviour. 2010-04-06 03:12:43 +00:00
MemoryBuffer.h stringref-ize the MemoryBuffer::get apis. This requires 2010-04-05 22:42:30 +00:00
MemoryObject.h
MutexGuard.h
NoFolder.h
OutputBuffer.h
PassNameParser.h
PatternMatch.h
PluginLoader.h
PointerLikeTypeTraits.h
PredIteratorCache.h
PrettyStackTrace.h
raw_os_ostream.h
raw_ostream.h Add a comment. 2010-03-27 16:34:32 +00:00
Recycler.h
RecyclingAllocator.h Define placement new wrappers for BumpPtrAllocator and 2010-03-18 18:49:47 +00:00
Regex.h Add Regex::sub, for doing regular expression substitution with backreferences. 2010-02-17 20:08:42 +00:00
Registry.h
RegistryParser.h
SlowOperationInformer.h Add an explicit keyword. 2010-04-02 14:57:49 +00:00
SMLoc.h
SourceMgr.h give the SourceMgr object a cookie. 2010-04-06 00:33:43 +00:00
StableBasicBlockNumbering.h
StandardPasses.h Revert r97245 which seems to be causing performance problems. 2010-02-28 05:34:05 +00:00
StringPool.h
SystemUtils.h
TargetFolder.h add missing method, PR6284 2010-02-17 18:39:56 +00:00
Timer.h stringref'ize Timer apis 2010-03-30 05:34:02 +00:00
type_traits.h
TypeBuilder.h Add support for TypeBuilder<const/volatile void*, false>. 2010-02-09 19:07:19 +00:00
ValueHandle.h add new apis for getting/setting !dbg metadata on 2010-03-31 03:34:40 +00:00