| /llvm-project-15.0.7/clang/test/Modules/ |
| H A D | validate-system-headers.m | 1 // 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 D | serialized-diags.m | 11 // 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 D | outofdate-rebuild.m | 14 // entry from the ModuleCache without notifying its parent ASTReader.
|
| /llvm-project-15.0.7/llvm/test/tools/dsymutil/X86/ |
| H A D | module-warnings.test | 17 # -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 D | object-prefix-path.test | 7 RUN: -object-prefix-map=/ModuleCache=/ModuleCacheRenamed \
|
| /llvm-project-15.0.7/clang/include/clang/Serialization/ |
| H A D | ModuleManager.h | 70 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache; variable 138 explicit ModuleManager(FileManager &FileMgr, InMemoryModuleCache &ModuleCache, 311 InMemoryModuleCache &getModuleCache() const { return *ModuleCache; } in getModuleCache()
|
| H A D | ASTWriter.h | 117 InMemoryModuleCache &ModuleCache; variable 543 InMemoryModuleCache &ModuleCache, 775 PCHGenerator(const Preprocessor &PP, InMemoryModuleCache &ModuleCache,
|
| H A D | ASTReader.h | 1522 ASTReader(Preprocessor &PP, InMemoryModuleCache &ModuleCache,
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | GeneratePCH.cpp | 24 const Preprocessor &PP, InMemoryModuleCache &ModuleCache, in PCHGenerator() argument 31 Writer(Stream, this->Buffer->Data, ModuleCache, Extensions, in PCHGenerator()
|
| H A D | ModuleManager.cpp | 189 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 D | ASTWriter.cpp | 4462 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 D | ModuleCache.cpp | 191 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 D | CMakeLists.txt | 24 ModuleCache.cpp
|
| H A D | Platform.cpp | 278 m_module_cache(std::make_unique<ModuleCache>()) { in Platform()
|
| /llvm-project-15.0.7/clang/test/Driver/ |
| H A D | modules-cache-path.m | 2 // CHECK-DEFAULT: -fmodules-cache-path={{.*}}clang{{[/\\]+}}ModuleCache
|
| /llvm-project-15.0.7/lldb/include/lldb/Target/ |
| H A D | ModuleCache.h | 47 class ModuleCache {
|
| H A D | Platform.h | 39 class ModuleCache; variable 899 const std::unique_ptr<ModuleCache> m_module_cache;
|
| /llvm-project-15.0.7/clang/include/clang/Frontend/ |
| H A D | CompilerInstance.h | 92 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache; variable 669 InMemoryModuleCache &ModuleCache, ASTContext &Context, 817 InMemoryModuleCache &getModuleCache() const { return *ModuleCache; } in getModuleCache()
|
| H A D | ASTUnit.h | 113 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache; variable
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/lldb/source/Target/ |
| H A D | BUILD.gn | 47 "ModuleCache.cpp",
|
| /llvm-project-15.0.7/lldb/unittests/Target/ |
| H A D | ModuleCacheTest.cpp | 86 ModuleCache mc; in TryGetAndPut()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | ASTUnit.cpp | 223 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 D | PrecompiledPreamble.cpp | 282 InMemoryModuleCache &ModuleCache, in PrecompilePreambleConsumer() argument 285 : PCHGenerator(PP, ModuleCache, "", isysroot, std::move(Buffer), in PrecompilePreambleConsumer()
|
| H A D | CompilerInstance.cpp | 65 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 D | CGDebugInfo.h | 126 llvm::DenseMap<const Module *, llvm::TrackingMDRef> ModuleCache; variable
|