Home
last modified time | relevance | path

Searched refs:isDeclarationForLinker (Results 1 – 22 of 22) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DFunctionImportUtils.cpp285 (GV.isDeclarationForLinker() || in processGlobalForThinLTO()
301 if (GO && GO->isDeclarationForLinker() && GO->hasComdat()) { in processGlobalForThinLTO()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DGlobalValue.h598 bool isDeclarationForLinker() const { in isDeclarationForLinker() function
612 return !(isDeclarationForLinker() || isWeakForLinker()); in isStrongDefinitionForLinker()
/llvm-project-15.0.7/llvm/lib/Target/
H A DTargetMachine.cpp118 if (TT.isWindowsGNUEnvironment() && GV->isDeclarationForLinker() && in shouldAssumeDSOLocal()
H A DTargetLoweringObjectFile.cpp202 assert(!GO->isDeclarationForLinker() && in getKindForGlobal()
/llvm-project-15.0.7/llvm/lib/Object/
H A DRecordStreamer.cpp206 IsDefined = IsDefined || !GV->isDeclarationForLinker(); in flushSymverDirectives()
H A DModuleSymbolTable.cpp196 if (GV->isDeclarationForLinker()) in getSymbolFlags()
/llvm-project-15.0.7/llvm/lib/Linker/
H A DLinkModules.cpp256 bool SrcIsDeclaration = Src.isDeclarationForLinker(); in shouldLinkFromSource()
257 bool DestIsDeclaration = Dest.isDeclarationForLinker(); in shouldLinkFromSource()
H A DIRMover.cpp985 if (DGV && !DGV->isDeclarationForLinker()) in shouldLink()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86Subtarget.cpp123 if (GV && (GV->isDeclarationForLinker() || GV->hasCommonLinkage())) in classifyLocalReference()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCXX.cpp173 if (Ref->isDeclarationForLinker()) in TryEmitBaseDestructorAsAlias()
H A DCodeGenModule.cpp506 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 DItaniumCXXABI.cpp1760 if (!VTable->isDeclarationForLinker() || in emitVTableDefinitions()
1766 if (VTable->isDeclarationForLinker()) { in emitVTableDefinitions()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMSubtarget.cpp360 (GV->isDeclarationForLinker() || GV->hasCommonLinkage())) in isGVIndirectSymbol()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DSampleProfileProbe.cpp386 if (!F.isDeclarationForLinker()) { in instrumentOneFunc()
H A DLowerTypeTests.cpp241 if (F->isDeclarationForLinker()) in isJumpTableCanonical()
1041 if (F->isDeclarationForLinker() && isJumpTableCanonical) { in importFunction()
2011 if (isa<GlobalVariable>(GO) && GO.isDeclarationForLinker()) in lower()
H A DFunctionImport.cpp1131 if (GO && GO->isDeclarationForLinker() && GO->hasComdat()) in thinLTOFinalizeInModule()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp1241 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 DCodeViewDebug.cpp655 if (!P.first->isDeclarationForLinker()) in endModule()
3196 if (!GV || GV->isDeclarationForLinker()) in collectGlobalVariableInfo()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCAsmPrinter.cpp2403 if (GV->isDeclarationForLinker()) { in emitGlobalVariableHelper()
2591 if (GO->isDeclarationForLinker()) in doInitialization()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTargetLoweringObjectFileImpl.cpp2254 if (GO->isDeclarationForLinker()) in getTargetSymbol()
2305 assert(GO->isDeclarationForLinker() && in getSectionForExternalReference()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp1592 if (GV.isDeclarationForLinker() || GV.getName().startswith("llvm.") || in instrumentGlobals()
/llvm-project-15.0.7/llvm/lib/IR/
H A DVerifier.cpp664 if (GV.isDeclarationForLinker()) in visitGlobalValue()
813 Check(!GV->isDeclarationForLinker(), "Alias must point to a definition", in visitAliaseeSubExpr()
867 Check(!Resolver->isDeclarationForLinker(), in visitGlobalIFunc()