Home
last modified time | relevance | path

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

12345678

/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()
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()
DExtractGV.cpp63 if (I->hasLocalLinkage()) in runOnModule()
77 if (I->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()
/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-7.0/llvm/lib/Transforms/IPO/
DConstantMerge.cpp61 if (!A.hasLocalLinkage() && B.hasLocalLinkage()) in IsBetterCanonical()
64 if (A.hasLocalLinkage() && !B.hasLocalLinkage()) in IsBetterCanonical()
120 if (GV->use_empty() && GV->hasLocalLinkage()) { in mergeConstants()
171 if (!GV->hasLocalLinkage()) in mergeConstants()
217 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()
281 if (GV->hasLocalLinkage()) in runOnModule()
DInternalize.cpp106 if (GV.hasLocalLinkage()) in shouldPreserveGV()
126 if (GV.hasLocalLinkage()) in maybeInternalize()
129 if (GV.hasLocalLinkage()) in maybeInternalize()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DFunctionImportUtils.cpp45 assert(SGV->hasLocalLinkage()); in shouldPromoteLocalToGlobal()
84 if (!GV.hasLocalLinkage()) in isNonRenamableLocal()
102 if (SGV->hasLocalLinkage() && (DoPromote || isPerformingImport())) in getName()
117 if (SGV->hasLocalLinkage() && DoPromote) in getLinkage()
217 if (GV.hasLocalLinkage() && in processGlobalForThinLTO()
225 if (!GV.hasLocalLinkage()) in processGlobalForThinLTO()
DNameAnonGlobals.cpp42 if (F.isDeclaration() || F.hasLocalLinkage() || !F.hasName()) in get()
48 if (GV.isDeclaration() || GV.hasLocalLinkage() || !GV.hasName()) in get()
DSplitModule.cpp144 if (GV.hasLocalLinkage()) in findPartitions()
208 << ((*MI)->hasLocalLinkage() ? " l " : " e ") << "\n"); in findPartitions()
219 if (GV->hasLocalLinkage()) { in externalize()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DValueLatticeUtils.cpp21 return F->hasLocalLinkage() && !F->hasAddressTaken(); in canTrackArgumentsInterprocedurally()
29 if (GV->isConstant() || !GV->hasLocalLinkage() || in canTrackGlobalVariableInterprocedurally()
/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-7.0/llvm/lib/Target/NVPTX/
DNVPTXAssignValidGlobalNames.cpp56 if (GV.hasLocalLinkage()) { in runOnModule()
67 if (F.hasLocalLinkage()) 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DGlobalValue.h147 if (hasLocalLinkage() || in maybeSetDsoLocal()
239 assert((!hasLocalLinkage() || V == DefaultVisibility) && in setVisibility()
435 bool hasLocalLinkage() const { return isLocalLinkage(getLinkage()); } in hasLocalLinkage() function
/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/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()

12345678