Home
last modified time | relevance | path

Searched refs:setLinkage (Results 1 – 25 of 76) sorted by relevance

1234

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DVisibility.h92 void setLinkage(Linkage L) { linkage_ = llvm::to_underlying(L); } in setLinkage() function
95 setLinkage(minLinkage(getLinkage(), L)); in mergeLinkage()
109 setLinkage(ThisL); in mergeExternalVisibility()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DExtractGV.cpp27 GV.setLinkage(GlobalValue::ExternalLinkage); in makeVisible()
43 GV.setLinkage(GlobalValue::WeakAnyLinkage); in makeVisible()
46 GV.setLinkage(GlobalValue::WeakODRLinkage); in makeVisible()
H A DElimAvailExtern.cpp76 F.setLinkage(GlobalValue::InternalLinkage); in convertToLocalCopy()
105 GV.setLinkage(GlobalValue::ExternalLinkage); in eliminateAvailableExternally()
H A DFunctionImport.cpp1473 V->setLinkage(GlobalValue::ExternalLinkage); in convertToDeclaration()
1574 GV.setLinkage(NewLinkage); in thinLTOFinalizeInModule()
1603 GO.setLinkage(GlobalValue::AvailableExternallyLinkage); in thinLTOFinalizeInModule()
1619 GA.setLinkage(GlobalValue::AvailableExternallyLinkage); in thinLTOFinalizeInModule()
1681 NewFn->setLinkage(GA->getLinkage()); in replaceAliasWithAliasee()
1695 GV.setLinkage(GlobalValue::InternalLinkage); in internalizeGVsAfterImport()
1932 S->setLinkage(GlobalValue::ExternalLinkage); in doImportingForModuleForTest()
H A DInternalize.cpp167 GV.setLinkage(GlobalValue::InternalLinkage); in maybeInternalize()
H A DBlockExtractor.cpp190 F.setLinkage(GlobalValue::ExternalLinkage); in runOnModule()
H A DThinLTOBitcodeWriter.cpp76 ExportGV.setLinkage(GlobalValue::ExternalLinkage); in promoteInternals()
378 F.setLinkage(GlobalValue::AvailableExternallyLinkage); in splitAndWriteThinLTOBitcode()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCloneModule.cpp144 GV->setLinkage(GlobalValue::ExternalLinkage); in CloneModule()
170 F->setLinkage(GlobalValue::ExternalLinkage); in CloneModule()
H A DFunctionImportUtils.cpp289 GV.setLinkage(getLinkage(&GV, /* DoPromote */ true)); in processGlobalForThinLTO()
299 GV.setLinkage(getLinkage(&GV, /* DoPromote */ false)); in processGlobalForThinLTO()
H A DCallGraphUpdater.cpp80 DeadFn.setLinkage(GlobalValue::ExternalLinkage); in removeFunction()
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DExtractFunction.cpp133 I->setLinkage(GlobalValue::ExternalLinkage); in performFinalCleanups()
310 I->setLinkage(GlobalValue::ExternalLinkage); in SplitFunctionsOutOfModule()
315 I->setLinkage(GlobalValue::ExternalLinkage); in SplitFunctionsOutOfModule()
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTO.cpp389 S->setLinkage(GlobalValue::getWeakLinkage( in thinLTOResolvePrevailingGUID()
409 S->setLinkage(GlobalValue::AvailableExternallyLinkage); in thinLTOResolvePrevailingGUID()
475 S->setLinkage(GlobalValue::ExternalLinkage); in thinLTOInternalizeAndPromoteGUID()
485 S->setLinkage(GlobalValue::InternalLinkage); in thinLTOInternalizeAndPromoteGUID()
533 S->setLinkage(GlobalValue::InternalLinkage); in thinLTOInternalizeAndPromoteGUID()
808 GV.setLinkage(GlobalValue::AvailableExternallyLinkage); in handleNonPrevailingComdat()
893 GV->setLinkage(GlobalValue::WeakAnyLinkage); in addRegularLTO()
897 GV->setLinkage(GlobalValue::getWeakLinkage( in addRegularLTO()
909 GV->setLinkage(GlobalValue::AvailableExternallyLinkage); in addRegularLTO()
1053 S->setLinkage(GlobalValue::WeakAnyLinkage); in addThinLTO()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUOpenCLEnqueuedBlockLowering.cpp111 F.setLinkage(GlobalValue::ExternalLinkage); in runOnModule()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalValue.h88 setLinkage(Linkage); in GlobalValue()
537 void setLinkage(LinkageTypes LT) { in setLinkage() function
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DSanitizerBinaryMetadata.cpp243 Ctor->setLinkage(GlobalValue::ExternalLinkage); in run()
244 Dtor->setLinkage(GlobalValue::ExternalLinkage); in run()
H A DInstrProfiling.cpp1260 Name->setLinkage(GlobalValue::PrivateLinkage); in lowerCoverageData()
1418 GA->setLinkage(Fn->getLinkage()); in getFuncAddrForProfData()
1478 GV->setLinkage(GlobalValue::InternalLinkage); in maybeSetComdat()
1628 Ptr->setLinkage(Linkage); in setupProfileSection()
1883 NamePtr->setLinkage(GlobalValue::PrivateLinkage); in createDataVariable()
2153 SamplingVar->setLinkage(GlobalValue::ExternalLinkage); in createProfileSamplingVar()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp50 to->setLinkage(from->getLinkage()); in copyLinkageVisibility()
H A DJMCInstrumenter.cpp195 DefaultCheckFunc->setLinkage(GlobalValue::WeakAnyLinkage); in runImpl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/HipStdPar/
H A DHipStdPar.cpp135 G.setLinkage(GlobalVariable::ExternalWeakLinkage); in maybeHandleGlobals()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DLayer.cpp127 I->second->setLinkage(GlobalValue::AvailableExternallyLinkage); in discard()
H A DExecutionUtils.cpp129 CtorDtor.Func->setLinkage(GlobalValue::ExternalLinkage); in add()
598 Ptr.setLinkage(jitlink::Linkage::Strong); in createStubsGraph()
/freebsd/contrib/llvm-project/llvm/lib/Linker/
H A DLinkModules.cpp515 GO->setLinkage(GlobalValue::AvailableExternallyLinkage); in run()
566 NewVar->setLinkage(GlobalValue::PrivateLinkage); in run()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGVTT.cpp106 VTT->setLinkage(Linkage); in EmitVTTDefinition()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixFunctionBitcasts.cpp297 MainWrapper->setLinkage(Main->getLinkage()); in runOnModule()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkGeneric.cpp236 Sym->setLinkage(ResultI->second.getFlags().isWeak() ? Linkage::Weak in applyLookupResult()

1234