/external/clang/include/clang/Basic/ |
D | Visibility.h | 62 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/ |
D | CloneModule.cpp | 49 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()
|
D | CloneFunction.cpp | 179 Function *NewF = Function::Create(FTy, F->getLinkage(), F->getName()); in CloneFunction()
|
/external/llvm/lib/Linker/ |
D | LinkModules.cpp | 507 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/ |
D | Decl.cpp | 508 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 …]
|
D | Type.cpp | 2030 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/ |
D | CheckerContext.cpp | 71 if (!FD->isInlined() && FD->getLinkage() != ExternalLinkage) in isCLibraryFunction()
|
/external/clang/lib/CodeGen/ |
D | CodeGenTBAA.cpp | 153 ETy->getDecl()->getLinkage() != ExternalLinkage) in getTBAAInfo()
|
D | CGDeclCXX.cpp | 372 if (Addr->getLinkage() == llvm::GlobalValue::WeakODRLinkage || in GenerateCXXGlobalVarDeclInitFunc() 373 Addr->getLinkage() == llvm::GlobalValue::WeakAnyLinkage) { in GenerateCXXGlobalVarDeclInitFunc()
|
D | CGVTables.cpp | 114 if ((Fn->getLinkage() != llvm::GlobalVariable::LinkOnceODRLinkage && in setThunkVisibility() 115 Fn->getLinkage() != llvm::GlobalVariable::WeakODRLinkage) || in setThunkVisibility() 722 if (RD->getLinkage() != ExternalLinkage) in getVTableLinkage()
|
D | CGDecl.cpp | 126 if (llvm::GlobalValue::isWeakForLinker(CurFn->getLinkage())) in EmitVarDecl() 127 Linkage = CurFn->getLinkage(); in EmitVarDecl() 247 OldGV->getLinkage(), Init, "", in AddInitializerToStaticVarDecl()
|
D | CGRTTI.cpp | 333 switch (Ty->getLinkage()) { in getTypeInfoLinkage()
|
D | CodeGenModule.cpp | 347 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/ |
D | GlobalValue.h | 227 LinkageTypes getLinkage() const { return Linkage; } in getLinkage() function
|
/external/llvm/lib/Transforms/IPO/ |
D | MergeFunctions.cpp | 723 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()
|
D | Inliner.cpp | 302 Caller->getLinkage() == GlobalValue::LinkOnceODRLinkage) { in shouldInline()
|
D | DeadArgumentElimination.cpp | 257 Function *NF = Function::Create(NFTy, Fn.getLinkage()); in DeleteDeadVarargs() 822 Function *NF = Function::Create(NFTy, F->getLinkage()); in RemoveDeadStuffFromFunction()
|
D | ArgumentPromotion.cpp | 606 Function *NF = Function::Create(NFTy, F->getLinkage(), F->getName()); in DoPromotion()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | AddressSanitizer.cpp | 789 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/ |
D | XCoreAsmPrinter.cpp | 127 switch (GV->getLinkage()) { in EmitGlobalVariable()
|
/external/llvm/lib/IR/ |
D | AutoUpgrade.cpp | 65 NewFn = Function::Create(fType, F->getLinkage(), in UpgradeIntrinsicFunction1()
|
D | AsmWriter.cpp | 1502 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/ |
D | AsmPrinter.cpp | 385 EmitLinkage(GV->getLinkage(), GVSym); in EmitGlobalVariable() 404 EmitLinkage(GV->getLinkage(), GVSym); in EmitGlobalVariable() 430 EmitLinkage(F->getLinkage(), CurrentFnSym); in EmitFunctionHeader()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 1760 return (FuncX->getLinkage() == FuncY->getLinkage()) && in isSameEntity() 1767 return (VarX->getLinkage() == VarY->getLinkage()) && in isSameEntity()
|
/external/clang/tools/libclang/ |
D | CIndexUSRs.cpp | 154 return D->getLinkage() != ExternalLinkage; in ShouldGenerateLocation()
|