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

References

include/llvm/IR/GlobalValue.h
  142     case PrivateLinkage:
  328     return Linkage == PrivateLinkage;
  362     case PrivateLinkage:
lib/AsmParser/LLParser.cpp
 1803     return GlobalValue::PrivateLinkage;
 5330   case GlobalValue::PrivateLinkage:
lib/Bitcode/Reader/BitcodeReader.cpp
  932     return GlobalValue::PrivateLinkage;
  936     return GlobalValue::PrivateLinkage; // Obsolete LinkerPrivateLinkage
  938     return GlobalValue::PrivateLinkage; // Obsolete LinkerPrivateWeakLinkage
lib/Bitcode/Writer/BitcodeWriter.cpp
  985   case GlobalValue::PrivateLinkage:
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  425   case GlobalValue::PrivateLinkage:
lib/CodeGen/GlobalMerge.cpp
  514     auto MergedLinkage = IsMachO ? Linkage : GlobalValue::PrivateLinkage;
lib/IR/AsmWriter.cpp
 2917   case GlobalValue::PrivateLinkage:
lib/IR/Core.cpp
 1846   case GlobalValue::PrivateLinkage:
 1891     GV->setLinkage(GlobalValue::PrivateLinkage);
 1894     GV->setLinkage(GlobalValue::PrivateLinkage);
 1897     GV->setLinkage(GlobalValue::PrivateLinkage);
lib/IR/IRBuilder.cpp
   48                                 GlobalValue::PrivateLinkage, StrConstant, Name,
lib/IR/ModuleSummaryIndex.cpp
  286   case GlobalValue::PrivateLinkage:
lib/ProfileData/InstrProf.cpp
  317     Linkage = GlobalValue::PrivateLinkage;
lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp
  363   Function *NewFunc = Function::Create(NewFuncTy, Function::PrivateLinkage,
lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
  121   Function *Wrapper = Function::Create(Ty, Function::PrivateLinkage,
  211     Wrapper = Function::Create(Ty, Function::PrivateLinkage,
lib/Target/WebAssembly/WebAssemblyLowerGlobalDtors.cpp
  138           AtExitFuncTy, Function::PrivateLinkage,
  154           VoidVoid, Function::PrivateLinkage,
lib/Target/XCore/XCoreAsmPrinter.cpp
  140   case GlobalValue::PrivateLinkage:
lib/Transforms/Coroutines/CoroEarly.cpp
  123         Function::Create(FnTy, GlobalValue::LinkageTypes::PrivateLinkage,
  133                                 GlobalVariable::PrivateLinkage, NoopCoroConst,
lib/Transforms/Coroutines/CoroSplit.cpp
  832                                 GlobalVariable::PrivateLinkage, ConstVal,
 1422       Function::Create(FnTy, GlobalValue::LinkageTypes::PrivateLinkage,
lib/Transforms/IPO/GlobalSplit.cpp
   80                            GV.isConstant(), GlobalValue::PrivateLinkage,
lib/Transforms/IPO/LowerTypeTests.cpp
  594       M, Int8Ty, /*isConstant=*/true, GlobalValue::PrivateLinkage, nullptr);
  596                                        GlobalValue::PrivateLinkage, nullptr);
  633                          GlobalValue::PrivateLinkage, ByteArrayConst);
  647         Int8Ty, 0, GlobalValue::PrivateLinkage, "bits", GEP, &M);
  674       ByteArray = GlobalAlias::create(Int8Ty, 0, GlobalValue::PrivateLinkage,
  860                          GlobalValue::PrivateLinkage, NewInit);
 1491                        GlobalValue::PrivateLinkage,
lib/Transforms/IPO/MergeFunctions.cpp
  825     F->setLinkage(GlobalValue::PrivateLinkage);
lib/Transforms/IPO/WholeProgramDevirt.cpp
 1514                          GlobalVariable::PrivateLinkage, NewInit, "", B.GV);
lib/Transforms/Instrumentation/AddressSanitizer.cpp
 1259                                GlobalValue::PrivateLinkage, LocStruct,
 2022                      : GlobalVariable::PrivateLinkage;
 2287     if (G->isConstant() && Linkage == GlobalValue::PrivateLinkage)
 2343           GlobalAlias::create(GlobalValue::PrivateLinkage, "", NewGlobal);
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
 1265   NewGV->setLinkage(GlobalValue::PrivateLinkage);
 1291         new GlobalVariable(M, DescriptorTy, true, GlobalValue::PrivateLinkage,
 1370                          GlobalValue::PrivateLinkage, nullptr, kHwasanNoteName);
 1394       M, Int8Arr0Ty, /*isConstantGlobal*/ true, GlobalVariable::PrivateLinkage,
lib/Transforms/Instrumentation/InstrOrderFile.cpp
   93     BitMap = new GlobalVariable(M, MapTy, false, GlobalValue::PrivateLinkage,
lib/Transforms/Instrumentation/InstrProfiling.cpp
  666     Name->setLinkage(GlobalValue::PrivateLinkage);
  856   NamePtr->setLinkage(GlobalValue::PrivateLinkage);
  903       *M, VNodesTy, false, GlobalValue::PrivateLinkage,
  926                                 GlobalValue::PrivateLinkage, NamesVal,
lib/Transforms/Instrumentation/Instrumentation.cpp
   68                          GlobalValue::PrivateLinkage, StrConst, NamePrefix);
lib/Transforms/Instrumentation/MemorySanitizer.cpp
  686                             GlobalValue::PrivateLinkage, StrConst, "");
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  647       *CurModule, ArrayTy, false, GlobalVariable::PrivateLinkage,
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
 1023                                             GlobalValue::PrivateLinkage,
