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

References

include/llvm/ADT/SmallPtrSet.h
  129       for (const void **APtr = SmallArray, **E = SmallArray + NumNonEmpty;
  129       for (const void **APtr = SmallArray, **E = SmallArray + NumNonEmpty;
  148         SmallArray[NumNonEmpty++] = Ptr;
  150         return std::make_pair(SmallArray + (NumNonEmpty - 1), true);
  179       for (const void *const *APtr = SmallArray,
  180                       *const *E = SmallArray + NumNonEmpty; APtr != E; ++APtr)
  194   bool isSmall() const { return CurArray == SmallArray; }
lib/Support/SmallPtrSet.cpp
  123   SmallArray = SmallStorage;
  127     CurArray = SmallArray;
  140   SmallArray = SmallStorage;
  155     CurArray = SmallArray;
  194     CurArray = SmallArray;
  198     RHS.CurArray = RHS.SmallArray;
  208   assert(RHS.CurArray == RHS.SmallArray);
  230     assert(RHS.CurArray == RHS.SmallArray);
  231     std::copy(RHS.CurArray, RHS.CurArray + RHS.NumNonEmpty, this->SmallArray);
  236     this->CurArray = this->SmallArray;
  243     assert(this->CurArray == this->SmallArray);
  245               RHS.SmallArray);
  250     RHS.CurArray = RHS.SmallArray;
  257   std::swap_ranges(this->SmallArray, this->SmallArray + MinNonEmpty,
  257   std::swap_ranges(this->SmallArray, this->SmallArray + MinNonEmpty,
  258                    RHS.SmallArray);
  260     std::copy(this->SmallArray + MinNonEmpty,
  261               this->SmallArray + this->NumNonEmpty,
  262               RHS.SmallArray + MinNonEmpty);
  264     std::copy(RHS.SmallArray + MinNonEmpty, RHS.SmallArray + RHS.NumNonEmpty,
  264     std::copy(RHS.SmallArray + MinNonEmpty, RHS.SmallArray + RHS.NumNonEmpty,
  265               this->SmallArray + MinNonEmpty);