Home
last modified time | relevance | path

Searched refs:RecordLinkage (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/TextAPI/
H A DRecord.h49 enum class RecordLinkage : uint8_t { enum
71 Record(StringRef Name, RecordLinkage Linkage, SymbolFlags Flags) in Record()
96 bool isInternal() const { return Linkage == RecordLinkage::Internal; } in isInternal()
97 bool isUndefined() const { return Linkage == RecordLinkage::Undefined; } in isUndefined()
98 bool isExported() const { return Linkage >= RecordLinkage::Rexported; } in isExported()
99 bool isRexported() const { return Linkage == RecordLinkage::Rexported; } in isRexported()
108 LLVM_ABI SymbolFlags mergeFlags(SymbolFlags Flags, RecordLinkage Linkage);
112 RecordLinkage Linkage;
128 GlobalRecord(StringRef Name, RecordLinkage Linkage, SymbolFlags Flags, in GlobalRecord()
148 ObjCIVarRecord(StringRef Name, RecordLinkage Linkage) in ObjCIVarRecord()
[all …]
H A DRecordsSlice.h50 RecordLinkage Linkage = RecordLinkage::Unknown);
61 LLVM_ABI GlobalRecord *addGlobal(StringRef Name, RecordLinkage Linkage,
73 RecordLinkage Linkage,
83 StringRef Name, RecordLinkage Linkage);
185 void updateLinkage(Record *R, RecordLinkage L) { in updateLinkage()
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DVisitor.cpp144 RecordLinkage Linkage = RecordLinkage::Exported; in recordObjCInstanceVariables()
145 const RecordLinkage ContainerLinkage = Record->getLinkage(); in recordObjCInstanceVariables()
148 Linkage = RecordLinkage::Unknown; in recordObjCInstanceVariables()
150 else if (ContainerLinkage != RecordLinkage::Unknown) in recordObjCInstanceVariables()
176 const RecordLinkage Linkage = in VisitObjCInterfaceDecl()
177 isExported(D) ? RecordLinkage::Exported : RecordLinkage::Internal; in VisitObjCInterfaceDecl()
238 const RecordLinkage Linkage = in VisitVarDecl()
239 isExported(D) ? RecordLinkage::Exported : RecordLinkage::Internal; in VisitVarDecl()
293 const RecordLinkage Linkage = (Inlined || !isExported(D)) in VisitFunctionDecl()
294 ? RecordLinkage::Internal in VisitFunctionDecl()
[all …]
H A DFrontend.cpp19 StringRef Name, RecordLinkage Linkage, GlobalRecord::Kind GV, in addGlobal()
31 FrontendRecordsSlice::addObjCInterface(StringRef Name, RecordLinkage Linkage, in addObjCInterface()
60 ObjCContainerRecord *Container, StringRef IvarName, RecordLinkage Linkage, in addObjCIVar()
65 if ((Linkage == RecordLinkage::Exported) && in addObjCIVar()
67 Linkage = RecordLinkage::Internal; in addObjCIVar()
H A DDylibVerifier.cpp266 if (SymLinkage == RecordLinkage::Unknown) in compareObjCInterfaceSymbols()
560 if (R->getLinkageForSymbol(ObjCIFSymbolKind::Class) != RecordLinkage::Unknown) in assignObjCIFSymbolKind()
563 RecordLinkage::Unknown) in assignObjCIFSymbolKind()
566 RecordLinkage::Unknown) in assignObjCIFSymbolKind()
1014 Record R(Alias.first, RecordLinkage::Exported, Flags); in takeExports()
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DRecordsSlice.cpp24 GlobalRecord::Kind GV, RecordLinkage Linkage) { in addRecord()
98 RecordLinkage
115 RecordLinkage Link) { in updateLinkageForSymbols()
173 GlobalRecord *RecordsSlice::addGlobal(StringRef Name, RecordLinkage Linkage, in addGlobal()
194 RecordLinkage Linkage, in addObjCInterface()
206 SymbolFlags Record::mergeFlags(SymbolFlags Flags, RecordLinkage Linkage) { in mergeFlags()
209 case RecordLinkage::Rexported: in mergeFlags()
212 case RecordLinkage::Undefined: in mergeFlags()
261 RecordLinkage Linkage) { in addObjCIVar()
270 RecordLinkage Linkage) { in addObjCIVar()
/freebsd/contrib/llvm-project/clang/include/clang/InstallAPI/
H A DFrontendRecords.h50 addGlobal(StringRef Name, RecordLinkage Linkage, GlobalRecord::Kind GV,
67 addObjCInterface(StringRef Name, RecordLinkage Linkage,
101 RecordLinkage Linkage, const clang::AvailabilityInfo Avail,
H A DMachO.h30 using RecordLinkage = llvm::MachO::RecordLinkage; variable
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/BinaryReader/
H A DDylibReader.cpp252 auto Addr) -> std::tuple<SymbolFlags, RecordLinkage> { in readSymbols()
264 RecordLinkage Linkage = (ExportFlags & MachO::EXPORT_SYMBOL_FLAGS_REEXPORT) in readSymbols()
265 ? RecordLinkage::Rexported in readSymbols()
266 : RecordLinkage::Exported; in readSymbols()
272 StringMap<std::pair<SymbolFlags, RecordLinkage>> Exports; in readSymbols()
293 RecordLinkage Linkage = RecordLinkage::Unknown; in readSymbols()
298 Linkage = RecordLinkage::Undefined; in readSymbols()
311 Linkage = RecordLinkage::Exported; in readSymbols()
313 Linkage = RecordLinkage::Internal; in readSymbols()
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTOCodeGenerator.cpp484 auto RecordLinkage = [&](const GlobalValue &GV) { in applyScopeRestrictions() local
490 RecordLinkage(GV); in applyScopeRestrictions()
492 RecordLinkage(GV); in applyScopeRestrictions()
494 RecordLinkage(GV); in applyScopeRestrictions()