Searched refs:getLinkage (Results 1 - 25 of 72) sorted by relevance

123

/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalValue.h129 switch (getLinkage()) {
431 bool hasExternalLinkage() const { return isExternalLinkage(getLinkage()); }
433 return isAvailableExternallyLinkage(getLinkage());
435 bool hasLinkOnceLinkage() const { return isLinkOnceLinkage(getLinkage()); }
437 return isLinkOnceODRLinkage(getLinkage());
439 bool hasWeakLinkage() const { return isWeakLinkage(getLinkage()); }
440 bool hasWeakAnyLinkage() const { return isWeakAnyLinkage(getLinkage()); }
441 bool hasWeakODRLinkage() const { return isWeakODRLinkage(getLinkage()); }
442 bool hasAppendingLinkage() const { return isAppendingLinkage(getLinkage()); }
443 bool hasInternalLinkage() const { return isInternalLinkage(getLinkage()); }
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DVisibility.h63 assert(getLinkage() == L && getVisibility() == V &&
83 Linkage getLinkage() const { return (Linkage)linkage_; } function in class:clang::LinkageInfo
90 setLinkage(minLinkage(getLinkage(), L));
93 mergeLinkage(other.getLinkage());
97 Linkage ThisL = getLinkage();
107 mergeExternalVisibility(Other.getLinkage());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionImportUtils.cpp101 FunctionImportGlobalProcessing::getLinkage(const GlobalValue *SGV, function in class:FunctionImportGlobalProcessing
110 return SGV->getLinkage();
115 return SGV->getLinkage();
117 switch (SGV->getLinkage()) {
127 return SGV->getLinkage();
135 return SGV->getLinkage();
146 return SGV->getLinkage();
178 return SGV->getLinkage();
184 return SGV->getLinkage();
189 return SGV->getLinkage();
[all...]
H A DCloneModule.cpp65 I->isConstant(), I->getLinkage(),
77 Function::Create(cast<FunctionType>(I.getValueType()), I.getLinkage(),
109 I->getLinkage(), I->getName(), New.get());
H A DCtorUtils.cpp48 new GlobalVariable(CA->getType(), GCL->isConstant(), GCL->getLinkage(),
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DFunctionImportUtils.h98 GlobalValue::LinkageTypes getLinkage(const GlobalValue *SGV, bool DoPromote);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DGlobals.cpp99 if (isInterposableLinkage(getLinkage()))
108 GlobalObject::isExternalLinkage(getLinkage()) && !isDeclaration() &&
158 return getGlobalIdentifier(getName(), getLinkage(),
507 return create(Aliasee->getLinkage(), Name, Aliasee);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DExtractGV.cpp40 switch(GV.getLinkage()) {
H A DFunctionImport.cpp1009 if (NewLinkage == GV.getLinkage())
1011 if (GlobalValue::isLocalLinkage(GV.getLinkage()) ||
1026 GlobalValue::isInterposableLinkage(GV.getLinkage())) {
1044 << "` from " << GV.getLinkage() << " to " << NewLinkage
1112 NewFn->setLinkage(GA->getLinkage());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAddMissingPrototypes.cpp126 Function::Create(NewType, F.getLinkage(), F.getName() + ".fixed_sig");
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkGeneric.cpp307 Sym->getLinkage() == Linkage::Weak
325 assert(Sym->getLinkage() == Linkage::Weak &&
338 Sym->getLinkage() == Linkage::Weak;
H A DJITLink.cpp109 switch (Sym.getLinkage()) {
H A DMachOLinkGraphBuilder.h156 static Linkage getLinkage(uint16_t Desc);
H A DEHFrameSupport.cpp608 if (!CanonicalSym || Sym->getLinkage() < CanonicalSym->getLinkage() ||
H A DMachOLinkGraphBuilder.cpp60 Linkage MachOLinkGraphBuilder::getLinkage(uint16_t Desc) { function in class:llvm::jitlink::MachOLinkGraphBuilder
309 getLinkage(Desc), getScope(*Name, Type));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DIndirectionUtils.cpp292 F.getLinkage(), F.getName(), &Dst);
329 GV.getLinkage(), nullptr, GV.getName(), nullptr,
360 OrigA.getLinkage(), OrigA.getName(), &Dst);
H A DObjectLinkingLayer.cpp133 if (Sym->getLinkage() == Linkage::Weak)
247 if (Sym->hasName() && Sym->getLinkage() == Linkage::Weak) {
253 if (Sym->hasName() && Sym->getLinkage() == Linkage::Weak) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp45 to->setLinkage(from->getLinkage());
H A DPreISelIntrinsicLowering.cpp83 Fn->setLinkage(F.getLinkage());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProf.cpp265 return getPGOFuncName(F.getName(), F.getLinkage(), FileName, Version);
330 if (!GlobalValue::isLocalLinkage(FuncNameVar->getLinkage()))
337 return createPGOFuncNameVar(*F.getParent(), F.getLinkage(), PGOFuncName);
1065 GlobalValue::LinkageTypes Linkage = F.getLinkage();
1103 if (!GlobalValue::isDiscardableIfUnused(F.getLinkage()))
1108 assert(F.getLinkage() == GlobalValue::AvailableExternallyLinkage);
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp242 return LinkageInfo(T.getLinkage(), DefaultVisibility, true);
786 if (!isExternallyVisible(TypeLV.getLinkage()))
830 if (!isExternallyVisible(TypeAsWritten->getLinkage()))
865 if (!isExternalFormalLinkage(EnumLV.getLinkage()))
906 if (!isExternallyVisible(LV.getLinkage()))
907 return LinkageInfo(LV.getLinkage(), DefaultVisibility, false);
965 if (!isExternallyVisible(classLV.getLinkage()))
981 if (!isExternallyVisible(TypeAsWritten->getLinkage()))
1077 .getLinkage();
1099 .getLinkage();
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreAsmPrinter.cpp122 switch (GV->getLinkage()) {
H A DXCoreLowerThreadLocal.cpp197 new GlobalVariable(*M, NewType, GV->isConstant(), GV->getLinkage(),
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGVTables.cpp1035 auto Linkage = VTable->getLinkage();
1046 assert(VTableAlias->getLinkage() == Linkage);
1280 if (!isExternallyVisible(LV.getLinkage()))
1301 if (!isExternallyVisible(LV.getLinkage()))
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp85 GV->getLinkage(),

Completed in 128 milliseconds

123