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

Derived Classes

include/llvm/ADT/StringMap.h
  127 class StringMapEntryStorage : public StringMapEntryBase {
  145 class StringMapEntryStorage<NoneType> : public StringMapEntryBase {

References

include/llvm/ADT/StringMap.h
   54   StringMapEntryBase **TheTable = nullptr;
   90   void RemoveKey(StringMapEntryBase *V);
   94   StringMapEntryBase *RemoveKey(StringRef Key);
  101   static StringMapEntryBase *getTombstoneVal() {
  103     Val <<= PointerLikeTypeTraits<StringMapEntryBase *>::NumLowBitsAvailable;
  127 class StringMapEntryStorage : public StringMapEntryBase {
  145 class StringMapEntryStorage<NoneType> : public StringMapEntryBase {
  285       StringMapEntryBase *Bucket = RHS.TheTable[I];
  317         StringMapEntryBase *Bucket = TheTable[I];
  395     StringMapEntryBase *&Bucket = TheTable[BucketNo];
  434     StringMapEntryBase *&Bucket = TheTable[BucketNo];
  456       StringMapEntryBase *&Bucket = TheTable[I];
  492   StringMapEntryBase **Ptr = nullptr;
  497   explicit StringMapIterBase(StringMapEntryBase **Bucket,
  538   explicit StringMapConstIterator(StringMapEntryBase **Bucket,
  555   explicit StringMapIterator(StringMapEntryBase **Bucket,
include/llvm/Support/PointerLikeTypeTraits.h
   56   static inline void *getAsVoidPointer(T *P) { return P; }
   57   static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
   59   enum { NumLowBitsAvailable = detail::ConstantLog2<alignof(T)>::value };
lib/Support/StringMap.cpp
   62                   sizeof(StringMapEntryBase **) + sizeof(unsigned)));
   90     StringMapEntryBase *BucketItem = TheTable[BucketNo];
  143     StringMapEntryBase *BucketItem = TheTable[BucketNo];
  176 void StringMapImpl::RemoveKey(StringMapEntryBase *V) {
  178   StringMapEntryBase *V2 = RemoveKey(StringRef(VStr, V->getKeyLength()));
  185 StringMapEntryBase *StringMapImpl::RemoveKey(StringRef Key) {
  189   StringMapEntryBase *Result = TheTable[Bucket];
  220       safe_calloc(NewSize+1, sizeof(StringMapEntryBase *) + sizeof(unsigned)));
  228     StringMapEntryBase *Bucket = TheTable[I];
unittests/ADT/StringMapTest.cpp
  520   StringMapEntryBase LargeBase(LargeValue);
  525   StringMapEntryBase LargerBase(LargeValue);