llvm-6502/include/llvm/ADT
Sanjoy Das 4b7263d855 [ADT] fail-fast iterators for DenseMap
This patch was landed in r231035 and reverted because it was buggy.
This is fixed version of the same change.

Summary:
This patch is an attempt at making `DenseMapIterator`s "fail-fast".
Fail-fast iterators that have been invalidated due to insertion into
the host `DenseMap` deterministically trip an assert (in debug mode)
on access, instead of non-deterministically hitting memory corruption
issues.

Reviewers: dexonsmith, dberlin, ruiu, chandlerc

Reviewed By: chandlerc

Subscribers: yaron.keren, chandlerc, llvm-commits

Differential Revision: http://reviews.llvm.org/D7931

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231125 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-03 20:46:45 +00:00
..
APFloat.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
APInt.h MathExtras: Bring Count(Trailing|Leading)Ones and CountPopulation in line with countTrailingZeros 2015-02-12 15:35:40 +00:00
APSInt.h ADT: Add int64_t interoperability to APSInt 2015-02-05 00:17:43 +00:00
ArrayRef.h Fix a really bad typo in my last commit. 2015-03-01 23:56:19 +00:00
BitVector.h [Small]BitVector::reference: Explicitly default copy construction as it is deprecated in C++11 in the presence of explicit copy assignment. 2015-03-03 18:39:00 +00:00
DAGDeltaAlgorithm.h
DeltaAlgorithm.h DeltaAlgorithm: Provide protected default copy ctor for use by test derived class. 2015-03-03 19:53:04 +00:00
DenseMap.h [ADT] fail-fast iterators for DenseMap 2015-03-03 20:46:45 +00:00
DenseMapInfo.h
DenseSet.h
DepthFirstIterator.h Reduce double set lookups. 2015-02-27 21:43:14 +00:00
edit_distance.h
EpochTracker.h [ADT] fail-fast iterators for DenseMap 2015-03-03 20:46:45 +00:00
EquivalenceClasses.h Introduce bitset metadata format and bitset lowering pass. 2015-02-20 20:30:47 +00:00
FoldingSet.h FoldingSet: Replace faux variadics with real variadics. NFC. 2015-02-15 20:12:17 +00:00
GraphTraits.h
Hashing.h Remove LLVM_HAS_VARIADIC_TEMPLATES and all the faux variadic workarounds guarded by it. 2015-02-15 19:34:28 +00:00
ilist_node.h
ilist.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
ImmutableList.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
ImmutableMap.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
ImmutableSet.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
IndexedMap.h IndexedMap: Document why SmallVector<T, 0> is preferable here. 2015-03-02 22:20:22 +00:00
IntEqClasses.h
IntervalMap.h Removing LLVM_EXPLICIT, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:00:20 +00:00
IntrusiveRefCntPtr.h Removing LLVM_EXPLICIT, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:00:20 +00:00
iterator_range.h
iterator.h
MapVector.h
None.h Make the static instance of None just const. 2015-02-20 13:16:05 +00:00
Optional.h Removing LLVM_EXPLICIT, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:00:20 +00:00
PackedVector.h
PointerIntPair.h
PointerUnion.h Introduce bitset metadata format and bitset lowering pass. 2015-02-20 20:30:47 +00:00
PostOrderIterator.h
PriorityQueue.h
SCCIterator.h
ScopedHashTable.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
SetOperations.h
SetVector.h
SmallBitVector.h [Small]BitVector::reference: Explicitly default copy construction as it is deprecated in C++11 in the presence of explicit copy assignment. 2015-03-03 18:39:00 +00:00
SmallPtrSet.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
SmallSet.h
SmallString.h
SmallVector.h SmallVector: Allow initialization and assignment from initializer_list. 2015-03-02 21:16:04 +00:00
SparseBitVector.h MathExtras: Bring Count(Trailing|Leading)Ones and CountPopulation in line with countTrailingZeros 2015-02-12 15:35:40 +00:00
SparseMultiSet.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
SparseSet.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
Statistic.h
STLExtras.h Switch our index sequence away from template aliases and just use 2015-02-16 08:22:35 +00:00
StringExtras.h
StringMap.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
StringRef.h
StringSet.h
StringSwitch.h
TinyPtrVector.h
Triple.h [LinkModules] Change the way ModuleLinker merges triples. 2015-02-13 00:40:41 +00:00
Twine.h Twine: Explicitly default the copy ctor as it's otherwise deprecated in C++11 by the presence of a user-declared copy assignment operator. 2015-03-03 18:29:25 +00:00
UniqueVector.h
VariadicFunction.h