Home
last modified time | relevance | path

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

12345678910

/external/swiftshader/third_party/LLVM/include/llvm/
DGlobalValue.h63 Linkage(linkage), Visibility(DefaultVisibility), Alignment(0), in GlobalValue()
71 LinkageTypes Linkage : 5; // The linkage of this global variable
120 static bool isExternalLinkage(LinkageTypes Linkage) { in isExternalLinkage() argument
121 return Linkage == ExternalLinkage; in isExternalLinkage()
123 static bool isAvailableExternallyLinkage(LinkageTypes Linkage) { in isAvailableExternallyLinkage() argument
124 return Linkage == AvailableExternallyLinkage; in isAvailableExternallyLinkage()
126 static bool isLinkOnceLinkage(LinkageTypes Linkage) { in isLinkOnceLinkage() argument
127 return Linkage == LinkOnceAnyLinkage || Linkage == LinkOnceODRLinkage; in isLinkOnceLinkage()
129 static bool isWeakLinkage(LinkageTypes Linkage) { in isWeakLinkage() argument
130 return Linkage == WeakAnyLinkage || Linkage == WeakODRLinkage; in isWeakLinkage()
[all …]
/external/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 …]
/external/llvm/include/llvm/IR/
DGlobalValue.h70 LinkageTypes Linkage, const Twine &Name, unsigned AddressSpace) in GlobalValue() argument
72 ValueType(Ty), Linkage(Linkage), Visibility(DefaultVisibility), in GlobalValue()
82 unsigned Linkage : 4; // The linkage of this global variable
246 static bool isExternalLinkage(LinkageTypes Linkage) { in isExternalLinkage() argument
247 return Linkage == ExternalLinkage; in isExternalLinkage()
249 static bool isAvailableExternallyLinkage(LinkageTypes Linkage) { in isAvailableExternallyLinkage() argument
250 return Linkage == AvailableExternallyLinkage; in isAvailableExternallyLinkage()
252 static bool isLinkOnceODRLinkage(LinkageTypes Linkage) { in isLinkOnceODRLinkage() argument
253 return Linkage == LinkOnceODRLinkage; in isLinkOnceODRLinkage()
255 static bool isLinkOnceLinkage(LinkageTypes Linkage) { in isLinkOnceLinkage() argument
[all …]
DGlobalAlias.h35 GlobalAlias(Type *Ty, unsigned AddressSpace, LinkageTypes Linkage,
42 LinkageTypes Linkage, const Twine &Name,
47 LinkageTypes Linkage, const Twine &Name,
52 LinkageTypes Linkage, const Twine &Name,
56 static GlobalAlias *create(LinkageTypes Linkage, const Twine &Name,
DModuleSummaryIndex.h101 unsigned Linkage : 4; member
107 explicit GVFlags(GlobalValue::LinkageTypes Linkage, bool HasSection) in GVFlags()
108 : Linkage(Linkage), HasSection(HasSection) {} in GVFlags()
110 : Linkage(GV.getLinkage()), HasSection(GV.hasSection()) {} in GVFlags()
168 return static_cast<GlobalValue::LinkageTypes>(Flags.Linkage); in linkage()
173 void setLinkage(GlobalValue::LinkageTypes Linkage) { in setLinkage() argument
174 Flags.Linkage = Linkage; in setLinkage()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DGlobalValue.h78 LinkageTypes Linkage, const Twine &Name, unsigned AddressSpace) in GlobalValue() argument
85 setLinkage(Linkage); in GlobalValue()
95 unsigned Linkage : 4; // The linkage of this global variable
290 static bool isExternalLinkage(LinkageTypes Linkage) { in isExternalLinkage() argument
291 return Linkage == ExternalLinkage; in isExternalLinkage()
293 static bool isAvailableExternallyLinkage(LinkageTypes Linkage) { in isAvailableExternallyLinkage() argument
294 return Linkage == AvailableExternallyLinkage; in isAvailableExternallyLinkage()
296 static bool isLinkOnceODRLinkage(LinkageTypes Linkage) { in isLinkOnceODRLinkage() argument
297 return Linkage == LinkOnceODRLinkage; in isLinkOnceODRLinkage()
299 static bool isLinkOnceLinkage(LinkageTypes Linkage) { in isLinkOnceLinkage() argument
[all …]
DGlobalAlias.h32 GlobalAlias(Type *Ty, unsigned AddressSpace, LinkageTypes Linkage,
42 LinkageTypes Linkage, const Twine &Name,
47 LinkageTypes Linkage, const Twine &Name,
52 LinkageTypes Linkage, const Twine &Name,
56 static GlobalAlias *create(LinkageTypes Linkage, const Twine &Name,
/external/clang/include/clang/Basic/
DLinkage.h25 enum Linkage : unsigned char { enum
72 inline bool isExternallyVisible(Linkage L) { in isExternallyVisible()
76 inline Linkage getFormalLinkage(Linkage L) { in getFormalLinkage()
84 inline bool isExternalFormalLinkage(Linkage L) { in isExternalFormalLinkage()
96 inline Linkage minLinkage(Linkage L1, Linkage L2) { in minLinkage()
DVisibility.h60 LinkageInfo(Linkage L, Visibility V, bool E) in LinkageInfo()
79 Linkage getLinkage() const { return (Linkage)linkage_; } in getLinkage()
83 void setLinkage(Linkage L) { linkage_ = L; } in setLinkage()
85 void mergeLinkage(Linkage L) { in mergeLinkage()
92 void mergeExternalVisibility(Linkage L) { in mergeExternalVisibility()
93 Linkage ThisL = getLinkage(); in mergeExternalVisibility()
/external/cldr/tools/java/org/unicode/cldr/util/
DXEquivalenceClass.java36 … List<Linkage<String, Integer>> reasons = foo1.getReasons(item, foo1.getSample(item)); in main()
251 public static class Linkage<T, R> { class in XEquivalenceClass
255 public Linkage(Set<R> reasons, T result) { in Linkage() method in XEquivalenceClass.Linkage
265 …public static <T, R> String toString(List<Linkage<T, R>> others, Transform<Linkage<T, R>, String> … in toString()
267 for (Linkage<T, R> item : others) { in toString()
278 public List<Linkage<T, R>> getReasons(T a, T b) { in getReasons()
287 ArrayList<Linkage<T, R>> list = new ArrayList<Linkage<T, R>>(); in getReasons()
288 list.add(new Linkage(null, a)); in getReasons()
289 ArrayList<ArrayList<Linkage<T, R>>> lists = new ArrayList<ArrayList<Linkage<T, R>>>(); in getReasons()
300 for (ArrayList<Linkage<T, R>> lista : lists) { in getReasons()
[all …]
/external/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()
107 llvm::GlobalValue::LinkageTypes Linkage) in GlobalDeclaration() argument
108 : Kind(Kind), Linkage(Linkage) {} in GlobalDeclaration()
113 switch (Linkage) { in verifyLinkageDefault()
124 llvm::GlobalValue::LinkageTypes Linkage; variable
139 llvm::GlobalValue::LinkageTypes Linkage, in create() argument
142 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()
125 ::dumpLinkage(Stream, Linkage); in dump()
163 ::dumpLinkage(Stream, Linkage); in dump()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dglobal-access-pie-copyrelocs.ll11 ; External Linkage
26 ; WeakAny Linkage
41 ; Internal Linkage
56 ; External Linkage, only declaration.
71 ; ExternalWeak Linkage
85 ; ExternalWeak hidden Linkage
98 ; External Linkage, only declaration, store a value.
112 ; External Linkage, function pointer access.
128 ; LinkOnceODR Linkage, function pointer access.
Dglobal-access-pie.ll11 ; External Linkage
26 ; WeakAny Linkage
41 ; Internal Linkage
56 ; External Linkage, only declaration.
73 ; External Linkage, only declaration, store a value.
89 ; External Linkage, function pointer access.
105 ; LinkOnceODR Linkage, function pointer access.
/external/llvm/test/CodeGen/X86/
Dglobal-access-pie.ll6 ; External Linkage
21 ; WeakAny Linkage
36 ; Internal Linkage
51 ; External Linkage, only declaration.
68 ; External Linkage, only declaration, store a value.
84 ; External Linkage, function pointer access.
100 ; LinkOnceODR Linkage, function pointer access.
/external/v8/src/compiler/
Dlinkage.cc137 CallDescriptor* Linkage::ComputeIncoming(Zone* zone, in ComputeIncoming()
153 bool Linkage::NeedsFrameStateInput(Runtime::FunctionId function) { in NeedsFrameStateInput()
213 CallDescriptor* Linkage::GetRuntimeCallDescriptor( in GetRuntimeCallDescriptor()
220 if (!Linkage::NeedsFrameStateInput(function_id)) { in GetRuntimeCallDescriptor()
229 CallDescriptor* Linkage::GetCEntryStubCallDescriptor( in GetCEntryStubCallDescriptor()
287 CallDescriptor* Linkage::GetJSCallDescriptor(Zone* zone, bool is_osr, in GetJSCallDescriptor()
342 CallDescriptor* Linkage::GetStubCallDescriptor( in GetStubCallDescriptor()
409 CallDescriptor* Linkage::GetBytecodeDispatchCallDescriptor( in GetBytecodeDispatchCallDescriptor()
453 LinkageLocation Linkage::GetOsrValueLocation(int index) const { in GetOsrValueLocation()
485 bool Linkage::ParameterHasSecondaryLocation(int index) const { in ParameterHasSecondaryLocation()
[all …]
Draw-machine-assembler.cc36 common()->Parameter(Linkage::kJSCallClosureParamIndex), graph->start()); in RawMachineAssembler()
260 Linkage::GetSimplifiedCDescriptor(zone(), builder.Build()); in CallCFunction0()
273 Linkage::GetSimplifiedCDescriptor(zone(), builder.Build()); in CallCFunction1()
285 Linkage::GetSimplifiedCDescriptor(zone(), builder.Build()); in CallCFunction1WithCallerSavedRegisters()
302 Linkage::GetSimplifiedCDescriptor(zone(), builder.Build()); in CallCFunction2()
318 Linkage::GetSimplifiedCDescriptor(zone(), builder.Build()); in CallCFunction3()
333 Linkage::GetSimplifiedCDescriptor(zone(), builder.Build()); in CallCFunction3WithCallerSavedRegisters()
352 Linkage::GetSimplifiedCDescriptor(zone(), builder.Build()); in CallCFunction4()
371 Linkage::GetSimplifiedCDescriptor(zone(), builder.Build()); in CallCFunction5()
391 Linkage::GetSimplifiedCDescriptor(zone(), builder.Build()); in CallCFunction6()
[all …]
/external/llvm/lib/IR/
DGlobals.cpp103 GlobalValue::LinkageTypes Linkage, in getGlobalIdentifier() argument
113 if (llvm::GlobalValue::isLocalLinkage(Linkage)) { in getGlobalIdentifier()
313 unsigned AddressSpace, LinkageTypes Linkage, const Twine &Name, in GlobalIndirectSymbol() argument
315 : GlobalValue(Ty, VTy, &Op<0>(), 1, Linkage, Name, AddressSpace) { in GlobalIndirectSymbol()
340 LinkageTypes Linkage, const Twine &Name, in create() argument
342 return create(Ty, AddressSpace, Linkage, Name, nullptr, Parent); in create()
346 LinkageTypes Linkage, const Twine &Name, in create() argument
348 return create(Ty, AddressSpace, Linkage, Name, Aliasee, Aliasee->getParent()); in create()
/external/llvm/include/llvm/Support/
DDwarf.h632 const char *GDBIndexEntryLinkageString(GDBIndexEntryLinkage Linkage);
670 GDBIndexEntryLinkage Linkage; member
671 PubIndexEntryDescriptor(GDBIndexEntryKind Kind, GDBIndexEntryLinkage Linkage) in PubIndexEntryDescriptor()
672 : Kind(Kind), Linkage(Linkage) {} in PubIndexEntryDescriptor()
674 : Kind(Kind), Linkage(GIEL_EXTERNAL) {} in PubIndexEntryDescriptor()
678 Linkage(static_cast<GDBIndexEntryLinkage>((Value & LINKAGE_MASK) >> in PubIndexEntryDescriptor()
680 uint8_t toBits() { return Kind << KIND_OFFSET | Linkage << LINKAGE_OFFSET; } in toBits()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/
DInstrProf.cpp216 GlobalValue::LinkageTypes Linkage, in getPGOFuncName() argument
219 return GlobalValue::getGlobalIdentifier(RawFuncName, Linkage, FileName); in getPGOFuncName()
287 GlobalValue::LinkageTypes Linkage) { in getPGOFuncNameVarName() argument
291 if (!GlobalValue::isLocalLinkage(Linkage)) in getPGOFuncNameVarName()
305 GlobalValue::LinkageTypes Linkage, in createPGOFuncNameVar() argument
310 if (Linkage == GlobalValue::ExternalWeakLinkage) in createPGOFuncNameVar()
311 Linkage = GlobalValue::LinkOnceAnyLinkage; in createPGOFuncNameVar()
312 else if (Linkage == GlobalValue::AvailableExternallyLinkage) in createPGOFuncNameVar()
313 Linkage = GlobalValue::LinkOnceODRLinkage; in createPGOFuncNameVar()
314 else if (Linkage == GlobalValue::InternalLinkage || in createPGOFuncNameVar()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/BinaryFormat/
DDwarf.h439 StringRef GDBIndexEntryLinkageString(GDBIndexEntryLinkage Linkage);
559 GDBIndexEntryLinkage Linkage; member
560 PubIndexEntryDescriptor(GDBIndexEntryKind Kind, GDBIndexEntryLinkage Linkage) in PubIndexEntryDescriptor()
561 : Kind(Kind), Linkage(Linkage) {} in PubIndexEntryDescriptor()
563 : Kind(Kind), Linkage(GIEL_EXTERNAL) {} in PubIndexEntryDescriptor()
567 Linkage(static_cast<GDBIndexEntryLinkage>((Value & LINKAGE_MASK) >> in PubIndexEntryDescriptor()
570 return Kind << KIND_OFFSET | Linkage << LINKAGE_OFFSET; in toBits()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DGlobals.cpp128 GlobalValue::LinkageTypes Linkage, in getGlobalIdentifier() argument
138 if (llvm::GlobalValue::isLocalLinkage(Linkage)) { in getGlobalIdentifier()
398 unsigned AddressSpace, LinkageTypes Linkage, const Twine &Name, in GlobalIndirectSymbol() argument
400 : GlobalValue(Ty, VTy, &Op<0>(), 1, Linkage, Name, AddressSpace) { in GlobalIndirectSymbol()
425 LinkageTypes Linkage, const Twine &Name, in create() argument
427 return create(Ty, AddressSpace, Linkage, Name, nullptr, Parent); in create()
431 LinkageTypes Linkage, const Twine &Name, in create() argument
433 return create(Ty, AddressSpace, Linkage, Name, Aliasee, Aliasee->getParent()); in create()
/external/llvm/lib/ProfileData/
DInstrProf.cpp127 GlobalValue::LinkageTypes Linkage, in getPGOFuncName() argument
130 return GlobalValue::getGlobalIdentifier(RawFuncName, Linkage, FileName); in getPGOFuncName()
175 GlobalValue::LinkageTypes Linkage) { in getPGOFuncNameVarName() argument
179 if (!GlobalValue::isLocalLinkage(Linkage)) in getPGOFuncNameVarName()
193 GlobalValue::LinkageTypes Linkage, in createPGOFuncNameVar() argument
199 if (Linkage == GlobalValue::ExternalWeakLinkage) in createPGOFuncNameVar()
200 Linkage = GlobalValue::LinkOnceAnyLinkage; in createPGOFuncNameVar()
201 else if (Linkage == GlobalValue::AvailableExternallyLinkage) in createPGOFuncNameVar()
202 Linkage = GlobalValue::LinkOnceODRLinkage; in createPGOFuncNameVar()
203 else if (Linkage == GlobalValue::InternalLinkage || in createPGOFuncNameVar()
[all …]
/external/clang/lib/CodeGen/
DCGVTT.cpp25 llvm::GlobalVariable::LinkageTypes Linkage, in GetAddrOfVTTVTable() argument
37 Linkage, in GetAddrOfVTTVTable()
43 llvm::GlobalVariable::LinkageTypes Linkage, in EmitVTTDefinition() argument
56 VTables.push_back(GetAddrOfVTTVTable(*this, CGM, RD, *i, Linkage, in EmitVTTDefinition()
95 VTT->setLinkage(Linkage); in EmitVTTDefinition()
DCGCXX.cpp128 llvm::GlobalValue::LinkageTypes Linkage = getFunctionLinkage(AliasDecl); in TryEmitDefinitionAsAlias() local
131 if (!llvm::GlobalAlias::isValidLinkage(Linkage)) in TryEmitDefinitionAsAlias()
159 if (llvm::GlobalValue::isDiscardableIfUnused(Linkage) && in TryEmitDefinitionAsAlias()
176 if (llvm::GlobalValue::isWeakForLinker(Linkage) && in TryEmitDefinitionAsAlias()
197 auto *Alias = llvm::GlobalAlias::create(AliasValueType, 0, Linkage, "", in TryEmitDefinitionAsAlias()

12345678910