Home
last modified time | relevance | path

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

123456

/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 …]
DGlobalVariable.h53 GlobalVariable(Type *Ty, bool isConstant, LinkageTypes Linkage,
59 LinkageTypes Linkage, Constant *Initializer,
/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()
DGlobalIFunc.h40 GlobalIFunc(Type *Ty, unsigned AddressSpace, LinkageTypes Linkage,
47 LinkageTypes Linkage, const Twine &Name,
DGlobalVariable.h55 GlobalVariable(Type *Ty, bool isConstant, LinkageTypes Linkage,
62 LinkageTypes Linkage, Constant *Initializer,
DGlobalObject.h32 LinkageTypes Linkage, const Twine &Name,
34 : GlobalValue(Ty, VTy, Ops, NumOps, Linkage, Name, AddressSpace), in GlobalValue() argument
/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/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/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.cc127 CallDescriptor* Linkage::ComputeIncoming(Zone* zone, CompilationInfo* info) { in ComputeIncoming()
142 bool Linkage::NeedsFrameStateInput(Runtime::FunctionId function) { in NeedsFrameStateInput()
208 CallDescriptor* Linkage::GetRuntimeCallDescriptor( in GetRuntimeCallDescriptor()
215 if (!Linkage::NeedsFrameStateInput(function_id)) { in GetRuntimeCallDescriptor()
224 CallDescriptor* Linkage::GetCEntryStubCallDescriptor( in GetCEntryStubCallDescriptor()
282 CallDescriptor* Linkage::GetJSCallDescriptor(Zone* zone, bool is_osr, in GetJSCallDescriptor()
339 CallDescriptor* Linkage::GetStubCallDescriptor( in GetStubCallDescriptor()
400 CallDescriptor* Linkage::GetAllocateCallDescriptor(Zone* zone) { in GetAllocateCallDescriptor()
425 CallDescriptor* Linkage::GetBytecodeDispatchCallDescriptor( in GetBytecodeDispatchCallDescriptor()
465 LinkageLocation Linkage::GetOsrValueLocation(int index) const { in GetOsrValueLocation()
[all …]
Djs-frame-specialization.cc37 if (index == Linkage::kOsrContextSpillSlotIndex) { in ReduceOsrValue()
62 if (index == Linkage::kJSCallClosureParamIndex) { in ReduceParameter()
65 } else if (index == Linkage::GetJSCallArgCountParamIndex(parameters_count)) { in ReduceParameter()
68 } else if (index == Linkage::GetJSCallContextParamIndex(parameters_count)) { in ReduceParameter()
Dmachine-graph-verifier.h16 class Linkage; variable
24 Linkage* linkage, bool is_stub, const char* name,
Dcode-generator.h27 class Linkage; variable
55 explicit CodeGenerator(Frame* frame, Linkage* linkage,
65 Linkage* linkage() const { return linkage_; } in linkage()
270 Linkage* const linkage_;
/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/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/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()
DCGVTables.h93 llvm::GlobalVariable::LinkageTypes Linkage,
102 llvm::GlobalVariable::LinkageTypes Linkage,
DCodeGenPGO.h93 llvm::GlobalValue::LinkageTypes Linkage);
99 void setFuncName(StringRef Name, llvm::GlobalValue::LinkageTypes Linkage);

123456