/external/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() 179 if (!GV->hasLocalLinkage()) in runOnModule() 221 assert(Replacements[i].first->hasLocalLinkage() && in runOnModule()
|
D | StripSymbols.cpp | 150 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()
|
D | Internalize.cpp | 126 !I->hasLocalLinkage() && // Can't already have internal linkage in runOnModule() 156 if (!I->isDeclaration() && !I->hasLocalLinkage() && in runOnModule()
|
D | Inliner.cpp | 301 if (Caller->hasLocalLinkage() || in shouldInline() 307 bool callerWillBeRemoved = Caller->hasLocalLinkage(); in shouldInline() 507 if (Callee && Callee->use_empty() && Callee->hasLocalLinkage() && in runOnSCC()
|
D | IPConstantPropagation.cpp | 67 if (I->hasLocalLinkage()) in runOnModule()
|
D | DeadArgumentElimination.cpp | 227 if (Fn.isDeclaration() || !Fn.hasLocalLinkage()) return false; in DeleteDeadVarargs() 347 if (Fn.hasLocalLinkage()) in RemoveDeadArgumentsFromCallers() 531 if (!F.hasLocalLinkage() && (!ShouldHackArguments() || F.isIntrinsic())) { in SurveyFunction()
|
D | MergeFunctions.cpp | 698 if (G->hasExternalLinkage() || G->hasLocalLinkage() || in writeThunkOrAlias() 718 if (G->hasLocalLinkage() && G->use_empty()) { in writeThunk()
|
D | GlobalOpt.cpp | 668 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/ |
D | AArch64Subtarget.cpp | 42 return !GV->hasLocalLinkage() && !GV->hasHiddenVisibility(); in GVIsIndirectSymbol()
|
/external/llvm/lib/Archive/ |
D | Archive.cpp | 200 if (!GI->isDeclaration() && !GI->hasLocalLinkage()) in getSymbols() 206 if (!FI->isDeclaration() && !FI->hasLocalLinkage()) in getSymbols()
|
/external/llvm/lib/CodeGen/ |
D | TargetLoweringObjectFileImpl.cpp | 108 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/ |
D | GlobalsModRef.cpp | 206 if (I->hasLocalLinkage()) { in AnalyzeGlobals() 217 if (I->hasLocalLinkage()) { in AnalyzeGlobals() 553 if (GV->hasLocalLinkage()) in getModRefInfo()
|
D | CallGraph.cpp | 118 if (!F->hasLocalLinkage()) { in addToCallGraph()
|
/external/llvm/lib/IR/ |
D | Module.cpp | 153 if (F->hasLocalLinkage()) { in getOrInsertFunction() 257 if (AllowLocal || !Result->hasLocalLinkage()) in getGlobalVariable()
|
/external/llvm/lib/Target/X86/ |
D | X86Subtarget.cpp | 86 if (!GV->hasLocalLinkage() && GV->hasDefaultVisibility()) in ClassifyGlobalReference() 95 if (GV->hasLocalLinkage() || GV->hasHiddenVisibility()) in ClassifyGlobalReference()
|
/external/llvm/lib/Target/ |
D | TargetMachine.cpp | 131 bool isLocal = Var->hasLocalLinkage(); in getTLSModel()
|
D | TargetLoweringObjectFile.cpp | 142 if (GVar->hasLocalLinkage()) in getKindForGlobal()
|
/external/llvm/lib/Linker/ |
D | LinkModules.cpp | 407 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/ |
D | ARMSubtarget.cpp | 182 if (GV->hasLocalLinkage() || GV->hasHiddenVisibility()) in GVIsIndirectSymbol()
|
/external/llvm/include/llvm/IR/ |
D | GlobalValue.h | 220 bool hasLocalLinkage() const { return isLocalLinkage(Linkage); } in hasLocalLinkage() function
|
/external/llvm/lib/Transforms/Scalar/ |
D | GlobalMerge.cpp | 251 if (!I->hasLocalLinkage() || I->isThreadLocal() || I->hasSection()) in doInitialization()
|
D | SCCP.cpp | 1712 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/ |
D | ExtractFunction.cpp | 231 if (!GV || GV->isDeclaration() || GV->hasLocalLinkage() || in SplitStaticCtorDtor()
|
/external/llvm/lib/Analysis/ |
D | TargetTransformInfo.cpp | 421 if (F->hasLocalLinkage() || !F->hasName()) in isLoweredToCall()
|
/external/llvm/tools/llvm-nm/ |
D | llvm-nm.cpp | 280 if (GV.hasLocalLinkage () && ExternalOnly) in DumpSymbolNameForGlobalValue()
|