/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/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 | ExtractGV.cpp | 63 if (I->hasLocalLinkage()) in runOnModule() 77 if (I->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 | 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()
|
D | Inliner.cpp | 251 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/ |
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/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/lib/Linker/ |
D | LinkArchives.cpp | 52 else if (!I->hasLocalLinkage()) { in GetAllUndefinedSymbols() 64 else if (!I->hasLocalLinkage()) { in GetAllUndefinedSymbols()
|
/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/Target/SystemZ/ |
D | SystemZSubtarget.cpp | 47 if (GV->hasLocalLinkage() || GV->hasHiddenVisibility()) in GVRequiresExtraLoad()
|
/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()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXAssignValidGlobalNames.cpp | 55 if (GV.hasLocalLinkage()) { in runOnModule()
|
/external/llvm/lib/Target/Sparc/ |
D | SparcTargetObjectFile.cpp | 33 StubSym = MachineModuleInfoImpl::StubValueTy(Sym, !GV->hasLocalLinkage()); in getTTypeGlobalReference()
|
/external/swiftshader/third_party/LLVM/lib/Archive/ |
D | Archive.cpp | 199 if (!GI->isDeclaration() && !GI->hasLocalLinkage()) in getSymbols() 205 if (!FI->isDeclaration() && !FI->hasLocalLinkage()) in getSymbols()
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86Subtarget.cpp | 85 if (!GV->hasLocalLinkage() && GV->hasDefaultVisibility()) in ClassifyGlobalReference() 94 if (GV->hasLocalLinkage() || GV->hasHiddenVisibility()) in ClassifyGlobalReference()
|
/external/llvm/include/llvm/ExecutionEngine/ |
D | JITSymbolFlags.h | 70 if (!GV.hasLocalLinkage() && !GV.hasHiddenVisibility()) in flagsFromGlobalValue()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | GlobalValue.h | 219 assert((!hasLocalLinkage() || V == DefaultVisibility) && in setVisibility() 408 bool hasLocalLinkage() const { return isLocalLinkage(getLinkage()); } in hasLocalLinkage() function
|
/external/llvm/include/llvm/IR/ |
D | GlobalValue.h | 202 assert((!hasLocalLinkage() || V == DefaultVisibility) && in setVisibility() 391 bool hasLocalLinkage() const { return isLocalLinkage(getLinkage()); } in hasLocalLinkage() function
|