Home
last modified time | relevance | path

Searched full:linkage (Results 1 – 25 of 589) sorted by relevance

12345678910>>...24

/freebsd/contrib/llvm-project/llvm/include/llvm/TextAPI/
H A DRecord.h47 // Defines a list of linkage types.
49 // Unknown linkage.
52 // Local, hidden or private extern linkage.
55 // Undefined linkage, it represents usage of external interface.
58 // Re-exported linkage, record is defined in external interface.
61 // Exported linkage.
70 Record(StringRef Name, RecordLinkage Linkage, SymbolFlags Flags) in Record() argument
71 : Name(Name), Linkage(Linkage), Flags(mergeFlags(Flags, Linkage)), in Record()
95 bool isInternal() const { return Linkage == RecordLinkage::Internal; } in isInternal()
96 bool isUndefined() const { return Linkage == RecordLinkage::Undefined; } in isUndefined()
[all …]
H A DRecordsSlice.h44 /// \param Linkage The linkage of symbol.
48 RecordLinkage Linkage = RecordLinkage::Unknown);
53 /// \param Linkage The linkage of symbol.
59 GlobalRecord *addGlobal(StringRef Name, RecordLinkage Linkage,
67 /// \param Linkage The linkage of symbol.
70 ObjCInterfaceRecord *addObjCInterface(StringRef Name, RecordLinkage Linkage,
77 /// \param Linkage The linkage of symbol.
80 RecordLinkage Linkage);
175 /// Promote linkage of requested record. It is no-op if linkage type is lower
179 /// \param L Linkage type to update to.
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalValue.h50 /// An enumeration for the kinds of linkage for global values.
61 ExternalWeakLinkage,///< ExternalWeak linkage description.
81 LinkageTypes Linkage, const Twine &Name, unsigned AddressSpace) in GlobalValue() argument
88 setLinkage(Linkage); in GlobalValue()
98 unsigned Linkage : 4; // The linkage of this global variable
111 /// If true then there is a definition within the same linkage unit and that
256 "local linkage requires default visibility"); in setVisibility()
286 "local linkage requires DefaultStorageClass"); in setDLLStorageClass()
376 static bool isExternalLinkage(LinkageTypes Linkage) { in isExternalLinkage() argument
377 return Linkage == ExternalLinkage; in isExternalLinkage()
[all …]
H A DGlobalAlias.h31 GlobalAlias(Type *Ty, unsigned AddressSpace, LinkageTypes Linkage,
41 LinkageTypes Linkage, const Twine &Name,
46 LinkageTypes Linkage, const Twine &Name,
51 LinkageTypes Linkage, const Twine &Name,
55 static GlobalAlias *create(LinkageTypes Linkage, const Twine &Name,
58 // Linkage, Type, Parent and AddressSpace taken from the Aliasee.
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DVisibility.h17 #include "clang/Basic/Linkage.h"
54 LLVM_PREFERRED_TYPE(Linkage)
64 : linkage_(llvm::to_underlying(Linkage::External)), in LinkageInfo()
66 LinkageInfo(Linkage L, Visibility V, bool E) in LinkageInfo()
76 return LinkageInfo(Linkage::Internal, DefaultVisibility, false); in internal()
79 return LinkageInfo(Linkage::UniqueExternal, DefaultVisibility, false); in uniqueExternal()
82 return LinkageInfo(Linkage::None, DefaultVisibility, false); in none()
85 return LinkageInfo(Linkage::VisibleNone, DefaultVisibility, false); in visible_none()
88 Linkage getLinkage() const { return static_cast<Linkage>(linkage_); } in getLinkage()
92 void setLinkage(Linkage L) { linkage_ = llvm::to_underlying(L); } in setLinkage()
[all …]
H A DDiagnosticInstallAPIKinds.td36 def err_library_missing_symbol : Error<"declaration has external linkage, but dynamic library doesn…
37 def warn_library_missing_symbol : Warning<"declaration has external linkage, but dynamic library do…
38 …library_hidden_symbol : Error<"declaration has external linkage, but symbol has internal linkage i…
39 …brary_hidden_symbol : Warning<"declaration has external linkage, but symbol has internal linkage i…
/freebsd/contrib/googletest/googlemock/test/
H A Dgmock_link_test.h247 // Tests the linkage of the ReturnVoid action.
255 // Tests the linkage of the Return action.
264 // Tests the linkage of the ReturnNull action.
272 // Tests the linkage of the ReturnRef action.
281 // Tests the linkage of the Assign action.
290 // Tests the linkage of the SetArgPointee action.
299 // Tests the linkage of the SetArrayArgument action.
312 // Tests the linkage of the SetErrnoAndReturn action.
324 // Tests the linkage of the Invoke(function) and Invoke(object, method) actions.
336 // Tests the linkage of the InvokeWithoutArgs action.
[all …]
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DRecordsSlice.cpp24 GlobalRecord::Kind GV, RecordLinkage Linkage) { in addRecord() argument
30 return addGlobal(Name, Linkage, GV, Flags); in addRecord()
32 return addObjCInterface(Name, Linkage, InterfaceType); in addRecord()
34 ObjCInterfaceRecord *Rec = addObjCInterface(Name, Linkage, InterfaceType); in addRecord()
48 return addObjCIVar(Container, IVar, Linkage); in addRecord()
124 // linkages, in this case assign the largest one, when querying the linkage of in updateLinkageForSymbols()
127 Linkage = in updateLinkageForSymbols()
173 GlobalRecord *RecordsSlice::addGlobal(StringRef Name, RecordLinkage Linkage, in addGlobal() argument
185 std::make_unique<GlobalRecord>(Name, Linkage, Flags, GV, Inlined); in addGlobal()
187 updateLinkage(Result.first->second.get(), Linkage); in addGlobal()
[all …]
/freebsd/sys/contrib/libsodium/builds/msvc/vs2010/
H A Dlibsodium.import.props14 <!-- Linkage -->
19 …<PreprocessorDefinitions Condition="'$(Linkage-libsodium)' == 'static' Or '$(Linkage-libsodium)' =…
22 …<AdditionalDependencies Condition="'$(Linkage-libsodium)' != ''">advapi32.lib;libsodium.lib;%(Addi…
23 …)..\..\..\..\..\libsodium\bin\$(PlatformName)\Debug\$(PlatformToolset)\$(Linkage-libsodium)\;%(Add…
24 ….\..\..\..\..\libsodium\bin\$(PlatformName)\Release\$(PlatformToolset)\$(Linkage-libsodium)\;%(Add…
30 …<Target Name="Linkage-libsodium-dynamic" AfterTargets="AfterBuild" Condition="'$(Linkage-libsodium…
47 …<Target Name="libsodium-info" BeforeTargets="AfterBuild" Condition="'$(Linkage-libsodium)' == 'dyn…
H A Dlibsodium.import.xml3 …<Rule Name="libsodium-linkage-uiextension" PageTemplate="tool" DisplayName="Local Dependencies" Sw…
10 …<EnumProperty Name="Linkage-libsodium" DisplayName="Linkage" Description="How libsodium will be li…
/freebsd/sys/contrib/libsodium/builds/msvc/vs2012/
H A Dlibsodium.import.props14 <!-- Linkage -->
19 …<PreprocessorDefinitions Condition="'$(Linkage-libsodium)' == 'static' Or '$(Linkage-libsodium)' =…
22 …<AdditionalDependencies Condition="'$(Linkage-libsodium)' != ''">advapi32.lib;libsodium.lib;%(Addi…
23 …)..\..\..\..\..\libsodium\bin\$(PlatformName)\Debug\$(PlatformToolset)\$(Linkage-libsodium)\;%(Add…
24 ….\..\..\..\..\libsodium\bin\$(PlatformName)\Release\$(PlatformToolset)\$(Linkage-libsodium)\;%(Add…
30 …<Target Name="Linkage-libsodium-dynamic" AfterTargets="AfterBuild" Condition="'$(Linkage-libsodium…
47 …<Target Name="libsodium-info" BeforeTargets="AfterBuild" Condition="'$(Linkage-libsodium)' == 'dyn…
H A Dlibsodium.import.xml3 …<Rule Name="libsodium-linkage-uiextension" PageTemplate="tool" DisplayName="Local Dependencies" Sw…
10 …<EnumProperty Name="Linkage-libsodium" DisplayName="Linkage" Description="How libsodium will be li…
/freebsd/sys/contrib/libsodium/builds/msvc/vs2013/
H A Dlibsodium.import.props14 <!-- Linkage -->
19 …<PreprocessorDefinitions Condition="'$(Linkage-libsodium)' == 'static' Or '$(Linkage-libsodium)' =…
22 …<AdditionalDependencies Condition="'$(Linkage-libsodium)' != ''">advapi32.lib;libsodium.lib;%(Addi…
23 …)..\..\..\..\..\libsodium\bin\$(PlatformName)\Debug\$(PlatformToolset)\$(Linkage-libsodium)\;%(Add…
24 ….\..\..\..\..\libsodium\bin\$(PlatformName)\Release\$(PlatformToolset)\$(Linkage-libsodium)\;%(Add…
30 …<Target Name="Linkage-libsodium-dynamic" AfterTargets="AfterBuild" Condition="'$(Linkage-libsodium…
47 …<Target Name="libsodium-info" BeforeTargets="AfterBuild" Condition="'$(Linkage-libsodium)' == 'dyn…
H A Dlibsodium.import.xml3 …<Rule Name="libsodium-linkage-uiextension" PageTemplate="tool" DisplayName="Local Dependencies" Sw…
10 …<EnumProperty Name="Linkage-libsodium" DisplayName="Linkage" Description="How libsodium will be li…
/freebsd/sys/contrib/libsodium/builds/msvc/vs2015/
H A Dlibsodium.import.props14 <!-- Linkage -->
19 …<PreprocessorDefinitions Condition="'$(Linkage-libsodium)' == 'static' Or '$(Linkage-libsodium)' =…
22 …<AdditionalDependencies Condition="'$(Linkage-libsodium)' != ''">advapi32.lib;libsodium.lib;%(Addi…
23 …)..\..\..\..\..\libsodium\bin\$(PlatformName)\Debug\$(PlatformToolset)\$(Linkage-libsodium)\;%(Add…
24 ….\..\..\..\..\libsodium\bin\$(PlatformName)\Release\$(PlatformToolset)\$(Linkage-libsodium)\;%(Add…
30 …<Target Name="Linkage-libsodium-dynamic" AfterTargets="AfterBuild" Condition="'$(Linkage-libsodium…
47 …<Target Name="libsodium-info" BeforeTargets="AfterBuild" Condition="'$(Linkage-libsodium)' == 'dyn…
/freebsd/sys/contrib/libsodium/builds/msvc/vs2017/
H A Dlibsodium.import.props14 <!-- Linkage -->
19 …<PreprocessorDefinitions Condition="'$(Linkage-libsodium)' == 'static' Or '$(Linkage-libsodium)' =…
22 …<AdditionalDependencies Condition="'$(Linkage-libsodium)' != ''">advapi32.lib;libsodium.lib;%(Addi…
23 …)..\..\..\..\..\libsodium\bin\$(PlatformName)\Debug\$(PlatformToolset)\$(Linkage-libsodium)\;%(Add…
24 ….\..\..\..\..\libsodium\bin\$(PlatformName)\Release\$(PlatformToolset)\$(Linkage-libsodium)\;%(Add…
30 …<Target Name="Linkage-libsodium-dynamic" AfterTargets="AfterBuild" Condition="'$(Linkage-libsodium…
47 …<Target Name="libsodium-info" BeforeTargets="AfterBuild" Condition="'$(Linkage-libsodium)' == 'dyn…
/freebsd/contrib/llvm-project/clang/include/clang/InstallAPI/
H A DFrontendRecords.h38 /// \param Linkage The linkage of symbol.
50 addGlobal(StringRef Name, RecordLinkage Linkage, GlobalRecord::Kind GV,
58 /// \param Linkage The linkage of symbol.
67 addObjCInterface(StringRef Name, RecordLinkage Linkage,
91 /// \param Linkage The linkage of symbol.
101 RecordLinkage Linkage, const clang::AvailabilityInfo Avail,
/freebsd/sys/contrib/libsodium/packaging/nuget/
H A Dpackage.gsl132 …<ItemDefinitionGroup Condition="'$\(Linkage-$(package.target))' == 'static' Or '$\(Linkage-$(packa…
139 …age.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target)…
144 …age.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target)…
149 …age.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target)…
154 …age.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target)…
161 …age.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target)…
166 …age.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target)…
171 …age.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target)…
176 …age.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target)…
183 …age.platformtoolset)' Or '$\(PlatformToolset)' == 'CTP_Nov2013') And '$\(Linkage-$(package.target)…
[all …]
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DFrontend.cpp20 StringRef Name, RecordLinkage Linkage, GlobalRecord::Kind GV, in addGlobal() argument
25 llvm::MachO::RecordsSlice::addGlobal(Name, Linkage, GV, Flags, Inlined); in addGlobal()
32 FrontendRecordsSlice::addObjCInterface(StringRef Name, RecordLinkage Linkage, in addObjCInterface() argument
42 llvm::MachO::RecordsSlice::addObjCInterface(Name, Linkage, SymType); in addObjCInterface()
61 ObjCContainerRecord *Container, StringRef IvarName, RecordLinkage Linkage, in addObjCIVar() argument
65 // Ivar's linkage is also determined by this. in addObjCIVar()
66 if ((Linkage == RecordLinkage::Exported) && in addObjCIVar()
68 Linkage = RecordLinkage::Internal; in addObjCIVar()
70 llvm::MachO::RecordsSlice::addObjCIVar(Container, IvarName, Linkage); in addObjCIVar()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DLinkage.h1 //===----- Linkage.h - Linkage calculation-related utilities ----*- C++ -*-===//
9 // This file provides AST-internal utilities for linkage and visibility
26 /// Kinds of LV computation. The linkage side of the computation is
39 /// in computing linkage.
60 /// Do an LV computation when we only care about the linkage.
78 // We have a cache for repeated linkage/visibility computations. This saves us
H A DDecl.cpp14 #include "Linkage.h"
44 #include "clang/Basic/Linkage.h"
247 /// Get the most restrictive linkage for the types in the given
314 /// Get the most restrictive linkage for the types and
385 /// Merge in template-related linkage and visibility for the given
402 // The linkage of the specialization should be consistent with the in mergeTemplateLV()
464 /// Merge in template-related linkage and visibility for the given
476 // The linkage of the specialization should be consistent with the in mergeTemplateLV()
520 /// Merge in template-related linkage and visibility for the given
618 // A name having namespace scope (3.3.6) has internal linkage if it in getLVForNamespaceScopeDecl()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DCOFFLinkGraphBuilder.cpp336 createAliasSymbol(WeakExternal.SymbolName, Linkage::Weak, S, *Target); in flushWeakAliasRequests()
363 Target->getSize(), Linkage::Weak, Scope::Local, false); in handleAlternateNames()
386 Linkage L, Scope S, in createAliasSymbol()
470 0, SymbolName, Symbol.getValue(), Linkage::Strong, Scope::Default, in createDefinedSymbol()
476 Linkage::Strong, Scope::Local, false); in createDefinedSymbol()
499 *B, Symbol.getValue(), SymbolName, 0, Linkage::Strong, Scope::Default, in createDefinedSymbol()
519 *B, Symbol.getValue(), SymbolName, 0, Linkage::Strong, Scope::Local, in createDefinedSymbol()
525 *B, Symbol.getValue(), SymbolName, 0, Linkage::Strong, Scope::Local, in createDefinedSymbol()
558 Linkage L = Linkage in createCOMDATExportRequest()
[all...]
/freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DAPI.h248 LinkageInfo Linkage; member
291 AvailabilityInfo Availability, LinkageInfo Linkage,
296 Availability(std::move(Availability)), Linkage(Linkage), in USR()
390 LinkageInfo Linkage, const DocComment &Comment, in NamespaceRecord()
394 Linkage, Comment, Declaration, SubHeading, in NamespaceRecord()
410 LinkageInfo Linkage, const DocComment &Comment, in GlobalFunctionRecord()
415 std::move(Availability), Linkage, Comment, Declaration, in GlobalFunctionRecord()
421 AvailabilityInfo Availability, LinkageInfo Linkage, in GlobalFunctionRecord()
427 Linkage, Comment, Declaration, SubHeading, in GlobalFunctionRecord()
446 LinkageInfo Linkage, const DocComment &Comment, in GlobalFunctionTemplateRecord()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCXX.cpp120 // The alias will use the linkage of the referent. If we can't in TryEmitBaseDestructorAsAlias()
121 // support aliases with that linkage, fail. in TryEmitBaseDestructorAsAlias()
122 llvm::GlobalValue::LinkageTypes Linkage = getFunctionLinkage(AliasDecl); in TryEmitBaseDestructorAsAlias() local
124 // We can't use an alias if the linkage is not valid for one. in TryEmitBaseDestructorAsAlias()
125 if (!llvm::GlobalAlias::isValidLinkage(Linkage)) in TryEmitBaseDestructorAsAlias()
146 if (llvm::GlobalValue::isDiscardableIfUnused(Linkage) && in TryEmitBaseDestructorAsAlias()
150 // linkage "AvailableExternally". In libc++, some classes also define in TryEmitBaseDestructorAsAlias()
163 if (llvm::GlobalValue::isWeakForLinker(Linkage) && in TryEmitBaseDestructorAsAlias()
182 auto *Alias = llvm::GlobalAlias::create(AliasValueType, 0, Linkage, "", in TryEmitBaseDestructorAsAlias()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionImportUtils.cpp80 auto Linkage = Summary->linkage(); in shouldPromoteLocalToGlobal() local
81 if (!GlobalValue::isLocalLinkage(Linkage)) { in shouldPromoteLocalToGlobal()
138 // Otherwise, if we aren't importing, no linkage change is needed. in getLinkage()
174 // For weak_odr linkage, there is a guarantee that all copies will be in getLinkage()
184 // It would be incorrect to import an appending linkage variable, in getLinkage()
208 // Linkage stays external_weak. in getLinkage()
212 // Linkage stays common on definitions. in getLinkage()
217 llvm_unreachable("unknown linkage type"); in getLinkage()
266 // matches one in this module (e.g. weak or appending linkage). in processGlobalForThinLTO()

12345678910>>...24