/external/llvm/lib/Transforms/IPO/ |
D | ConstantMerge.cpp | 82 if (!A.hasLocalLinkage() && B.hasLocalLinkage()) in IsBetterCanonical() 85 if (A.hasLocalLinkage() && !B.hasLocalLinkage()) in IsBetterCanonical() 126 if (GV->use_empty() && GV->hasLocalLinkage()) { in runOnModule() 173 if (!GV->hasLocalLinkage()) in runOnModule() 214 assert(Replacements[i].first->hasLocalLinkage() && in runOnModule()
|
D | StripSymbols.cpp | 149 if (!GV->hasLocalLinkage()) return; // Don't delete non-static globals. in RemoveDeadConstant() 167 if (!isa<GlobalValue>(V) || cast<GlobalValue>(V)->hasLocalLinkage()) { in StripSymtab() 214 if (I->hasLocalLinkage() && llvmUsedValues.count(&*I) == 0) in StripSymbolNames() 220 if (I->hasLocalLinkage() && llvmUsedValues.count(&*I) == 0) in StripSymbolNames() 273 if (GV->hasLocalLinkage()) in runOnModule()
|
D | Internalize.cpp | 127 if (!GV.hasLocalLinkage() && ExternalNames.count(GV.getName())) in isExternallyVisible() 145 if (GV.hasLocalLinkage()) in maybeInternalize() 148 if (GV.hasLocalLinkage()) in maybeInternalize()
|
D | Inliner.cpp | 393 if (Caller->hasLocalLinkage() || Caller->hasLinkOnceODRLinkage()) { in shouldInline() 398 bool callerWillBeRemoved = Caller->hasLocalLinkage(); in shouldInline() 624 if (Callee && Callee->use_empty() && Callee->hasLocalLinkage() && in runOnSCC() 714 if (!F->hasLocalLinkage()) { in removeDeadFunctions()
|
D | ExtractGV.cpp | 29 bool Local = GV.hasLocalLinkage(); in makeVisible()
|
D | GlobalOpt.cpp | 479 assert(GV->hasLocalLinkage() && !GV->isConstant()); in SRAGlobal() 1708 if (!GV->hasLocalLinkage()) in ProcessGlobal() 2041 if (!F->hasName() && !F->isDeclaration() && !F->hasLocalLinkage()) in OptimizeFunctions() 2047 if ((!inComdat || F->hasLocalLinkage()) && F->isDefTriviallyDead()) { in OptimizeFunctions() 2051 } else if (F->hasLocalLinkage()) { in OptimizeFunctions() 2083 if (!GV->hasName() && !GV->isDeclaration() && !GV->hasLocalLinkage()) in OptimizeGlobalVars() 2096 if (NotDiscardableComdats.count(C) && !GV->hasLocalLinkage()) in OptimizeGlobalVars() 2958 if (!GA.hasLocalLinkage()) in mayHaveOtherReferences() 2983 if (!Target->hasLocalLinkage()) in hasUsesToReplace() 3007 if (!J->hasName() && !J->isDeclaration() && !J->hasLocalLinkage()) in OptimizeGlobalAliases()
|
D | IPConstantPropagation.cpp | 68 if (I->hasLocalLinkage()) in runOnModule()
|
/external/llvm/lib/Linker/ |
D | LinkModules.cpp | 110 if (DGV->hasLocalLinkage()) in getLinkedToGlobal() 200 assert(SGV->hasLocalLinkage()); in doPromoteLocalToGlobal() 229 if (SGV->hasLocalLinkage() && in getName() 243 if (SGV->hasLocalLinkage() && doPromoteLocalToGlobal(SGV)) in getLinkage() 575 if (DGV && !GV.hasLocalLinkage() && !GV.hasAppendingLinkage()) { in linkIfNeeded() 612 (GV.hasLocalLinkage() || GV.hasLinkOnceLinkage() || in linkIfNeeded() 649 if (!GV2->hasLocalLinkage() && shouldInternalizeLinkedSymbols()) in addLazyFor() 656 if (GV.hasLocalLinkage() && in processGlobalForThinLTO() 660 if (!GV.hasLocalLinkage()) in processGlobalForThinLTO()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUAlwaysInlinePass.cpp | 41 if (!F.hasLocalLinkage() && !F.isDeclaration() && !F.use_empty() && in runOnModule() 55 if (F.hasLocalLinkage() && !F.hasFnAttribute(Attribute::NoInline)) { in runOnModule()
|
/external/llvm/lib/Target/X86/ |
D | X86Subtarget.cpp | 87 if (!GV->hasLocalLinkage() && GV->hasDefaultVisibility()) in ClassifyGlobalReference() 96 if (GV->hasLocalLinkage() || GV->hasHiddenVisibility()) in ClassifyGlobalReference()
|
/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/llvm/lib/Target/SystemZ/ |
D | SystemZSubtarget.cpp | 53 return GV->hasLocalLinkage() || !GV->hasDefaultVisibility(); in bindsLocally()
|
/external/llvm/include/llvm/IR/ |
D | GlobalValue.h | 147 assert((!hasLocalLinkage() || V == DefaultVisibility) && in setVisibility() 282 bool hasLocalLinkage() const { return isLocalLinkage(Linkage); } in hasLocalLinkage() function
|
/external/llvm/include/llvm/ExecutionEngine/ |
D | JITSymbolFlags.h | 69 if (!GV.hasLocalLinkage() && !GV.hasHiddenVisibility()) in flagsFromGlobalValue()
|
/external/llvm/lib/Transforms/Utils/ |
D | SplitModule.cpp | 30 if (GV->hasLocalLinkage()) { in externalize()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64Subtarget.cpp | 97 return GV->hasLocalLinkage() ? AArch64II::MO_NO_FLAG : AArch64II::MO_GOT; in ClassifyGlobalReference()
|
/external/llvm/lib/Object/ |
D | IRObjectFile.cpp | 222 else if (GV->hasHiddenVisibility() && !GV->hasLocalLinkage()) in getSymbolFlags() 230 if (!GV->hasLocalLinkage()) in getSymbolFlags()
|
/external/llvm/lib/Target/Mips/ |
D | MipsTargetObjectFile.cpp | 101 if (!LocalSData && GV->hasLocalLinkage()) in IsGlobalInSmallSectionImpl()
|
/external/llvm/lib/Transforms/Scalar/ |
D | PartiallyInlineLibCalls.cpp | 81 if (CalledFunc->hasLocalLinkage() || !CalledFunc->hasName() || in runOnFunction()
|
/external/llvm/lib/Target/ |
D | TargetMachine.cpp | 110 bool isLocal = GV->hasLocalLinkage(); in getTLSModel()
|
D | TargetLoweringObjectFile.cpp | 157 if (GVar->hasLocalLinkage()) in getKindForGlobal()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCSubtarget.cpp | 232 if (!GV->hasLocalLinkage() && in classifyGlobalReference()
|
/external/llvm/lib/Analysis/ |
D | GlobalsModRef.cpp | 274 if (F.hasLocalLinkage()) in AnalyzeGlobals() 286 if (GV.hasLocalLinkage()) { in AnalyzeGlobals() 915 if (GV->hasLocalLinkage()) in getModRefInfo()
|
/external/llvm/lib/Target/ARM/ |
D | ARMSubtarget.cpp | 284 if (GV->hasLocalLinkage() || GV->hasHiddenVisibility()) in GVIsIndirectSymbol()
|