| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | FunctionImportUtils.cpp | 285 (GV.isDeclarationForLinker() || in processGlobalForThinLTO() 301 if (GO && GO->isDeclarationForLinker() && GO->hasComdat()) { in processGlobalForThinLTO()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | GlobalValue.h | 598 bool isDeclarationForLinker() const { in isDeclarationForLinker() function 612 return !(isDeclarationForLinker() || isWeakForLinker()); in isStrongDefinitionForLinker()
|
| /llvm-project-15.0.7/llvm/lib/Target/ |
| H A D | TargetMachine.cpp | 118 if (TT.isWindowsGNUEnvironment() && GV->isDeclarationForLinker() && in shouldAssumeDSOLocal()
|
| H A D | TargetLoweringObjectFile.cpp | 202 assert(!GO->isDeclarationForLinker() && in getKindForGlobal()
|
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | RecordStreamer.cpp | 206 IsDefined = IsDefined || !GV->isDeclarationForLinker(); in flushSymverDirectives()
|
| H A D | ModuleSymbolTable.cpp | 196 if (GV->isDeclarationForLinker()) in getSymbolFlags()
|
| /llvm-project-15.0.7/llvm/lib/Linker/ |
| H A D | LinkModules.cpp | 256 bool SrcIsDeclaration = Src.isDeclarationForLinker(); in shouldLinkFromSource() 257 bool DestIsDeclaration = Dest.isDeclarationForLinker(); in shouldLinkFromSource()
|
| H A D | IRMover.cpp | 985 if (DGV && !DGV->isDeclarationForLinker()) in shouldLink()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86Subtarget.cpp | 123 if (GV && (GV->isDeclarationForLinker() || GV->hasCommonLinkage())) in classifyLocalReference()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGCXX.cpp | 173 if (Ref->isDeclarationForLinker()) in TryEmitBaseDestructorAsAlias()
|
| H A D | CodeGenModule.cpp | 506 if (GV.isDeclarationForLinker()) { in setVisibilityFromDLLStorageClass() 1117 !GV->isDeclarationForLinker()) in setGlobalVisibility() 1143 if (GV->isDeclarationForLinker() && isa<llvm::GlobalVariable>(GV) && in shouldAssumeDSOLocal() 1183 if (!GV->isDeclarationForLinker()) in shouldAssumeDSOLocal() 1244 !GV->isDeclarationForLinker()) in setDLLImportDLLExport()
|
| H A D | ItaniumCXXABI.cpp | 1760 if (!VTable->isDeclarationForLinker() || in emitVTableDefinitions() 1766 if (VTable->isDeclarationForLinker()) { in emitVTableDefinitions()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMSubtarget.cpp | 360 (GV->isDeclarationForLinker() || GV->hasCommonLinkage())) in isGVIndirectSymbol()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | SampleProfileProbe.cpp | 386 if (!F.isDeclarationForLinker()) { in instrumentOneFunc()
|
| H A D | LowerTypeTests.cpp | 241 if (F->isDeclarationForLinker()) in isJumpTableCanonical() 1041 if (F->isDeclarationForLinker() && isJumpTableCanonical) { in importFunction() 2011 if (isa<GlobalVariable>(GO) && GO.isDeclarationForLinker()) in lower()
|
| H A D | FunctionImport.cpp | 1131 if (GO && GO->isDeclarationForLinker() && GO->hasComdat()) in thinLTOFinalizeInModule()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinter.cpp | 1241 if (F.isDeclarationForLinker()) in getFunctionCFISectionType() 1957 if (!F.isDeclarationForLinker()) in doFinalization() 2147 if (!GV.hasPartition() || GV.isDeclarationForLinker() || in doFinalization() 2567 if (GV->isDeclarationForLinker()) in emitXXStructorList()
|
| H A D | CodeViewDebug.cpp | 655 if (!P.first->isDeclarationForLinker()) in endModule() 3196 if (!GV || GV->isDeclarationForLinker()) in collectGlobalVariableInfo()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCAsmPrinter.cpp | 2403 if (GV->isDeclarationForLinker()) { in emitGlobalVariableHelper() 2591 if (GO->isDeclarationForLinker()) in doInitialization()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | TargetLoweringObjectFileImpl.cpp | 2254 if (GO->isDeclarationForLinker()) in getTargetSymbol() 2305 assert(GO->isDeclarationForLinker() && in getSectionForExternalReference()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | HWAddressSanitizer.cpp | 1592 if (GV.isDeclarationForLinker() || GV.getName().startswith("llvm.") || in instrumentGlobals()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Verifier.cpp | 664 if (GV.isDeclarationForLinker()) in visitGlobalValue() 813 Check(!GV->isDeclarationForLinker(), "Alias must point to a definition", in visitAliaseeSubExpr() 867 Check(!Resolver->isDeclarationForLinker(), in visitGlobalIFunc()
|