/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | ConstantMerge.cpp | 81 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()
|
D | StripSymbols.cpp | 149 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()
|
D | ExtractGV.cpp | 63 if (I->hasLocalLinkage()) in runOnModule() 77 if (I->hasLocalLinkage()) in runOnModule()
|
D | GlobalDCE.cpp | 68 if (!I->hasLocalLinkage() && !I->hasLinkOnceLinkage() && in runOnModule() 78 if (!I->hasLocalLinkage() && !I->hasLinkOnceLinkage() && in runOnModule() 87 if (!I->hasLocalLinkage() && !I->hasLinkOnceLinkage()) in runOnModule()
|
D | Internalize.cpp | 131 !I->hasLocalLinkage() && // Can't already have internal linkage in runOnModule() 159 if (!I->isDeclaration() && !I->hasLocalLinkage() && in runOnModule()
|
/external/llvm/lib/Transforms/IPO/ |
D | ConstantMerge.cpp | 54 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()
|
D | StripSymbols.cpp | 148 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()
|
D | Internalize.cpp | 106 if (GV.hasLocalLinkage()) in shouldPreserveGV() 126 if (GV.hasLocalLinkage()) in maybeInternalize() 129 if (GV.hasLocalLinkage()) in maybeInternalize()
|
D | Inliner.cpp | 236 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/ |
D | ConstantMerge.cpp | 61 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()
|
D | StripSymbols.cpp | 148 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()
|
D | Internalize.cpp | 106 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/ |
D | FunctionImportUtils.cpp | 45 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()
|
D | NameAnonGlobals.cpp | 42 if (F.isDeclaration() || F.hasLocalLinkage() || !F.hasName()) in get() 48 if (GV.isDeclaration() || GV.hasLocalLinkage() || !GV.hasName()) in get()
|
D | SplitModule.cpp | 144 if (GV.hasLocalLinkage()) in findPartitions() 208 << ((*MI)->hasLocalLinkage() ? " l " : " e ") << "\n"); in findPartitions() 219 if (GV->hasLocalLinkage()) { in externalize()
|
/external/llvm/lib/Transforms/Utils/ |
D | FunctionImportUtils.cpp | 53 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()
|
D | NameAnonFunctions.cpp | 39 if (F.isDeclaration() || F.hasLocalLinkage() || !F.hasName()) in get() 45 if (GV.isDeclaration() || GV.hasLocalLinkage() || !GV.hasName()) in get()
|
D | SplitModule.cpp | 124 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/ |
D | ValueLatticeUtils.cpp | 21 return F->hasLocalLinkage() && !F->hasAddressTaken(); in canTrackArgumentsInterprocedurally() 29 if (GV->isConstant() || !GV->hasLocalLinkage() || in canTrackGlobalVariableInterprocedurally()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUAlwaysInlinePass.cpp | 41 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/ |
D | NVPTXAssignValidGlobalNames.cpp | 56 if (GV.hasLocalLinkage()) { in runOnModule() 67 if (F.hasLocalLinkage()) in runOnModule()
|
/external/swiftshader/third_party/LLVM/lib/Linker/ |
D | LinkArchives.cpp | 52 else if (!I->hasLocalLinkage()) { in GetAllUndefinedSymbols() 64 else if (!I->hasLocalLinkage()) { in GetAllUndefinedSymbols()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | GlobalValue.h | 147 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/ |
D | HexagonTargetObjectFile.cpp | 111 << (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/ |
D | TargetLoweringObjectFileImpl.cpp | 334 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()
|