llvm-project/llvm/unittests/ADT
Weverything cbdb81e60b Fix DenseMap with APInt keys
The empty key value for APInt was colliding with a valid zero-width
APInt.  Change the internal value of empty key and tombstone values
for APInt to avoid this collision.

Fixes: https://github.com/llvm/llvm-project/issues/58013

Differential Revision: https://reviews.llvm.org/D135741
2022-11-01 16:23:32 -07:00
..
APFixedPointTest.cpp Revert "Remove sign comparaison warning in APFixedPointTest.cpp" 2022-10-14 13:40:12 -07:00
APFloatTest.cpp Add APFloat and MLIR type support for fp8 (e5m2). 2022-10-04 17:18:17 -07:00
APIntTest.cpp Fix DenseMap with APInt keys 2022-11-01 16:23:32 -07:00
APSIntTest.cpp
AnyTest.cpp [ADT] Implement Any::has_value 2022-08-20 07:28:04 -07:00
ArrayRefTest.cpp ADT/ArrayRef: Add makeMutableArrayRef overloads 2022-06-09 09:59:50 +02:00
BitFieldsTest.cpp
BitTest.cpp [ADT] Add llvm::has_single_bit helper similar to the c++20 std::has_single_bit implementation 2022-08-23 19:51:05 +01:00
BitVectorTest.cpp
BitmaskEnumTest.cpp [ADT] Make BitmaskEnum operations constant expressions 2022-03-11 11:11:55 +01:00
BreadthFirstIteratorTest.cpp
BumpPtrListTest.cpp
CMakeLists.txt [ADT] Add IntervalTree - light tree data structure to hold intervals. 2022-09-27 08:22:28 +01:00
CoalescingBitVectorTest.cpp
CombinationGeneratorTest.cpp
DAGDeltaAlgorithmTest.cpp
DeltaAlgorithmTest.cpp
DenseMapTest.cpp [llvm][Support] Add DenseMapInfo for std::variant 2022-09-02 15:36:10 +02:00
DenseSetTest.cpp
DepthFirstIteratorTest.cpp
DirectedGraphTest.cpp
EditDistanceTest.cpp [ADT][NFC] Early bail out for ComputeEditDistance 2022-06-08 08:20:29 +01:00
EnumeratedArrayTest.cpp [ADT] Extend EnumeratedArray 2022-10-18 17:08:38 +02:00
EquivalenceClassesTest.cpp
FallibleIteratorTest.cpp
FloatingPointMode.cpp
FoldingSet.cpp
FunctionExtrasTest.cpp
FunctionRefTest.cpp
HashingTest.cpp
IListBaseTest.cpp
IListIteratorTest.cpp
IListNodeBaseTest.cpp
IListNodeTest.cpp
IListSentinelTest.cpp
IListTest.cpp
ImmutableListTest.cpp
ImmutableMapTest.cpp
ImmutableSetTest.cpp
IntEqClassesTest.cpp
IntervalMapTest.cpp [IntervalMap] Add move and copy ctors and assignment operators 2022-10-27 09:45:24 +01:00
IntervalTreeTest.cpp [ADT] Add IntervalTree - light tree data structure to hold intervals. 2022-09-27 12:48:44 +01:00
IntrusiveRefCntPtrTest.cpp
IteratorTest.cpp [llvm] Remove uses of deprecated `std::iterator` 2022-08-06 14:07:37 +02:00
MapVectorTest.cpp
MappedIteratorTest.cpp Add explicit cast to fix MSVC error: "'return': cannot convert from 'int (__cdecl *)(int)' to '`anonymous-namespace'::Plus1FunctionRef::FuncT'" 2022-10-31 12:01:06 +00:00
OptionalTest.cpp [ADT] Add deduction guide for llvm::Optional 2022-10-26 21:45:57 +00:00
PackedVectorTest.cpp
PointerEmbeddedIntTest.cpp
PointerIntPairTest.cpp
PointerSumTypeTest.cpp
PointerUnionTest.cpp [LLVM][Support/ADT] Add assert for isPresent to dyn_cast. 2022-09-06 13:58:56 -07:00
PostOrderIteratorTest.cpp
PriorityWorklistTest.cpp
RangeAdapterTest.cpp
SCCIteratorTest.cpp
STLExtrasTest.cpp [llvm] Deprecate llvm::empty (NFC) 2022-09-18 22:01:32 -07:00
STLForwardCompatTest.cpp [ADT] Remove STLForwardCompat.h's C++17 equivalents 2022-08-12 12:50:52 -06:00
ScopeExitTest.cpp
SequenceTest.cpp Move STLFunctionalExtras out of STLExtras 2022-01-24 14:13:21 +01:00
SetVectorTest.cpp
SimpleIListTest.cpp Move STLFunctionalExtras out of STLExtras 2022-01-24 14:13:21 +01:00
SmallPtrSetTest.cpp Use the range-based overload of llvm::sort where possible 2022-07-23 15:13:25 +02:00
SmallSetTest.cpp [ADT] Make SmallSet::insert(const T &) return const_iterator 2022-08-15 13:53:34 +08:00
SmallStringTest.cpp
SmallVectorTest.cpp [NFC] Introduce llvm::to_vector_of to allow creation of SmallVector<T> from range of items convertible to type T 2022-08-12 15:22:12 +02:00
SparseBitVectorTest.cpp
SparseMultiSetTest.cpp
SparseSetTest.cpp
StatisticTest.cpp [Support] Fix no-stat build. NFC 2022-08-14 23:55:31 +01:00
StringExtrasTest.cpp [ADT] support fixed-width output with `utohexstr` 2022-01-28 10:07:54 -08:00
StringMapTest.cpp [llvm][ADT] Fix formatting for files relevant to `StringMap`. 2022-08-29 06:57:29 +00:00
StringRefTest.cpp [ADT] Introduce StringRef::{starts,ends}_width{,_insensitive} 2022-10-15 15:06:37 -07:00
StringSetTest.cpp Move STLFunctionalExtras out of STLExtras 2022-01-24 14:13:21 +01:00
StringSwitchTest.cpp
TestGraph.h
TinyPtrVectorTest.cpp [llvm] Use std::size instead of llvm::array_lengthof 2022-09-08 09:01:53 -06:00
TripleTest.cpp [ARM64EC] Add arm64ec for getArchName 2022-09-29 09:05:17 +08:00
TwineTest.cpp [Support] Remove some #if __cplusplus > 201402L 2022-08-11 17:35:02 +00:00
TypeSwitchTest.cpp
TypeTraitsTest.cpp [ADT] Remove `is_invocable` from `STLExtras.h` 2022-08-21 18:15:38 -06:00