Home
last modified time | relevance | path

Searched refs:getLinkage (Results 1 – 25 of 47) 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()
/external/llvm/lib/Transforms/Utils/
DCloneModule.cpp49 I->isConstant(), I->getLinkage(), in CloneModule()
62 I->getLinkage(), I->getName(), New); in CloneModule()
70 GlobalAlias *GA = new GlobalAlias(I->getType(), I->getLinkage(), in CloneModule()
DCloneFunction.cpp179 Function *NewF = Function::Create(FTy, F->getLinkage(), F->getName()); in CloneFunction()
/external/llvm/lib/Linker/
DLinkModules.cpp507 LT = Src->getLinkage(); in getLinkageResult()
512 LT = Src->getLinkage(); in getLinkageResult()
515 LT = Dest->getLinkage(); in getLinkageResult()
520 LT = Src->getLinkage(); in getLinkageResult()
529 LT = Src->getLinkage(); in getLinkageResult()
532 LT = Dest->getLinkage(); in getLinkageResult()
538 LT = Dest->getLinkage(); in getLinkageResult()
681 DstGV->getLinkage(), /*init*/0, /*name*/"", DstGV, in linkAppendingVarProto()
755 SGV->isConstant(), SGV->getLinkage(), /*init*/0, in linkGlobalProto()
807 SF->getLinkage(), SF->getName(), DstM); in linkFunctionProto()
[all …]
/external/clang/lib/AST/
DDecl.cpp508 if (isExternalLinkage(PrevVar->getLinkage())) in getLVForNamespaceScopeDecl()
625 if (TypeLV.getLinkage() != ExternalLinkage) in getLVForNamespaceScopeDecl()
658 Function->getType()->getLinkage() == UniqueExternalLinkage) in getLVForNamespaceScopeDecl()
692 if (!isExternalLinkage(EnumLV.getLinkage())) in getLVForNamespaceScopeDecl()
721 if (LV.getLinkage() != ExternalLinkage) in getLVForNamespaceScopeDecl()
722 return LinkageInfo(LV.getLinkage(), DefaultVisibility, false); in getLVForNamespaceScopeDecl()
763 if (!isExternalLinkage(classLV.getLinkage())) in getLVForClassMember()
767 if (classLV.getLinkage() == UniqueExternalLinkage) in getLVForClassMember()
779 if (MD->getType()->getLinkage() == UniqueExternalLinkage) in getLVForClassMember()
867 return getLVForDecl(this, LVForExplicitValue).getLinkage() == in isLinkageValid()
[all …]
DType.cpp2030 Linkage getLinkage() const { return L; } in getLinkage() function in __anonc62f8e7b0211::CachedProperties
2055 return CachedProperties(T->TypeBits.getLinkage(), in get()
2077 T->TypeBits.CachedLinkage = Result.getLinkage(); in ensure()
2118 Linkage L = Tag->getLinkage(); in computeCachedProperties()
2160 Linkage L = cast<ObjCInterfaceType>(T)->getDecl()->getLinkage(); in computeCachedProperties()
2175 Linkage Type::getLinkage() const { in getLinkage() function in Type
2177 return TypeBits.getLinkage(); in getLinkage()
2262 return computeLinkageInfo(getCanonicalTypeInternal()).getLinkage() == in isLinkageValid()
2263 TypeBits.getLinkage(); in isLinkageValid()
2271 assert(LV.getLinkage() == getLinkage()); in getLinkageAndVisibility()
/external/clang/lib/StaticAnalyzer/Core/
DCheckerContext.cpp71 if (!FD->isInlined() && FD->getLinkage() != ExternalLinkage) in isCLibraryFunction()
/external/clang/lib/CodeGen/
DCodeGenTBAA.cpp153 ETy->getDecl()->getLinkage() != ExternalLinkage) in getTBAAInfo()
DCGDeclCXX.cpp372 if (Addr->getLinkage() == llvm::GlobalValue::WeakODRLinkage || in GenerateCXXGlobalVarDeclInitFunc()
373 Addr->getLinkage() == llvm::GlobalValue::WeakAnyLinkage) { in GenerateCXXGlobalVarDeclInitFunc()
DCGVTables.cpp114 if ((Fn->getLinkage() != llvm::GlobalVariable::LinkOnceODRLinkage && in setThunkVisibility()
115 Fn->getLinkage() != llvm::GlobalVariable::WeakODRLinkage) || in setThunkVisibility()
722 if (RD->getLinkage() != ExternalLinkage) in getVTableLinkage()
DCGDecl.cpp126 if (llvm::GlobalValue::isWeakForLinker(CurFn->getLinkage())) in EmitVarDecl()
127 Linkage = CurFn->getLinkage(); in EmitVarDecl()
247 OldGV->getLinkage(), Init, "", in AddInitializerToStaticVarDecl()
DCGRTTI.cpp333 switch (Ty->getLinkage()) { in getTypeInfoLinkage()
DCodeGenModule.cpp347 if (GV->getLinkage() != llvm::GlobalVariable::LinkOnceODRLinkage || in setTypeVisibility()
703 if (LV.getLinkage() == ExternalLinkage && LV.isVisibilityExplicit()) { in SetFunctionAttributes()
1448 if (LV.getLinkage() != ExternalLinkage) { in GetOrCreateLLVMGlobal()
/external/llvm/include/llvm/IR/
DGlobalValue.h227 LinkageTypes getLinkage() const { return Linkage; } in getLinkage() function
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp723 Function *NewG = Function::Create(G->getFunctionType(), G->getLinkage(), "", in writeThunk()
759 GlobalAlias *GA = new GlobalAlias(G->getType(), G->getLinkage(), "", in writeAlias()
779 Function *H = Function::Create(F->getFunctionType(), F->getLinkage(), "", in mergeTwoFunctions()
DInliner.cpp302 Caller->getLinkage() == GlobalValue::LinkOnceODRLinkage) { in shouldInline()
DDeadArgumentElimination.cpp257 Function *NF = Function::Create(NFTy, Fn.getLinkage()); in DeleteDeadVarargs()
822 Function *NF = Function::Create(NFTy, F->getLinkage()); in RemoveDeadStuffFromFunction()
DArgumentPromotion.cpp606 Function *NF = Function::Create(NFTy, F->getLinkage(), F->getName()); in DoPromotion()
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp789 if (G->getLinkage() != GlobalVariable::ExternalLinkage && in ShouldInstrumentGlobal()
790 G->getLinkage() != GlobalVariable::PrivateLinkage && in ShouldInstrumentGlobal()
791 G->getLinkage() != GlobalVariable::InternalLinkage) in ShouldInstrumentGlobal()
944 M, NewTy, G->isConstant(), G->getLinkage(), in runOnModule()
1102 if (F.getLinkage() == GlobalValue::AvailableExternallyLinkage) return false; in runOnFunction()
/external/llvm/lib/Target/XCore/
DXCoreAsmPrinter.cpp127 switch (GV->getLinkage()) { in EmitGlobalVariable()
/external/llvm/lib/IR/
DAutoUpgrade.cpp65 NewFn = Function::Create(fType, F->getLinkage(), in UpgradeIntrinsicFunction1()
DAsmWriter.cpp1502 PrintLinkage(GV->getLinkage(), Out); in printGlobal()
1544 PrintLinkage(GA->getLinkage(), Out); in printAlias()
1613 PrintLinkage(F->getLinkage(), Out); in printFunction()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp385 EmitLinkage(GV->getLinkage(), GVSym); in EmitGlobalVariable()
404 EmitLinkage(GV->getLinkage(), GVSym); in EmitGlobalVariable()
430 EmitLinkage(F->getLinkage(), CurrentFnSym); in EmitFunctionHeader()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp1760 return (FuncX->getLinkage() == FuncY->getLinkage()) && in isSameEntity()
1767 return (VarX->getLinkage() == VarY->getLinkage()) && in isSameEntity()
/external/clang/tools/libclang/
DCIndexUSRs.cpp154 return D->getLinkage() != ExternalLinkage; in ShouldGenerateLocation()

12