/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 | Inliner.cpp | 345 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()
|
D | ExtractGV.cpp | 29 bool Local = GV.hasLocalLinkage(); in makeVisible()
|
D | Internalize.cpp | 123 if (GV.hasLocalLinkage()) in shouldInternalize()
|
D | GlobalOpt.cpp | 477 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()
|
D | IPConstantPropagation.cpp | 68 if (I->hasLocalLinkage()) in runOnModule()
|
/external/llvm/lib/Target/R600/ |
D | AMDGPUAlwaysInlinePass.cpp | 43 if (!F.hasLocalLinkage() && !F.isDeclaration() && !F.use_empty()) in runOnModule() 57 if (F.hasLocalLinkage()) { in runOnModule()
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | IndirectionUtils.cpp | 98 if (New.hasLocalLinkage()) { in partition() 111 if (New.hasLocalLinkage()) { in partition()
|
/external/llvm/lib/Target/X86/ |
D | X86Subtarget.cpp | 90 if (!GV->hasLocalLinkage() && GV->hasDefaultVisibility()) in ClassifyGlobalReference() 99 if (GV->hasLocalLinkage() || GV->hasHiddenVisibility()) in ClassifyGlobalReference()
|
/external/llvm/lib/Target/Sparc/ |
D | SparcTargetObjectFile.cpp | 33 StubSym = MachineModuleInfoImpl::StubValueTy(Sym, !GV->hasLocalLinkage()); in getTTypeGlobalReference()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXAssignValidGlobalNames.cpp | 55 if (GV.hasLocalLinkage()) { in runOnModule()
|
/external/llvm/include/llvm/IR/ |
D | GlobalValue.h | 129 assert((!hasLocalLinkage() || V == DefaultVisibility) && in setVisibility() 264 bool hasLocalLinkage() const { return isLocalLinkage(Linkage); } in hasLocalLinkage() function
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZSubtarget.cpp | 53 return GV->hasLocalLinkage() || !GV->hasDefaultVisibility(); in bindsLocally()
|
/external/llvm/include/llvm/ExecutionEngine/ |
D | JITSymbolFlags.h | 69 if (!GV.hasLocalLinkage() && !GV.hasHiddenVisibility()) in flagsFromGlobalValue()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64Subtarget.cpp | 94 return GV->hasLocalLinkage() ? AArch64II::MO_NO_FLAG : AArch64II::MO_GOT; in ClassifyGlobalReference()
|
/external/llvm/lib/Analysis/IPA/ |
D | GlobalsModRef.cpp | 211 if (I->hasLocalLinkage()) { in AnalyzeGlobals() 222 if (I->hasLocalLinkage()) { in AnalyzeGlobals() 547 if (GV->hasLocalLinkage()) in getModRefInfo()
|
D | CallGraph.cpp | 56 if (!F->hasLocalLinkage()) { in addToCallGraph()
|
/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 | 158 if (GVar->hasLocalLinkage()) in getKindForGlobal()
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | VectorUtils.h | 118 if (!F || F->hasLocalLinkage() || !TLI->getLibFunc(F->getName(), Func)) in getIntrinsicIDForCall()
|
/external/llvm/lib/Target/ARM/ |
D | ARMSubtarget.cpp | 294 if (GV->hasLocalLinkage() || GV->hasHiddenVisibility()) in GVIsIndirectSymbol()
|
/external/llvm/lib/CodeGen/ |
D | TargetLoweringObjectFileImpl.cpp | 102 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()
|