Home
last modified time | relevance | path

Searched refs:ModuleFile (Results 1 – 20 of 20) sorted by relevance

/external/clang/include/clang/Serialization/
DASTReader.h181 virtual void ReadCounter(const serialization::ModuleFile &M, in ReadCounter()
250 void ReadCounter(const serialization::ModuleFile &M, unsigned Value) override;
282 void ReadCounter(const serialization::ModuleFile &M, unsigned Value) override;
357 typedef serialization::ModuleFile ModuleFile; typedef
414 ContinuousRangeMap<uint64_t, ModuleFile*, 4> GlobalBitOffsetsMap;
417 ContinuousRangeMap<unsigned, ModuleFile*, 64> GlobalSLocEntryMap;
419 typedef ContinuousRangeMap<unsigned, ModuleFile*, 64> GlobalSLocOffsetMapType;
431 typedef ContinuousRangeMap<serialization::TypeID, ModuleFile *, 4>
445 typedef ContinuousRangeMap<serialization::DeclID, ModuleFile *, 4>
452 typedef std::pair<ModuleFile *, uint64_t> FileOffset;
[all …]
DModuleManager.h35 SmallVector<ModuleFile *, 2> Chain;
40 SmallVector<ModuleFile *, 2> PCHChain;
44 SmallVector<ModuleFile *, 2> Roots;
47 llvm::DenseMap<const FileEntry *, ModuleFile *> Modules;
61 SmallVector<ModuleFile *, 4> VisitOrder;
71 SmallVector<ModuleFile *, 4> ModulesInCommonWithGlobalIndex;
94 SmallVector<ModuleFile *, 4> Stack;
114 typedef SmallVectorImpl<ModuleFile*>::iterator ModuleIterator;
115 typedef SmallVectorImpl<ModuleFile*>::const_iterator ModuleConstIterator;
116 typedef SmallVectorImpl<ModuleFile*>::reverse_iterator ModuleReverseIterator;
[all …]
DGlobalModuleIndex.h42 class ModuleFile; variable
48 using serialization::ModuleFile;
78 ModuleFile *File;
104 llvm::DenseMap<ModuleFile *, unsigned> ModulesByFile;
161 void getKnownModules(SmallVectorImpl<ModuleFile *> &ModuleFiles);
165 void getModuleDependencies(ModuleFile *File,
166 SmallVectorImpl<ModuleFile *> &Dependencies);
169 typedef llvm::SmallPtrSet<ModuleFile *, 4> HitSet;
186 bool loadedModuleFile(ModuleFile *File);
DModule.h100 class ModuleFile {
102 ModuleFile(ModuleKind Kind, unsigned Generation);
103 ~ModuleFile();
400 llvm::DenseMap<ModuleFile *, serialization::DeclID> GlobalToLocalDeclIDs;
439 llvm::SetVector<ModuleFile *> ImportedBy;
442 llvm::SetVector<ModuleFile *> Imports;
DModuleFileExtension.h31 class ModuleFile; variable
99 ASTReader &Reader, serialization::ModuleFile &Mod,
/external/clang/lib/Serialization/
DModuleManager.cpp31 ModuleFile *ModuleManager::lookup(StringRef Name) { in lookup()
40 ModuleFile *ModuleManager::lookup(const FileEntry *File) { in lookup()
41 llvm::DenseMap<const FileEntry *, ModuleFile *>::iterator Known in lookup()
58 SourceLocation ImportLoc, ModuleFile *ImportedBy, in addModule()
63 ModuleFile *&Module, in addModule()
88 ModuleFile *&ModuleEntry = Modules[Entry]; in addModule()
92 ModuleFile *New = new ModuleFile(Type, Generation); in addModule()
192 llvm::SmallPtrSetImpl<ModuleFile *> &LoadedSuccessfully, in removeModules()
201 llvm::SmallPtrSet<ModuleFile *, 4> victimSet(first, last); in removeModules()
203 auto IsVictim = [&](ModuleFile *MF) { in removeModules()
[all …]
DASTReaderInternals.h35 class ModuleFile; variable
43 ModuleFile &F;
77 typedef ModuleFile *file_type;
82 explicit ASTDeclContextNameLookupTrait(ASTReader &Reader, ModuleFile &F) in ASTDeclContextNameLookupTrait()
167 ModuleFile &F;
177 ASTIdentifierLookupTrait(ASTReader &Reader, ModuleFile &F,
199 ModuleFile &F;
217 ASTSelectorLookupTrait(ASTReader &Reader, ModuleFile &F) in ASTSelectorLookupTrait()
252 ModuleFile &M;
271 HeaderFileInfoTrait(ASTReader &Reader, ModuleFile &M, HeaderSearch *HS, in HeaderFileInfoTrait()
DModule.cpp23 ModuleFile::ModuleFile(ModuleKind Kind, unsigned Generation) in ModuleFile() function in ModuleFile
45 ModuleFile::~ModuleFile() { in ~ModuleFile()
66 LLVM_DUMP_METHOD void ModuleFile::dump() { in dump()
DGlobalModuleIndex.cpp268 GlobalModuleIndex::getKnownModules(SmallVectorImpl<ModuleFile *> &ModuleFiles) { in getKnownModules()
271 if (ModuleFile *MF = Modules[I].File) in getKnownModules()
277 ModuleFile *File, in getModuleDependencies()
278 SmallVectorImpl<ModuleFile *> &Dependencies) { in getModuleDependencies()
280 llvm::DenseMap<ModuleFile *, unsigned>::iterator Known in getModuleDependencies()
289 if (ModuleFile *MF = Modules[I].File) in getModuleDependencies()
312 if (ModuleFile *MF = Modules[ModuleIDs[I]].File) in lookupIdentifier()
320 bool GlobalModuleIndex::loadedModuleFile(ModuleFile *File) { in loadedModuleFile()
812 const FileEntry *ModuleFile = FileMgr.getFile(D->path()); in writeIndex() local
813 if (!ModuleFile) in writeIndex()
[all …]
DASTReader.cpp130 void ChainedASTReaderListener::ReadCounter(const serialization::ModuleFile &M, in ReadCounter()
440 ModuleFile *TopImport = *ModuleMgr.rbegin(); in ReadDiagnosticOptions()
651 void PCHValidator::ReadCounter(const ModuleFile &M, unsigned Value) { in ReadCounter()
924 ModuleFile *
987 bool ASTReader::ReadLexicalDeclContextStorage(ModuleFile &M, in ReadLexicalDeclContextStorage()
1023 bool ASTReader::ReadVisibleDeclContextStorage(ModuleFile &M, in ReadVisibleDeclContextStorage()
1071 bool ASTReader::ParseLineTable(ModuleFile &F, in ParseLineTable()
1115 bool ASTReader::ReadSourceManagerBlock(ModuleFile &F) { in ReadSourceManagerBlock()
1238 ModuleFile *F = GlobalSLocEntryMap.find(-ID)->second; in ReadSLocEntry()
1353 ModuleFile *M = GlobalSLocEntryMap.find(-ID)->second; in getModuleImportLoc()
[all …]
DASTReaderDecl.cpp39 ModuleFile &F;
66 uint64_t ReadGlobalOffset(ModuleFile &F, const RecordData &R, unsigned &I) { in ReadGlobalOffset()
254 void UpdateDecl(Decl *D, ModuleFile &ModuleFile,
2461 void ASTReader::ReadAttributes(ModuleFile &F, AttrVec &Attrs, in ReadAttributes()
2524 ModuleFile *M = I->second; in DeclCursorForID()
2532 ContinuousRangeMap<uint64_t, ModuleFile*, 4>::iterator I in getLocalBitOffset()
2539 uint64_t ASTReader::getGlobalBitOffset(ModuleFile &M, uint32_t LocalOffset) { in getGlobalBitOffset()
3494 ModuleFile *F = FileAndOffset.first; in loadDeclUpdateRecords()
3551 ModuleFile *M = getOwningModuleFile(FirstLocal); in loadPendingDeclChain()
3646 bool operator()(ModuleFile &M) { in operator ()()
[all …]
DMultiOnDiskHashTable.h28 class ModuleFile; variable
DASTReaderStmt.cpp32 ModuleFile &F;
81 ASTStmtReader(ASTReader &Reader, ModuleFile &F, in ASTStmtReader()
2772 Stmt *ASTReader::ReadStmt(ModuleFile &F) { in ReadStmt()
2786 Expr *ASTReader::ReadExpr(ModuleFile &F) { in ReadExpr()
2801 Stmt *ASTReader::ReadStmtFromStream(ModuleFile &F) { in ReadStmtFromStream()
DASTWriterDecl.cpp165 llvm::MapVector<ModuleFile*, const Decl*> Firsts; in AddFirstDeclFromEachModule()
DASTWriter.cpp3430 void EmitFileRef(raw_ostream &Out, ModuleFile *F) const { in EmitFileRef()
4439 for (ModuleFile *M : Chain->ModuleMgr) { in WriteASTCore()
/external/clang/lib/Frontend/
DTestModuleFileExtension.h66 ASTReader &Reader, serialization::ModuleFile &Mod,
DTestModuleFileExtension.cpp106 ASTReader &Reader, serialization::ModuleFile &Mod, in createExtensionReader()
DFrontendAction.cpp416 for (const auto &ModuleFile : CI.getFrontendOpts().ModuleFiles) in BeginSourceFile() local
417 if (!CI.loadModuleFile(ModuleFile)) in BeginSourceFile()
DASTUnit.cpp532 void ReadCounter(const serialization::ModuleFile &M, in ReadCounter()
1704 serialization::ModuleFile & in getASTFileName()
2765 serialization::ModuleFile & in getLocalPreprocessingEntities()
2779 serialization::ModuleFile & in visitLocalTopLevelDecls()
2803 serialization::ModuleFile *Mod = nullptr; in getPCHFile()
2804 Reader->getModuleManager().visit([&Mod](serialization::ModuleFile &M) { in getPCHFile()
/external/clang/include/clang/Driver/
DTypes.def86 TYPE("pcm", ModuleFile, INVALID, "pcm", "u")