Home
last modified time | relevance | path

Searched refs:Linkage (Results 1 – 25 of 146) sorted by relevance

123456

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DGlobalValue.h78 LinkageTypes Linkage, const Twine &Name, unsigned AddressSpace) in GlobalValue() argument
80 ValueType(Ty), Linkage(Linkage), Visibility(DefaultVisibility), in GlobalValue()
90 unsigned Linkage : 4; // The linkage of this global variable
263 static bool isExternalLinkage(LinkageTypes Linkage) { in isExternalLinkage() argument
264 return Linkage == ExternalLinkage; in isExternalLinkage()
266 static bool isAvailableExternallyLinkage(LinkageTypes Linkage) { in isAvailableExternallyLinkage() argument
267 return Linkage == AvailableExternallyLinkage; in isAvailableExternallyLinkage()
269 static bool isLinkOnceODRLinkage(LinkageTypes Linkage) { in isLinkOnceODRLinkage() argument
270 return Linkage == LinkOnceODRLinkage; in isLinkOnceODRLinkage()
272 static bool isLinkOnceLinkage(LinkageTypes Linkage) { in isLinkOnceLinkage() argument
[all …]
DGlobalObject.h33 LinkageTypes Linkage, const Twine &Name,
35 : GlobalValue(Ty, VTy, Ops, NumOps, Linkage, Name, AddressSpace), in GlobalValue() argument
DFunction.h109 Function(FunctionType *Ty, LinkageTypes Linkage,
117 static Function *Create(FunctionType *Ty, LinkageTypes Linkage,
119 return new Function(Ty, Linkage, N, M);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DGlobalValue.h77 LinkageTypes Linkage, const Twine &Name, unsigned AddressSpace) in GlobalValue() argument
84 setLinkage(Linkage); in GlobalValue()
94 unsigned Linkage : 4; // The linkage of this global variable
300 static bool isExternalLinkage(LinkageTypes Linkage) { in isExternalLinkage() argument
301 return Linkage == ExternalLinkage; in isExternalLinkage()
303 static bool isAvailableExternallyLinkage(LinkageTypes Linkage) { in isAvailableExternallyLinkage() argument
304 return Linkage == AvailableExternallyLinkage; in isAvailableExternallyLinkage()
306 static bool isLinkOnceODRLinkage(LinkageTypes Linkage) { in isLinkOnceODRLinkage() argument
307 return Linkage == LinkOnceODRLinkage; in isLinkOnceODRLinkage()
309 static bool isLinkOnceLinkage(LinkageTypes Linkage) { in isLinkOnceLinkage() argument
[all …]
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,
DGlobalIFunc.h36 GlobalIFunc(Type *Ty, unsigned AddressSpace, LinkageTypes Linkage,
46 LinkageTypes Linkage, const Twine &Name,
DFunction.h122 Function(FunctionType *Ty, LinkageTypes Linkage, unsigned AddrSpace,
135 static Function *Create(FunctionType *Ty, LinkageTypes Linkage,
138 return new Function(Ty, Linkage, AddrSpace, N, M);
142 static Function *Create(FunctionType *Ty, LinkageTypes Linkage,
144 return new Function(Ty, Linkage, static_cast<unsigned>(-1), N, M);
151 static Function *Create(FunctionType *Ty, LinkageTypes Linkage,
DModuleSummaryIndexYAML.h138 unsigned Linkage;
179 io.mapOptional("Linkage", summary.Linkage);
225 static_cast<GlobalValue::LinkageTypes>(FSum.Linkage),
244 FSum->flags().Linkage,
DGlobalObject.h47 LinkageTypes Linkage, const Twine &Name,
49 : GlobalValue(Ty, VTy, Ops, NumOps, Linkage, Name, AddressSpace), in GlobalValue() argument
DGlobalVariable.h54 GlobalVariable(Type *Ty, bool isConstant, LinkageTypes Linkage,
61 LinkageTypes Linkage, Constant *Initializer,
DModuleSummaryIndex.h294 unsigned Linkage : 4;
323 explicit GVFlags(GlobalValue::LinkageTypes Linkage,
326 : Linkage(Linkage), NotEligibleToImport(NotEligibleToImport),
388 return static_cast<GlobalValue::LinkageTypes>(Flags.Linkage);
393 void setLinkage(GlobalValue::LinkageTypes Linkage) {
394 Flags.Linkage = Linkage;
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceGlobalInits.h75 return Linkage == llvm::GlobalValue::InternalLinkage; in isInternal()
77 llvm::GlobalValue::LinkageTypes getLinkage() const { return Linkage; } in getLinkage()
80 Linkage = L; in setLinkage()
83 return Linkage == llvm::GlobalValue::ExternalLinkage; in isExternal()
103 llvm::GlobalValue::LinkageTypes Linkage) in GlobalDeclaration() argument
104 : Kind(Kind), Linkage(Linkage) {} in GlobalDeclaration()
109 switch (Linkage) { in verifyLinkageDefault()
120 llvm::GlobalValue::LinkageTypes Linkage; variable
135 llvm::GlobalValue::LinkageTypes Linkage, in create() argument
138 FunctionDeclaration(Signature, CallingConv, Linkage, IsProto); in create()
[all …]
DIceGlobalInits.cpp29 llvm::GlobalValue::LinkageTypes Linkage) { in dumpLinkage() argument
32 switch (Linkage) { in dumpLinkage()
44 StrBuf << "Unknown linkage value: " << Linkage; in dumpLinkage()
91 ::dumpLinkage(Stream, Linkage); in dump()
129 ::dumpLinkage(Stream, Linkage); in dump()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DDwarf.h480 StringRef GDBIndexEntryLinkageString(GDBIndexEntryLinkage Linkage);
613 GDBIndexEntryLinkage Linkage; member
614 PubIndexEntryDescriptor(GDBIndexEntryKind Kind, GDBIndexEntryLinkage Linkage) in PubIndexEntryDescriptor()
615 : Kind(Kind), Linkage(Linkage) {} in PubIndexEntryDescriptor()
617 : Kind(Kind), Linkage(GIEL_EXTERNAL) {} in PubIndexEntryDescriptor()
621 Linkage(static_cast<GDBIndexEntryLinkage>((Value & LINKAGE_MASK) >> in PubIndexEntryDescriptor()
624 return Kind << KIND_OFFSET | Linkage << LINKAGE_OFFSET; in toBits()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DGlobals.cpp137 GlobalValue::LinkageTypes Linkage, in getGlobalIdentifier() argument
147 if (llvm::GlobalValue::isLocalLinkage(Linkage)) { in getGlobalIdentifier()
428 unsigned AddressSpace, LinkageTypes Linkage, const Twine &Name, in GlobalIndirectSymbol() argument
430 : GlobalValue(Ty, VTy, &Op<0>(), 1, Linkage, Name, AddressSpace) { in GlobalIndirectSymbol()
492 LinkageTypes Linkage, const Twine &Name, in create() argument
494 return create(Ty, AddressSpace, Linkage, Name, nullptr, Parent); in create()
498 LinkageTypes Linkage, const Twine &Name, in create() argument
500 return create(Ty, AddressSpace, Linkage, Name, Aliasee, Aliasee->getParent()); in create()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/JITLink/
DJITLink.h266 enum class Linkage : uint8_t { enum
272 const char *getLinkageName(Linkage L);
303 JITTargetAddress Size, Linkage L, Scope S, bool IsLive, in Symbol()
322 new (Sym) Symbol(Base, 0, Name, Size, Linkage::Weak, S, IsLive, false); in constructCommon()
328 Linkage L) { in constructExternal()
340 Linkage L, Scope S, bool IsLive) { in constructAbsolute()
356 new (Sym) Symbol(Base, Offset, StringRef(), Size, Linkage::Strong, in constructAnonDef()
363 JITTargetAddress Size, Linkage L, Scope S, in constructNamedDef()
476 Linkage getLinkage() const { return static_cast<Linkage>(L); } in getLinkage()
479 void setLinkage(Linkage L) { in setLinkage()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DInstrProf.cpp216 GlobalValue::LinkageTypes Linkage, in getPGOFuncName() argument
219 return GlobalValue::getGlobalIdentifier(RawFuncName, Linkage, FileName); in getPGOFuncName()
288 GlobalValue::LinkageTypes Linkage) { in getPGOFuncNameVarName() argument
292 if (!GlobalValue::isLocalLinkage(Linkage)) in getPGOFuncNameVarName()
306 GlobalValue::LinkageTypes Linkage, in createPGOFuncNameVar() argument
311 if (Linkage == GlobalValue::ExternalWeakLinkage) in createPGOFuncNameVar()
312 Linkage = GlobalValue::LinkOnceAnyLinkage; in createPGOFuncNameVar()
313 else if (Linkage == GlobalValue::AvailableExternallyLinkage) in createPGOFuncNameVar()
314 Linkage = GlobalValue::LinkOnceODRLinkage; in createPGOFuncNameVar()
315 else if (Linkage == GlobalValue::InternalLinkage || in createPGOFuncNameVar()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/
DMachOLinkGraphBuilder.h39 uint8_t Sect, uint16_t Desc, Linkage L, Scope S) in NormalizedSymbol()
56 Linkage L = Linkage::Strong;
150 static Linkage getLinkage(uint16_t Desc);
DJITLink.cpp70 const char *getLinkageName(Linkage L) { in getLinkageName()
72 case Linkage::Strong: in getLinkageName()
74 case Linkage::Weak: in getLinkageName()
109 case Linkage::Strong: in operator <<()
112 case Linkage::Weak: in operator <<()
DMachOLinkGraphBuilder.cpp60 Linkage MachOLinkGraphBuilder::getLinkage(uint16_t Desc) { in getLinkage()
62 return Linkage::Weak; in getLinkage()
63 return Linkage::Strong; in getLinkage()
326 NSym.Desc & MachO::N_WEAK_REF ? Linkage::Weak : Linkage::Strong); in graphifyRegularSymbols()
334 *NSym.Name, NSym.Value, 0, Linkage::Strong, Scope::Default, in graphifyRegularSymbols()
DJITLinkGeneric.cpp269 Sym->getLinkage() == Linkage::Weak in getExternalSymbolNames()
287 assert(Sym->getLinkage() == Linkage::Weak && in applyLookupResult()
300 Sym->getLinkage() == Linkage::Weak; in applyLookupResult()
/third_party/rust/crates/bindgen/bindgen/ir/
Dfunction.rs67 pub enum Linkage { enum
96 linkage: Linkage,
107 linkage: Linkage, in new() argument
145 pub fn linkage(&self) -> Linkage { in linkage() argument
678 CXLinkage_External | CXLinkage_UniqueExternal => Linkage::External, in parse()
679 CXLinkage_Internal => Linkage::Internal, in parse()
701 matches!(linkage, Linkage::External) in parse()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DGlobalMerge.cpp498 GlobalValue::LinkageTypes Linkage = HasExternal in doMerge() local
515 auto MergedLinkage = IsMachO ? Linkage : GlobalValue::PrivateLinkage; in doMerge()
525 GlobalValue::LinkageTypes Linkage = Globals[k]->getLinkage(); in doMerge() local
550 if (Linkage != GlobalValue::InternalLinkage || !IsMachO) { in doMerge()
552 Linkage, Name, GEP, &M); in doMerge()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DThinLTOBitcodeWriter.cpp327 CfiFunctionLinkage Linkage; in splitAndWriteThinLTOBitcode() local
329 Linkage = CFL_Definition; in splitAndWriteThinLTOBitcode()
331 Linkage = CFL_WeakDeclaration; in splitAndWriteThinLTOBitcode()
333 Linkage = CFL_Declaration; in splitAndWriteThinLTOBitcode()
335 llvm::ConstantInt::get(Type::getInt8Ty(Ctx), Linkage))); in splitAndWriteThinLTOBitcode()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp747 GlobalValue::LinkageTypes Linkage = NamePtr->getLinkage(); in getOrCreateRegionCounters() local
750 Linkage = GlobalValue::InternalLinkage; in getOrCreateRegionCounters()
768 Linkage = GlobalValue::LinkOnceODRLinkage; in getOrCreateRegionCounters()
783 new GlobalVariable(*M, CounterTy, false, Linkage, in getOrCreateRegionCounters()
791 CounterPtr->setLinkage(Linkage); in getOrCreateRegionCounters()
805 new GlobalVariable(*M, ValuesTy, false, Linkage, in getOrCreateRegionCounters()
839 auto *Data = new GlobalVariable(*M, DataTy, false, Linkage, in getOrCreateRegionCounters()
846 Data->setLinkage(Linkage); in getOrCreateRegionCounters()

123456