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

References

lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 1578     if (const auto *LU = M.getNamedGlobal("llvm.used")) {
lib/CodeGen/LowerEmuTLS.cpp
   89   GlobalVariable *EmuTlsVar = M.getNamedGlobal(EmuTlsVarName);
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 6833   GlobalVariable *EmuTlsVar = VariableModule->getNamedGlobal(EmuTlsVarName);
lib/ExecutionEngine/ExecutionEngine.cpp
  373   GlobalVariable *GV = module.getNamedGlobal(Name);
lib/IR/Core.cpp
 2083   return wrap(unwrap(M)->getNamedGlobal(Name));
lib/LTO/LTO.cpp
  961     GlobalVariable *OldGV = RegularLTO.CombinedModule->getNamedGlobal(I.first);
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  776   if (!isEmptyXXStructor(M.getNamedGlobal("llvm.global_ctors"))) {
  781   if (!isEmptyXXStructor(M.getNamedGlobal("llvm.global_dtors"))) {
lib/Transforms/Instrumentation/InstrProfiling.cpp
  509       M.getNamedGlobal(getCoverageUnusedNamesVarName());
lib/Transforms/Utils/ModuleUtils.cpp
   32   if (GlobalVariable *GVCtor = M.getNamedGlobal(Array)) {
tools/bugpoint/ExtractFunction.cpp
  249   GlobalVariable *GV = M1->getNamedGlobal(GlobalName);
  293   GV = M2->getNamedGlobal(GlobalName);
tools/clang/lib/CodeGen/CGObjCGNU.cpp
 1006     llvm::Constant *isa = TheModule.getNamedGlobal(Sym);
 1207     auto *ClassSymbol = TheModule.getNamedGlobal(SymbolName);
 1459     if (auto *GV = TheModule.getNamedGlobal(SelVarName))
 1677     llvm::GlobalVariable *IvarOffsetPointer = TheModule.getNamedGlobal(Name);
 1762       SuperClass = TheModule.getNamedGlobal(SuperClassName);
 1957         TheModule.getNamedGlobal(SymbolForClass(className)))
 2468   llvm::Constant *isa = TheModule.getNamedGlobal(Sym);
 2970   llvm::GlobalVariable *ClassRef = TheModule.getNamedGlobal(ClassSym);
 3554       llvm::GlobalVariable *offset = TheModule.getNamedGlobal(Name);
 4029   llvm::GlobalVariable *IvarOffsetPointer = TheModule.getNamedGlobal(Name);
tools/clang/lib/CodeGen/CodeGenModule.cpp
 2368   if (llvm::GlobalVariable *GV = getModule().getNamedGlobal(Name))
 3617   llvm::GlobalVariable *GV = getModule().getNamedGlobal(Name);
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 2885   llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(Name);
 3337   llvm::GlobalVariable *OldGV = CGM.getModule().getNamedGlobal(Name);
 3498   llvm::GlobalVariable *OldGV = M.getNamedGlobal(Name);
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
  325     if (auto *VDispMap = CGM.getModule().getNamedGlobal(MangledName))
  523     if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(Name))
 1785           CGM.getModule().getNamedGlobal(VFTableName)) {
 2058   assert(!CGM.getModule().getNamedGlobal(Name) &&
 2351   if (auto *GV = CGM.getModule().getNamedGlobal(VarName))
 3412   if (auto VTable = CGM.getModule().getNamedGlobal(MangledName))
 3569   if (auto CHD = Module.getNamedGlobal(MangledName))
 3670   if (auto BCD = Module.getNamedGlobal(MangledName))
 3706   if (auto COL = Module.getNamedGlobal(MangledName))
 3816   if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(MangledName))
 4021   if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(MangledName))
 4227   if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(MangledName))
tools/lldb/source/Expression/IRExecutionUnit.cpp
  981           m_module->getNamedGlobal("llvm.global_ctors")) {
tools/llvm-extract/llvm-extract.cpp
  189     GlobalValue *GV = M->getNamedGlobal(ExtractGlobals[i]);
unittests/Linker/LinkModulesTest.cpp
  104   const GlobalVariable *LinkedGV = LinkedModule->getNamedGlobal("switch.bas");
  200   EXPECT_EQ(M1->getNamedGlobal("t1")->getType(),
  201             M1->getNamedGlobal("t2")->getType());