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

References

lib/IR/Metadata.cpp
  393   assert(To && "Expected valid value");
  394   assert(From != To && "Expected changed value");
  395   assert(From->getType() == To->getType() && "Unexpected type change");
  414     if (auto *C = dyn_cast<Constant>(To)) {
  420     if (getLocalFunctionMetadata(From) && getLocalFunctionMetadata(To) &&
  421         getLocalFunctionMetadata(From) != getLocalFunctionMetadata(To)) {
  427   } else if (!isa<Constant>(To)) {
  434   auto *&Entry = Store[To];
  443   assert(!To->IsUsedByMD && "Expected this to be the only metadata use");
  444   To->IsUsedByMD = true;
  445   MD->V = To;