Home
last modified time | relevance | path

Searched refs:ModuleCache (Results 1 – 25 of 28) sorted by relevance

12

/llvm-project-15.0.7/clang/test/Modules/
H A Dvalidate-system-headers.m1 // RUN: rm -rf %t/ModuleCache
8 …s/usr/include -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/ModuleCache -fdisable-modul…
9 // RUN: cp %t/ModuleCache/Foo.pcm %t/Foo.pcm.saved
15 …s/usr/include -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/ModuleCache -fdisable-modul…
16 // RUN: diff %t/ModuleCache/Foo.pcm %t/Foo.pcm.saved
20 …-module-maps -fmodules-validate-system-headers -fmodules-cache-path=%t/ModuleCache -fdisable-modul…
21 // RUN: not diff %t/ModuleCache/Foo.pcm %t/Foo.pcm.saved
26 // RUN: cp %t/ModuleCache/Foo.pcm %t/Foo.pcm.saved
28 // RUN: diff %t/ModuleCache/Foo.pcm %t/Foo.pcm.saved
35 // RUN: diff %t/ModuleCache/Foo.pcm %t/Foo.pcm.saved
[all …]
H A Dserialized-diags.m11 // RUN: %clang -fmodules -fmodules-cache-path=%t/ModuleCache -I %S/Inputs/ModuleDiags -fsyntax-only…
21 // RUN: not %clang -fmodules -fmodules-cache-path=%t/ModuleCache -I %S/Inputs/ModuleDiags -fsyntax-…
H A Doutofdate-rebuild.m14 // entry from the ModuleCache without notifying its parent ASTReader.
/llvm-project-15.0.7/llvm/test/tools/dsymutil/X86/
H A Dmodule-warnings.test17 # -fmodules-cache-path=ModuleCache \
22 # RUN: rm -rf %t.dir && mkdir %t.dir && mkdir %t.dir/ModuleCache
24 # RUN: cp %p/../Inputs/module-warnings/Foo.pcm %t.dir/ModuleCache
39 # RUN: rm -rf %t.dir/ModuleCache
H A Dobject-prefix-path.test7 RUN: -object-prefix-map=/ModuleCache=/ModuleCacheRenamed \
/llvm-project-15.0.7/clang/include/clang/Serialization/
H A DModuleManager.h70 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache; variable
138 explicit ModuleManager(FileManager &FileMgr, InMemoryModuleCache &ModuleCache,
311 InMemoryModuleCache &getModuleCache() const { return *ModuleCache; } in getModuleCache()
H A DASTWriter.h117 InMemoryModuleCache &ModuleCache; variable
543 InMemoryModuleCache &ModuleCache,
775 PCHGenerator(const Preprocessor &PP, InMemoryModuleCache &ModuleCache,
H A DASTReader.h1522 ASTReader(Preprocessor &PP, InMemoryModuleCache &ModuleCache,
/llvm-project-15.0.7/clang/lib/Serialization/
H A DGeneratePCH.cpp24 const Preprocessor &PP, InMemoryModuleCache &ModuleCache, in PCHGenerator() argument
31 Writer(Stream, this->Buffer->Data, ModuleCache, Extensions, in PCHGenerator()
H A DModuleManager.cpp189 NewModule->Buffer = &ModuleCache->addBuiltPCM(FileName, std::move(Buffer)); in addModule()
347 InMemoryModuleCache &ModuleCache, in ModuleManager() argument
350 : FileMgr(FileMgr), ModuleCache(&ModuleCache), in ModuleManager()
H A DASTWriter.cpp4462 InMemoryModuleCache &ModuleCache, in ASTWriter() argument
4465 : Stream(Stream), Buffer(Buffer), ModuleCache(ModuleCache), in ASTWriter()
4514 ModuleCache.addBuiltPCM(OutputFile, in WriteAST()
/llvm-project-15.0.7/lldb/source/Target/
H A DModuleCache.cpp191 Status ModuleCache::Put(const FileSpec &root_dir_spec, const char *hostname, in Put()
215 Status ModuleCache::Get(const FileSpec &root_dir_spec, const char *hostname, in Get()
269 Status ModuleCache::GetAndPut(const FileSpec &root_dir_spec, in GetAndPut()
H A DCMakeLists.txt24 ModuleCache.cpp
H A DPlatform.cpp278 m_module_cache(std::make_unique<ModuleCache>()) { in Platform()
/llvm-project-15.0.7/clang/test/Driver/
H A Dmodules-cache-path.m2 // CHECK-DEFAULT: -fmodules-cache-path={{.*}}clang{{[/\\]+}}ModuleCache
/llvm-project-15.0.7/lldb/include/lldb/Target/
H A DModuleCache.h47 class ModuleCache {
H A DPlatform.h39 class ModuleCache; variable
899 const std::unique_ptr<ModuleCache> m_module_cache;
/llvm-project-15.0.7/clang/include/clang/Frontend/
H A DCompilerInstance.h92 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache; variable
669 InMemoryModuleCache &ModuleCache, ASTContext &Context,
817 InMemoryModuleCache &getModuleCache() const { return *ModuleCache; } in getModuleCache()
H A DASTUnit.h113 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache; variable
/llvm-project-15.0.7/llvm/utils/gn/secondary/lldb/source/Target/
H A DBUILD.gn47 "ModuleCache.cpp",
/llvm-project-15.0.7/lldb/unittests/Target/
H A DModuleCacheTest.cpp86 ModuleCache mc; in TryGetAndPut()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DASTUnit.cpp223 ASTWriterData(InMemoryModuleCache &ModuleCache) in ASTWriterData()
224 : Stream(Buffer), Writer(Stream, Buffer, ModuleCache, {}) {} in ASTWriterData()
784 AST->ModuleCache = new InMemoryModuleCache; in LoadFromASTFile()
817 PP, *AST->ModuleCache, AST->Ctx.get(), PCHContainerRdr, {}, in LoadFromASTFile()
1495 AST->ModuleCache = new InMemoryModuleCache; in create()
1773 AST->ModuleCache = new InMemoryModuleCache; in LoadFromCommandLine()
1784 AST->WriterData.reset(new ASTWriterData(*AST->ModuleCache)); in LoadFromCommandLine()
2325 InMemoryModuleCache ModuleCache; in serialize() local
2326 ASTWriter Writer(Stream, Buffer, ModuleCache, {}); in serialize()
H A DPrecompiledPreamble.cpp282 InMemoryModuleCache &ModuleCache, in PrecompilePreambleConsumer() argument
285 : PCHGenerator(PP, ModuleCache, "", isysroot, std::move(Buffer), in PrecompilePreambleConsumer()
H A DCompilerInstance.cpp65 ModuleCache(SharedModuleCache ? SharedModuleCache in CompilerInstance()
204 assert(ModuleCache.get() == &Reader->getModuleManager().getModuleCache() && in setASTReader()
629 InMemoryModuleCache &ModuleCache, ASTContext &Context, in createPCHExternalASTSource() argument
638 PP, ModuleCache, &Context, PCHContainerRdr, Extensions, in createPCHExternalASTSource()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGDebugInfo.h126 llvm::DenseMap<const Module *, llvm::TrackingMDRef> ModuleCache; variable

12