Home
last modified time | relevance | path

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

12

/external/clang/include/clang/Basic/
DVisibility.h83 void setLinkage(Linkage L) { linkage_ = L; } in setLinkage() function
86 setLinkage(minLinkage(getLinkage(), L)); in mergeLinkage()
100 setLinkage(ThisL); in mergeExternalVisibility()
/external/llvm/lib/Transforms/IPO/
DExtractGV.cpp31 GV.setLinkage(GlobalValue::ExternalLinkage); in makeVisible()
47 GV.setLinkage(GlobalValue::WeakAnyLinkage); in makeVisible()
50 GV.setLinkage(GlobalValue::WeakODRLinkage); in makeVisible()
DInternalize.cpp163 I->setLinkage(GlobalValue::InternalLinkage); in runOnModule()
200 I->setLinkage(GlobalValue::InternalLinkage); in runOnModule()
213 I->setLinkage(GlobalValue::InternalLinkage); in runOnModule()
DPartialInlining.cpp76 duplicateFunction->setLinkage(GlobalValue::InternalLinkage); in unswitchFunction()
DGlobalOpt.cpp1912 F->setLinkage(GlobalValue::InternalLinkage); in OptimizeFunctions()
1957 GV->setLinkage(GlobalValue::InternalLinkage); in OptimizeGlobalVars()
2862 J->setLinkage(GlobalValue::InternalLinkage); in OptimizeGlobalAliases()
2888 Target->setLinkage(J->getLinkage()); in OptimizeGlobalAliases()
DArgumentPromotion.cpp915 F->setLinkage(Function::ExternalLinkage); in DoPromotion()
DMergeFunctions.cpp1395 F->setLinkage(GlobalValue::PrivateLinkage); in mergeTwoFunctions()
/external/llvm/tools/bugpoint/
DExtractFunction.cpp142 I->setLinkage(GlobalValue::ExternalLinkage); in performFinalCleanups()
297 I->setLinkage(GlobalValue::ExternalLinkage); in SplitFunctionsOutOfModule()
302 I->setLinkage(GlobalValue::ExternalLinkage); in SplitFunctionsOutOfModule()
DCrashDebugger.cpp153 I->setLinkage(GlobalValue::ExternalLinkage); in TestGlobalVariables()
451 I->setLinkage(GlobalValue::ExternalLinkage); in DebugACrash()
/external/llvm/lib/IR/
DCore.cpp1239 GV->setLinkage(GlobalValue::ExternalLinkage); in LLVMSetLinkage()
1242 GV->setLinkage(GlobalValue::AvailableExternallyLinkage); in LLVMSetLinkage()
1245 GV->setLinkage(GlobalValue::LinkOnceAnyLinkage); in LLVMSetLinkage()
1248 GV->setLinkage(GlobalValue::LinkOnceODRLinkage); in LLVMSetLinkage()
1255 GV->setLinkage(GlobalValue::WeakAnyLinkage); in LLVMSetLinkage()
1258 GV->setLinkage(GlobalValue::WeakODRLinkage); in LLVMSetLinkage()
1261 GV->setLinkage(GlobalValue::AppendingLinkage); in LLVMSetLinkage()
1264 GV->setLinkage(GlobalValue::InternalLinkage); in LLVMSetLinkage()
1267 GV->setLinkage(GlobalValue::PrivateLinkage); in LLVMSetLinkage()
1270 GV->setLinkage(GlobalValue::PrivateLinkage); in LLVMSetLinkage()
[all …]
/external/clang/lib/CodeGen/
DCGOpenMPRuntime.cpp57 DefaultOpenMPLocation->setLinkage(llvm::GlobalValue::PrivateLinkage); in GetOrCreateDefaultOpenMPLocation()
DCGVTT.cpp95 VTT->setLinkage(Linkage); in EmitVTTDefinition()
DCodeGenModule.cpp791 F->setLinkage(llvm::Function::InternalLinkage); in SetInternalFunctionAttributes()
804 GV->setLinkage(llvm::GlobalValue::ExternalLinkage); in setLinkageAndVisibilityForGV()
807 GV->setLinkage(llvm::GlobalValue::ExternalLinkage); in setLinkageAndVisibilityForGV()
812 GV->setLinkage(llvm::GlobalValue::ExternalWeakLinkage); in setLinkageAndVisibilityForGV()
1203 F->setLinkage(llvm::Function::ExternalWeakLinkage); in GetWeakRefReference()
1438 Entry->setLinkage(llvm::Function::ExternalLinkage); in GetOrCreateLLVMFunction()
1623 Entry->setLinkage(llvm::Function::ExternalLinkage); in GetOrCreateLLVMGlobal()
1939 GV->setLinkage(Linkage); in EmitGlobalVarDefinition()
2409 GA->setLinkage(llvm::Function::WeakAnyLinkage); in EmitAliasDefinition()
DMicrosoftCXXABI.cpp243 Thunk->setLinkage(llvm::GlobalValue::InternalLinkage); in setThunkLinkage()
245 Thunk->setLinkage(llvm::GlobalValue::WeakODRLinkage); in setThunkLinkage()
247 Thunk->setLinkage(llvm::GlobalValue::LinkOnceODRLinkage); in setThunkLinkage()
1350 VFTable->setLinkage(VFTableLinkage); in getAddrOfVTable()
1452 ThunkFn->setLinkage(MD->isExternallyVisible() in EmitVirtualMemPtrThunk()
1717 CGF.CurFn->setLinkage(llvm::GlobalValue::LinkOnceODRLinkage); in EmitGuardedInit()
DCodeGenModule.h965 F->setLinkage(getFunctionLinkage(GD)); in setFunctionLinkage()
DItaniumCXXABI.cpp207 Thunk->setLinkage(llvm::GlobalValue::AvailableExternallyLinkage); in setThunkLinkage()
1230 VTable->setLinkage(Linkage); in emitVTableDefinitions()
DCGException.cpp1504 fn->setLinkage(llvm::Function::LinkOnceODRLinkage); in getClangCallTerminateFn()
DCodeGenFunction.cpp749 CGF.CurFn->setLinkage(llvm::Function::LinkOnceAnyLinkage); in EmitSizedDeallocationFunction()
DCGObjCGNU.cpp2201 OffsetVar->setLinkage(llvm::GlobalValue::ExternalLinkage); in GenerateClass()
2306 offset->setLinkage(llvm::GlobalValue::ExternalLinkage); in GenerateClass()
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp1002 AsanPoisonGlobals->setLinkage(Function::ExternalLinkage); in initializeCallbacks()
1005 AsanUnpoisonGlobals->setLinkage(Function::ExternalLinkage); in initializeCallbacks()
1010 AsanRegisterGlobals->setLinkage(Function::ExternalLinkage); in initializeCallbacks()
1014 AsanUnregisterGlobals->setLinkage(Function::ExternalLinkage); in initializeCallbacks()
1018 AsanCovModuleInit->setLinkage(Function::ExternalLinkage); in initializeCallbacks()
1259 AsanInitFunction->setLinkage(Function::ExternalLinkage); in doInitialization()
DGCOVProfiling.cpp673 F->setLinkage(GlobalValue::InternalLinkage); in emitProfileArcs()
889 Fn->setLinkage(GlobalValue::InternalLinkage); in insertIndirectCounterIncrement()
944 FlushF->setLinkage(GlobalValue::InternalLinkage); in insertFlush()
/external/llvm/include/llvm/IR/
DGlobalValue.h265 void setLinkage(LinkageTypes LT) { in setLinkage() function
DFunction.h346 setLinkage(ExternalLinkage);
/external/llvm/lib/Linker/
DLinkModules.cpp923 DGV->setLinkage(NewLinkage); in linkGlobalProto()
1002 DGV->setLinkage(NewLinkage); in linkFunctionProto()
1083 DGV->setLinkage(NewLinkage); in linkAliasProto()
/external/llvm/lib/CodeGen/
DShadowStackGC.cpp310 Head->setLinkage(GlobalValue::LinkOnceAnyLinkage); in initializeCustomLowering()

12