Home
last modified time | relevance | path

Searched refs:serialization (Results 1 – 25 of 74) sorted by relevance

123

/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp37 serialization::StmtCode Code;
96 Code(serialization::STMT_NULL_PTR), AbbrevToUse(0), in ASTStmtWriter()
104 assert(Code != serialization::STMT_NULL_PTR && in Emit()
135 Code = serialization::STMT_NULL; in VisitNullStmt()
154 Code = serialization::STMT_COMPOUND; in VisitCompoundStmt()
173 Code = serialization::STMT_CASE; in VisitCaseStmt()
179 Code = serialization::STMT_DEFAULT; in VisitDefaultStmt()
188 Code = serialization::STMT_LABEL; in VisitLabelStmt()
197 Code = serialization::STMT_ATTRIBUTED; in VisitAttributedStmt()
228 Code = serialization::STMT_IF; in VisitIfStmt()
[all …]
H A DASTWriterDecl.cpp28 using namespace serialization;
40 serialization::DeclCode Code;
49 Code((serialization::DeclCode)0), AbbrevToUse(0), in ASTDeclWriter()
421 Code = serialization::DECL_PRAGMA_COMMENT; in VisitPragmaCommentDecl()
433 Code = serialization::DECL_PRAGMA_DETECT_MISMATCH; in VisitPragmaDetectMismatchDecl()
477 Code = serialization::DECL_TYPEDEF; in VisitTypedefDecl()
483 Code = serialization::DECL_TYPEALIAS; in VisitTypeAliasDecl()
556 Code = serialization::DECL_ENUM; in VisitEnumDecl()
596 Code = serialization::DECL_RECORD; in VisitRecordDecl()
611 Code = serialization::DECL_ENUM_CONSTANT; in VisitEnumConstantDecl()
[all …]
H A DASTCommon.cpp25 serialization::TypeIdx
26 serialization::TypeIdxFromBuiltin(const BuiltinType *BT) { in TypeIdxFromBuiltin()
289 unsigned serialization::ComputeHash(Selector Sel) { in ComputeHash()
301 serialization::getDefinitiveDeclContext(const DeclContext *DC) { in getDefinitiveDeclContext()
360 bool serialization::isRedeclarableDeclKind(unsigned Kind) { in isRedeclarableDeclKind()
464 bool serialization::needsAnonymousDeclarationNumber(const NamedDecl *D) { in needsAnonymousDeclarationNumber()
H A DASTCommon.h22 namespace serialization {
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTDeserializationListener.h38 virtual void IdentifierRead(serialization::IdentifierID ID, in IdentifierRead()
41 virtual void MacroRead(serialization::MacroID ID, MacroInfo *MI) { } in MacroRead()
45 virtual void TypeRead(serialization::TypeIdx Idx, QualType T) { } in TypeRead()
49 virtual void SelectorRead(serialization::SelectorID iD, Selector Sel) {} in SelectorRead()
51 virtual void MacroDefinitionRead(serialization::PreprocessedEntityID, in MacroDefinitionRead()
54 virtual void ModuleRead(serialization::SubmoduleID ID, Module *Mod) {} in ModuleRead()
56 virtual void ModuleImportRead(serialization::SubmoduleID ID, in ModuleImportRead()
H A DASTWriter.h108 using TypeIdxMap = llvm::DenseMap<QualType, serialization::TypeIdx,
109 serialization::UnsafeQualTypeDenseMapInfo>;
238 std::vector<serialization::DeclOffset> DeclOffsets;
263 serialization::TypeID FirstTypeID = serialization::NUM_PREDEF_TYPE_IDS;
266 serialization::TypeID NextTypeID = FirstTypeID;
281 std::vector<serialization::UnalignedUInt64> TypeOffsets;
284 serialization::IdentifierID FirstIdentID = serialization::NUM_PREDEF_IDENT_IDS;
287 serialization::IdentifierID NextIdentID = FirstIdentID;
295 llvm::MapVector<const IdentifierInfo *, serialization::IdentifierID> IdentifierIDs;
298 serialization::MacroID FirstMacroID = serialization::NUM_PREDEF_MACRO_IDS;
[all …]
H A DASTReader.h209 virtual void ReadCounter(const serialization::ModuleFile &M, in ReadCounter()
214 serialization::ModuleKind Kind) {} in visitModuleFile()
281 void ReadCounter(const serialization::ModuleFile &M, unsigned Value) override;
285 serialization::ModuleKind Kind) override;
314 void ReadCounter(const serialization::ModuleFile &M, unsigned Value) override;
332 namespace serialization {
375 friend class serialization::reader::ASTIdentifierLookupTrait;
376 friend class serialization::ReadMethodPoolVisitor;
411 using ModuleFile = serialization::ModuleFile;
412 using ModuleKind = serialization::ModuleKind;
[all …]
H A DModuleFile.h39 namespace serialization {
311 serialization::IdentifierID BaseIdentifierID = 0;
348 serialization::MacroID BaseMacroID = 0;
367 serialization::PreprocessedEntityID BasePreprocessedEntityID = 0;
403 serialization::SubmoduleID BaseSubmoduleID = 0;
420 serialization::SelectorID BaseSelectorID = 0;
458 const serialization::unaligned_decl_id_t *FileSortedDecls = nullptr;
463 const serialization::ObjCCategoriesInfo *ObjCCategoriesMap = nullptr;
483 serialization::TypeID BaseTypeIndex = 0;
H A DASTRecordReader.h33 : public serialization::DataStreamBasicReader<ASTRecordReader> {
34 using ModuleFile = serialization::ModuleFile;
90 serialization::SubmoduleID
96 Module *getSubmodule(serialization::SubmoduleID GlobalID) { in getSubmodule()
166 serialization::TypeID getGlobalTypeID(serialization::TypeID LocalID) const { in getGlobalTypeID()
H A DASTBitCodes.h34 namespace serialization {
285 serialization::DeclID, llvm::endianness::native,
2118 template <> struct DenseMapInfo<clang::serialization::DeclarationNameKey> {
2119 static clang::serialization::DeclarationNameKey getEmptyKey() {
2120 return clang::serialization::DeclarationNameKey(-1, 1);
2123 static clang::serialization::DeclarationNameKey getTombstoneKey() {
2124 return clang::serialization::DeclarationNameKey(-1, 2);
2128 getHashValue(const clang::serialization::DeclarationNameKey &Key) {
2132 static bool isEqual(const clang::serialization::DeclarationNameKey &L,
2133 const clang::serialization::DeclarationNameKey &R) {
H A DModuleFileExtension.h30 namespace serialization {
105 ASTReader &Reader, serialization::ModuleFile &Mod,
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DMultiplexConsumer.h35 void IdentifierRead(serialization::IdentifierID ID, IdentifierInfo *II) override;
36 void MacroRead(serialization::MacroID ID, MacroInfo *MI) override;
37 void TypeRead(serialization::TypeIdx Idx, QualType T) override;
39 void SelectorRead(serialization::SelectorID iD, Selector Sel) override;
40 void MacroDefinitionRead(serialization::PreprocessedEntityID,
42 void ModuleRead(serialization::SubmoduleID ID, Module *Mod) override;
43 void ModuleImportRead(serialization::SubmoduleID ID,
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DModuleDepCollector.cpp34 const serialization::ModuleFile &MF, in optimizeHeaderSearchOpts()
43 llvm::DenseSet<const serialization::ModuleFile *> Visited; in optimizeHeaderSearchOpts()
44 std::function<void(const serialization::ModuleFile *)> VisitMF = in optimizeHeaderSearchOpts()
45 [&](const serialization::ModuleFile *MF) { in optimizeHeaderSearchOpts()
48 for (const serialization::ModuleFile *Import : MF->Imports) in optimizeHeaderSearchOpts()
66 llvm::DenseSet<const serialization::ModuleFile *> Visited; in optimizeHeaderSearchOpts()
67 std::function<void(const serialization::ModuleFile *)> VisitMF = in optimizeHeaderSearchOpts()
68 [&](const serialization::ModuleFile *MF) { in optimizeHeaderSearchOpts()
70 if (MF->Kind == serialization::MK_ImplicitModule) { in optimizeHeaderSearchOpts()
74 for (const serialization::ModuleFile *Import : MF->Imports) in optimizeHeaderSearchOpts()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DMultiplexConsumer.cpp38 serialization::IdentifierID ID, IdentifierInfo *II) { in IdentifierRead()
44 serialization::MacroID ID, MacroInfo *MI) { in MacroRead()
50 serialization::TypeIdx Idx, QualType T) { in TypeRead()
62 serialization::SelectorID ID, Selector Sel) { in SelectorRead()
68 serialization::PreprocessedEntityID ID, MacroDefinitionRecord *MD) { in MacroDefinitionRead()
74 serialization::SubmoduleID ID, Module *Mod) { in ModuleRead()
80 serialization::SubmoduleID ID, SourceLocation ImportLoc) { in ModuleImportRead()
H A DTestModuleFileExtension.cpp16 using namespace clang::serialization;
114 ASTReader &Reader, serialization::ModuleFile &Mod, in createExtensionReader()
H A DASTUnit.cpp620 void ReadCounter(const serialization::ModuleFile &M, in ReadCounter()
877 switch (AST->Reader->ReadAST(Filename, serialization::MK_MainFile, in LoadFromASTFile()
1472 serialization::ModuleFile &MF = Reader->getModuleManager().getPrimaryModule(); in RealizeTopLevelDeclsFromPreamble()
1524 serialization::ModuleFile & in getASTFileName()
2624 serialization::ModuleFile & in getLocalPreprocessingEntities()
2638 serialization::ModuleFile & in visitLocalTopLevelDecls()
2662 serialization::ModuleFile *Mod = nullptr; in getPCHFile()
2663 Reader->getModuleManager().visit([&Mod](serialization::ModuleFile &M) { in getPCHFile()
2665 case serialization::MK_ImplicitModule: in getPCHFile()
2666 case serialization::MK_ExplicitModule: in getPCHFile()
[all …]
H A DTestModuleFileExtension.h65 ASTReader &Reader, serialization::ModuleFile &Mod,
/freebsd/contrib/llvm-project/clang/include/clang/Index/
H A DIndexingAction.h28 namespace serialization {
68 void indexModuleFile(serialization::ModuleFile &Mod, ASTReader &Reader,
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclID.h181 namespace serialization {
198 static LocalDeclID get(ASTReader &Reader, serialization::ModuleFile &MF,
200 static LocalDeclID get(ASTReader &Reader, serialization::ModuleFile &MF,
H A DAbstractTypeReader.h17 namespace serialization {
H A DAbstractTypeWriter.h17 namespace serialization {
/freebsd/contrib/file/magic/Magdir/
H A Dsmile4 # smile: file(1) magic for Smile serialization
6 # The Smile serialization format uses a 4-byte header:
H A Djava8 # Java serialization
10 0 beshort 0xaced Java serialization data
H A Dnumpy4 # numpy: file(1) magic for NumPy array binary serialization format
/freebsd/contrib/libcbor/
H A DBazel.md42 "cbor/serialization.h", "cbor/streaming.h", "cbor/strings.h", "cbor/tags.h"],
61 "cbor/serialization.h", "cbor/streaming.h", "cbor/strings.h", "cbor/tags.h"],

123