Lines Matching refs:ASTReader

869 void ASTReader::setDeserializationListener(ASTDeserializationListener *Listener,  in setDeserializationListener()
957 static bool isInterestingIdentifier(ASTReader &Reader, IdentifierInfo &II, in isInterestingIdentifier()
979 static void markIdentifierFromAST(ASTReader &Reader, IdentifierInfo &II) { in markIdentifierFromAST()
1185 bool ASTReader::ReadLexicalDeclContextStorage(ModuleFile &M, in ReadLexicalDeclContextStorage()
1235 bool ASTReader::ReadVisibleDeclContextStorage(ModuleFile &M, in ReadVisibleDeclContextStorage()
1274 void ASTReader::Error(StringRef Msg) const { in Error()
1283 void ASTReader::Error(unsigned DiagID, StringRef Arg1, StringRef Arg2, in Error()
1291 void ASTReader::Error(llvm::Error &&Err) const { in Error()
1322 void ASTReader::ParseLineTable(ModuleFile &F, const RecordData &Record) { in ParseLineTable()
1364 llvm::Error ASTReader::ReadSourceManagerBlock(ModuleFile &F) { in ReadSourceManagerBlock()
1459 bool ASTReader::ReadSLocEntry(int ID) { in ReadSLocEntry()
1633 std::pair<SourceLocation, StringRef> ASTReader::getModuleImportLoc(int ID) { in getModuleImportLoc()
1653 SourceLocation ASTReader::getImportLocation(ModuleFile *F) { in getImportLocation()
1670 llvm::Error ASTReader::ReadBlockAbbrevs(BitstreamCursor &Cursor, in ReadBlockAbbrevs()
1697 Token ASTReader::ReadToken(ModuleFile &F, const RecordDataImpl &Record, in ReadToken()
1710 MacroInfo *ASTReader::ReadMacroRecord(ModuleFile &F, uint64_t Offset) { in ReadMacroRecord()
1841 ASTReader::getGlobalPreprocessedEntityID(ModuleFile &M, in getGlobalPreprocessedEntityID()
1965 void ASTReader::addPendingMacro(IdentifierInfo *II, ModuleFile *M, in addPendingMacro()
1971 void ASTReader::ReadDefinedMacros() { in ReadDefinedMacros()
2089 void ASTReader::updateOutOfDateIdentifier(IdentifierInfo &II) { in updateOutOfDateIdentifier()
2114 void ASTReader::markIdentifierUpToDate(IdentifierInfo *II) { in markIdentifierUpToDate()
2125 void ASTReader::resolvePendingMacro(IdentifierInfo *II, in resolvePendingMacro()
2249 bool ASTReader::shouldDisableValidationForFile( in shouldDisableValidationForFile()
2272 ASTReader::InputFileInfo
2273 ASTReader::readInputFileInfo(ModuleFile &F, unsigned ID) { in readInputFileInfo()
2330 InputFile ASTReader::getInputFile(ModuleFile &F, unsigned ID, bool Complain) { in getInputFile()
2500 void ASTReader::ResolveImportedPath(ModuleFile &M, std::string &Filename) { in ResolveImportedPath()
2506 void ASTReader::ResolveImportedPath(std::string &Filename, StringRef Prefix) { in ResolveImportedPath()
2515 static bool isDiagnosedResult(ASTReader::ASTReadResult ARR, unsigned Caps) { in isDiagnosedResult()
2517 case ASTReader::Failure: return true; in isDiagnosedResult()
2518 case ASTReader::Missing: return !(Caps & ASTReader::ARR_Missing); in isDiagnosedResult()
2519 case ASTReader::OutOfDate: return !(Caps & ASTReader::ARR_OutOfDate); in isDiagnosedResult()
2520 case ASTReader::VersionMismatch: return !(Caps & ASTReader::ARR_VersionMismatch); in isDiagnosedResult()
2521 case ASTReader::ConfigurationMismatch: in isDiagnosedResult()
2522 return !(Caps & ASTReader::ARR_ConfigurationMismatch); in isDiagnosedResult()
2523 case ASTReader::HadErrors: return true; in isDiagnosedResult()
2524 case ASTReader::Success: return false; in isDiagnosedResult()
2530 ASTReader::ASTReadResult ASTReader::ReadOptionsBlock( in ReadOptionsBlock()
2617 ASTReader::ASTReadResult
2618 ASTReader::ReadControlBlock(ModuleFile &F, in ReadControlBlock()
2996 void ASTReader::readIncludedFiles(ModuleFile &F, StringRef Blob, in readIncludedFiles()
3012 llvm::Error ASTReader::ReadASTBlock(ModuleFile &F, in ReadASTBlock()
3856 void ASTReader::ReadModuleOffsetMap(ModuleFile &F) const { in ReadModuleOffsetMap()
3952 ASTReader::ASTReadResult
3953 ASTReader::ReadModuleMapFileBlock(RecordData &Record, ModuleFile &F, in ReadModuleMapFileBlock()
4086 void ASTReader::makeNamesVisible(const HiddenNames &Names, Module *Owner) { in makeNamesVisible()
4100 void ASTReader::makeModuleVisible(Module *Mod, in makeModuleVisible()
4149 void ASTReader::mergeDefinitionVisibility(NamedDecl *Def, in mergeDefinitionVisibility()
4164 bool ASTReader::loadGlobalIndex() { in loadGlobalIndex()
4189 bool ASTReader::isGlobalIndexUnavailable() const { in isGlobalIndexUnavailable()
4255 ASTReader::ASTReadResult ASTReader::ReadAST(StringRef FileName, in ReadAST()
4531 ASTReader::ASTReadResult
4532 ASTReader::ReadASTCore(StringRef FileName, in ReadASTCore()
4686 ASTReader::ASTReadResult
4687 ASTReader::readUnhashedControlBlock(ModuleFile &F, bool WasImportedBy, in readUnhashedControlBlock()
4739 ASTReader::ASTReadResult ASTReader::readUnhashedControlBlockImpl( in readUnhashedControlBlockImpl()
4854 llvm::Error ASTReader::ReadExtensionBlock(ModuleFile &F) { in ReadExtensionBlock()
4910 void ASTReader::InitializeContext() { in InitializeContext()
5049 void ASTReader::finalizeForWriting() { in finalizeForWriting()
5068 ASTReader::RecordData Record; in readASTFileSignature()
5099 std::string ASTReader::getOriginalSourceFile( in getOriginalSourceFile()
5214 bool ASTReader::readASTFileControlBlock( in readASTFileControlBlock()
5480 bool ASTReader::isAcceptableASTFile(StringRef Filename, FileManager &FileMgr, in isAcceptableASTFile()
5496 llvm::Error ASTReader::ReadSubmoduleBlock(ModuleFile &F, in ReadSubmoduleBlock()
5795 bool ASTReader::ParseLanguageOptions(const RecordData &Record, in ParseLanguageOptions()
5837 bool ASTReader::ParseTargetOptions(const RecordData &Record, bool Complain, in ParseTargetOptions()
5857 bool ASTReader::ParseDiagnosticOptions(const RecordData &Record, bool Complain, in ParseDiagnosticOptions()
5874 bool ASTReader::ParseFileSystemOptions(const RecordData &Record, bool Complain, in ParseFileSystemOptions()
5882 bool ASTReader::ParseHeaderSearchOptions(const RecordData &Record, in ParseHeaderSearchOptions()
5924 bool ASTReader::ParsePreprocessorOptions(const RecordData &Record, in ParsePreprocessorOptions()
5959 ASTReader::getModulePreprocessedEntity(unsigned GlobalIndex) { in getModulePreprocessedEntity()
5970 ASTReader::getModulePreprocessedEntities(ModuleFile &Mod) const { in getModulePreprocessedEntities()
5979 bool ASTReader::canRecoverFromOutOfDate(StringRef ModuleFileName, in canRecoverFromOutOfDate()
5985 llvm::iterator_range<ASTReader::ModuleDeclIterator>
5986 ASTReader::getModuleFileLevelDecls(ModuleFile &Mod) { in getModuleFileLevelDecls()
5993 SourceRange ASTReader::ReadSkippedRange(unsigned GlobalIndex) { in ReadSkippedRange()
6007 PreprocessedEntity *ASTReader::ReadPreprocessedEntity(unsigned Index) { in ReadPreprocessedEntity()
6113 PreprocessedEntityID ASTReader::findNextPreprocessedEntity( in findNextPreprocessedEntity()
6129 const ASTReader &Reader;
6132 PPEntityComp(const ASTReader &Reader, ModuleFile &M) : Reader(Reader), M(M) {} in PPEntityComp()
6157 PreprocessedEntityID ASTReader::findPreprocessedEntity(SourceLocation Loc, in findPreprocessedEntity()
6213 ASTReader::findPreprocessedEntitiesInRange(SourceRange Range) { in findPreprocessedEntitiesInRange()
6226 Optional<bool> ASTReader::isPreprocessedEntityInFileID(unsigned Index, in isPreprocessedEntityInFileID()
6276 HeaderFileInfo ASTReader::GetHeaderFileInfo(const FileEntry *FE) { in GetHeaderFileInfo()
6285 void ASTReader::ReadPragmaDiagnosticMappings(DiagnosticsEngine &Diag) { in ReadPragmaDiagnosticMappings()
6429 ASTReader::RecordLocation ASTReader::TypeCursorForIndex(unsigned Index) { in TypeCursorForIndex()
6453 QualType ASTReader::readTypeRecord(unsigned Index) { in readTypeRecord()
6883 QualType ASTReader::GetType(TypeID ID) { in GetType()
7163 QualType ASTReader::getLocalType(ModuleFile &F, unsigned LocalID) { in getLocalType()
7168 ASTReader::getGlobalTypeID(ModuleFile &F, unsigned LocalID) const { in getGlobalTypeID()
7239 Decl *ASTReader::GetExternalDecl(uint32_t ID) { in GetExternalDecl()
7243 void ASTReader::CompleteRedeclChain(const Decl *D) { in CompleteRedeclChain()
7301 ASTReader::GetExternalCXXCtorInitializers(uint64_t Offset) { in GetExternalCXXCtorInitializers()
7332 CXXBaseSpecifier *ASTReader::GetExternalCXXBaseSpecifiers(uint64_t Offset) { in GetExternalCXXBaseSpecifiers()
7374 ASTReader::getGlobalDeclID(ModuleFile &F, LocalDeclID LocalID) const { in getGlobalDeclID()
7388 bool ASTReader::isDeclIDFromModule(serialization::GlobalDeclID ID, in isDeclIDFromModule()
7398 ModuleFile *ASTReader::getOwningModuleFile(const Decl *D) { in getOwningModuleFile()
7406 SourceLocation ASTReader::getSourceLocationForDeclID(GlobalDeclID ID) { in getSourceLocationForDeclID()
7484 Decl *ASTReader::GetExistingDecl(DeclID ID) { in GetExistingDecl()
7509 Decl *ASTReader::GetDecl(DeclID ID) { in GetDecl()
7530 DeclID ASTReader::mapGlobalIDToModuleFileGlobalID(ModuleFile &M, in mapGlobalIDToModuleFileGlobalID()
7547 serialization::DeclID ASTReader::ReadDeclID(ModuleFile &F, in ReadDeclID()
7563 Stmt *ASTReader::GetExternalDeclStmt(uint64_t Offset) { in GetExternalDeclStmt()
7579 void ASTReader::FindExternalLexicalDecls( in FindExternalLexicalDecls()
7625 ASTReader &Reader;
7629 DeclIDComp(ASTReader &Reader, ModuleFile &M) : Reader(Reader), Mod(M) {} in DeclIDComp()
7655 void ASTReader::FindFileRegionDecls(FileID File, in FindFileRegionDecls()
7697 ASTReader::FindExternalVisibleDeclsByName(const DeclContext *DC, in FindExternalVisibleDeclsByName()
7724 void ASTReader::completeVisibleDeclsMap(const DeclContext *DC) { in completeVisibleDeclsMap()
7748 ASTReader::getLoadedLookupTables(DeclContext *Primary) const { in getLoadedLookupTables()
7767 void ASTReader::PassInterestingDeclToConsumer(Decl *D) { in PassInterestingDeclToConsumer()
7774 void ASTReader::StartTranslationUnit(ASTConsumer *Consumer) { in StartTranslationUnit()
7784 void ASTReader::PrintStats() { in PrintStats()
7889 LLVM_DUMP_METHOD void ASTReader::dump() { in dump()
7909 void ASTReader::getMemoryBufferSizes(MemoryBufferSizes &sizes) const { in getMemoryBufferSizes()
7925 void ASTReader::InitializeSema(Sema &S) { in InitializeSema()
7951 void ASTReader::UpdateSema() { in UpdateSema()
8055 IdentifierInfo *ASTReader::get(StringRef Name) { in get()
8096 const ASTReader &Reader;
8114 explicit ASTIdentifierIterator(const ASTReader &Reader,
8122 ASTIdentifierIterator::ASTIdentifierIterator(const ASTReader &Reader, in ASTIdentifierIterator()
8180 IdentifierIterator *ASTReader::getIdentifiers() { in getIdentifiers()
8197 ASTReader &Reader;
8208 ReadMethodPoolVisitor(ASTReader &Reader, Selector Sel, in ReadMethodPoolVisitor()
8279 void ASTReader::ReadMethodPool(Selector Sel) { in ReadMethodPool()
8317 void ASTReader::updateOutOfDateSelector(Selector Sel) { in updateOutOfDateSelector()
8322 void ASTReader::ReadKnownNamespaces( in ReadKnownNamespaces()
8333 void ASTReader::ReadUndefinedButUsed( in ReadUndefinedButUsed()
8343 void ASTReader::ReadMismatchingDeleteExpressions(llvm::MapVector< in ReadMismatchingDeleteExpressions()
8358 void ASTReader::ReadTentativeDefinitions( in ReadTentativeDefinitions()
8368 void ASTReader::ReadUnusedFileScopedDecls( in ReadUnusedFileScopedDecls()
8379 void ASTReader::ReadDelegatingConstructors( in ReadDelegatingConstructors()
8390 void ASTReader::ReadExtVectorDecls(SmallVectorImpl<TypedefNameDecl *> &Decls) { in ReadExtVectorDecls()
8400 void ASTReader::ReadUnusedLocalTypedefNameCandidates( in ReadUnusedLocalTypedefNameCandidates()
8412 void ASTReader::ReadDeclsToCheckForDeferredDiags( in ReadDeclsToCheckForDeferredDiags()
8422 void ASTReader::ReadReferencedSelectors( in ReadReferencedSelectors()
8440 void ASTReader::ReadWeakUndeclaredIdentifiers( in ReadWeakUndeclaredIdentifiers()
8458 void ASTReader::ReadUsedVTables(SmallVectorImpl<ExternalVTableUse> &VTables) { in ReadUsedVTables()
8470 void ASTReader::ReadPendingInstantiations( in ReadPendingInstantiations()
8482 void ASTReader::ReadLateParsedTemplates( in ReadLateParsedTemplates()
8511 void ASTReader::LoadSelector(Selector Sel) { in LoadSelector()
8516 void ASTReader::SetIdentifierInfo(IdentifierID ID, IdentifierInfo *II) { in SetIdentifierInfo()
8541 ASTReader::SetGloballyVisibleDecls(IdentifierInfo *II, in SetGloballyVisibleDecls()
8573 IdentifierInfo *ASTReader::DecodeIdentifierInfo(IdentifierID ID) { in DecodeIdentifierInfo()
8604 IdentifierInfo *ASTReader::getLocalIdentifier(ModuleFile &M, unsigned LocalID) { in getLocalIdentifier()
8608 IdentifierID ASTReader::getGlobalIdentifierID(ModuleFile &M, unsigned LocalID) { in getGlobalIdentifierID()
8623 MacroInfo *ASTReader::getMacro(MacroID ID) { in getMacro()
8650 MacroID ASTReader::getGlobalMacroID(ModuleFile &M, unsigned LocalID) { in getGlobalMacroID()
8665 ASTReader::getGlobalSubmoduleID(ModuleFile &M, unsigned LocalID) { in getGlobalSubmoduleID()
8680 Module *ASTReader::getSubmodule(SubmoduleID GlobalID) { in getSubmodule()
8694 Module *ASTReader::getModule(unsigned ID) { in getModule()
8698 ModuleFile *ASTReader::getLocalModuleFile(ModuleFile &F, unsigned ID) { in getLocalModuleFile()
8711 unsigned ASTReader::getModuleFileID(ModuleFile *F) { in getModuleFileID()
8729 ASTReader::getSourceDescriptor(unsigned ID) { in getSourceDescriptor()
8746 ExternalASTSource::ExtKind ASTReader::hasExternalDefinitions(const Decl *FD) { in hasExternalDefinitions()
8753 Selector ASTReader::getLocalSelector(ModuleFile &M, unsigned LocalID) { in getLocalSelector()
8757 Selector ASTReader::DecodeSelector(serialization::SelectorID ID) { in DecodeSelector()
8782 Selector ASTReader::GetExternalSelector(serialization::SelectorID ID) { in GetExternalSelector()
8786 uint32_t ASTReader::GetNumExternalSelectors() { in GetNumExternalSelectors()
8792 ASTReader::getGlobalSelectorID(ModuleFile &M, unsigned LocalID) const { in getGlobalSelectorID()
9035 SourceRange ASTReader::ReadSourceRange(ModuleFile &F, const RecordData &Record, in ReadSourceRange()
9048 std::string ASTReader::ReadString(const RecordData &Record, unsigned &Idx) { in ReadString()
9055 std::string ASTReader::ReadPath(ModuleFile &F, const RecordData &Record, in ReadPath()
9062 std::string ASTReader::ReadPath(StringRef BaseDirectory, in ReadPath()
9070 VersionTuple ASTReader::ReadVersionTuple(const RecordData &Record, in ReadVersionTuple()
9082 CXXTemporary *ASTReader::ReadCXXTemporary(ModuleFile &F, in ReadCXXTemporary()
9089 DiagnosticBuilder ASTReader::Diag(unsigned DiagID) const { in Diag()
9093 DiagnosticBuilder ASTReader::Diag(SourceLocation Loc, unsigned DiagID) const { in Diag()
9099 IdentifierTable &ASTReader::getIdentifierTable() { in getIdentifierTable()
9105 void ASTReader::RecordSwitchCaseID(SwitchCase *SC, unsigned ID) { in RecordSwitchCaseID()
9112 SwitchCase *ASTReader::getSwitchCaseWithID(unsigned ID) { in getSwitchCaseWithID()
9117 void ASTReader::ClearSwitchCaseIDs() { in ClearSwitchCaseIDs()
9121 void ASTReader::ReadComments() { in ReadComments()
9193 void ASTReader::visitInputFiles(serialization::ModuleFile &MF, in visitInputFiles()
9208 void ASTReader::visitTopLevelModuleMaps( in visitTopLevelModuleMaps()
9221 std::string ASTReader::getOwningModuleNameForDiagnostic(const Decl *D) { in getOwningModuleNameForDiagnostic()
9234 void ASTReader::finishPendingActions() { in finishPendingActions()
9506 void ASTReader::diagnoseOdrViolations() { in diagnoseOdrViolations()
11346 void ASTReader::StartedDeserializing() { in StartedDeserializing()
11351 void ASTReader::FinishedDeserializing() { in FinishedDeserializing()
11403 void ASTReader::pushExternalDeclIntoScope(NamedDecl *D, DeclarationName Name) { in pushExternalDeclIntoScope()
11429 ASTReader::ASTReader(Preprocessor &PP, InMemoryModuleCache &ModuleCache, in ASTReader() function in ASTReader
11468 ASTReader::~ASTReader() { in ~ASTReader()
11473 IdentifierResolver &ASTReader::getIdResolver() { in getIdResolver()
12871 if (Reader->ReadingKind == ASTReader::Read_Stmt) { in readOMPChildren()