lib/Transforms/Utils/FunctionImportUtils.cpp
  175   case GlobalValue::PrivateLinkage:
lib/Transforms/Utils/SimplifyCFG.cpp
 5083                              GlobalVariable::PrivateLinkage, Initializer,
tools/clang/lib/CodeGen/BackendUtil.cpp
 1637       *M, ModuleConstant->getType(), true, llvm::GlobalValue::PrivateLinkage,
 1660                                   llvm::GlobalValue::PrivateLinkage,
tools/clang/lib/CodeGen/CGDecl.cpp
 1115         getModule(), Ty, isConstant, llvm::GlobalValue::PrivateLinkage,
tools/clang/lib/CodeGen/CGDeclCXX.cpp
  421       llvm::GlobalValue::PrivateLinkage, InitFunc, "__cxx_init_fn_ptr");
tools/clang/lib/CodeGen/CGExpr.cpp
  391               llvm::GlobalValue::PrivateLinkage, Init, ".ref.tmp", nullptr,
 2507   case llvm::GlobalValue::PrivateLinkage:
 2824       /*isConstant=*/true, llvm::GlobalVariable::PrivateLinkage, Descriptor);
 3076                                    llvm::GlobalVariable::PrivateLinkage, Info);
 3137                                  llvm::GlobalVariable::PrivateLinkage, Info);
tools/clang/lib/CodeGen/CGExprAgg.cpp
  502           llvm::GlobalValue::PrivateLinkage, C, "constinit",
tools/clang/lib/CodeGen/CGExprCXX.cpp
  530         /*isConstant=*/true, llvm::GlobalVariable::PrivateLinkage,
tools/clang/lib/CodeGen/CGExprConstant.cpp
 1419                                          llvm::GlobalValue::PrivateLinkage,
tools/clang/lib/CodeGen/CGObjCGNU.cpp
 1063           /*isConstant=*/true, llvm::GlobalValue::PrivateLinkage, C, ".str");
 1098                                 : llvm::GlobalValue::PrivateLinkage);
 1873           llvm::GlobalValue::PrivateLinkage);
 2330         SelectorTy->getElementType(), 0, llvm::GlobalValue::PrivateLinkage,
tools/clang/lib/CodeGen/CGObjCMac.cpp
 1853   return llvm::GlobalValue::PrivateLinkage;
 2013   llvm::GlobalValue::LinkageTypes Linkage = llvm::GlobalValue::PrivateLinkage;
 2031                                     llvm::GlobalVariable::PrivateLinkage);
 3082                                          llvm::GlobalValue::PrivateLinkage);
 3100                                      false, llvm::GlobalValue::PrivateLinkage,
 3675                                       llvm::GlobalValue::PrivateLinkage);
 3697                                   llvm::GlobalValue::PrivateLinkage, nullptr,
 3711                                   llvm::GlobalValue::PrivateLinkage, nullptr,
 4061                                llvm::GlobalValue::PrivateLinkage, Value, Label);
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
  832         llvm::GlobalValue::PrivateLinkage, Init, Name);
 1591                            llvm::GlobalValue::PrivateLinkage);
 2935           llvm::GlobalValue::PrivateLinkage,
 2974           llvm::GlobalValue::PrivateLinkage,
 8610           /*isConstant=*/true, llvm::GlobalValue::PrivateLinkage,
 8626         /*isConstant=*/true, llvm::GlobalValue::PrivateLinkage,
tools/clang/lib/CodeGen/CGStmt.cpp
 1058                                  llvm::GlobalVariable::PrivateLinkage, SLoc);
tools/clang/lib/CodeGen/CodeGenFunction.cpp
  511                                       llvm::GlobalValue::PrivateLinkage, Addr);
 1671                                llvm::GlobalVariable::PrivateLinkage,
tools/clang/lib/CodeGen/CodeGenModule.cpp
 2182                                llvm::GlobalValue::PrivateLinkage, s, ".str");
 4737                                llvm::GlobalValue::PrivateLinkage, C, ".str");
 4786                                     llvm::GlobalVariable::PrivateLinkage);
 4940     LT = llvm::GlobalValue::PrivateLinkage;
 4993   auto GV = GenerateStringLiteral(C, llvm::GlobalValue::PrivateLinkage, *this,
tools/clang/lib/CodeGen/ConstantInitBuilder.cpp
  153                              llvm::GlobalVariable::PrivateLinkage,
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
 1797       VTableAliasIsRequred ? llvm::GlobalValue::PrivateLinkage : VFTableLinkage;
tools/polly/lib/CodeGen/LoopGeneratorsKMP.cpp
  470         *M, ArrayType, true, GlobalValue::PrivateLinkage, 0, ".str.ident");
  474         *M, IdentTy, true, GlobalValue::PrivateLinkage, nullptr, LocName);
unittests/IR/ManglerTest.cpp
   62   EXPECT_EQ(mangleFunc("foo", llvm::GlobalValue::PrivateLinkage,
   82   EXPECT_EQ(mangleFunc("foo", llvm::GlobalValue::PrivateLinkage,
  118   EXPECT_EQ(mangleFunc("foo", llvm::GlobalValue::PrivateLinkage,
unittests/ProfileData/InstrProfTest.cpp
  901   Function::Create(FTy, Function::PrivateLinkage, "Pfoo", M.get());
  902   Function::Create(FTy, Function::PrivateLinkage, "Pblah", M.get());
  903   Function::Create(FTy, Function::PrivateLinkage, "Pbar", M.get());
unittests/Transforms/Utils/CloningTest.cpp
  462     OldFunc = Function::Create(FuncType, GlobalValue::PrivateLinkage, "f", M);
  738         Function::Create(FuncType, GlobalValue::PrivateLinkage, "f", OldM);