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

Declarations

include/llvm/IR/Module.h
  309   GlobalValue *getNamedValue(StringRef Name) const;

References

include/llvm/Analysis/ObjCARCAnalysisUtils.h
   53     M.getNamedValue("llvm.objc.retain") ||
   54     M.getNamedValue("llvm.objc.release") ||
   55     M.getNamedValue("llvm.objc.autorelease") ||
   56     M.getNamedValue("llvm.objc.retainAutoreleasedReturnValue") ||
   57     M.getNamedValue("llvm.objc.unsafeClaimAutoreleasedReturnValue") ||
   58     M.getNamedValue("llvm.objc.retainBlock") ||
   59     M.getNamedValue("llvm.objc.autoreleaseReturnValue") ||
   60     M.getNamedValue("llvm.objc.autoreleasePoolPush") ||
   61     M.getNamedValue("llvm.objc.loadWeakRetained") ||
   62     M.getNamedValue("llvm.objc.loadWeak") ||
   63     M.getNamedValue("llvm.objc.destroyWeak") ||
   64     M.getNamedValue("llvm.objc.storeWeak") ||
   65     M.getNamedValue("llvm.objc.initWeak") ||
   66     M.getNamedValue("llvm.objc.moveWeak") ||
   67     M.getNamedValue("llvm.objc.copyWeak") ||
   68     M.getNamedValue("llvm.objc.retainedObject") ||
   69     M.getNamedValue("llvm.objc.unretainedObject") ||
   70     M.getNamedValue("llvm.objc.unretainedPointer") ||
   71     M.getNamedValue("llvm.objc.clang.arc.use");
lib/Analysis/ModuleSummaryAnalysis.cpp
  686           GlobalValue *GV = M.getNamedValue(Name);
lib/AsmParser/LLParser.cpp
  940     GVal = M->getNamedValue(Name);
 1066     GVal = M->getNamedValue(Name);
 3253       GV = M->getNamedValue(Fn.StrVal);
 5459     } else if (M->getNamedValue(FunctionName)) {
 7424     GV = M->getNamedValue(Fn.StrVal);
 7925       auto *GV = M->getNamedValue(Name);
lib/CodeGen/MIRParser/MIParser.cpp
 1735     GV = M->getNamedValue(Token.stringValue());
lib/CodeGen/TargetLoweringBase.cpp
 1684       dyn_cast_or_null<GlobalVariable>(M->getNamedValue(UnsafeStackPtrVar));
 1781   if (!M.getNamedValue("__stack_chk_guard"))
 1790   return M.getNamedValue("__stack_chk_guard");
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
 1262   const GlobalValue *ComdatGV = GV->getParent()->getNamedValue(ComdatGVName);
lib/ExecutionEngine/ExecutionEngine.cpp
  321       if (GlobalValue *GV = Modules[i]->getNamedValue(Name))
lib/IR/Module.cpp
  146   GlobalValue *F = getNamedValue(Name);
  175   return dyn_cast_or_null<Function>(getNamedValue(Name));
  192       dyn_cast_or_null<GlobalVariable>(getNamedValue(Name)))
  208   GlobalVariable *GV = dyn_cast_or_null<GlobalVariable>(getNamedValue(Name));
  240   return dyn_cast_or_null<GlobalAlias>(getNamedValue(Name));
  244   return dyn_cast_or_null<GlobalIFunc>(getNamedValue(Name));
lib/IR/Verifier.cpp
 1319     if (const GlobalValue *GV = M.getNamedValue(C.getName()))
lib/LTO/LTO.cpp
  793         RegularLTO.CombinedModule->getNamedValue(GV->getName());
  996           RegularLTO.CombinedModule->getNamedValue(R.second.IRName);
lib/Linker/IRMover.cpp
  459     GlobalValue *DGV = DstM.getNamedValue(SrcGV->getName());
  556   if (GlobalValue *ConflictGV = M->getNamedValue(Name)) {
lib/Linker/LinkModules.cpp
   88     GlobalValue *DGV = DstM.getNamedValue(SrcGV->getName());
  132   const GlobalValue *GVal = M.getNamedValue(ComdatName);
lib/Object/IRSymtab.cpp
  171       const GlobalValue *GV = M->getNamedValue(C->getName());
lib/Object/RecordStreamer.cpp
  188       const GlobalValue *GV = M.getNamedValue(Aliasee->getName());
lib/Target/AArch64/AArch64InstrInfo.cpp
 5636                             .addGlobalAddress(M.getNamedValue(MF.getName()))
 5646                             .addGlobalAddress(M.getNamedValue(MF.getName())));
 5692                           .addGlobalAddress(M.getNamedValue(MF.getName())));
lib/Target/AMDGPU/SIISelLowering.cpp
 6062         M->getNamedValue(Intrinsic::getName(Intrinsic::amdgcn_groupstaticsize));
lib/Target/WebAssembly/WebAssemblyLowerGlobalDtors.cpp
  119   Constant *DsoHandle = M.getNamedValue("__dso_handle");
lib/Target/X86/X86InstrInfo.cpp
 8128                       .addGlobalAddress(M.getNamedValue(MF.getName())));
 8133                       .addGlobalAddress(M.getNamedValue(MF.getName())));
lib/Transforms/Coroutines/Coroutines.cpp
  157     if (M.getNamedValue(Name))
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
   46       ImportGV = ImportM.getNamedValue(Name);
tools/clang/lib/CodeGen/CGBlocks.cpp
  204     if (llvm::GlobalValue *desc = CGM.getModule().getNamedValue(descName))
 1999   if (llvm::GlobalValue *Func = CGM.getModule().getNamedValue(FuncName))
 2194   if (llvm::GlobalValue *Func = CGM.getModule().getNamedValue(FuncName))
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 2690     llvm::Value *Ptr = CGM.getModule().getNamedValue(PtrName);
tools/clang/lib/CodeGen/CodeGenModule.cpp
 1127   return getModule().getNamedValue(Name);
 5586     if (Val && !getModule().getNamedValue(Name->getName()))
 5611     llvm::GlobalValue *Addr = getModule().getNamedValue(I.second);
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 2517   if (llvm::Value *V = CGM.getModule().getNamedValue(WrapperName))
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
 1977   if (llvm::GlobalValue *GV = CGM.getModule().getNamedValue(ThunkName))
 3894   if (llvm::GlobalValue *GV = CGM.getModule().getNamedValue(ThunkName))
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
  209   Value *result_value = m_module->getNamedValue(result_name);
unittests/Analysis/ValueTrackingTest.cpp
  941   GlobalVariable *GV = dyn_cast<GlobalVariable>(M->getNamedValue("test"));
unittests/CodeGen/MachineOperandTest.cpp
  245   GlobalValue *GV = M.getNamedValue("foo");
unittests/IR/InstructionsTest.cpp
 1025   Function *F = cast<Function>(M->getNamedValue("f"));
unittests/Transforms/Utils/LocalTest.cpp
  143   auto *GV = M->getNamedValue("f");
  519     auto *GV = M->getNamedValue("f");
  613   Function &F = *cast<Function>(M->getNamedValue("foo"));
  709   Function &F = *cast<Function>(M->getNamedValue("f"));