/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() 93 Linkage ThisL = getLinkage(); in mergeExternalVisibility() 103 mergeExternalVisibility(Other.getLinkage()); in mergeExternalVisibility()
|
/external/llvm/lib/Linker/ |
D | LinkModules.cpp | 100 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/ |
D | CloneModule.cpp | 57 I->isConstant(), I->getLinkage(), in CloneModule() 70 I->getLinkage(), I->getName(), New.get()); in CloneModule() 101 I->getLinkage(), I->getName(), New.get()); in CloneModule()
|
D | CtorUtils.cpp | 51 new GlobalVariable(CA->getType(), GCL->isConstant(), GCL->getLinkage(), in removeGlobalCtors()
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | IndirectionUtils.cpp | 120 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/ |
D | Decl.cpp | 234 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 …]
|
D | Type.cpp | 3221 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/ |
D | InstrProf.cpp | 101 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/ |
D | ExtractGV.cpp | 43 switch(GV.getLinkage()) { in makeVisible()
|
D | DeadArgumentElimination.cpp | 230 Function *NF = Function::Create(NFTy, Fn.getLinkage()); in DeleteDeadVarargs() 879 Function *NF = Function::Create(NFTy, F->getLinkage()); in RemoveDeadStuffFromFunction()
|
D | LowerBitSets.cpp | 584 Globals[I]->getLinkage(), "", in buildBitSetsFromGlobalVariables() 822 Functions[I]->getLinkage(), "", in buildBitSetsFromFunctions()
|
D | MergeFunctions.cpp | 1688 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/ |
D | LowerEmuTLS.cpp | 45 to->setLinkage(from->getLinkage()); in copyLinkageVisibility()
|
D | GlobalMerge.cpp | 445 GlobalValue::LinkageTypes Linkage = Globals[k]->getLinkage(); in doMerge()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreTargetObjectFile.cpp | 116 bool UseCPRel = GV->isLocalLinkage(GV->getLinkage()); in SelectSectionForGlobal()
|
D | XCoreLowerThreadLocal.cpp | 198 new GlobalVariable(*M, NewType, GV->isConstant(), GV->getLinkage(), in lowerGlobal()
|
D | XCoreAsmPrinter.cpp | 129 switch (GV->getLinkage()) { in EmitGlobalVariable()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | InstrProfiling.cpp | 323 new GlobalVariable(*M, CounterTy, false, NamePtr->getLinkage(), in getOrCreateRegionCounters() 353 auto *Data = new GlobalVariable(*M, DataTy, false, NamePtr->getLinkage(), in getOrCreateRegionCounters()
|
D | AddressSanitizer.cpp | 1197 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/ |
D | AMDGPUAsmPrinter.cpp | 117 switch (GV->getLinkage()) { in isModuleLinkage() 134 if (GV->isDeclaration() || GV->getLinkage() == GlobalValue::PrivateLinkage) { in EmitGlobalVariable()
|
D | AMDGPUOpenCLImageTypeLoweringPass.cpp | 291 auto NewF = Function::Create(NewFT, F->getLinkage(), F->getName()); in addImplicitArgs()
|
/external/llvm/include/llvm/IR/ |
D | GlobalValue.h | 291 LinkageTypes getLinkage() const { return Linkage; } in getLinkage() function
|
/external/llvm/lib/IR/ |
D | Globals.cpp | 266 return create(Aliasee->getLinkage(), Name, Aliasee); in create()
|
D | AutoUpgrade.cpp | 87 NewFn = Function::Create(fType, F->getLinkage(), in UpgradeIntrinsicFunction1() 103 NewFn = Function::Create(fType, F->getLinkage(), in UpgradeIntrinsicFunction1()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXGenericToNVVM.cpp | 90 GV->getLinkage(), in runOnModule()
|