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

References

include/llvm/IR/Metadata.h
  293     assert(UseMap.empty() && "Cannot destroy in-use replaceable metadata");
lib/IR/Metadata.cpp
  199       UseMap.insert(std::make_pair(Ref, std::make_pair(Owner, NextIndex)))
  209   bool WasErased = UseMap.erase(Ref);
  216   auto I = UseMap.find(Ref);
  217   assert(I != UseMap.end() && "Expected to move a reference");
  219   UseMap.erase(I);
  220   bool WasInserted = UseMap.insert(std::make_pair(New, OwnerAndIndex)).second;
  233   if (UseMap.empty())
  238   SmallVector<UseTy, 8> Uses(UseMap.begin(), UseMap.end());
  238   SmallVector<UseTy, 8> Uses(UseMap.begin(), UseMap.end());
  245     if (!UseMap.count(Pair.first))
  255       UseMap.erase(Pair.first);
  277   assert(UseMap.empty() && "Expected all uses to be replaced");
  281   if (UseMap.empty())
  285     UseMap.clear();
  291   SmallVector<UseTy, 8> Uses(UseMap.begin(), UseMap.end());
  291   SmallVector<UseTy, 8> Uses(UseMap.begin(), UseMap.end());
  295   UseMap.clear();