/llvm-project/clang/unittests/Serialization/ |
H A D | InMemoryModuleCacheTest.cpp | 26 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 D | InMemoryModuleCache.cpp | 14 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 D | GeneratePCH.cpp | 26 Preprocessor &PP, InMemoryModuleCache &ModuleCache, StringRef OutputFile, in PCHGenerator() 103 InMemoryModuleCache &ModuleCache, in CXX20ModulesGenerator()
|
H A D | CMakeLists.txt | 20 InMemoryModuleCache.cpp
|
H A D | ModuleManager.cpp | 20 #include "clang/Serialization/InMemoryModuleCache.h" 328 InMemoryModuleCache &ModuleCache, in ModuleManager()
|
H A D | ASTReader.cpp | 92 #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 D | ASTWriter.cpp | 77 #include "clang/Serialization/InMemoryModuleCache.h" 5330 InMemoryModuleCache &ModuleCache, in WriteSpecialDeclRecords()
|
/llvm-project/clang/include/clang/Serialization/ |
H A D | ModuleManager.h | 40 class InMemoryModuleCache; variable 68 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache; 136 explicit ModuleManager(FileManager &FileMgr, InMemoryModuleCache &ModuleCache, 309 InMemoryModuleCache &getModuleCache() const { return *ModuleCache; } in getModuleCache()
|
H A D | InMemoryModuleCache.h | 29 class InMemoryModuleCache : public llvm::RefCountedBase<InMemoryModuleCache> {
|
H A D | ASTWriter.h | 63 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 D | ASTReader.h | 92 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 D | CompilerInstance.h | 54 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 D | ASTUnit.h | 73 class InMemoryModuleCache; variable 113 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache;
|
/llvm-project/llvm/utils/gn/secondary/clang/lib/Serialization/ |
H A D | BUILD.gn | 27 "InMemoryModuleCache.cpp",
|
/llvm-project/clang/unittests/Frontend/ |
H A D | FrontendActionTest.cpp | 20 #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 D | ASTUnit.cpp | 64 #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 D | CompilerInstance.cpp | 41 #include "clang/Serialization/InMemoryModuleCache.h" 69 InMemoryModuleCache *SharedModuleCache) in CompilerInstance() 73 : new InMemoryModuleCache), 629 InMemoryModuleCache &ModuleCache, ASTContext &Context, in createPCHExternalASTSource()
|
H A D | PrecompiledPreamble.cpp | 295 InMemoryModuleCache &ModuleCache, in PrecompilePreambleConsumer()
|