reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ADT/DenseMap.h
   69   using iterator = DenseMapIterator<KeyT, ValueT, KeyInfoT, BucketT>;
   71       DenseMapIterator<KeyT, ValueT, KeyInfoT, BucketT, true>;
  336       if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  337           !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  372       if (!KeyInfoT::isEqual(B->getFirst(), EmptyKey) &&
  373           !KeyInfoT::isEqual(B->getFirst(), TombstoneKey)) {
  392       const DenseMapBase<OtherBaseT, KeyT, ValueT, KeyInfoT, BucketT> &other) {
  407         if (!KeyInfoT::isEqual(getBuckets()[i].getFirst(), getEmptyKey()) &&
  408             !KeyInfoT::isEqual(getBuckets()[i].getFirst(), getTombstoneKey()))
  415     return KeyInfoT::getHashValue(Val);
  420     return KeyInfoT::getHashValue(Val);
  426     return KeyInfoT::getEmptyKey();
  430     return KeyInfoT::getTombstoneKey();
  567     if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey))
  617       if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) &&
  684 class DenseMap : public DenseMapBase<DenseMap<KeyT, ValueT, KeyInfoT, BucketT>,
  685                                      KeyT, ValueT, KeyInfoT, BucketT> {
  690   using BaseT = DenseMapBase<DenseMap, KeyT, ValueT, KeyInfoT, BucketT>;
  852           SmallDenseMap<KeyT, ValueT, InlineBuckets, KeyInfoT, BucketT>, KeyT,
  853           ValueT, KeyInfoT, BucketT> {
  918         bool hasLHSValue = (!KeyInfoT::isEqual(LHSB->getFirst(), EmptyKey) &&
  919                             !KeyInfoT::isEqual(LHSB->getFirst(), TombstoneKey));
  920         bool hasRHSValue = (!KeyInfoT::isEqual(RHSB->getFirst(), EmptyKey) &&
  921                             !KeyInfoT::isEqual(RHSB->getFirst(), TombstoneKey));
  961       if (!KeyInfoT::isEqual(NewB->getFirst(), EmptyKey) &&
  962           !KeyInfoT::isEqual(NewB->getFirst(), TombstoneKey)) {
 1026         if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
 1027             !KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) {
 1163   using ConstIterator = DenseMapIterator<KeyT, ValueT, KeyInfoT, Bucket, true>;
 1199       const DenseMapIterator<KeyT, ValueT, KeyInfoT, Bucket, IsConstSrc> &I)
 1249     const KeyT Empty = KeyInfoT::getEmptyKey();
 1250     const KeyT Tombstone = KeyInfoT::getTombstoneKey();
 1252     while (Ptr != End && (KeyInfoT::isEqual(Ptr->getFirst(), Empty) ||
 1253                           KeyInfoT::isEqual(Ptr->getFirst(), Tombstone)))
 1259     const KeyT Empty = KeyInfoT::getEmptyKey();
 1260     const KeyT Tombstone = KeyInfoT::getTombstoneKey();
 1262     while (Ptr != End && (KeyInfoT::isEqual(Ptr[-1].getFirst(), Empty) ||
 1263                           KeyInfoT::isEqual(Ptr[-1].getFirst(), Tombstone)))
include/llvm/ADT/DenseSet.h
  224 bool operator==(const DenseSetImpl<ValueT, MapTy, ValueInfoT> &LHS,
  225                 const DenseSetImpl<ValueT, MapTy, ValueInfoT> &RHS) {
  240 bool operator!=(const DenseSetImpl<ValueT, MapTy, ValueInfoT> &LHS,
  241                 const DenseSetImpl<ValueT, MapTy, ValueInfoT> &RHS) {
  250                      ValueT, DenseMap<ValueT, detail::DenseSetEmpty, ValueInfoT,
  252                      ValueInfoT> {
  255                            DenseMap<ValueT, detail::DenseSetEmpty, ValueInfoT,
  257                            ValueInfoT>;
  270                                 ValueInfoT, detail::DenseSetPair<ValueT>>,
  271           ValueInfoT> {
  274                             ValueInfoT, detail::DenseSetPair<ValueT>>,
  275       ValueInfoT>;
unittests/ADT/DenseSetTest.cpp
   64 typedef ::testing::Types<DenseSet<unsigned, TestDenseSetInfo>,
   65                          const DenseSet<unsigned, TestDenseSetInfo>,
   66                          SmallDenseSet<unsigned, 1, TestDenseSetInfo>,
   67                          SmallDenseSet<unsigned, 4, TestDenseSetInfo>,
   68                          const SmallDenseSet<unsigned, 4, TestDenseSetInfo>,