Home
last modified time | relevance | path

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

12

/external/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()
179 if (!GV->hasLocalLinkage()) in runOnModule()
221 assert(Replacements[i].first->hasLocalLinkage() && in runOnModule()
DStripSymbols.cpp150 if (!GV->hasLocalLinkage()) return; // Don't delete non static globals. in RemoveDeadConstant()
169 if (!isa<GlobalValue>(V) || cast<GlobalValue>(V)->hasLocalLinkage()) { in StripSymtab()
217 if (I->hasLocalLinkage() && llvmUsedValues.count(I) == 0) in StripSymbolNames()
223 if (I->hasLocalLinkage() && llvmUsedValues.count(I) == 0) in StripSymbolNames()
327 if (GV->hasLocalLinkage()) in runOnModule()
DInternalize.cpp126 !I->hasLocalLinkage() && // Can't already have internal linkage in runOnModule()
156 if (!I->isDeclaration() && !I->hasLocalLinkage() && in runOnModule()
DInliner.cpp301 if (Caller->hasLocalLinkage() || in shouldInline()
307 bool callerWillBeRemoved = Caller->hasLocalLinkage(); in shouldInline()
507 if (Callee && Callee->use_empty() && Callee->hasLocalLinkage() && in runOnSCC()
DIPConstantPropagation.cpp67 if (I->hasLocalLinkage()) in runOnModule()
DDeadArgumentElimination.cpp227 if (Fn.isDeclaration() || !Fn.hasLocalLinkage()) return false; in DeleteDeadVarargs()
347 if (Fn.hasLocalLinkage()) in RemoveDeadArgumentsFromCallers()
531 if (!F.hasLocalLinkage() && (!ShouldHackArguments() || F.isIntrinsic())) { in SurveyFunction()
DMergeFunctions.cpp698 if (G->hasExternalLinkage() || G->hasLocalLinkage() || in writeThunkOrAlias()
718 if (G->hasLocalLinkage() && G->use_empty()) { in writeThunk()
DGlobalOpt.cpp668 assert(GV->hasLocalLinkage() && !GV->isConstant()); in SRAGlobal()
1916 if (!GV->hasLocalLinkage()) in ProcessGlobal()
2108 } else if (F->hasLocalLinkage()) { in OptimizeFunctions()
3070 if (!J->hasLocalLinkage()) { in OptimizeGlobalAliases()
3077 if (!Target->hasLocalLinkage()) in OptimizeGlobalAliases()
/external/llvm/lib/Target/AArch64/
DAArch64Subtarget.cpp42 return !GV->hasLocalLinkage() && !GV->hasHiddenVisibility(); in GVIsIndirectSymbol()
/external/llvm/lib/Archive/
DArchive.cpp200 if (!GI->isDeclaration() && !GI->hasLocalLinkage()) in getSymbols()
206 if (!FI->isDeclaration() && !FI->hasLocalLinkage()) in getSymbols()
/external/llvm/lib/CodeGen/
DTargetLoweringObjectFileImpl.cpp108 StubSym = MachineModuleInfoImpl::StubValueTy(Sym, !GV->hasLocalLinkage()); in getTTypeGlobalReference()
613 if (GV->hasLocalLinkage() && !isa<Function>(GV)) { in shouldEmitUsedDirectiveFor()
647 StubSym = MachineModuleInfoImpl::StubValueTy(Sym, !GV->hasLocalLinkage()); in getTTypeGlobalReference()
676 StubSym = MachineModuleInfoImpl::StubValueTy(Sym, !GV->hasLocalLinkage()); in getCFIPersonalitySymbol()
/external/llvm/lib/Analysis/IPA/
DGlobalsModRef.cpp206 if (I->hasLocalLinkage()) { in AnalyzeGlobals()
217 if (I->hasLocalLinkage()) { in AnalyzeGlobals()
553 if (GV->hasLocalLinkage()) in getModRefInfo()
DCallGraph.cpp118 if (!F->hasLocalLinkage()) { in addToCallGraph()
/external/llvm/lib/IR/
DModule.cpp153 if (F->hasLocalLinkage()) { in getOrInsertFunction()
257 if (AllowLocal || !Result->hasLocalLinkage()) in getGlobalVariable()
/external/llvm/lib/Target/X86/
DX86Subtarget.cpp86 if (!GV->hasLocalLinkage() && GV->hasDefaultVisibility()) in ClassifyGlobalReference()
95 if (GV->hasLocalLinkage() || GV->hasHiddenVisibility()) in ClassifyGlobalReference()
/external/llvm/lib/Target/
DTargetMachine.cpp131 bool isLocal = Var->hasLocalLinkage(); in getTLSModel()
DTargetLoweringObjectFile.cpp142 if (GVar->hasLocalLinkage()) in getKindForGlobal()
/external/llvm/lib/Linker/
DLinkModules.cpp407 if (!SrcGV->hasName() || SrcGV->hasLocalLinkage()) in getLinkedToGlobal()
416 if (DGV->hasLocalLinkage()) in getLinkedToGlobal()
445 if (GV->hasLocalLinkage() || GV->getName() == Name) in forceRenaming()
494 assert(!Src->hasLocalLinkage() && in getLinkageResult()
818 if (SF->hasLocalLinkage() || SF->hasLinkOnceLinkage() || in linkFunctionProto()
/external/llvm/lib/Target/ARM/
DARMSubtarget.cpp182 if (GV->hasLocalLinkage() || GV->hasHiddenVisibility()) in GVIsIndirectSymbol()
/external/llvm/include/llvm/IR/
DGlobalValue.h220 bool hasLocalLinkage() const { return isLocalLinkage(Linkage); } in hasLocalLinkage() function
/external/llvm/lib/Transforms/Scalar/
DGlobalMerge.cpp251 if (!I->hasLocalLinkage() || I->isThreadLocal() || I->hasSection()) in doInitialization()
DSCCP.cpp1712 if (F->hasLocalLinkage()) { in runOnModule()
1735 if (!G->isConstant() && G->hasLocalLinkage() && !AddressIsTaken(G)) in runOnModule()
1903 if (!F->hasLocalLinkage() || AddressTakenFunctions.count(F)) in runOnModule()
/external/llvm/tools/bugpoint/
DExtractFunction.cpp231 if (!GV || GV->isDeclaration() || GV->hasLocalLinkage() || in SplitStaticCtorDtor()
/external/llvm/lib/Analysis/
DTargetTransformInfo.cpp421 if (F->hasLocalLinkage() || !F->hasName()) in isLoweredToCall()
/external/llvm/tools/llvm-nm/
Dllvm-nm.cpp280 if (GV.hasLocalLinkage () && ExternalOnly) in DumpSymbolNameForGlobalValue()

12