Home
last modified time | relevance | path

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

/external/llvm-project/clang/unittests/Serialization/
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 …]
/external/llvm-project/clang/lib/Serialization/
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()
DCMakeLists.txt18 InMemoryModuleCache.cpp
DGeneratePCH.cpp24 const Preprocessor &PP, InMemoryModuleCache &ModuleCache, in PCHGenerator()
DModuleManager.cpp349 InMemoryModuleCache &ModuleCache, in ModuleManager()
DASTWriter.cpp4343 InMemoryModuleCache &ModuleCache, in ASTWriter()
DASTReader.cpp11754 ASTReader::ASTReader(Preprocessor &PP, InMemoryModuleCache &ModuleCache, in ASTReader()
/external/llvm-project/clang/include/clang/Serialization/
DModuleManager.h41 class InMemoryModuleCache; variable
70 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache;
142 explicit ModuleManager(FileManager &FileMgr, InMemoryModuleCache &ModuleCache,
316 InMemoryModuleCache &getModuleCache() const { return *ModuleCache; } in getModuleCache()
DInMemoryModuleCache.h30 class InMemoryModuleCache : public llvm::RefCountedBase<InMemoryModuleCache> {
DASTWriter.h74 class InMemoryModuleCache; variable
128 InMemoryModuleCache &ModuleCache;
553 InMemoryModuleCache &ModuleCache,
774 PCHGenerator(const Preprocessor &PP, InMemoryModuleCache &ModuleCache,
DASTReader.h87 class InMemoryModuleCache; variable
1495 ASTReader(Preprocessor &PP, InMemoryModuleCache &ModuleCache,
/external/llvm-project/clang/include/clang/Frontend/
DCompilerInstance.h47 class InMemoryModuleCache; variable
92 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache;
191 InMemoryModuleCache *SharedModuleCache = nullptr);
673 InMemoryModuleCache &ModuleCache, ASTContext &Context,
828 InMemoryModuleCache &getModuleCache() const { return *ModuleCache; } in getModuleCache()
DASTUnit.h74 class InMemoryModuleCache; variable
113 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache;
/external/llvm-project/llvm/utils/gn/secondary/clang/lib/Serialization/
DBUILD.gn26 "InMemoryModuleCache.cpp",
/external/llvm-project/clang/unittests/Frontend/
DFrontendActionTest.cpp288 EXPECT_EQ(InMemoryModuleCache::Final, in TEST()
291 EXPECT_EQ(InMemoryModuleCache::Unknown, in TEST()
/external/llvm-project/clang/lib/Frontend/
DASTUnit.cpp223 ASTWriterData(InMemoryModuleCache &ModuleCache) in ASTWriterData()
786 AST->ModuleCache = new InMemoryModuleCache; in LoadFromASTFile()
1508 AST->ModuleCache = new InMemoryModuleCache; in create()
1791 AST->ModuleCache = new InMemoryModuleCache; in LoadFromCommandLine()
2349 InMemoryModuleCache ModuleCache; in serialize()
DCompilerInstance.cpp60 InMemoryModuleCache *SharedModuleCache) in CompilerInstance()
64 : new InMemoryModuleCache), in CompilerInstance()
521 InMemoryModuleCache &ModuleCache, ASTContext &Context, in createPCHExternalASTSource()
DPrecompiledPreamble.cpp233 InMemoryModuleCache &ModuleCache, in PrecompilePreambleConsumer()