Home
last modified time | relevance | path

Searched refs:getLinkage (Results 1 – 25 of 46) sorted by relevance

12

/external/clang/include/clang/Basic/
DVisibility.h62 assert(getLinkage() == L && getVisibility() == V && in LinkageInfo()
79 Linkage getLinkage() const { return (Linkage)linkage_; } in getLinkage() function
86 setLinkage(minLinkage(getLinkage(), L)); in mergeLinkage()
89 mergeLinkage(other.getLinkage()); in mergeLinkage()
93 Linkage ThisL = getLinkage(); in mergeExternalVisibility()
103 mergeExternalVisibility(Other.getLinkage()); in mergeExternalVisibility()
/external/llvm/lib/Linker/
DLinkModules.cpp100 if (!SrcGV->hasName() || GlobalValue::isLocalLinkage(getLinkage(SrcGV))) in getLinkedToGlobal()
143 GlobalValue::LinkageTypes getLinkage(const GlobalValue *SGV);
237 GlobalValue::LinkageTypes ModuleLinker::getLinkage(const GlobalValue *SGV) { in getLinkage() function in ModuleLinker
245 return SGV->getLinkage(); in getLinkage()
250 return SGV->getLinkage(); in getLinkage()
252 switch (SGV->getLinkage()) { in getLinkage()
261 return SGV->getLinkage(); in getLinkage()
269 return SGV->getLinkage(); in getLinkage()
275 return SGV->getLinkage(); in getLinkage()
317 return SGV->getLinkage(); in getLinkage()
[all …]
/external/llvm/lib/Transforms/Utils/
DCloneModule.cpp57 I->isConstant(), I->getLinkage(), in CloneModule()
70 I->getLinkage(), I->getName(), New.get()); in CloneModule()
101 I->getLinkage(), I->getName(), New.get()); in CloneModule()
DCtorUtils.cpp51 new GlobalVariable(CA->getType(), GCL->isConstant(), GCL->getLinkage(), in removeGlobalCtors()
/external/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp120 F.getLinkage(), F.getName(), &Dst); in cloneFunctionDecl()
158 GV.getLinkage(), nullptr, GV.getName(), nullptr, in cloneGlobalVariableDecl()
189 OrigA.getLinkage(), OrigA.getName(), &Dst); in cloneGlobalAliasDecl()
/external/clang/lib/AST/
DDecl.cpp234 return LinkageInfo(T.getLinkage(), DefaultVisibility, true); in getLVForType()
720 if (TypeLV.getLinkage() != ExternalLinkage) in getLVForNamespaceScopeDecl()
770 if (TypeAsWritten->getLinkage() == UniqueExternalLinkage) in getLVForNamespaceScopeDecl()
804 if (!isExternalFormalLinkage(EnumLV.getLinkage())) in getLVForNamespaceScopeDecl()
839 if (LV.getLinkage() != ExternalLinkage) in getLVForNamespaceScopeDecl()
840 return LinkageInfo(LV.getLinkage(), DefaultVisibility, false); in getLVForNamespaceScopeDecl()
890 if (classLV.getLinkage() == UniqueExternalLinkage) in getLVForClassMember()
893 if (!isExternallyVisible(classLV.getLinkage())) in getLVForClassMember()
917 if (TypeAsWritten->getLinkage() == UniqueExternalLinkage) in getLVForClassMember()
1010 return computeLVForDecl(this, LVForLinkageOnly).getLinkage() == in isLinkageValid()
[all …]
DType.cpp3221 Linkage getLinkage() const { return L; } in getLinkage() function in __anon319b3f550511::CachedProperties
3246 return CachedProperties(T->TypeBits.getLinkage(), in get()
3268 T->TypeBits.CachedLinkage = Result.getLinkage(); in ensure()
3370 Linkage Type::getLinkage() const { in getLinkage() function in Type
3372 return TypeBits.getLinkage(); in getLinkage()
3459 return computeLinkageInfo(getCanonicalTypeInternal()).getLinkage() == in isLinkageValid()
3460 TypeBits.getLinkage(); in isLinkageValid()
3468 assert(LV.getLinkage() == getLinkage()); in getLinkageAndVisibility()
/external/llvm/lib/ProfileData/
DInstrProf.cpp101 return getPGOFuncName(F.getName(), F.getLinkage(), F.getParent()->getName(), in getPGOFuncName()
155 if (!GlobalValue::isLocalLinkage(FuncNameVar->getLinkage())) in createPGOFuncNameVar()
162 return createPGOFuncNameVar(*F.getParent(), F.getLinkage(), FuncName); in createPGOFuncNameVar()
/external/llvm/lib/Transforms/IPO/
DExtractGV.cpp43 switch(GV.getLinkage()) { in makeVisible()
DDeadArgumentElimination.cpp230 Function *NF = Function::Create(NFTy, Fn.getLinkage()); in DeleteDeadVarargs()
879 Function *NF = Function::Create(NFTy, F->getLinkage()); in RemoveDeadStuffFromFunction()
DLowerBitSets.cpp584 Globals[I]->getLinkage(), "", in buildBitSetsFromGlobalVariables()
822 Functions[I]->getLinkage(), "", in buildBitSetsFromFunctions()
DMergeFunctions.cpp1688 Function *NewG = Function::Create(G->getFunctionType(), G->getLinkage(), "", in writeThunk()
1723 auto *GA = GlobalAlias::create(G->getLinkage(), "", F); in writeAlias()
1741 Function *H = Function::Create(F->getFunctionType(), F->getLinkage(), "", in mergeTwoFunctions()
/external/llvm/lib/CodeGen/
DLowerEmuTLS.cpp45 to->setLinkage(from->getLinkage()); in copyLinkageVisibility()
DGlobalMerge.cpp445 GlobalValue::LinkageTypes Linkage = Globals[k]->getLinkage(); in doMerge()
/external/llvm/lib/Target/XCore/
DXCoreTargetObjectFile.cpp116 bool UseCPRel = GV->isLocalLinkage(GV->getLinkage()); in SelectSectionForGlobal()
DXCoreLowerThreadLocal.cpp198 new GlobalVariable(*M, NewType, GV->isConstant(), GV->getLinkage(), in lowerGlobal()
DXCoreAsmPrinter.cpp129 switch (GV->getLinkage()) { in EmitGlobalVariable()
/external/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp323 new GlobalVariable(*M, CounterTy, false, NamePtr->getLinkage(), in getOrCreateRegionCounters()
353 auto *Data = new GlobalVariable(*M, DataTy, false, NamePtr->getLinkage(), in getOrCreateRegionCounters()
DAddressSanitizer.cpp1197 if (G->getLinkage() != GlobalVariable::ExternalLinkage && in ShouldInstrumentGlobal()
1198 G->getLinkage() != GlobalVariable::PrivateLinkage && in ShouldInstrumentGlobal()
1199 G->getLinkage() != GlobalVariable::InternalLinkage) in ShouldInstrumentGlobal()
1361 GlobalValue::LinkageTypes Linkage = G->getLinkage(); in InstrumentGlobals()
1581 if (F.getLinkage() == GlobalValue::AvailableExternallyLinkage) return false; in runOnFunction()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUAsmPrinter.cpp117 switch (GV->getLinkage()) { in isModuleLinkage()
134 if (GV->isDeclaration() || GV->getLinkage() == GlobalValue::PrivateLinkage) { in EmitGlobalVariable()
DAMDGPUOpenCLImageTypeLoweringPass.cpp291 auto NewF = Function::Create(NewFT, F->getLinkage(), F->getName()); in addImplicitArgs()
/external/llvm/include/llvm/IR/
DGlobalValue.h291 LinkageTypes getLinkage() const { return Linkage; } in getLinkage() function
/external/llvm/lib/IR/
DGlobals.cpp266 return create(Aliasee->getLinkage(), Name, Aliasee); in create()
DAutoUpgrade.cpp87 NewFn = Function::Create(fType, F->getLinkage(), in UpgradeIntrinsicFunction1()
103 NewFn = Function::Create(fType, F->getLinkage(), in UpgradeIntrinsicFunction1()
/external/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp90 GV->getLinkage(), in runOnModule()

12