/external/clang/include/clang/Serialization/ |
D | ASTReader.h | 181 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 …]
|
D | ModuleManager.h | 35 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 …]
|
D | GlobalModuleIndex.h | 42 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);
|
D | Module.h | 100 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;
|
D | ModuleFileExtension.h | 31 class ModuleFile; variable 99 ASTReader &Reader, serialization::ModuleFile &Mod,
|
/external/clang/lib/Serialization/ |
D | ModuleManager.cpp | 31 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 …]
|
D | ASTReaderInternals.h | 35 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()
|
D | Module.cpp | 23 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()
|
D | GlobalModuleIndex.cpp | 268 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 …]
|
D | ASTReader.cpp | 130 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 …]
|
D | ASTReaderDecl.cpp | 39 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 …]
|
D | MultiOnDiskHashTable.h | 28 class ModuleFile; variable
|
D | ASTReaderStmt.cpp | 32 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()
|
D | ASTWriterDecl.cpp | 165 llvm::MapVector<ModuleFile*, const Decl*> Firsts; in AddFirstDeclFromEachModule()
|
D | ASTWriter.cpp | 3430 void EmitFileRef(raw_ostream &Out, ModuleFile *F) const { in EmitFileRef() 4439 for (ModuleFile *M : Chain->ModuleMgr) { in WriteASTCore()
|
/external/clang/lib/Frontend/ |
D | TestModuleFileExtension.h | 66 ASTReader &Reader, serialization::ModuleFile &Mod,
|
D | TestModuleFileExtension.cpp | 106 ASTReader &Reader, serialization::ModuleFile &Mod, in createExtensionReader()
|
D | FrontendAction.cpp | 416 for (const auto &ModuleFile : CI.getFrontendOpts().ModuleFiles) in BeginSourceFile() local 417 if (!CI.loadModuleFile(ModuleFile)) in BeginSourceFile()
|
D | ASTUnit.cpp | 532 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/ |
D | Types.def | 86 TYPE("pcm", ModuleFile, INVALID, "pcm", "u")
|