Home
last modified time | relevance | path

Searched refs:InMemoryModuleCache (Results 1 – 18 of 18) sorted by relevance

/llvm-project/clang/unittests/Serialization/
H A DInMemoryModuleCacheTest.cpp26 InMemoryModuleCache Cache; in TEST()
27 EXPECT_EQ(InMemoryModuleCache::Unknown, Cache.getPCMState("B")); in TEST()
41 InMemoryModuleCache Cache; in TEST()
43 EXPECT_EQ(InMemoryModuleCache::Tentative, Cache.getPCMState("B")); in TEST()
59 InMemoryModuleCache Cache; in TEST()
61 EXPECT_EQ(InMemoryModuleCache::Final, Cache.getPCMState("B")); in TEST()
80 InMemoryModuleCache Cache; in TEST()
81 EXPECT_EQ(InMemoryModuleCache::Unknown, Cache.getPCMState("B")); in TEST()
85 EXPECT_EQ(InMemoryModuleCache::ToBuild, Cache.getPCMState("B")); in TEST()
109 InMemoryModuleCache Cache; in TEST()
[all …]
/llvm-project/clang/lib/Serialization/
H A DInMemoryModuleCache.cpp14 InMemoryModuleCache::State
15 InMemoryModuleCache::getPCMState(llvm::StringRef Filename) const { in getPCMState()
25 InMemoryModuleCache::addPCM(llvm::StringRef Filename, in addPCM()
33 InMemoryModuleCache::addBuiltPCM(llvm::StringRef Filename, in addBuiltPCM()
44 InMemoryModuleCache::lookupPCM(llvm::StringRef Filename) const { in lookupPCM()
51 bool InMemoryModuleCache::isPCMFinal(llvm::StringRef Filename) const { in isPCMFinal()
55 bool InMemoryModuleCache::shouldBuildPCM(llvm::StringRef Filename) const { in shouldBuildPCM()
59 bool InMemoryModuleCache::tryToDropPCM(llvm::StringRef Filename) { in tryToDropPCM()
73 void InMemoryModuleCache::finalizePCM(llvm::StringRef Filename) { in finalizePCM()
H A DGeneratePCH.cpp26 Preprocessor &PP, InMemoryModuleCache &ModuleCache, StringRef OutputFile, in PCHGenerator()
103 InMemoryModuleCache &ModuleCache, in CXX20ModulesGenerator()
H A DCMakeLists.txt20 InMemoryModuleCache.cpp
H A DModuleManager.cpp20 #include "clang/Serialization/InMemoryModuleCache.h"
328 InMemoryModuleCache &ModuleCache, in ModuleManager()
H A DASTReader.cpp92 #include "clang/Serialization/InMemoryModuleCache.h"
5653 const InMemoryModuleCache &ModuleCache, in readASTFileControlBlock()
5661 // FIXME: We should add the pcm to the InMemoryModuleCache if it could be in readASTFileControlBlock()
5663 // is safe to change the result of InMemoryModuleCache::getPCMState(). in readASTFileControlBlock()
5949 const InMemoryModuleCache &ModuleCache, in ReadSubmoduleBlock()
10873 ASTReader::ASTReader(Preprocessor &PP, InMemoryModuleCache &ModuleCache, in VisitOMPAcquireClause()
H A DASTWriter.cpp77 #include "clang/Serialization/InMemoryModuleCache.h"
5330 InMemoryModuleCache &ModuleCache, in WriteSpecialDeclRecords()
/llvm-project/clang/include/clang/Serialization/
H A DModuleManager.h40 class InMemoryModuleCache; variable
68 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache;
136 explicit ModuleManager(FileManager &FileMgr, InMemoryModuleCache &ModuleCache,
309 InMemoryModuleCache &getModuleCache() const { return *ModuleCache; } in getModuleCache()
H A DInMemoryModuleCache.h29 class InMemoryModuleCache : public llvm::RefCountedBase<InMemoryModuleCache> {
H A DASTWriter.h63 class InMemoryModuleCache; variable
120 InMemoryModuleCache &ModuleCache;
685 InMemoryModuleCache &ModuleCache,
992 PCHGenerator(Preprocessor &PP, InMemoryModuleCache &ModuleCache,
1016 CXX20ModulesGenerator(Preprocessor &PP, InMemoryModuleCache &ModuleCache,
1021 CXX20ModulesGenerator(Preprocessor &PP, InMemoryModuleCache &ModuleCache,
1034 ReducedBMIGenerator(Preprocessor &PP, InMemoryModuleCache &ModuleCache,
H A DASTReader.h92 class InMemoryModuleCache;
1745 ASTReader(Preprocessor &PP, InMemoryModuleCache &ModuleCache,
1958 const InMemoryModuleCache &ModuleCache,
1967 const InMemoryModuleCache &ModuleCache,
90 class InMemoryModuleCache; global() variable
/llvm-project/clang/include/clang/Frontend/
H A DCompilerInstance.h54 class InMemoryModuleCache;
100 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache;
212 InMemoryModuleCache *SharedModuleCache = nullptr);
750 InMemoryModuleCache &ModuleCache, ASTContext &Context,
899 InMemoryModuleCache &getModuleCache() const { return *ModuleCache; }
53 class InMemoryModuleCache; global() variable
H A DASTUnit.h73 class InMemoryModuleCache; variable
113 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache;
/llvm-project/llvm/utils/gn/secondary/clang/lib/Serialization/
H A DBUILD.gn27 "InMemoryModuleCache.cpp",
/llvm-project/clang/unittests/Frontend/
H A DFrontendActionTest.cpp20 #include "clang/Serialization/InMemoryModuleCache.h"
289 EXPECT_EQ(InMemoryModuleCache::Final, in TEST()
292 EXPECT_EQ(InMemoryModuleCache::Unknown, in TEST()
/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp64 #include "clang/Serialization/InMemoryModuleCache.h"
222 ASTWriterData(InMemoryModuleCache &ModuleCache) in ASTWriterData()
832 AST->ModuleCache = new InMemoryModuleCache; in LoadFromASTFile()
1549 AST->ModuleCache = new InMemoryModuleCache;
1836 AST->ModuleCache = new InMemoryModuleCache; in LoadFromCommandLine()
2382 InMemoryModuleCache ModuleCache; in TranslateStoredDiagnostics()
H A DCompilerInstance.cpp41 #include "clang/Serialization/InMemoryModuleCache.h"
69 InMemoryModuleCache *SharedModuleCache) in CompilerInstance()
73 : new InMemoryModuleCache),
629 InMemoryModuleCache &ModuleCache, ASTContext &Context, in createPCHExternalASTSource()
H A DPrecompiledPreamble.cpp295 InMemoryModuleCache &ModuleCache, in PrecompilePreambleConsumer()