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

References

lib/IR/Metadata.cpp
  349   assert(V && "Unexpected null Value");
  351   auto &Context = V->getContext();
  352   auto *&Entry = Context.pImpl->ValuesAsMetadata[V];
  354     assert((isa<Constant>(V) || isa<Argument>(V) || isa<Instruction>(V)) &&
  354     assert((isa<Constant>(V) || isa<Argument>(V) || isa<Instruction>(V)) &&
  354     assert((isa<Constant>(V) || isa<Argument>(V) || isa<Instruction>(V)) &&
  356     assert(!V->IsUsedByMD && "Expected this to be the only metadata use");
  357     V->IsUsedByMD = true;
  358     if (auto *C = dyn_cast<Constant>(V))
  361       Entry = new LocalAsMetadata(V);