Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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-15.0.7/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 DCMakeLists.txt18 InMemoryModuleCache.cpp
H A DGeneratePCH.cpp24 const Preprocessor &PP, InMemoryModuleCache &ModuleCache, in PCHGenerator()
H A DModuleManager.cpp347 InMemoryModuleCache &ModuleCache, in ModuleManager()
H A DASTWriter.cpp4462 InMemoryModuleCache &ModuleCache, in ASTWriter()
H A DASTReader.cpp11429 ASTReader::ASTReader(Preprocessor &PP, InMemoryModuleCache &ModuleCache, in ASTReader()
/llvm-project-15.0.7/clang/include/clang/Serialization/
H A DModuleManager.h41 class InMemoryModuleCache; variable
70 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache;
138 explicit ModuleManager(FileManager &FileMgr, InMemoryModuleCache &ModuleCache,
311 InMemoryModuleCache &getModuleCache() const { return *ModuleCache; } in getModuleCache()
H A DInMemoryModuleCache.h30 class InMemoryModuleCache : public llvm::RefCountedBase<InMemoryModuleCache> {
H A DASTWriter.h64 class InMemoryModuleCache; variable
117 InMemoryModuleCache &ModuleCache;
543 InMemoryModuleCache &ModuleCache,
775 PCHGenerator(const Preprocessor &PP, InMemoryModuleCache &ModuleCache,
H A DASTReader.h89 class InMemoryModuleCache; variable
1522 ASTReader(Preprocessor &PP, InMemoryModuleCache &ModuleCache,
/llvm-project-15.0.7/clang/include/clang/Frontend/
H A DCompilerInstance.h46 class InMemoryModuleCache; variable
92 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache;
185 InMemoryModuleCache *SharedModuleCache = nullptr);
669 InMemoryModuleCache &ModuleCache, ASTContext &Context,
817 InMemoryModuleCache &getModuleCache() const { return *ModuleCache; } in getModuleCache()
H A DASTUnit.h74 class InMemoryModuleCache; variable
113 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache;
/llvm-project-15.0.7/llvm/utils/gn/secondary/clang/lib/Serialization/
H A DBUILD.gn26 "InMemoryModuleCache.cpp",
/llvm-project-15.0.7/clang/unittests/Frontend/
H A DFrontendActionTest.cpp287 EXPECT_EQ(InMemoryModuleCache::Final, in TEST()
290 EXPECT_EQ(InMemoryModuleCache::Unknown, in TEST()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DASTUnit.cpp223 ASTWriterData(InMemoryModuleCache &ModuleCache) in ASTWriterData()
784 AST->ModuleCache = new InMemoryModuleCache; in LoadFromASTFile()
1495 AST->ModuleCache = new InMemoryModuleCache; in create()
1773 AST->ModuleCache = new InMemoryModuleCache; in LoadFromCommandLine()
2325 InMemoryModuleCache ModuleCache; in serialize()
H A DCompilerInstance.cpp62 InMemoryModuleCache *SharedModuleCache) in CompilerInstance()
66 : new InMemoryModuleCache), in CompilerInstance()
629 InMemoryModuleCache &ModuleCache, ASTContext &Context, in createPCHExternalASTSource()
H A DPrecompiledPreamble.cpp282 InMemoryModuleCache &ModuleCache, in PrecompilePreambleConsumer()
/llvm-project-15.0.7/clang/docs/tools/
H A Dclang-formatted-files.txt231 clang/include/clang/Serialization/InMemoryModuleCache.h
517 clang/lib/Serialization/InMemoryModuleCache.cpp