Home
last modified time | relevance | path

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

12

/external/llvm/lib/Transforms/IPO/
DExtractGV.cpp68 I->setLinkage(GlobalValue::ExternalLinkage); in runOnModule()
88 I->setLinkage(GlobalValue::ExternalLinkage); in runOnModule()
102 CurI->setLinkage(GlobalValue::ExternalLinkage); in runOnModule()
DInternalize.cpp128 I->setLinkage(GlobalValue::InternalLinkage); in runOnModule()
160 I->setLinkage(GlobalValue::InternalLinkage); in runOnModule()
173 I->setLinkage(GlobalValue::InternalLinkage); in runOnModule()
DPartialInlining.cpp75 duplicateFunction->setLinkage(GlobalValue::InternalLinkage); in unswitchFunction()
DGlobalOpt.cpp2102 F->setLinkage(GlobalValue::InternalLinkage); in OptimizeFunctions()
2140 GV->setLinkage(GlobalValue::InternalLinkage); in OptimizeGlobalVars()
3052 J->setLinkage(GlobalValue::InternalLinkage); in OptimizeGlobalAliases()
3088 Target->setLinkage(J->getLinkage()); in OptimizeGlobalAliases()
DArgumentPromotion.cpp894 F->setLinkage(Function::ExternalLinkage); in DoPromotion()
DMergeFunctions.cpp792 F->setLinkage(GlobalValue::PrivateLinkage); in mergeTwoFunctions()
/external/clang/include/clang/Basic/
DVisibility.h83 void setLinkage(Linkage L) { linkage_ = L; } in setLinkage() function
86 setLinkage(minLinkage(getLinkage(), L)); in mergeLinkage()
/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/IR/
DCore.cpp1141 GV->setLinkage(GlobalValue::ExternalLinkage); in LLVMSetLinkage()
1144 GV->setLinkage(GlobalValue::AvailableExternallyLinkage); in LLVMSetLinkage()
1147 GV->setLinkage(GlobalValue::LinkOnceAnyLinkage); in LLVMSetLinkage()
1150 GV->setLinkage(GlobalValue::LinkOnceODRLinkage); in LLVMSetLinkage()
1153 GV->setLinkage(GlobalValue::LinkOnceODRAutoHideLinkage); in LLVMSetLinkage()
1156 GV->setLinkage(GlobalValue::WeakAnyLinkage); in LLVMSetLinkage()
1159 GV->setLinkage(GlobalValue::WeakODRLinkage); in LLVMSetLinkage()
1162 GV->setLinkage(GlobalValue::AppendingLinkage); in LLVMSetLinkage()
1165 GV->setLinkage(GlobalValue::InternalLinkage); in LLVMSetLinkage()
1168 GV->setLinkage(GlobalValue::PrivateLinkage); in LLVMSetLinkage()
[all …]
/external/clang/lib/CodeGen/
DCodeGenModule.cpp668 F->setLinkage(llvm::Function::InternalLinkage); in SetInternalFunctionAttributes()
693 F->setLinkage(llvm::Function::DLLImportLinkage); in SetFunctionAttributes()
698 F->setLinkage(llvm::Function::ExternalWeakLinkage); in SetFunctionAttributes()
700 F->setLinkage(llvm::Function::ExternalLinkage); in SetFunctionAttributes()
1043 F->setLinkage(llvm::Function::ExternalWeakLinkage); in GetWeakRefReference()
1256 Entry->setLinkage(llvm::Function::ExternalLinkage); in GetOrCreateLLVMFunction()
1409 Entry->setLinkage(llvm::Function::ExternalLinkage); in GetOrCreateLLVMGlobal()
1452 GV->setLinkage(llvm::GlobalValue::DLLImportLinkage); in GetOrCreateLLVMGlobal()
1454 GV->setLinkage(llvm::GlobalValue::ExternalWeakLinkage); in GetOrCreateLLVMGlobal()
1805 GV->setLinkage(Linkage); in EmitGlobalVarDefinition()
[all …]
DCGVTT.cpp93 VTT->setLinkage(Linkage); in EmitVTTDefinition()
DCGRTTI.cpp543 GV->setLinkage(Linkage); in maybeUpdateRTTILinkage()
558 TypeNameGV->setLinkage(Linkage); in maybeUpdateRTTILinkage()
DCGVTables.cpp460 ThunkFn->setLinkage(llvm::GlobalValue::AvailableExternallyLinkage); in EmitThunk()
657 VTable->setLinkage(Linkage); in EmitVTableDefinition()
DCGObjCMac.cpp2649 Entry->setLinkage(llvm::GlobalValue::InternalLinkage); in GetOrEmitProtocol()
3139 GV->setLinkage(llvm::GlobalValue::InternalLinkage); in GenerateClass()
3207 GV->setLinkage(llvm::GlobalValue::InternalLinkage); in EmitMetaClass()
4995 I->second->setLinkage(llvm::GlobalValue::InternalLinkage); in FinishModule()
5541 IMPLGV->setLinkage(llvm::GlobalValue::ExternalLinkage); in FinishNonFragileABIModule()
5548 IMPLGV->setLinkage(llvm::GlobalValue::ExternalLinkage); in FinishNonFragileABIModule()
5847 IsAGV->setLinkage(llvm::GlobalValue::ExternalWeakLinkage); in GenerateClass()
5854 SuperClassGV->setLinkage(llvm::GlobalValue::ExternalWeakLinkage); in GenerateClass()
5895 SuperClassGV->setLinkage(llvm::GlobalValue::ExternalWeakLinkage); in GenerateClass()
5979 ClassGV->setLinkage(llvm::GlobalValue::ExternalWeakLinkage); in GenerateCategory()
[all …]
DCodeGenModule.h867 V->setLinkage(getFunctionLinkage(FD)); in setFunctionLinkage()
DCGException.cpp1538 fn->setLinkage(llvm::Function::LinkOnceODRLinkage); in getClangCallTerminateFn()
DCGObjCGNU.cpp2212 OffsetVar->setLinkage(llvm::GlobalValue::ExternalLinkage); in GenerateClass()
2325 offset->setLinkage(llvm::GlobalValue::ExternalLinkage); in GenerateClass()
/external/llvm/include/llvm/IR/
DGlobalValue.h226 void setLinkage(LinkageTypes LT) { Linkage = LT; } in setLinkage() function
DFunction.h315 setLinkage(ExternalLinkage);
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp843 AsanPoisonGlobals->setLinkage(Function::ExternalLinkage); in initializeCallbacks()
846 AsanUnpoisonGlobals->setLinkage(Function::ExternalLinkage); in initializeCallbacks()
851 AsanRegisterGlobals->setLinkage(Function::ExternalLinkage); in initializeCallbacks()
855 AsanUnregisterGlobals->setLinkage(Function::ExternalLinkage); in initializeCallbacks()
1073 AsanInitFunction->setLinkage(Function::ExternalLinkage); in doInitialization()
DGCOVProfiling.cpp553 F->setLinkage(GlobalValue::InternalLinkage); in emitProfileArcs()
753 Fn->setLinkage(GlobalValue::InternalLinkage); in insertIndirectCounterIncrement()
808 FlushF->setLinkage(GlobalValue::InternalLinkage); in insertFlush()
/external/llvm/lib/Linker/
DLinkModules.cpp736 DGV->setLinkage(NewLinkage); in linkGlobalProto()
790 DGV->setLinkage(NewLinkage); in linkFunctionProto()
845 DGV->setLinkage(NewLinkage); in linkAliasProto()
/external/llvm/lib/CodeGen/
DShadowStackGC.cpp309 Head->setLinkage(GlobalValue::LinkOnceAnyLinkage); in initializeCustomLowering()
/external/llvm/lib/AsmParser/
DLLParser.cpp776 GV->setLinkage((GlobalValue::LinkageTypes)Linkage); in ParseGlobal()
3059 Fn->setLinkage((GlobalValue::LinkageTypes)Linkage); in ParseFunctionHeader()

12