Home
last modified time | relevance | path

Searched refs:getModuleCache (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/clang/unittests/Serialization/
H A DModuleCacheTest.cpp133 &Instance.getModuleCache()); in TEST_F()
176 &Instance.getModuleCache()); in TEST_F()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DModuleManager.cpp195 getModuleCache().lookupPCM(FileName)) { in addModule()
199 } else if (getModuleCache().shouldBuildPCM(FileName)) { in addModule()
226 NewModule->Buffer = &getModuleCache().addPCM(FileName, std::move(*Buf)); in addModule()
H A DASTReader.cpp2893 getModuleManager().getModuleCache().isPCMFinal(F.FileName); in ReadControlBlock()
4588 auto &MC = getModuleManager().getModuleCache(); in ReadASTCore()
4730 if (getModuleManager().getModuleCache().isPCMFinal(F.FileName)) { in readUnhashedControlBlock()
5982 !getModuleManager().getModuleCache().isPCMFinal(ModuleFileName); in canRecoverFromOutOfDate()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DChainedIncludesSource.cpp87 PP, CI.getModuleCache(), &CI.getASTContext(), CI.getPCHContainerReader(), in createASTReader()
164 Clang->getPreprocessor(), Clang->getModuleCache(), "-", /*isysroot=*/"", in createChainedIncludesSource()
H A DFrontendActions.cpp140 CI.getPreprocessor(), CI.getModuleCache(), OutputFile, Sysroot, Buffer, in CreateASTConsumer()
199 CI.getPreprocessor(), CI.getModuleCache(), OutputFile, Sysroot, Buffer, in CreateASTConsumer()
378 CI.getPreprocessor(), CI.getModuleCache(), &CI.getASTContext(), in ExecuteAction()
H A DCompilerInstance.cpp204 assert(ModuleCache.get() == &Reader->getModuleManager().getModuleCache() && in setASTReader()
618 AllowPCHWithCompilerErrors, getPreprocessor(), getModuleCache(), in createPCHExternalASTSource()
1138 if (ImportingInstance.getModuleCache().isPCMFinal(ModuleFileName)) {
1208 &ImportingInstance.getModuleCache());
1666 getPreprocessor(), getModuleCache(), &getASTContext(), in createASTReader()
H A DPrecompiledPreamble.cpp328 *this, CI.getPreprocessor(), CI.getModuleCache(), Sysroot, Buffer); in CreateASTConsumer()
/llvm-project-15.0.7/clang/unittests/Frontend/
H A DFrontendActionTest.cpp288 Compiler.getModuleCache().getPCMState(PCHFilename)); in TEST()
291 Compiler.getModuleCache().getPCMState(PCHFilename)); in TEST()
/llvm-project-15.0.7/clang/include/clang/Serialization/
H A DModuleManager.h311 InMemoryModuleCache &getModuleCache() const { return *ModuleCache; } in getModuleCache() function
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DFrontendActions.cpp245 &CI.getModuleCache()); in visitModuleFile()
/llvm-project-15.0.7/clang/include/clang/Frontend/
H A DCompilerInstance.h817 InMemoryModuleCache &getModuleCache() const { return *ModuleCache; } in getModuleCache() function