Home
last modified time | relevance | path

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

12

/external/llvm/lib/Transforms/IPO/
DExtractGV.cpp65 I->setLinkage(GlobalValue::ExternalLinkage); in runOnModule()
79 I->setLinkage(GlobalValue::ExternalLinkage); in runOnModule()
DInternalize.cpp138 I->setLinkage(GlobalValue::InternalLinkage); in runOnModule()
170 I->setLinkage(GlobalValue::InternalLinkage); in runOnModule()
183 I->setLinkage(GlobalValue::InternalLinkage); in runOnModule()
DPartialInlining.cpp75 duplicateFunction->setLinkage(GlobalValue::InternalLinkage); in unswitchFunction()
DGlobalOpt.cpp2091 F->setLinkage(GlobalValue::InternalLinkage); in OptimizeFunctions()
2129 GV->setLinkage(GlobalValue::InternalLinkage); in OptimizeGlobalVars()
2948 J->setLinkage(GlobalValue::InternalLinkage); in OptimizeGlobalAliases()
2984 Target->setLinkage(J->getLinkage()); in OptimizeGlobalAliases()
DArgumentPromotion.cpp896 F->setLinkage(Function::ExternalLinkage); in DoPromotion()
DMergeFunctions.cpp794 F->setLinkage(GlobalValue::PrivateLinkage); in mergeTwoFunctions()
/external/llvm/tools/bugpoint/
DExtractFunction.cpp141 I->setLinkage(GlobalValue::ExternalLinkage); in performFinalCleanups()
296 I->setLinkage(GlobalValue::ExternalLinkage); in SplitFunctionsOutOfModule()
301 I->setLinkage(GlobalValue::ExternalLinkage); in SplitFunctionsOutOfModule()
DCrashDebugger.cpp155 I->setLinkage(GlobalValue::ExternalLinkage); in TestGlobalVariables()
452 I->setLinkage(GlobalValue::ExternalLinkage); in DebugACrash()
/external/llvm/lib/VMCore/
DCore.cpp1121 GV->setLinkage(GlobalValue::ExternalLinkage); in LLVMSetLinkage()
1124 GV->setLinkage(GlobalValue::AvailableExternallyLinkage); in LLVMSetLinkage()
1127 GV->setLinkage(GlobalValue::LinkOnceAnyLinkage); in LLVMSetLinkage()
1130 GV->setLinkage(GlobalValue::LinkOnceODRLinkage); in LLVMSetLinkage()
1133 GV->setLinkage(GlobalValue::LinkOnceODRAutoHideLinkage); in LLVMSetLinkage()
1136 GV->setLinkage(GlobalValue::WeakAnyLinkage); in LLVMSetLinkage()
1139 GV->setLinkage(GlobalValue::WeakODRLinkage); in LLVMSetLinkage()
1142 GV->setLinkage(GlobalValue::AppendingLinkage); in LLVMSetLinkage()
1145 GV->setLinkage(GlobalValue::InternalLinkage); in LLVMSetLinkage()
1148 GV->setLinkage(GlobalValue::PrivateLinkage); in LLVMSetLinkage()
[all …]
/external/clang/lib/CodeGen/
DCodeGenModule.cpp628 F->setLinkage(llvm::Function::InternalLinkage); in SetInternalFunctionAttributes()
652 F->setLinkage(llvm::Function::DLLImportLinkage); in SetFunctionAttributes()
657 F->setLinkage(llvm::Function::ExternalWeakLinkage); in SetFunctionAttributes()
659 F->setLinkage(llvm::Function::ExternalLinkage); in SetFunctionAttributes()
843 F->setLinkage(llvm::Function::ExternalWeakLinkage); in GetWeakRefReference()
1057 Entry->setLinkage(llvm::Function::ExternalLinkage); in GetOrCreateLLVMFunction()
1200 Entry->setLinkage(llvm::Function::ExternalLinkage); in GetOrCreateLLVMGlobal()
1243 GV->setLinkage(llvm::GlobalValue::DLLImportLinkage); in GetOrCreateLLVMGlobal()
1245 GV->setLinkage(llvm::GlobalValue::ExternalWeakLinkage); in GetOrCreateLLVMGlobal()
1670 GV->setLinkage(Linkage); in EmitGlobalVarDefinition()
[all …]
DCGVTT.cpp93 VTT->setLinkage(Linkage); in EmitVTTDefinition()
DCGRTTI.cpp531 GV->setLinkage(Linkage); in maybeUpdateRTTILinkage()
546 TypeNameGV->setLinkage(Linkage); in maybeUpdateRTTILinkage()
DCGVTables.cpp472 ThunkFn->setLinkage(llvm::GlobalValue::AvailableExternallyLinkage); in EmitThunk()
659 VTable->setLinkage(Linkage); in EmitVTableDefinition()
DCGObjCMac.cpp1989 Entry->setLinkage(llvm::GlobalValue::InternalLinkage); in GetOrEmitProtocol()
2457 GV->setLinkage(llvm::GlobalValue::InternalLinkage); in GenerateClass()
2525 GV->setLinkage(llvm::GlobalValue::InternalLinkage); in EmitMetaClass()
4310 I->second->setLinkage(llvm::GlobalValue::InternalLinkage); in FinishModule()
4856 IMPLGV->setLinkage(llvm::GlobalValue::ExternalLinkage); in FinishNonFragileABIModule()
4863 IMPLGV->setLinkage(llvm::GlobalValue::ExternalLinkage); in FinishNonFragileABIModule()
5167 IsAGV->setLinkage(llvm::GlobalValue::ExternalWeakLinkage); in GenerateClass()
5174 SuperClassGV->setLinkage(llvm::GlobalValue::ExternalWeakLinkage); in GenerateClass()
5204 SuperClassGV->setLinkage(llvm::GlobalValue::ExternalWeakLinkage); in GenerateClass()
5288 ClassGV->setLinkage(llvm::GlobalValue::ExternalWeakLinkage); in GenerateCategory()
[all …]
DCodeGenModule.h829 V->setLinkage(getFunctionLinkage(FD)); in setFunctionLinkage()
DCGObjCGNU.cpp2077 OffsetVar->setLinkage(llvm::GlobalValue::ExternalLinkage); in GenerateClass()
2190 offset->setLinkage(llvm::GlobalValue::ExternalLinkage); in GenerateClass()
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp526 AsanPoisonGlobals->setLinkage(Function::ExternalLinkage); in createInitializerPoisonCalls()
529 AsanUnpoisonGlobals->setLinkage(Function::ExternalLinkage); in createInitializerPoisonCalls()
708 AsanRegisterGlobals->setLinkage(Function::ExternalLinkage); in insertGlobalRedzones()
725 AsanUnregisterGlobals->setLinkage(Function::ExternalLinkage); in insertGlobalRedzones()
759 AsanInitFunction->setLinkage(Function::ExternalLinkage); in runOnModule()
DGCOVProfiling.cpp681 F->setLinkage(GlobalValue::InternalLinkage); in insertCounterWriteout()
700 Fn->setLinkage(GlobalValue::InternalLinkage); in insertIndirectCounterIncrement()
/external/llvm/include/llvm/
DGlobalValue.h226 void setLinkage(LinkageTypes LT) { Linkage = LT; } in setLinkage() function
DFunction.h302 setLinkage(ExternalLinkage);
/external/llvm/lib/Linker/
DLinkModules.cpp742 DGV->setLinkage(NewLinkage); in linkGlobalProto()
796 DGV->setLinkage(NewLinkage); in linkFunctionProto()
851 DGV->setLinkage(NewLinkage); in linkAliasProto()
/external/llvm/lib/CodeGen/
DShadowStackGC.cpp309 Head->setLinkage(GlobalValue::LinkOnceAnyLinkage); in initializeCustomLowering()
/external/mesa3d/src/pixelflinger2/
Dtexture.cpp370 func->setLinkage(llvm::GlobalValue::ExternalLinkage); in DeclareTextureFunctions()
/external/clang/lib/AST/
DDecl.cpp359 if (PrevLV.linkage()) LV.setLinkage(PrevLV.linkage()); in getLVForNamespaceScopeDecl()
394 if (PrevLV.linkage()) LV.setLinkage(PrevLV.linkage()); in getLVForNamespaceScopeDecl()
823 if (PrevLV.linkage()) LV.setLinkage(PrevLV.linkage()); in getLVForDecl()
847 if (PrevLV.linkage()) LV.setLinkage(PrevLV.linkage()); in getLVForDecl()
/external/clang/include/clang/AST/
DDecl.h245 void setLinkage(Linkage L) { linkage_ = L; } in setLinkage() function
247 setLinkage(minLinkage(linkage(), L)); in mergeLinkage()

12