llvm-6502/include/llvm/ADT
Meador Inge 35b1423ee6 ADT: Correct APInt::getActiveWords for zero values
PR15138 was opened because of a segfault in the Bitcode writer.
The actual issue ended up being a bug in APInt where calls to
APInt::getActiveWords returns a bogus value when the APInt value
is 0.  This patch fixes the problem by ensuring that getActiveWords
returns 1 for 0 valued APInts.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174641 91177308-0d34-0410-b5e6-96231b3b80d8
2013-02-07 18:36:50 +00:00
..
APFloat.h Make APFloat constructor require explicit semantics. 2013-01-22 09:46:31 +00:00
APInt.h ADT: Correct APInt::getActiveWords for zero values 2013-02-07 18:36:50 +00:00
APSInt.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
ArrayRef.h ArrayRef reverse iterators. 2013-01-25 06:33:52 +00:00
BitVector.h
DAGDeltaAlgorithm.h Sort the #include lines for the include/... tree with the script. 2012-12-03 17:02:12 +00:00
DeltaAlgorithm.h Sort the #include lines for the include/... tree with the script. 2012-12-03 17:02:12 +00:00
DenseMap.h Fix DenseMap when LLVM_HAS_RVALUE_REFERENCES is defined but equals 0. 2013-01-14 19:37:42 +00:00
DenseMapInfo.h
DenseSet.h Make comment a bit more clear. 2013-01-04 17:59:17 +00:00
DepthFirstIterator.h Sort the #include lines for the include/... tree with the script. 2012-12-03 17:02:12 +00:00
edit_distance.h
EquivalenceClasses.h
FoldingSet.h Sort the #include lines for the include/... tree with the script. 2012-12-03 17:02:12 +00:00
GraphTraits.h
Hashing.h
ilist_node.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
ilist.h Add an iplist::clearAndLeakNodesUnsafely() function. 2013-01-04 22:35:42 +00:00
ImmutableIntervalMap.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
ImmutableList.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
ImmutableMap.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
ImmutableSet.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
IndexedMap.h
InMemoryStruct.h
IntEqClasses.h
IntervalMap.h Provide a common half-open interval map info implementation, and just 2012-12-27 11:29:17 +00:00
IntrusiveRefCntPtr.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
MapVector.h Add an insert() method to MapVector. Adds the first MapVector unit test. 2013-01-25 22:11:02 +00:00
NullablePtr.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
Optional.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
OwningPtr.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
PackedVector.h
PointerIntPair.h Eliminate redundant bitwise operations when using a llvm/ADT/PointerUnion. 2012-12-03 19:59:23 +00:00
PointerUnion.h Eliminate redundant bitwise operations when using a llvm/ADT/PointerUnion. 2012-12-03 19:59:23 +00:00
PostOrderIterator.h
PriorityQueue.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
SCCIterator.h Sort the #include lines for the include/... tree with the script. 2012-12-03 17:02:12 +00:00
ScopedHashTable.h
SetOperations.h
SetVector.h
SmallBitVector.h
SmallPtrSet.h
SmallSet.h Sort the #include lines for the include/... tree with the script. 2012-12-03 17:02:12 +00:00
SmallString.h
SmallVector.h Add asserts to SmallVector so that calls to front() and back() only succeed 2013-01-24 04:29:24 +00:00
SparseBitVector.h
SparseMultiSet.h SparseMultiSet.h: Add suggested parentheses. 2013-01-22 05:41:57 +00:00
SparseSet.h Sort the #include lines for the include/... tree with the script. 2012-12-03 17:02:12 +00:00
Statistic.h
STLExtras.h
StringExtras.h Add llvm::hexDigitValue to convert single characters to hex. 2013-01-18 21:45:30 +00:00
StringMap.h [ADT/StringMap] Follow-up to r172455, use the correct constructor for setting the InitialSize, 2013-01-15 01:58:45 +00:00
StringRef.h Remove redundant 'llvm::' qualifications 2013-01-13 16:01:15 +00:00
StringSet.h
StringSwitch.h
TinyPtrVector.h
Triple.h Add AArch64 as an experimental target. 2013-01-31 12:12:40 +00:00
Twine.h
UniqueVector.h
ValueMap.h Sort the #include lines for the include/... tree with the script. 2012-12-03 17:02:12 +00:00
VariadicFunction.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00