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

References

lib/IR/Verifier.cpp
  160     MD->print(*OS, MST, &M);
  324     assert(F.getParent() == &M &&
  367     for (const Function &F : M)
  374     for (const GlobalVariable &GV : M.globals())
  377     for (const GlobalAlias &GA : M.aliases())
  380     for (const NamedMDNode &NMD : M.named_metadata())
  383     for (const StringMapEntry<Comdat> &SMEC : M.getComdatSymbolTable())
  386     visitModuleFlags(M);
  387     visitModuleIdents(M);
  388     visitModuleCommandLines(M);
  603         CheckFailed("Global is referenced by parentless instruction!", &GV, &M,
  605       else if (I->getParent()->getParent()->getParent() != &M)
  606         CheckFailed("Global is referenced in a different module!", &GV, &M, I,
  611       if (F->getParent() != &M)
  612         CheckFailed("Global is used by function in a different module", &GV, &M,
 1319     if (const GlobalValue *GV = M.getNamedValue(C.getName()))
 1473     Assert(M.getNamedMetadata("llvm.linker.options"),
 1894       Assert(GV->getParent() == &M, "Referencing global in another module!",
 1895              EntryC, &M, GV, GV->getParent());
 4131       Assert(F->getParent() == &M, "Referencing function in another module!",
 4132              &I, &M, F, F->getParent());
 4140       Assert(GV->getParent() == &M, "Referencing global in another module!", &I,
 4141              &M, GV, GV->getParent());
 5073   if (M.getContext().isODRUniquingDebugTypes())
 5075   auto *CUs = M.getNamedMetadata("llvm.dbg.cu");