llvm-6502/include/llvm/ADT
Reid Spencer f6bef488ee Compute getLowBitsSet correctly. Using the complement of a 64-bit value
and shifting down without regard for the bitwidth of the APInt can lead
to incorrect initialization values. Instead, check for the word size case
(to avoid undef results from shift) and then do (1 << loBitsSet) - 1


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35344 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-25 21:58:42 +00:00
..
.cvsignore
APInt.h Compute getLowBitsSet correctly. Using the complement of a 64-bit value 2007-03-25 21:58:42 +00:00
BitVector.h Add a dtor to fix leaks from all clients of BitVector. 2007-03-20 02:10:56 +00:00
DenseMap.h Make find return the appropriate iterator/const_iterator 2007-02-10 06:58:17 +00:00
DepthFirstIterator.h
EquivalenceClasses.h Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are 2006-12-07 01:30:32 +00:00
FoldingSet.h clean up comment 2007-01-27 01:14:20 +00:00
GraphTraits.h
hash_map.in
hash_set.in
HashExtras.h
ilist
IndexedMap.h rename DenseMap to IndexedMap. 2007-02-01 05:32:05 +00:00
iterator.in
PostOrderIterator.h Make the LLVM headers "-ansi -pedantic -Wno-long-long" clean. 2006-02-22 16:23:43 +00:00
SCCIterator.h Support for llvm_ostreams. 2006-11-28 23:31:42 +00:00
SetOperations.h
SetVector.h Make SmallSetVector useful 2007-02-04 00:30:40 +00:00
SmallPtrSet.h add iterator range version of ctor. 2007-03-04 04:04:43 +00:00
SmallSet.h Various bugfixes 2007-02-04 00:12:12 +00:00
SmallString.h Add SmallString a (currently) minimal class that adapts SmallVector to be 2006-10-30 03:39:20 +00:00
SmallVector.h The hack won't work on VS 2005, and it might not be needed anyway. 2007-03-05 17:22:33 +00:00
Statistic.h eliminate constructor from Statistic class. It is now impossible to get a 2006-12-19 23:17:40 +00:00
STLExtras.h
StringExtras.h Add a helper function 2006-11-28 22:32:35 +00:00
StringMap.h add new ShouldRehash method to factor out common code. Fix the dtor to not 2007-02-11 21:46:36 +00:00
Tree.h
UniqueVector.h Fix build error. 2007-02-06 14:59:28 +00:00
VectorExtras.h Make the LLVM headers "-ansi -pedantic -Wno-long-long" clean. 2006-02-22 16:23:43 +00:00