Home
last modified time | relevance | path

Searched refs:ExternalLinkage (Results 1 – 25 of 104) sorted by relevance

12345

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DExtractGV.cpp27 GV.setLinkage(GlobalValue::ExternalLinkage); in makeVisible()
119 Declaration = Function::Create(FTy, GlobalValue::ExternalLinkage, in run()
124 M, Ty, false, GlobalValue::ExternalLinkage, nullptr, GA.getName()); in run()
142 Function::Create(FuncType, GlobalValue::ExternalLinkage, in run()
H A DElimAvailExtern.cpp84 Function::Create(F.getFunctionType(), GlobalValue::ExternalLinkage, in convertToLocalCopy()
105 GV.setLinkage(GlobalValue::ExternalLinkage); in eliminateAvailableExternally()
H A DLowerTypeTests.cpp916 GlobalAlias::create(Int8Ty, 0, GlobalValue::ExternalLinkage, in exportTypeId()
1067 GlobalValue::ExternalLinkage, in importFunction()
1080 FDecl = Function::Create(F->getFunctionType(), GlobalValue::ExternalLinkage, in importFunction()
1085 F->setLinkage(GlobalValue::ExternalLinkage); in importFunction()
1086 FDecl = Function::Create(F->getFunctionType(), GlobalValue::ExternalLinkage, in importFunction()
1097 F->getFunctionType(), GlobalValue::ExternalLinkage, in importFunction()
1683 ? GlobalValue::ExternalLinkage in buildBitSetsFromFunctionsNative()
2143 GlobalVariable::ExternalLinkage, in lower()
2152 F->setLinkage(GlobalValue::ExternalLinkage); in lower()
2161 F->setLinkage(GlobalValue::ExternalLinkage); in lower()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionImportUtils.cpp134 return GlobalValue::ExternalLinkage; in getLinkage()
144 case GlobalValue::ExternalLinkage: in getLinkage()
158 return GlobalValue::ExternalLinkage; in getLinkage()
181 return GlobalValue::ExternalLinkage; in getLinkage()
199 return GlobalValue::ExternalLinkage; in getLinkage()
H A DCloneModule.cpp98 GlobalValue::ExternalLinkage, I.getAddressSpace(), in CloneModule()
102 GlobalValue::ExternalLinkage, nullptr, in CloneModule()
144 GV->setLinkage(GlobalValue::ExternalLinkage); in CloneModule()
170 F->setLinkage(GlobalValue::ExternalLinkage); in CloneModule()
H A DSplitModule.cpp224 GV->setLinkage(GlobalValue::ExternalLinkage); in externalize()
285 F.getLinkage() != GlobalValue::LinkageTypes::ExternalLinkage) in SplitModule()
H A DCallGraphUpdater.cpp80 DeadFn.setLinkage(GlobalValue::ExternalLinkage); in removeFunction()
H A DInjectTLIMappings.cpp57 Function::Create(VectorFTy, Function::ExternalLinkage, VFName, M); in addVariantDeclaration()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUOpenCLEnqueuedBlockLowering.cpp102 /*isConstant=*/true, GlobalValue::ExternalLinkage, in runOnModule()
111 F.setLinkage(GlobalValue::ExternalLinkage); in runOnModule()
H A DAMDGPUCtorDtorLowering.cpp86 /*isConstant=*/true, GlobalValue::ExternalLinkage, in createInitOrFiniCalls()
97 /*isConstant=*/true, GlobalValue::ExternalLinkage, in createInitOrFiniCalls()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalValue.h52 ExternalLinkage = 0,///< Externally visible function enumerator
148 case ExternalLinkage: in mayBeDerefined()
377 return Linkage == ExternalLinkage; in isExternalLinkage()
438 case ExternalLinkage: in isInterposableLinkage()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DSpeculation.cpp72 Function::Create(RuntimeCallTy, Function::LinkageTypes::ExternalLinkage, in emit()
75 M, SpeculatorVTy, false, GlobalValue::LinkageTypes::ExternalLinkage, in emit()
H A DLLJIT.cpp63 auto *HelperFn = Function::Create(HelperFnType, GlobalValue::ExternalLinkage, in addHelperAndWrapper()
67 WrapperFnType, GlobalValue::ExternalLinkage, WrapperName, M); in addHelperAndWrapper()
174 *M, Int64Ty, true, GlobalValue::ExternalLinkage, in setupJITDylib()
185 *M, GenericIRPlatformSupportTy, true, GlobalValue::ExternalLinkage, in setupJITDylib()
463 *M, GenericIRPlatformSupportTy, true, GlobalValue::ExternalLinkage, in createPlatformRuntimeModule()
534 GlobalValue::ExternalLinkage, InitOrDeInitFunctionName, &M); in operator ()()
H A DIndirectionUtils.cpp254 auto IP = new GlobalVariable(M, &PT, false, GlobalValue::ExternalLinkage, in createImplPointer()
297 GV.setLinkage(GlobalValue::ExternalLinkage); in operator ()()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DM68k.cpp46 llvm::GlobalAlias::create(llvm::Function::ExternalLinkage, in setTargetAttributes()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCGNU.cpp1034 llvm::GlobalValue::ExternalLinkage, nullptr, Sym); in GenerateConstantString()
1236 IdTy, false, llvm::GlobalValue::ExternalLinkage, in GetClassVar()
1322 llvm::GlobalValue::ExternalLinkage, nullptr, Name); in GenerateEmptyProtocol()
1393 llvm::GlobalValue::ExternalLinkage, nullptr, SymName); in GenerateProtocolRef()
1434 CGM.getPointerAlign(), false, llvm::GlobalValue::ExternalLinkage); in GenerateProtocolRef()
1532 llvm::GlobalValue::ExternalLinkage, nullptr, StringRef("__start_") + in GetSectionBounds()
1537 llvm::GlobalValue::ExternalLinkage, nullptr, StringRef("__stop_") + in GetSectionBounds()
1706 llvm::GlobalValue::ExternalLinkage, nullptr, Name); in EmitIvarOffset()
1792 llvm::GlobalValue::ExternalLinkage, nullptr, SuperClassName); in GenerateClass()
1869 false, llvm::GlobalValue::ExternalLinkage, in GenerateClass()
[all …]
H A DCGGPUBuiltin.cpp42 VprintfFuncType, llvm::GlobalVariable::ExternalLinkage, "vprintf", &M); in GetVprintfDeclaration()
64 VprintfFuncType, llvm::GlobalVariable::ExternalLinkage, Name, &M); in GetOpenMPVprintfDeclaration()
/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/clang/lib/InstallAPI/
H A DVisitor.cpp26 ExternalLinkage, enumerator
364 return CXXLinkage::ExternalLinkage; in getVTableLinkage()
396 return getVTableLinkage(D) != CXXLinkage::ExternalLinkage; in isRTTIWeakDef()
486 if (VTableLinkage == CXXLinkage::ExternalLinkage || in emitVTableSymbols()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOCtxProfLowering.cpp182 new GlobalVariable(M, PointerTy, false, GlobalValue::ExternalLinkage, in CtxInstrumentationLowerer()
187 new GlobalVariable(M, PointerTy, false, GlobalValue::ExternalLinkage, in CtxInstrumentationLowerer()
H A DSanitizerBinaryMetadata.cpp243 Ctor->setLinkage(GlobalValue::ExternalLinkage); in run()
244 Dtor->setLinkage(GlobalValue::ExternalLinkage); in run()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFPreserveDIType.cpp114 *M, VarType, false, GlobalVariable::ExternalLinkage, nullptr, GVName); in BPFPreserveDITypeImpl()
/freebsd/contrib/llvm-project/llvm/include/llvm/
H A DLinkAllPasses.h143 llvm::Function::Create(nullptr, llvm::GlobalValue::ExternalLinkage)->viewCFGOnly(); in ForcePassLinking()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/Offloading/
H A DUtility.cpp97 : GlobalValue::ExternalLinkage; in getOffloadEntryArray()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DRandomIRBuilder.cpp101 GV = new GlobalVariable(*M, Ty, false, LinkageTypes::ExternalLinkage, Init, in findOrCreateGlobalVariable()
410 GlobalValue::ExternalLinkage, "f", &M); in createFunctionDeclaration()

12345