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.h48 enum class RecordLinkage : uint8_t { enum
70 Record(StringRef Name, RecordLinkage Linkage, SymbolFlags Flags) in Record()
95 bool isInternal() const { return Linkage == RecordLinkage::Internal; } in isInternal()
96 bool isUndefined() const { return Linkage == RecordLinkage::Undefined; } in isUndefined()
97 bool isExported() const { return Linkage >= RecordLinkage::Rexported; } in isExported()
98 bool isRexported() const { return Linkage == RecordLinkage::Rexported; } in isRexported()
107 SymbolFlags mergeFlags(SymbolFlags Flags, RecordLinkage Linkage);
111 RecordLinkage Linkage;
127 GlobalRecord(StringRef Name, RecordLinkage Linkage, SymbolFlags Flags, in GlobalRecord()
147 ObjCIVarRecord(StringRef Name, RecordLinkage Linkage) in ObjCIVarRecord()
[all …]
H A DRecordsSlice.h48 RecordLinkage Linkage = RecordLinkage::Unknown);
59 GlobalRecord *addGlobal(StringRef Name, RecordLinkage Linkage,
70 ObjCInterfaceRecord *addObjCInterface(StringRef Name, RecordLinkage Linkage,
80 RecordLinkage Linkage);
180 void updateLinkage(Record *R, RecordLinkage L) { in updateLinkage()
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DVisitor.cpp145 RecordLinkage Linkage = RecordLinkage::Exported; in recordObjCInstanceVariables()
146 const RecordLinkage ContainerLinkage = Record->getLinkage(); in recordObjCInstanceVariables()
149 Linkage = RecordLinkage::Unknown; in recordObjCInstanceVariables()
151 else if (ContainerLinkage != RecordLinkage::Unknown) in recordObjCInstanceVariables()
177 const RecordLinkage Linkage = in VisitObjCInterfaceDecl()
178 isExported(D) ? RecordLinkage::Exported : RecordLinkage::Internal; in VisitObjCInterfaceDecl()
239 const RecordLinkage Linkage = in VisitVarDecl()
240 isExported(D) ? RecordLinkage::Exported : RecordLinkage::Internal; in VisitVarDecl()
294 const RecordLinkage Linkage = (Inlined || !isExported(D)) in VisitFunctionDecl()
295 ? RecordLinkage::Internal in VisitFunctionDecl()
[all …]
H A DFrontend.cpp20 StringRef Name, RecordLinkage Linkage, GlobalRecord::Kind GV, in addGlobal()
32 FrontendRecordsSlice::addObjCInterface(StringRef Name, RecordLinkage Linkage, in addObjCInterface()
61 ObjCContainerRecord *Container, StringRef IvarName, RecordLinkage Linkage, in addObjCIVar()
66 if ((Linkage == RecordLinkage::Exported) && in addObjCIVar()
68 Linkage = RecordLinkage::Internal; in addObjCIVar()
H A DDylibVerifier.cpp247 if (SymLinkage == RecordLinkage::Unknown) in compareObjCInterfaceSymbols()
541 if (R->getLinkageForSymbol(ObjCIFSymbolKind::Class) != RecordLinkage::Unknown) in assignObjCIFSymbolKind()
544 RecordLinkage::Unknown) in assignObjCIFSymbolKind()
547 RecordLinkage::Unknown) in assignObjCIFSymbolKind()
994 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()
260 RecordLinkage Linkage) { in addObjCIVar()
269 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.cpp253 auto Addr) -> std::tuple<SymbolFlags, RecordLinkage> { in readSymbols()
265 RecordLinkage Linkage = (ExportFlags & MachO::EXPORT_SYMBOL_FLAGS_REEXPORT) in readSymbols()
266 ? RecordLinkage::Rexported in readSymbols()
267 : RecordLinkage::Exported; in readSymbols()
273 StringMap<std::pair<SymbolFlags, RecordLinkage>> Exports; in readSymbols()
294 RecordLinkage Linkage = RecordLinkage::Unknown; in readSymbols()
299 Linkage = RecordLinkage::Undefined; in readSymbols()
312 Linkage = RecordLinkage::Exported; in readSymbols()
314 Linkage = RecordLinkage::Internal; in readSymbols()
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTOCodeGenerator.cpp497 auto RecordLinkage = [&](const GlobalValue &GV) { in applyScopeRestrictions() local
503 RecordLinkage(GV); in applyScopeRestrictions()
505 RecordLinkage(GV); in applyScopeRestrictions()
507 RecordLinkage(GV); in applyScopeRestrictions()