Home
last modified time | relevance | path

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

123

/external/llvm/lib/Transforms/IPO/
DConstantMerge.cpp82 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()
DStripSymbols.cpp149 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()
DInliner.cpp345 if (Caller->hasLocalLinkage() || Caller->hasLinkOnceODRLinkage()) { in shouldInline()
350 bool callerWillBeRemoved = Caller->hasLocalLinkage(); in shouldInline()
579 if (Callee && Callee->use_empty() && Callee->hasLocalLinkage() && in runOnSCC()
654 if (!F->hasLocalLinkage() && F->hasComdat()) in removeDeadFunctions()
DExtractGV.cpp29 bool Local = GV.hasLocalLinkage(); in makeVisible()
DInternalize.cpp123 if (GV.hasLocalLinkage()) in shouldInternalize()
DGlobalOpt.cpp477 assert(GV->hasLocalLinkage() && !GV->isConstant()); in SRAGlobal()
1708 if (!GV->hasLocalLinkage()) in ProcessGlobal()
1905 if (!F->hasName() && !F->isDeclaration() && !F->hasLocalLinkage()) in OptimizeFunctions()
1911 if ((!inComdat || F->hasLocalLinkage()) && F->isDefTriviallyDead()) { in OptimizeFunctions()
1915 } else if (F->hasLocalLinkage()) { in OptimizeFunctions()
1947 if (!GV->hasName() && !GV->isDeclaration() && !GV->hasLocalLinkage()) in OptimizeGlobalVars()
1960 if (NotDiscardableComdats.count(C) && !GV->hasLocalLinkage()) in OptimizeGlobalVars()
2821 if (!GA.hasLocalLinkage()) in mayHaveOtherReferences()
2846 if (!Target->hasLocalLinkage()) in hasUsesToReplace()
2870 if (!J->hasName() && !J->isDeclaration() && !J->hasLocalLinkage()) in OptimizeGlobalAliases()
DIPConstantPropagation.cpp68 if (I->hasLocalLinkage()) in runOnModule()
/external/llvm/lib/Target/R600/
DAMDGPUAlwaysInlinePass.cpp43 if (!F.hasLocalLinkage() && !F.isDeclaration() && !F.use_empty()) in runOnModule()
57 if (F.hasLocalLinkage()) { in runOnModule()
/external/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp98 if (New.hasLocalLinkage()) { in partition()
111 if (New.hasLocalLinkage()) { in partition()
/external/llvm/lib/Target/X86/
DX86Subtarget.cpp90 if (!GV->hasLocalLinkage() && GV->hasDefaultVisibility()) in ClassifyGlobalReference()
99 if (GV->hasLocalLinkage() || GV->hasHiddenVisibility()) in ClassifyGlobalReference()
/external/llvm/lib/Target/Sparc/
DSparcTargetObjectFile.cpp33 StubSym = MachineModuleInfoImpl::StubValueTy(Sym, !GV->hasLocalLinkage()); in getTTypeGlobalReference()
/external/llvm/lib/Target/NVPTX/
DNVPTXAssignValidGlobalNames.cpp55 if (GV.hasLocalLinkage()) { in runOnModule()
/external/llvm/include/llvm/IR/
DGlobalValue.h129 assert((!hasLocalLinkage() || V == DefaultVisibility) && in setVisibility()
264 bool hasLocalLinkage() const { return isLocalLinkage(Linkage); } in hasLocalLinkage() function
/external/llvm/lib/Target/SystemZ/
DSystemZSubtarget.cpp53 return GV->hasLocalLinkage() || !GV->hasDefaultVisibility(); in bindsLocally()
/external/llvm/include/llvm/ExecutionEngine/
DJITSymbolFlags.h69 if (!GV.hasLocalLinkage() && !GV.hasHiddenVisibility()) in flagsFromGlobalValue()
/external/llvm/lib/Target/AArch64/
DAArch64Subtarget.cpp94 return GV->hasLocalLinkage() ? AArch64II::MO_NO_FLAG : AArch64II::MO_GOT; in ClassifyGlobalReference()
/external/llvm/lib/Analysis/IPA/
DGlobalsModRef.cpp211 if (I->hasLocalLinkage()) { in AnalyzeGlobals()
222 if (I->hasLocalLinkage()) { in AnalyzeGlobals()
547 if (GV->hasLocalLinkage()) in getModRefInfo()
DCallGraph.cpp56 if (!F->hasLocalLinkage()) { in addToCallGraph()
/external/llvm/lib/Target/Mips/
DMipsTargetObjectFile.cpp101 if (!LocalSData && GV->hasLocalLinkage()) in IsGlobalInSmallSectionImpl()
/external/llvm/lib/Transforms/Scalar/
DPartiallyInlineLibCalls.cpp81 if (CalledFunc->hasLocalLinkage() || !CalledFunc->hasName() || in runOnFunction()
/external/llvm/lib/Target/
DTargetMachine.cpp110 bool isLocal = GV->hasLocalLinkage(); in getTLSModel()
DTargetLoweringObjectFile.cpp158 if (GVar->hasLocalLinkage()) in getKindForGlobal()
/external/llvm/include/llvm/Transforms/Utils/
DVectorUtils.h118 if (!F || F->hasLocalLinkage() || !TLI->getLibFunc(F->getName(), Func)) in getIntrinsicIDForCall()
/external/llvm/lib/Target/ARM/
DARMSubtarget.cpp294 if (GV->hasLocalLinkage() || GV->hasHiddenVisibility()) in GVIsIndirectSymbol()
/external/llvm/lib/CodeGen/
DTargetLoweringObjectFileImpl.cpp102 StubSym = MachineModuleInfoImpl::StubValueTy(Sym, !GV->hasLocalLinkage()); in getTTypeGlobalReference()
689 StubSym = MachineModuleInfoImpl::StubValueTy(Sym, !GV->hasLocalLinkage()); in getTTypeGlobalReference()
715 StubSym = MachineModuleInfoImpl::StubValueTy(Sym, !GV->hasLocalLinkage()); in getCFIPersonalitySymbol()

123