llvm-6502/include/llvm/ADT
Derek Schuff b61054ff8f Stop APInt::shl from generating llvm.trap
APInt::shl generated llvm.trap to guard against shifts greater than bit-width.
This was already checked with an assert, and there was a special case for
shifts equal to bit-width. Modify this check to catch shifts greater than or
equal to bit-width, so llvm.trap isn't generated.

Patch contributed by JF Bastien

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166803 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-26 19:52:27 +00:00
..
APFloat.h Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164767 2012-09-27 10:14:43 +00:00
APInt.h Stop APInt::shl from generating llvm.trap 2012-10-26 19:52:27 +00:00
APSInt.h Add operator== to APSInt. This will compare the signed bit before doing 2012-07-23 20:24:23 +00:00
ArrayRef.h Reduce alignment of SmallVector<T> to the required amount, rather than forcing 16-byte alignment. This fixes misaligned SmallVector accesses via ExtractValueInst's SmallVector data member. 2012-08-22 00:11:07 +00:00
BitVector.h Fix a bug in the set(I,E)/reset(I,E) methods that I recently added. The boundary condition for checking if I and E were in the same word were incorrect, and, beyond that, the mask computation was not using a wide enough constant. 2012-10-16 06:04:27 +00:00
DAGDeltaAlgorithm.h Fix Doxygen issues: 2012-09-14 14:57:36 +00:00
DeltaAlgorithm.h Fix Doxygen issues: 2012-09-14 14:57:36 +00:00
DenseMap.h Improve DenseMap checks for power of 2 growth. Thanks for the tip Jakob 2012-10-24 18:50:44 +00:00
DenseMapInfo.h Fix integer undefined behavior due to signed left shift overflow in LLVM. 2012-08-24 23:29:28 +00:00
DenseSet.h
DepthFirstIterator.h Fix a typo (the the => the) 2012-07-23 08:51:15 +00:00
edit_distance.h Add function for computing the edit distance of two arrays. 2012-02-15 22:13:07 +00:00
EquivalenceClasses.h Fix Doxygen issues: wrap code examples in \code and use \p to refer to 2012-09-15 20:22:05 +00:00
FoldingSet.h Add operator< for FoldingSetNodeID. 2012-09-08 04:25:29 +00:00
GraphTraits.h Change the Dominators recalculate() function to only rely on GraphTraits 2011-12-05 19:17:04 +00:00
Hashing.h Fix typo in comment. 2012-09-13 07:01:25 +00:00
ilist_node.h
ilist.h Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION. 2012-09-17 06:31:17 +00:00
ImmutableIntervalMap.h
ImmutableList.h Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION. 2012-09-17 06:31:17 +00:00
ImmutableMap.h Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION. 2012-09-17 06:31:17 +00:00
ImmutableSet.h Fix a typo that made ImmutableMap::getMaxElement() useless. 2012-10-14 15:56:39 +00:00
IndexedMap.h SparseSet: Add support for key-derived indexes and arbitrary key types. 2012-04-20 20:05:28 +00:00
InMemoryStruct.h
IntEqClasses.h
IntervalMap.h Add a few missing 'template' keywords 2012-03-11 02:22:41 +00:00
IntrusiveRefCntPtr.h Reference IntrusiveRefCntPtr in doxygen doc of RefCountedBase to get a link to the pointer class documentation. 2012-08-01 14:53:13 +00:00
MapVector.h Add count() method to MapVector 2012-10-09 23:02:47 +00:00
NullablePtr.h
Optional.h Fix case for include of Compiler.h. 2012-10-18 22:36:01 +00:00
OwningPtr.h Add move constructors for OwningPtr and OwningArrayPtr. 2012-10-18 22:22:58 +00:00
PackedVector.h PackedVector: Make the BitVector implementation configurable. 2012-09-28 16:40:29 +00:00
PointerIntPair.h Fix integer undefined behavior due to signed left shift overflow in LLVM. 2012-08-24 23:29:28 +00:00
PointerUnion.h Fixed few warnings. 2012-07-13 21:06:54 +00:00
PostOrderIterator.h Fix broken ipo_ext_iterator constructors. 2012-07-17 17:57:25 +00:00
PriorityQueue.h
SCCIterator.h Avoid warnings about the parameter G being unused. 2011-10-20 08:56:41 +00:00
ScopedHashTable.h Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION. 2012-09-17 06:31:17 +00:00
SetOperations.h
SetVector.h Third try at fixing this. ;] Go back to using std::remove_if, which has 2012-10-03 01:04:07 +00:00
SmallBitVector.h Speculative fix the mask constants to be of type uintptr_t. I don't know of any case where the old form was incorrect, but I'm more confident that such cases don't exist in this version. 2012-10-16 17:10:33 +00:00
SmallPtrSet.h Use LLVM_DELETED_FUNCTION for copy constructors and copy assignment operators that aren't implemented. 2012-09-16 21:37:56 +00:00
SmallSet.h allow clients of SmallSet to specify their own comparison function for the set. 2012-01-05 17:35:07 +00:00
SmallString.h Fix Doxygen issues: 2012-09-13 12:34:29 +00:00
SmallVector.h Fix Doxygen issues: 2012-09-13 12:34:29 +00:00
SparseBitVector.h Provide malloc-free sentinels for the SparseBitVector internals. 2012-09-28 15:36:41 +00:00
SparseSet.h Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION. 2012-09-17 06:31:17 +00:00
Statistic.h Silence tsan false-positives (tsan can't track things which are only safe due to 2011-12-05 23:07:05 +00:00
STLExtras.h Remove 'static' from inline functions defined in header files. 2012-06-20 08:39:33 +00:00
StringExtras.h Add llvm::getOrdinalSuffix to get the appropriate -st, -nd, -rd, -th suffix. 2012-09-22 01:24:21 +00:00
StringMap.h Make StringMap's copy ctor non-explicit. 2012-04-14 09:04:57 +00:00
StringRef.h Fix Doxygen issues: 2012-09-13 12:34:29 +00:00
StringSet.h [Support/StringSet] Fix memory leak when inserted key already exists. 2012-10-23 22:55:54 +00:00
StringSwitch.h Fix shadowed variable warning 2012-08-01 01:43:10 +00:00
TinyPtrVector.h Add range erase, element insert, and range insert methods to 2012-08-01 08:40:48 +00:00
Triple.h Add powerpc-ibm-aix to Triple. Patch by Kai. 2012-10-12 11:08:57 +00:00
Twine.h Fix Doxygen issues: 2012-09-13 12:34:29 +00:00
UniqueVector.h
ValueMap.h Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION. 2012-09-17 06:31:17 +00:00
VariadicFunction.h Fix a typo in VariadicFunction.h that leads to invalid code in macro expansion. 2012-08-15 18:48:14 +00:00