Home
last modified time | relevance | path

Searched refs:hasLocalLinkage (Results 1 – 25 of 108) sorted by relevance

12345

/external/llvm/lib/Transforms/IPO/
DConstantMerge.cpp54 if (!A.hasLocalLinkage() && B.hasLocalLinkage()) in IsBetterCanonical()
57 if (A.hasLocalLinkage() && !B.hasLocalLinkage()) in IsBetterCanonical()
97 if (GV->use_empty() && GV->hasLocalLinkage()) { in mergeConstants()
144 if (!GV->hasLocalLinkage()) in mergeConstants()
185 assert(Replacements[i].first->hasLocalLinkage() && in mergeConstants()
DStripSymbols.cpp148 if (!GV->hasLocalLinkage()) return; // Don't delete non-static globals. in RemoveDeadConstant()
166 if (!isa<GlobalValue>(V) || cast<GlobalValue>(V)->hasLocalLinkage()) { in StripSymtab()
213 if (I->hasLocalLinkage() && llvmUsedValues.count(&*I) == 0) in StripSymbolNames()
219 if (I.hasLocalLinkage() && llvmUsedValues.count(&I) == 0) in StripSymbolNames()
280 if (GV->hasLocalLinkage()) in runOnModule()
DInternalize.cpp106 if (GV.hasLocalLinkage()) in shouldPreserveGV()
126 if (GV.hasLocalLinkage()) in maybeInternalize()
129 if (GV.hasLocalLinkage()) in maybeInternalize()
DInliner.cpp236 if (!Caller->hasLocalLinkage() && !Caller->hasLinkOnceODRLinkage()) in shouldBeDeferred()
258 bool callerWillBeRemoved = Caller->hasLocalLinkage(); in shouldBeDeferred()
528 if (Callee && Callee->use_empty() && Callee->hasLocalLinkage() && in inlineCalls()
618 if (!F->hasLocalLinkage()) { in removeDeadFunctions()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DConstantMerge.cpp81 if (!A.hasLocalLinkage() && B.hasLocalLinkage()) in IsBetterCannonical()
84 if (A.hasLocalLinkage() && !B.hasLocalLinkage()) in IsBetterCannonical()
131 if (GV->use_empty() && GV->hasLocalLinkage()) { in runOnModule()
173 if (!GV->hasLocalLinkage()) in runOnModule()
215 assert(Replacements[i].first->hasLocalLinkage() && in runOnModule()
DExtractGV.cpp63 if (I->hasLocalLinkage()) in runOnModule()
77 if (I->hasLocalLinkage()) in runOnModule()
DStripSymbols.cpp149 if (!GV->hasLocalLinkage()) return; // Don't delete non static globals. in RemoveDeadConstant()
168 if (!isa<GlobalValue>(V) || cast<GlobalValue>(V)->hasLocalLinkage()) { in StripSymtab()
216 if (I->hasLocalLinkage() && llvmUsedValues.count(I) == 0) in StripSymbolNames()
222 if (I->hasLocalLinkage() && llvmUsedValues.count(I) == 0) in StripSymbolNames()
326 if (GV->hasLocalLinkage()) in runOnModule()
DGlobalDCE.cpp68 if (!I->hasLocalLinkage() && !I->hasLinkOnceLinkage() && in runOnModule()
78 if (!I->hasLocalLinkage() && !I->hasLinkOnceLinkage() && in runOnModule()
87 if (!I->hasLocalLinkage() && !I->hasLinkOnceLinkage()) in runOnModule()
DInternalize.cpp131 !I->hasLocalLinkage() && // Can't already have internal linkage in runOnModule()
159 if (!I->isDeclaration() && !I->hasLocalLinkage() && in runOnModule()
DInliner.cpp251 if (Caller->hasLocalLinkage()) { in shouldInline()
467 if (Callee && Callee->use_empty() && Callee->hasLocalLinkage() && in runOnSCC()
536 if (!F->hasLinkOnceLinkage() && !F->hasLocalLinkage() && in removeDeadFunctions()
/external/llvm/lib/Transforms/Utils/
DFunctionImportUtils.cpp53 assert(SGV->hasLocalLinkage()); in doPromoteLocalToGlobal()
87 if (SGV->hasLocalLinkage() && in getName()
102 if (SGV->hasLocalLinkage() && doPromoteLocalToGlobal(SGV)) in getLinkage()
193 if (GV.hasLocalLinkage() && in processGlobalForThinLTO()
197 if (!GV.hasLocalLinkage()) in processGlobalForThinLTO()
DNameAnonFunctions.cpp39 if (F.isDeclaration() || F.hasLocalLinkage() || !F.hasName()) in get()
45 if (GV.isDeclaration() || GV.hasLocalLinkage() || !GV.hasName()) in get()
DSplitModule.cpp124 if (GV.hasLocalLinkage()) in findPartitions()
184 << ((*MI)->hasLocalLinkage() ? " l " : " e ") << "\n"); in findPartitions()
195 if (GV->hasLocalLinkage()) { in externalize()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUAlwaysInlinePass.cpp41 if (!F.hasLocalLinkage() && !F.isDeclaration() && !F.use_empty() && in runOnModule()
54 if (F.hasLocalLinkage() && !F.hasFnAttribute(Attribute::NoInline)) { in runOnModule()
/external/swiftshader/third_party/LLVM/lib/Linker/
DLinkArchives.cpp52 else if (!I->hasLocalLinkage()) { in GetAllUndefinedSymbols()
64 else if (!I->hasLocalLinkage()) { in GetAllUndefinedSymbols()
/external/llvm/lib/Target/Hexagon/
DHexagonTargetObjectFile.cpp111 << (GV->hasLocalLinkage() ? "local_linkage " : "") in SelectSectionForGlobal()
144 << (GV->hasLocalLinkage() ? "local_linkage " : "") in getExplicitSectionGlobal()
201 bool IsLocal = GVar->hasLocalLinkage(); in isGlobalInSmallSection()
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/
DSystemZSubtarget.cpp47 if (GV->hasLocalLinkage() || GV->hasHiddenVisibility()) in GVRequiresExtraLoad()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DTargetLoweringObjectFileImpl.cpp334 StubSym = MachineModuleInfoImpl::StubValueTy(Sym, !GV->hasLocalLinkage()); in getExprForDwarfGlobalReference()
480 if (GV->hasLocalLinkage() && !isa<Function>(GV)) { in shouldEmitUsedDirectiveFor()
514 StubSym = MachineModuleInfoImpl::StubValueTy(Sym, !GV->hasLocalLinkage()); in getExprForDwarfGlobalReference()
544 StubSym = MachineModuleInfoImpl::StubValueTy(Sym, !GV->hasLocalLinkage()); in getCFIPersonalitySymbol()
/external/llvm/lib/Target/NVPTX/
DNVPTXAssignValidGlobalNames.cpp55 if (GV.hasLocalLinkage()) { in runOnModule()
/external/llvm/lib/Target/Sparc/
DSparcTargetObjectFile.cpp33 StubSym = MachineModuleInfoImpl::StubValueTy(Sym, !GV->hasLocalLinkage()); in getTTypeGlobalReference()
/external/swiftshader/third_party/LLVM/lib/Archive/
DArchive.cpp199 if (!GI->isDeclaration() && !GI->hasLocalLinkage()) in getSymbols()
205 if (!FI->isDeclaration() && !FI->hasLocalLinkage()) in getSymbols()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86Subtarget.cpp85 if (!GV->hasLocalLinkage() && GV->hasDefaultVisibility()) in ClassifyGlobalReference()
94 if (GV->hasLocalLinkage() || GV->hasHiddenVisibility()) in ClassifyGlobalReference()
/external/llvm/include/llvm/ExecutionEngine/
DJITSymbolFlags.h70 if (!GV.hasLocalLinkage() && !GV.hasHiddenVisibility()) in flagsFromGlobalValue()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DGlobalValue.h219 assert((!hasLocalLinkage() || V == DefaultVisibility) && in setVisibility()
408 bool hasLocalLinkage() const { return isLocalLinkage(getLinkage()); } in hasLocalLinkage() function
/external/llvm/include/llvm/IR/
DGlobalValue.h202 assert((!hasLocalLinkage() || V == DefaultVisibility) && in setVisibility()
391 bool hasLocalLinkage() const { return isLocalLinkage(getLinkage()); } in hasLocalLinkage() function

12345