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

References

include/llvm/IR/GlobalValue.h
  130     case WeakODRLinkage:
  297     return ODR ? WeakODRLinkage : WeakAnyLinkage;
  316     return Linkage == WeakODRLinkage;
  356     case WeakODRLinkage:
  380     return Linkage == WeakAnyLinkage || Linkage == WeakODRLinkage ||
lib/AsmParser/LLParser.cpp
 1809     return GlobalValue::WeakODRLinkage;
 5336   case GlobalValue::WeakODRLinkage:
lib/Bitcode/Reader/BitcodeReader.cpp
  946     return GlobalValue::WeakODRLinkage;
lib/Bitcode/Writer/BitcodeWriter.cpp
  987   case GlobalValue::WeakODRLinkage:
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  402   case GlobalValue::WeakODRLinkage:
lib/IR/AsmWriter.cpp
 2927   case GlobalValue::WeakODRLinkage:
lib/IR/Core.cpp
 1840   case GlobalValue::WeakODRLinkage:
 1882     GV->setLinkage(GlobalValue::WeakODRLinkage);
lib/IR/ModuleSummaryIndex.cpp
  280   case GlobalValue::WeakODRLinkage:
lib/LTO/LTO.cpp
  380            (VarSummary->linkage() == GlobalValue::WeakODRLinkage ||
lib/Target/XCore/XCoreAsmPrinter.cpp
  129   case GlobalValue::WeakODRLinkage:
lib/Transforms/IPO/ExtractGV.cpp
   47     GV.setLinkage(GlobalValue::WeakODRLinkage);
lib/Transforms/IPO/FunctionImport.cpp
  796             S->linkage() == GlobalValue::WeakODRLinkage ||
  980       if (NewLinkage == GlobalValue::WeakODRLinkage &&
lib/Transforms/Instrumentation/MemorySanitizer.cpp
  950             M, IRB.getInt32Ty(), true, GlobalValue::WeakODRLinkage,
  957                                   GlobalValue::WeakODRLinkage,
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  352     CtorFunc->setLinkage(GlobalValue::WeakODRLinkage);
lib/Transforms/Utils/FunctionImportUtils.cpp
  156   case GlobalValue::WeakODRLinkage:
tools/clang/lib/CodeGen/CGExpr.cpp
 2505   case llvm::GlobalValue::WeakODRLinkage:
 3202       llvm::GlobalValue::WeakODRLinkage, "__cfi_check_fail", &CGM.getModule());
tools/clang/lib/CodeGen/CGVTables.cpp
  864                  llvm::GlobalVariable::WeakODRLinkage :
  880       llvm::GlobalValue::WeakODRLinkage;
tools/clang/lib/CodeGen/CodeGenModule.cpp
 2891       ResolverFunc->setLinkage(llvm::Function::WeakODRLinkage);
 2938   ResolverFunc->setLinkage(llvm::Function::WeakODRLinkage);
 3017       GA->setLinkage(llvm::Function::WeakODRLinkage);
 3057         DeclTy, 0, llvm::Function::WeakODRLinkage, "", Resolver, &getModule());
 4182       return llvm::GlobalVariable::WeakODRLinkage;
 4225     return llvm::Function::WeakODRLinkage;
 4240     return llvm::GlobalVariable::WeakODRLinkage;
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 2502   return llvm::GlobalValue::WeakODRLinkage;
 2624       if (Wrapper->getLinkage() == llvm::Function::WeakODRLinkage)
 3308         return llvm::GlobalValue::WeakODRLinkage;
 3862       Linkage != llvm::GlobalValue::WeakODRLinkage)
 3876   assert(Linkage == llvm::GlobalValue::WeakODRLinkage);
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
  371       Thunk->setLinkage(llvm::GlobalValue::WeakODRLinkage);
 1228       Fn->setLinkage(llvm::GlobalValue::WeakODRLinkage);
 1323       return llvm::GlobalValue::WeakODRLinkage;
tools/polly/lib/CodeGen/PerfMonitor.cpp
  125   GlobalValue::LinkageTypes Linkage = Function::WeakODRLinkage;
  216   GlobalValue::LinkageTypes Linkage = Function::WeakODRLinkage;
unittests/ProfileData/InstrProfTest.cpp
  904   Function::Create(FTy, Function::WeakODRLinkage, "Wfoo", M.get());
  905   Function::Create(FTy, Function::WeakODRLinkage, "Wblah", M.get());
  906   Function::Create(FTy, Function::WeakODRLinkage, "Wbar", M.get());